@opencode/core 0.0.0-dev-20103 → 0.0.0-dev-20109
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/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-service-map-nwheqxjr.js → ripgrep-05y4kr4x.js} +34 -34
- package/dist/chunks/ripgrep-0dknqqks.js +507 -0
- package/dist/chunks/{location-service-map-60djdr4t.js → ripgrep-0gjjjd3d.js} +10 -10
- package/dist/chunks/{location-service-map-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-m24y9wwb.js → ripgrep-0pk44vc5.js} +18 -18
- package/dist/chunks/{location-service-map-myypamct.js → ripgrep-0tdg9fh7.js} +14 -14
- package/dist/chunks/{location-service-map-2w5dyyz8.js → ripgrep-0xwyr5pa.js} +8 -8
- package/dist/chunks/{location-service-map-3pbjq009.js → ripgrep-16cax9zb.js} +8 -8
- package/dist/chunks/{location-service-map-as62jwn8.js → ripgrep-1btww9rc.js} +12 -12
- package/dist/chunks/{location-service-map-mvav9bkw.js → ripgrep-1cvk9cz7.js} +13 -13
- package/dist/chunks/{location-service-map-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-7evypc3h.js → ripgrep-1npsdg5v.js} +1 -1
- package/dist/chunks/{location-service-map-68dy1mx9.js → ripgrep-1t1zy8xf.js} +33 -33
- package/dist/chunks/{location-service-map-wb86x3ay.js → ripgrep-1z0vrz80.js} +1 -1
- package/dist/chunks/{location-service-map-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{location-service-map-esxc65j0.js → ripgrep-2655jpvt.js} +16 -16
- package/dist/chunks/{location-service-map-aq0amx4n.js → ripgrep-26ng8yap.js} +11 -11
- package/dist/chunks/{location-service-map-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-wk1rrwe6.js → ripgrep-2chh63ks.js} +9 -9
- package/dist/chunks/{location-service-map-evbgk2k8.js → ripgrep-2f0bjgcj.js} +5 -5
- package/dist/chunks/{location-service-map-efg2p63t.js → ripgrep-2n93j33v.js} +35 -35
- package/dist/chunks/{location-service-map-b3s7ae97.js → ripgrep-2r6y9ghf.js} +34 -34
- package/dist/chunks/{location-service-map-x1vt8hry.js → ripgrep-2rgdwba4.js} +11 -11
- package/dist/chunks/{location-service-map-0c2xmx3r.js → ripgrep-2vkv0cnq.js} +5 -5
- package/dist/chunks/{location-service-map-xdhfzwgn.js → ripgrep-2ydtv6st.js} +6 -6
- package/dist/chunks/{location-service-map-88ncvmwj.js → ripgrep-31c41nvv.js} +4 -4
- package/dist/chunks/{location-service-map-mfqp6xfm.js → ripgrep-33w4ejhs.js} +9 -9
- package/dist/chunks/{location-service-map-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-x3v6tvna.js → ripgrep-3hrtkaxn.js} +11 -11
- package/dist/chunks/{location-service-map-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-s6m6nc9p.js → ripgrep-3sqmy3wr.js} +6 -6
- package/dist/chunks/{location-service-map-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-avae2qkj.js → ripgrep-41wzkj33.js} +7 -7
- package/dist/chunks/{location-service-map-4bx5mh4w.js → ripgrep-425t0c3w.js} +9 -9
- package/dist/chunks/{location-service-map-fanjy7dq.js → ripgrep-42a2d12j.js} +25 -25
- package/dist/chunks/{location-service-map-bq1hpwve.js → ripgrep-4492rknf.js} +3 -3
- package/dist/chunks/{location-service-map-0cjbgter.js → ripgrep-4mpn9kk4.js} +7 -7
- package/dist/chunks/{location-service-map-wzrg2q53.js → ripgrep-4t7d9xcw.js} +48 -48
- package/dist/chunks/{location-service-map-2h8zcfyj.js → ripgrep-4w5p16dy.js} +4 -4
- package/dist/chunks/{location-service-map-mswzr7xn.js → ripgrep-4xg06f0d.js} +24 -24
- package/dist/chunks/{location-service-map-x7xg137b.js → ripgrep-53gs95a7.js} +4 -4
- package/dist/chunks/{location-service-map-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{location-service-map-495chtjc.js → ripgrep-58dhpfm0.js} +18 -18
- package/dist/chunks/{location-service-map-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-5ekn9679.js → ripgrep-5ekn9679.js} +1 -1
- package/dist/chunks/{location-service-map-b24v4ebx.js → ripgrep-5gjwztdx.js} +26 -26
- package/dist/chunks/{location-service-map-dfq5ekm3.js → ripgrep-5hv4n65z.js} +1 -1
- package/dist/chunks/{location-service-map-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{location-service-map-y6n8wcsw.js → ripgrep-6dxmk7tt.js} +13 -13
- package/dist/chunks/{location-service-map-mvc34etw.js → ripgrep-6mjqy440.js} +9 -9
- package/dist/chunks/{location-service-map-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-service-map-bdphn620.js → ripgrep-6snx8cw9.js} +42 -42
- package/dist/chunks/{location-service-map-axjpx4kj.js → ripgrep-6w2fwrwz.js} +4 -4
- package/dist/chunks/{location-service-map-w3m67914.js → ripgrep-6x24maej.js} +37 -37
- package/dist/chunks/{location-service-map-qvreyy9g.js → ripgrep-705e2ap1.js} +5 -5
- package/dist/chunks/{location-service-map-9ss103sy.js → ripgrep-72vmayfs.js} +10 -10
- package/dist/chunks/{location-service-map-k8f6en75.js → ripgrep-744da817.js} +9 -9
- package/dist/chunks/{location-service-map-4bxhq5dc.js → ripgrep-7bedxkg9.js} +15 -15
- package/dist/chunks/{location-service-map-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-2k8khapm.js → ripgrep-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-service-map-hkfg6fzm.js → ripgrep-7gvwkz6m.js} +5 -5
- package/dist/chunks/{location-service-map-rh6g2sa8.js → ripgrep-7jbh4qja.js} +11 -11
- package/dist/chunks/{location-service-map-1v08eb6w.js → ripgrep-7qvcttat.js} +15 -15
- package/dist/chunks/{location-service-map-4tgay3js.js → ripgrep-7s46rnhm.js} +11 -11
- package/dist/chunks/{location-service-map-t2kq1zb2.js → ripgrep-7zwhry2g.js} +70 -70
- package/dist/chunks/{location-service-map-1yqzakes.js → ripgrep-804942v8.js} +11 -11
- package/dist/chunks/{location-service-map-yx96bawg.js → ripgrep-819h2spw.js} +49 -49
- package/dist/chunks/{location-service-map-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-yffarvam.js → ripgrep-8dqv1p37.js} +10 -10
- package/dist/chunks/{location-service-map-bf0cd63e.js → ripgrep-8f0z3sdz.js} +5 -5
- package/dist/chunks/{location-service-map-c1np9tvh.js → ripgrep-8pccpkv9.js} +12 -12
- package/dist/chunks/{location-service-map-w2qrtdv7.js → ripgrep-8xx9hty4.js} +20 -20
- package/dist/chunks/{location-service-map-ket9r42f.js → ripgrep-90vr5b65.js} +17 -17
- package/dist/chunks/{location-service-map-vg14phsn.js → ripgrep-95jpzte7.js} +18 -18
- package/dist/chunks/{location-service-map-szeyyw6m.js → ripgrep-97m20h6r.js} +31 -31
- package/dist/chunks/{location-service-map-gg0c0qt7.js → ripgrep-9855y9nb.js} +11 -11
- package/dist/chunks/{location-service-map-egx0h0k6.js → ripgrep-9p3mwjt3.js} +21 -21
- package/dist/chunks/{location-service-map-a3r4dcrj.js → ripgrep-a3r4dcrj.js} +2 -2
- package/dist/chunks/{location-service-map-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-853pnbmg.js → ripgrep-am0je15b.js} +4 -4
- package/dist/chunks/{location-service-map-6a44wwkp.js → ripgrep-awvmryqd.js} +6 -6
- package/dist/chunks/{location-service-map-z8tr7vps.js → ripgrep-b2ba3pyx.js} +42 -42
- package/dist/chunks/{location-service-map-prgnye3a.js → ripgrep-b53anhnf.js} +16 -16
- package/dist/chunks/{location-service-map-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-r4k9ar4d.js → ripgrep-b6t7v9jc.js} +9 -9
- package/dist/chunks/{location-service-map-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{location-service-map-vc0vj5dz.js → ripgrep-bqwbr744.js} +16 -16
- package/dist/chunks/{location-service-map-pwqjnrnh.js → ripgrep-btwdw4e2.js} +3 -3
- package/dist/chunks/{location-service-map-czvzv6fj.js → ripgrep-bw9kwknq.js} +6 -6
- package/dist/chunks/{location-service-map-tegs1ycp.js → ripgrep-bw9zjykr.js} +6 -6
- package/dist/chunks/{location-service-map-cphrfjpg.js → ripgrep-c3cz5zdw.js} +3 -3
- package/dist/chunks/{location-service-map-te77dbbn.js → ripgrep-c3ya1t7r.js} +8 -8
- package/dist/chunks/{location-service-map-06ejv7nx.js → ripgrep-c8gh6ny5.js} +23 -23
- package/dist/chunks/{location-service-map-1d5e7fjz.js → ripgrep-cd5r1gbk.js} +21 -21
- package/dist/chunks/{location-service-map-wnxpvc6c.js → ripgrep-ceaa4qgf.js} +2 -2
- package/dist/chunks/{location-service-map-0mttjrfr.js → ripgrep-cf6kmm68.js} +8 -8
- package/dist/chunks/{location-service-map-x5spkhqe.js → ripgrep-ch3dmysn.js} +25 -25
- package/dist/chunks/{location-service-map-m3z1x1h0.js → ripgrep-cvpyv3es.js} +9 -9
- package/dist/chunks/{location-service-map-mfpnwtem.js → ripgrep-d94x6axq.js} +7 -7
- package/dist/chunks/{location-service-map-ny2gagq3.js → ripgrep-dc5qshf6.js} +12 -12
- package/dist/chunks/{location-service-map-aamtrqep.js → ripgrep-dc6tzc5b.js} +9 -9
- package/dist/chunks/{location-service-map-d4vrvgq4.js → ripgrep-ddhqp0gw.js} +8 -8
- package/dist/chunks/{location-service-map-a89e0tac.js → ripgrep-dj68pnee.js} +4 -4
- package/dist/chunks/{location-service-map-a79ds6nc.js → ripgrep-dkhbpt2q.js} +16 -16
- package/dist/chunks/{location-service-map-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-service-map-xfkkasph.js → ripgrep-drwq78ky.js} +4 -4
- package/dist/chunks/{location-service-map-s78dyy7j.js → ripgrep-dsnt0r96.js} +20 -20
- package/dist/chunks/{location-service-map-5153gk4s.js → ripgrep-dvddc9jp.js} +25 -25
- package/dist/chunks/{location-service-map-b87s103s.js → ripgrep-dw287zgh.js} +24 -24
- package/dist/chunks/{location-service-map-yjptyezs.js → ripgrep-e6hmchc5.js} +5 -5
- package/dist/chunks/{location-service-map-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-36cphf8b.js → ripgrep-ejwjepw4.js} +9 -9
- package/dist/chunks/{location-service-map-9x3kmp58.js → ripgrep-ekxfv3m2.js} +9 -9
- package/dist/chunks/{location-service-map-d40gq58t.js → ripgrep-epzk0z51.js} +22 -22
- package/dist/chunks/{location-service-map-1bbkgx8g.js → ripgrep-eq1pz5kg.js} +3 -3
- package/dist/chunks/{location-service-map-erw5rpbs.js → ripgrep-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-service-map-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-te3fz92z.js → ripgrep-eve8tttf.js} +9 -9
- package/dist/chunks/{location-service-map-e5wg673t.js → ripgrep-ex8v1fw5.js} +25 -25
- package/dist/chunks/{location-service-map-2c0dm15m.js → ripgrep-exb0dkv2.js} +6 -6
- package/dist/chunks/{location-service-map-yf10kn3d.js → ripgrep-f5gy8qwh.js} +8 -8
- package/dist/chunks/{location-service-map-vhycsadx.js → ripgrep-fjryxzsp.js} +43 -43
- package/dist/chunks/{location-service-map-1g7epwpd.js → ripgrep-fm2qvscf.js} +7 -7
- package/dist/chunks/{location-service-map-cgm666vp.js → ripgrep-fm8vn1sm.js} +11 -11
- package/dist/chunks/{location-service-map-awhka9ay.js → ripgrep-fpbye8rx.js} +20 -20
- package/dist/chunks/{location-service-map-45r8z7s5.js → ripgrep-frfrmw9p.js} +43 -43
- package/dist/chunks/{location-service-map-4z91h2q2.js → ripgrep-fsm3tqf3.js} +16 -16
- package/dist/chunks/{location-service-map-f3ngv102.js → ripgrep-g190xswt.js} +4 -4
- package/dist/chunks/ripgrep-g7cqfbqx.js +26 -0
- package/dist/chunks/{location-service-map-vgkexb79.js → ripgrep-gb2pgqaa.js} +6 -6
- package/dist/chunks/{location-service-map-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-vp8cnahr.js → ripgrep-gffsep6t.js} +13 -13
- package/dist/chunks/{location-service-map-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{location-service-map-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-service-map-n51zs5vf.js → ripgrep-gx9vf93g.js} +8 -8
- package/dist/chunks/{location-service-map-jqw5f6af.js → ripgrep-gyt4m246.js} +22 -22
- package/dist/chunks/{location-service-map-ddvvm6a9.js → ripgrep-h008dk5n.js} +6 -6
- package/dist/chunks/{location-service-map-e2k0bps6.js → ripgrep-h3ezdy3d.js} +29 -29
- package/dist/chunks/{location-service-map-4bvexzs9.js → ripgrep-h4ryydv3.js} +5 -5
- package/dist/chunks/{location-service-map-h6r3nrb9.js → ripgrep-h6r3nrb9.js} +1 -1
- package/dist/chunks/{location-service-map-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-2v9qn293.js → ripgrep-h7h63fbb.js} +11 -11
- package/dist/chunks/{location-service-map-eqqc0c45.js → ripgrep-hf511911.js} +15 -15
- package/dist/chunks/{location-service-map-q0ez028y.js → ripgrep-hhbdsb5c.js} +10 -10
- package/dist/chunks/ripgrep-ht5y0zrb.js +18 -0
- package/dist/chunks/{location-service-map-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-awaee7qt.js → ripgrep-j8zzr2am.js} +4 -4
- package/dist/chunks/{location-service-map-w1rn1h1h.js → ripgrep-jfw4kvwm.js} +10 -10
- package/dist/chunks/{location-service-map-8r011ra3.js → ripgrep-jjvw6kth.js} +19 -19
- package/dist/chunks/{location-service-map-bthk55h6.js → ripgrep-jpb21ef2.js} +32 -32
- package/dist/chunks/{location-service-map-0bfzm7aa.js → ripgrep-jpga1jag.js} +15 -15
- package/dist/chunks/{location-service-map-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{location-service-map-939j0jr0.js → ripgrep-k3wvx6tt.js} +9 -9
- package/dist/chunks/{location-service-map-j237fm2y.js → ripgrep-k9fd4x5k.js} +29 -29
- package/dist/chunks/{location-service-map-d4w6k1nt.js → ripgrep-kbxe83ey.js} +13 -13
- package/dist/chunks/{location-service-map-1kyxasan.js → ripgrep-kc6jwj4t.js} +5 -5
- package/dist/chunks/{location-service-map-h66kq4ja.js → ripgrep-kdn2p3kc.js} +8 -8
- package/dist/chunks/{location-service-map-rgm7mqtj.js → ripgrep-kf4qws2e.js} +16 -16
- package/dist/chunks/{location-service-map-61a3zr4c.js → ripgrep-kqcn9zd9.js} +18 -18
- package/dist/chunks/{location-service-map-y7d70cjs.js → ripgrep-kwpj5q3p.js} +16 -16
- package/dist/chunks/{location-service-map-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-service-map-wt3nx885.js → ripgrep-m5r7sx7n.js} +13 -13
- package/dist/chunks/{location-service-map-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-cnzxmjcj.js → ripgrep-mad6kbbw.js} +30 -30
- package/dist/chunks/{location-service-map-55krd67x.js → ripgrep-mcp2v02w.js} +24 -24
- package/dist/chunks/{location-service-map-k5h5c7q1.js → ripgrep-mfedxs8q.js} +35 -35
- package/dist/chunks/{location-service-map-yvybj0e9.js → ripgrep-mjz6dtq3.js} +78 -78
- package/dist/chunks/{location-service-map-q9v0w4bd.js → ripgrep-mm0ka8b4.js} +16 -16
- package/dist/chunks/{location-service-map-8ssbnkm6.js → ripgrep-mr1mqs0h.js} +28 -28
- package/dist/chunks/{location-service-map-v7tjtnqr.js → ripgrep-mzgx6d9a.js} +28 -28
- package/dist/chunks/{location-service-map-r9w3djhf.js → ripgrep-n37c4crj.js} +5 -5
- package/dist/chunks/{location-service-map-ckh625m3.js → ripgrep-n5v8zpx7.js} +31 -31
- package/dist/chunks/{location-service-map-z4vn3wja.js → ripgrep-nme88h9m.js} +10 -10
- package/dist/chunks/{location-service-map-ykwb97px.js → ripgrep-nn8h8wz0.js} +5 -5
- package/dist/chunks/{location-service-map-24dd53tp.js → ripgrep-nscznvay.js} +9 -9
- package/dist/chunks/{location-service-map-z6k93gbd.js → ripgrep-p1bbnz1k.js} +20 -20
- package/dist/chunks/{location-service-map-7bgeh318.js → ripgrep-p4sbrxvf.js} +10 -10
- package/dist/chunks/{location-service-map-c16s4pd0.js → ripgrep-p58qpszk.js} +39 -39
- package/dist/chunks/{location-service-map-p8vkj1y5.js → ripgrep-p7vkjt7n.js} +2 -2
- package/dist/chunks/{location-service-map-eys57y9b.js → ripgrep-pa8pe2x7.js} +8 -8
- package/dist/chunks/{location-service-map-y6bc7ytb.js → ripgrep-pd3dj61d.js} +19 -19
- package/dist/chunks/{location-service-map-0ft9cg2j.js → ripgrep-pf2hb43r.js} +4 -4
- package/dist/chunks/{location-service-map-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-xgjvnsnz.js → ripgrep-pjx725p7.js} +8 -8
- package/dist/chunks/{location-service-map-fp4gar62.js → ripgrep-pkmnv42m.js} +20 -20
- package/dist/chunks/{location-service-map-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-wxp0jyf7.js → ripgrep-pm44nt25.js} +17 -17
- package/dist/chunks/{location-service-map-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{location-service-map-0e3tt2mf.js → ripgrep-pw1qsvjz.js} +4 -4
- package/dist/chunks/{location-service-map-8e9852ac.js → ripgrep-q0q0ghtn.js} +11 -11
- package/dist/chunks/{location-service-map-dp4kwseh.js → ripgrep-q1rzhr09.js} +20 -20
- package/dist/chunks/{location-service-map-dmx755zn.js → ripgrep-q83x7ee3.js} +9 -9
- package/dist/chunks/{location-service-map-4acwr5gm.js → ripgrep-q8yptj1b.js} +22 -22
- package/dist/chunks/{location-service-map-4t7rsg8e.js → ripgrep-qkbj1a6c.js} +45 -45
- package/dist/chunks/{location-service-map-79qaa2kf.js → ripgrep-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-service-map-9qkckev2.js → ripgrep-qns6abax.js} +25 -25
- package/dist/chunks/{location-service-map-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-at1kfnmk.js → ripgrep-qwjmgwmn.js} +8 -8
- package/dist/chunks/{location-service-map-ny2517wm.js → ripgrep-r0azrd8m.js} +21 -21
- package/dist/chunks/{location-service-map-r8xr0va3.js → ripgrep-r8xr0va3.js} +1 -1
- package/dist/chunks/{location-service-map-ntx68rw5.js → ripgrep-rbwfq5hj.js} +3 -3
- package/dist/chunks/{location-service-map-npsqtpy7.js → ripgrep-rc6djb1p.js} +33 -33
- package/dist/chunks/{location-service-map-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-xqngxfdt.js → ripgrep-rhb8mtwr.js} +164 -164
- package/dist/chunks/{location-service-map-py3kkmfq.js → ripgrep-rkprpv83.js} +2 -2
- package/dist/chunks/{location-service-map-psnz0b2m.js → ripgrep-rzqbjppq.js} +84 -84
- package/dist/chunks/{location-service-map-3hbctp76.js → ripgrep-s0n8d0w6.js} +17 -17
- package/dist/chunks/{location-service-map-vrp7sfj8.js → ripgrep-s3c47tmb.js} +15 -15
- package/dist/chunks/{location-service-map-833tk66z.js → ripgrep-s6191d05.js} +9 -9
- package/dist/chunks/{location-service-map-fh5hhkj6.js → ripgrep-s6qfrhx5.js} +32 -32
- package/dist/chunks/{location-service-map-s8d7rejh.js → ripgrep-s8d7rejh.js} +1 -1
- package/dist/chunks/{location-service-map-nt81b04e.js → ripgrep-sdb1ycr1.js} +18 -18
- package/dist/chunks/{location-service-map-f13k8as2.js → ripgrep-sf6b9an1.js} +4 -4
- package/dist/chunks/{location-service-map-ce5fknq2.js → ripgrep-sfkj0ta1.js} +5 -5
- package/dist/chunks/{location-service-map-4c8bw516.js → ripgrep-sm965ndy.js} +8 -8
- package/dist/chunks/{location-service-map-6k4ynzw8.js → ripgrep-sq8asxn4.js} +3 -3
- package/dist/chunks/{location-service-map-m6nec9qq.js → ripgrep-ssdqnhy0.js} +4 -4
- package/dist/chunks/{location-service-map-z8tmpf1c.js → ripgrep-sytsd09s.js} +1 -1
- package/dist/chunks/{location-service-map-bk0crrr6.js → ripgrep-t35zjnp2.js} +25 -25
- package/dist/chunks/{location-service-map-cn44awdn.js → ripgrep-t78r90eq.js} +27 -27
- package/dist/chunks/{location-service-map-0v53mg2y.js → ripgrep-t9zs3egg.js} +4 -4
- package/dist/chunks/{location-service-map-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-ardd2bsn.js → ripgrep-tce32nx9.js} +3 -3
- package/dist/chunks/{location-service-map-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-bwdmmacb.js → ripgrep-td76kk5s.js} +12 -12
- package/dist/chunks/{location-service-map-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-cgza1zmh.js → ripgrep-tfdwhmtr.js} +12 -12
- package/dist/chunks/{location-service-map-h5f6ggqy.js → ripgrep-tjem4d8t.js} +8 -8
- package/dist/chunks/{location-service-map-8yktps7k.js → ripgrep-tmnzwg47.js} +9 -9
- package/dist/chunks/{location-service-map-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{location-service-map-30krspkn.js → ripgrep-tx92n959.js} +4 -4
- package/dist/chunks/{location-service-map-j9ty9cws.js → ripgrep-v3sgzvyr.js} +1 -1
- package/dist/chunks/{location-service-map-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-vfjhn2wd.js → ripgrep-vfjhn2wd.js} +1 -1
- package/dist/chunks/{location-service-map-vcdwqy0t.js → ripgrep-vmmah2r8.js} +28 -28
- package/dist/chunks/{location-service-map-cw6vaqhy.js → ripgrep-vnth2392.js} +12 -12
- package/dist/chunks/{location-service-map-d5g0vem9.js → ripgrep-vs30p9kt.js} +19 -19
- package/dist/chunks/{location-service-map-m1shccce.js → ripgrep-vseyvmg6.js} +22 -22
- package/dist/chunks/{location-service-map-t30mswsp.js → ripgrep-vshjx1fv.js} +13 -13
- package/dist/chunks/{location-service-map-dkgjef6k.js → ripgrep-vsvmmhnj.js} +11 -11
- package/dist/chunks/{location-service-map-xmznkxks.js → ripgrep-vyf9ssr3.js} +1 -1
- package/dist/chunks/{location-service-map-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-service-map-wn3c38y7.js → ripgrep-vzd7v1mf.js} +13 -13
- package/dist/chunks/{location-service-map-cfmv9c3d.js → ripgrep-w1drpbkf.js} +11 -11
- package/dist/chunks/{location-service-map-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-1kw05xve.js → ripgrep-w6vsjfye.js} +12 -12
- package/dist/chunks/{location-service-map-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-7shq9dj0.js → ripgrep-wehfp4sa.js} +8 -8
- package/dist/chunks/{location-service-map-pkvp83aw.js → ripgrep-wmq21ajw.js} +18 -18
- package/dist/chunks/{location-service-map-gk0e7dgm.js → ripgrep-wt2d6vc9.js} +3 -3
- package/dist/chunks/{location-service-map-rhrfrnty.js → ripgrep-ww3bgsgm.js} +36 -36
- package/dist/chunks/{location-service-map-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-h4m0f94k.js → ripgrep-x1n40ejg.js} +5 -5
- package/dist/chunks/{location-service-map-n2fjwnd6.js → ripgrep-x2s3qw17.js} +9 -9
- package/dist/chunks/{location-service-map-pnd08bfh.js → ripgrep-xbfk4ev4.js} +13 -13
- package/dist/chunks/{location-service-map-2gnwkpvd.js → ripgrep-xf4cnfq6.js} +3 -3
- package/dist/chunks/{location-service-map-8hcfckj3.js → ripgrep-xf9es9j3.js} +11 -11
- package/dist/chunks/{location-service-map-dmqcgk4z.js → ripgrep-xkntkrq7.js} +5 -5
- package/dist/chunks/{location-service-map-aq106s15.js → ripgrep-xqcytcp0.js} +7 -7
- package/dist/chunks/{location-service-map-63kngrnd.js → ripgrep-xvkfwp2k.js} +6 -6
- package/dist/chunks/{location-service-map-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-w8djw5a7.js → ripgrep-y54hr7f3.js} +9 -9
- package/dist/chunks/{location-service-map-cmefedvg.js → ripgrep-ybhbtxjg.js} +3 -3
- package/dist/chunks/{location-service-map-3kh5ghz4.js → ripgrep-yecy3dnv.js} +15 -15
- package/dist/chunks/{location-service-map-aq9v1yk8.js → ripgrep-yemq3d8b.js} +6 -6
- package/dist/chunks/{location-service-map-apeh0v2n.js → ripgrep-yr0r81nx.js} +10 -10
- package/dist/chunks/{location-service-map-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-service-map-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{location-service-map-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-asq856p3.js → ripgrep-z2wpthz8.js} +15 -15
- package/dist/chunks/ripgrep-z4rsfxys.js +252 -0
- package/dist/chunks/{location-service-map-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{location-service-map-f73rjn58.js → ripgrep-zee1rnkq.js} +4 -4
- package/dist/chunks/{location-service-map-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-service-map-gp9g74ej.js → ripgrep-zph2bqh4.js} +4 -4
- package/dist/chunks/{location-service-map-z9m63e6h.js → ripgrep-zpx469nz.js} +9 -9
- package/dist/chunks/{location-service-map-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-9n2ezk31.js → ripgrep-zv6hj0t9.js} +16 -16
- package/dist/chunks/{location-service-map-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +88 -88
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +83 -83
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-service-map-6enptsyn.js +0 -507
- package/dist/chunks/location-service-map-8gz0hh7m.js +0 -252
- package/dist/chunks/location-service-map-m18qmtz2.js +0 -18
- package/dist/chunks/location-service-map-p2zqjdg1.js +0 -26
- /package/dist/chunks/{location-service-map-0mesazry.js → ripgrep-0mesazry.js} +0 -0
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jexxy024.js → ripgrep-jexxy024.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
12
|
Service: () => Service4,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export { Service4,
|
|
54
|
+
export { Service4, node6, exports_update };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-btwdw4e2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-53gs95a7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./ripgrep-bw9zjykr.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-5ekn9679.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,55 +20,55 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-ybhbtxjg.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service69
|
|
29
|
+
} from "./ripgrep-tfdwhmtr.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service61
|
|
34
|
+
} from "./ripgrep-58dhpfm0.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service59
|
|
37
|
+
} from "./ripgrep-mfedxs8q.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./ripgrep-dkhbpt2q.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./ripgrep-q1rzhr09.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./ripgrep-eve8tttf.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./ripgrep-ejwjepw4.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service69;
|
|
69
|
+
const instances = yield* Service62;
|
|
70
|
+
const execution = yield* Service59;
|
|
71
|
+
const admission = yield* Service61;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -135,7 +135,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service62, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service62, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service62, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service62, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make12, exports_session2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-vseyvmg6.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
7
|
Service52
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-vmmah2r8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve3
|
|
11
|
+
} from "./ripgrep-awvmryqd.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin32
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin32 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
31
|
const config = yield* Service52;
|
|
@@ -177,7 +177,7 @@ var Plugin8 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve3({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin32, exports_provider };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
3
|
Service52
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-vmmah2r8.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin28,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,7 +19,7 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin28 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
const config = yield* Service52;
|
|
@@ -96,4 +96,4 @@ var Plugin35 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin28, exports_warming };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service11.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service11, node13, exports_discovery };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-btwdw4e2.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node60
|
|
12
|
+
} from "./ripgrep-yemq3d8b.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
24
|
ID: () => ID6,
|
|
25
|
-
Info: () =>
|
|
25
|
+
Info: () => Info20,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service56,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured9,
|
|
30
|
+
node: () => node59
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ import { systemError } from "effect/PlatformError";
|
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
38
|
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Info20 extends Schema.Class("Workspace.Info")({
|
|
41
41
|
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
@@ -56,14 +56,14 @@ class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service56 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service56,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node60]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info20({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,7 +154,7 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service56.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
159
|
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node59 = configured9();
|
|
225
225
|
|
|
226
|
-
export { ID6,
|
|
226
|
+
export { ID6, Info20, NotFound3, CreateConflict2, Service56, configured9, node59, exports_workspace };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-vseyvmg6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-dvddc9jp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models = {};
|
|
@@ -75,8 +75,8 @@ function derive2(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
6
|
node83
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-2vkv0cnq.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-btwdw4e2.js";
|
|
15
15
|
import {
|
|
16
16
|
Service83,
|
|
17
17
|
node87
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-53gs95a7.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-psazpmmj.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-gfvb90ym.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID16,
|
|
27
27
|
NotFoundError10
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-mzgx6d9a.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Ref4
|
|
31
|
+
} from "./ripgrep-h008dk5n.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./ripgrep-q0q0ghtn.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./ripgrep-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make15
|
|
42
|
+
} from "./ripgrep-xvkfwp2k.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service40
|
|
45
|
+
} from "./ripgrep-fsm3tqf3.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
|
|
|
53
53
|
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event6,
|
|
57
|
+
Info: () => Info5,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service39,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node42
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,11 +79,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info5 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
86
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
86
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event6 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service39 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service83;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service76;
|
|
108
|
+
const gitStrategy = yield* make15;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -118,13 +118,13 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
118
118
|
if (current?.directory === directory)
|
|
119
119
|
return current.get();
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
|
-
const context = yield* locations.contextEffect(
|
|
121
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service40).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service39.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node42 = Node.makeGlobalNode({
|
|
265
|
+
service: Service39,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node, node83, node87, node88, AppProcess.node,
|
|
267
|
+
deps: [FSUtil.node, node83, node87, node88, AppProcess.node, node80]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service39, node42, exports_worktree2, OperationError2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-vseyvmg6.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|