@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-ddhqp0gw.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-53gs95a7.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service75
|
|
11
|
+
} from "./ripgrep-mr1mqs0h.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./ripgrep-t78r90eq.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
22
|
ID13
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-vseyvmg6.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-4w5p16dy.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,7 +31,7 @@ import { Form } from "@opencode/schema/form";
|
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
33
|
var providerID = ID13.make("snowflake-cortex");
|
|
34
|
-
var integrationID =
|
|
34
|
+
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service75;
|
|
57
|
+
const integrations = yield* Service74;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service52
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-vmmah2r8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./ripgrep-qmqgtz8f.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin35
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
const config = yield* Service52;
|
|
26
|
-
const policy = yield*
|
|
26
|
+
const policy = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin13 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin35, exports_location_watcher2 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./ripgrep-dsnt0r96.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./ripgrep-6snx8cw9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./ripgrep-t35zjnp2.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin14,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name12 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input12 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID7,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin14 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service67;
|
|
53
|
+
const forms = yield* Service82;
|
|
54
|
+
const websearch = yield* Service57;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name12,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input12,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name12,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name12];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin14, exports_websearch };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-btwdw4e2.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-bjtzbw4r.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service27,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service27 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service27.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node31 = makeLocationNode({ service: Service27, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service27, node31, exports_instruction_entry };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-mr1mqs0h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-t78r90eq.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./ripgrep-dvddc9jp.js";
|
|
4
4
|
import {
|
|
5
5
|
Service52
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-vmmah2r8.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-4w5p16dy.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,7 +21,7 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-53gs95a7.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
Service77,
|
|
12
12
|
node81
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-h008dk5n.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info7,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service45,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node48
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info7, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service77;
|
|
53
53
|
const bus = yield* Service83;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info7));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service45.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node48 = makeLocationNode({
|
|
168
|
+
service: Service45,
|
|
169
169
|
layer,
|
|
170
170
|
deps: [FSUtil.node, node81, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, Service45, node48, exports_vcs };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service55,
|
|
8
|
+
node58
|
|
9
|
+
} from "./ripgrep-cd5r1gbk.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service54,
|
|
24
|
+
node: () => node57
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service54 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service55;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service54.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node57 = makeLocationNode({ service: Service54, layer, deps: [node58, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service54, node57, exports_ripgrep };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-btwdw4e2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./ripgrep-bw9zjykr.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-ht5y0zrb.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-ssdqnhy0.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-c3ya1t7r.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-jpb21ef2.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service24
|
|
21
|
+
} from "./ripgrep-rzqbjppq.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service62;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service24;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|