@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
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-ybhbtxjg.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-6snx8cw9.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-t78r90eq.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-6dxmk7tt.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service38,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node41
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service38 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service38, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service38.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service43, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node41 = makeGlobalNode({ service: Service38, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service38, node41, exports_environment };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service77
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-h008dk5n.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info23,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info23 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -49,4 +49,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
49
49
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
50
50
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
51
51
|
|
|
52
|
-
export {
|
|
52
|
+
export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-53gs95a7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./ripgrep-yr0r81nx.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event11,
|
|
21
|
+
ID: () => ID7,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service57,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node61
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event11 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID7 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID7
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID7,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service57 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service81;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service57.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node61 = makeLocationNode({
|
|
188
|
+
service: Service57,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node85]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID7, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service57, node61, exports_websearch3, Event11 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-53gs95a7.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node79
|
|
9
|
+
} from "./ripgrep-mr1mqs0h.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-dsnt0r96.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
|
-
Ref: () =>
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
42
|
+
Ref: () => Ref3,
|
|
43
|
+
Service: () => Service74,
|
|
44
|
+
node: () => node78
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
66
|
+
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID14,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
|
-
var
|
|
101
|
+
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service74 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service75;
|
|
110
110
|
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info29.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -431,7 +431,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
431
431
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
432
432
|
return CommandAttempt2.make({ attemptID, time });
|
|
433
433
|
});
|
|
434
|
-
return
|
|
434
|
+
return Service74.of({
|
|
435
435
|
transform: state.transform,
|
|
436
436
|
reload: state.reload,
|
|
437
437
|
revision: state.revision,
|
|
@@ -580,10 +580,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
580
580
|
}
|
|
581
581
|
});
|
|
582
582
|
}));
|
|
583
|
-
var
|
|
584
|
-
service:
|
|
583
|
+
var node78 = makeLocationNode({
|
|
584
|
+
service: Service74,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node79, node87, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export {
|
|
589
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service74, node78, exports_integration, Event17 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info11
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info11 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info11, exports_skills };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-vyf9ssr3.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-rbwfq5hj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-53gs95a7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service77
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-h008dk5n.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service32
|
|
10
|
+
} from "./ripgrep-qkbj1a6c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command = {};
|
|
17
|
+
__export(exports_command, {
|
|
18
|
+
CommandPlugin: () => exports_command,
|
|
19
|
+
Plugin: () => Plugin25
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin25 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
199
|
const location = yield* Service77;
|
|
200
|
-
const mcp = yield*
|
|
200
|
+
const mcp = yield* Service32;
|
|
201
201
|
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin25, exports_command };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-btwdw4e2.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-bjtzbw4r.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-c3ya1t7r.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-a3r4dcrj.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service69,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node73
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service69 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service69.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node73 = makeGlobalNode({ service: Service69, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service69, node73, exports_store };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-dvddc9jp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service52
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-vmmah2r8.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-4w5p16dy.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,7 +45,7 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -77,7 +77,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID12.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make5();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make5, OllamaPlugin2 };
|