@opencode/core 0.0.0-dev-20068 → 0.0.0-dev-20069
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/{schema-21kk9ey9.js → ripgrep-0ayx05qh.js} +2 -2
- package/dist/chunks/ripgrep-0mesazry.js +4 -0
- package/dist/chunks/{schema-v53t4mb7.js → ripgrep-0mgs0snk.js} +11 -11
- package/dist/chunks/{schema-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-dtnx79zk.js → ripgrep-0w5b0zhk.js} +12 -12
- package/dist/chunks/{schema-ey28dp55.js → ripgrep-12samabn.js} +13 -13
- package/dist/chunks/{schema-1ajx6rf5.js → ripgrep-1ajx6rf5.js} +1 -1
- package/dist/chunks/{schema-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-23sw09pj.js → ripgrep-1se9s7cd.js} +5 -5
- package/dist/chunks/{schema-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{schema-twax0pxr.js → ripgrep-22159n9k.js} +23 -23
- package/dist/chunks/{schema-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{schema-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-2krp1dn7.js → ripgrep-2hr23n0w.js} +11 -11
- package/dist/chunks/{schema-4xstzax4.js → ripgrep-2hr6k3wd.js} +17 -17
- package/dist/chunks/{schema-hbecebtg.js → ripgrep-2sdtchw9.js} +10 -10
- package/dist/chunks/{schema-854y6ept.js → ripgrep-310pygx3.js} +34 -34
- package/dist/chunks/{schema-m9dec5st.js → ripgrep-3133pbgg.js} +30 -30
- package/dist/chunks/{schema-szbdaj22.js → ripgrep-314cfvev.js} +4 -4
- package/dist/chunks/{schema-gs95kj1c.js → ripgrep-3exhk902.js} +22 -22
- package/dist/chunks/{schema-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-99647hmk.js → ripgrep-3h0mkt05.js} +32 -32
- package/dist/chunks/{schema-32ngwk73.js → ripgrep-3h6g4yxf.js} +15 -15
- package/dist/chunks/{schema-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-04t6vhh2.js → ripgrep-3j5kzqk4.js} +9 -9
- package/dist/chunks/{schema-0ft9cg2j.js → ripgrep-3k6sfp50.js} +6 -6
- package/dist/chunks/{schema-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-kvb5pf0f.js → ripgrep-3zca3at5.js} +7 -7
- package/dist/chunks/{schema-hqtqhwxa.js → ripgrep-3zjyq5kp.js} +11 -11
- package/dist/chunks/{schema-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-kb6gw2zp.js → ripgrep-44pdqs77.js} +4 -4
- package/dist/chunks/{schema-rd930brt.js → ripgrep-45xdrqn4.js} +41 -41
- package/dist/chunks/{schema-cvekkaw8.js → ripgrep-4dnzmhzq.js} +8 -8
- package/dist/chunks/{schema-dgb7xf30.js → ripgrep-4e766vfh.js} +21 -21
- package/dist/chunks/{schema-q1wd5bqe.js → ripgrep-4k1416er.js} +3 -3
- package/dist/chunks/{schema-ya2xvy3r.js → ripgrep-4qg5r729.js} +9 -9
- package/dist/chunks/{schema-vt5nkxs5.js → ripgrep-4y23n6zb.js} +29 -29
- package/dist/chunks/{schema-43vj5j1g.js → ripgrep-518fy5x0.js} +8 -8
- package/dist/chunks/{schema-ckecvw8r.js → ripgrep-54tcyq79.js} +2 -2
- package/dist/chunks/{schema-yme4tm39.js → ripgrep-55ec8s4g.js} +37 -37
- package/dist/chunks/{schema-mfqp6xfm.js → ripgrep-56gdpj1q.js} +6 -6
- package/dist/chunks/{schema-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{schema-6a6hn4p4.js → ripgrep-5a5dg86c.js} +20 -20
- package/dist/chunks/{schema-bkk1ay02.js → ripgrep-5az6qf77.js} +11 -11
- package/dist/chunks/{schema-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-y8pznszf.js → ripgrep-5df7hbgb.js} +26 -26
- package/dist/chunks/{schema-5ekn9679.js → ripgrep-5ekn9679.js} +1 -1
- package/dist/chunks/{schema-f9t32q2w.js → ripgrep-5jcjmpah.js} +7 -7
- package/dist/chunks/{schema-jesqq2b8.js → ripgrep-5q70a6nc.js} +2 -2
- package/dist/chunks/{schema-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-g3mqb04e.js → ripgrep-5wbzy8nn.js} +10 -10
- package/dist/chunks/{schema-qgn6gcr1.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{schema-jj43yjqp.js → ripgrep-63p6tvjf.js} +11 -11
- package/dist/chunks/{schema-yb29xp2t.js → ripgrep-65eqnm58.js} +12 -12
- package/dist/chunks/{schema-8qmjzw20.js → ripgrep-65rfk13t.js} +24 -24
- package/dist/chunks/{schema-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{schema-gdt8128r.js → ripgrep-66m6eh7j.js} +15 -15
- package/dist/chunks/{schema-607q5haz.js → ripgrep-68y7phbn.js} +5 -5
- package/dist/chunks/{schema-nbgtvmt2.js → ripgrep-6ae9v3b9.js} +7 -7
- package/dist/chunks/{schema-e89kpxws.js → ripgrep-6e4b4bvx.js} +11 -11
- package/dist/chunks/{schema-hqztqa4w.js → ripgrep-6j042nns.js} +16 -16
- package/dist/chunks/{schema-b26at605.js → ripgrep-6jqke6p8.js} +11 -11
- package/dist/chunks/{schema-9n8ak2h1.js → ripgrep-6kxxvxy9.js} +4 -4
- package/dist/chunks/{schema-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-a1w0bh0r.js → ripgrep-6npe6m7n.js} +35 -35
- package/dist/chunks/{schema-dq5ym5fs.js → ripgrep-6rww2kbq.js} +29 -29
- package/dist/chunks/{schema-22y0n5cd.js → ripgrep-6v1ffft6.js} +11 -11
- package/dist/chunks/{schema-f5thdj5b.js → ripgrep-6whh3zwz.js} +44 -44
- package/dist/chunks/{schema-x21w7dsp.js → ripgrep-6xakybcw.js} +20 -20
- package/dist/chunks/{schema-tfz8ht6g.js → ripgrep-6ypqnq6y.js} +11 -11
- package/dist/chunks/{schema-wfvmvx5v.js → ripgrep-72bztqfg.js} +31 -31
- package/dist/chunks/{schema-jwpzwwy6.js → ripgrep-75j187sy.js} +16 -16
- package/dist/chunks/{schema-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-8349yjnv.js → ripgrep-7pj4hm0p.js} +15 -15
- package/dist/chunks/{schema-r3c4069c.js → ripgrep-7tgakezr.js} +1 -1
- package/dist/chunks/{schema-21xm8fz3.js → ripgrep-7tr6rhhd.js} +10 -10
- package/dist/chunks/{schema-mhkvc446.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{schema-rk8hkmen.js → ripgrep-7zszha7m.js} +35 -35
- package/dist/chunks/{schema-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{schema-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-4g0aw377.js → ripgrep-8n3vm8hr.js} +8 -8
- package/dist/chunks/{schema-azejft3h.js → ripgrep-8vk5gx22.js} +15 -15
- package/dist/chunks/{schema-d9wzmzc3.js → ripgrep-94s48bjb.js} +5 -5
- package/dist/chunks/{schema-egc3yevh.js → ripgrep-95en9f50.js} +14 -14
- package/dist/chunks/{schema-vtxr0yy2.js → ripgrep-9cyfspf3.js} +5 -5
- package/dist/chunks/{schema-5p1sgbr7.js → ripgrep-9h8yadab.js} +9 -9
- package/dist/chunks/{schema-tyqw9b1a.js → ripgrep-9jscrgm8.js} +10 -10
- package/dist/chunks/{schema-cbmy1d4v.js → ripgrep-9kdsp20r.js} +5 -5
- package/dist/chunks/{schema-4r89mkx8.js → ripgrep-9q81rv62.js} +9 -9
- package/dist/chunks/{schema-j7xxj57g.js → ripgrep-9r7rpdpb.js} +5 -5
- package/dist/chunks/{schema-bfsvxfz0.js → ripgrep-9yp3a3kk.js} +24 -24
- package/dist/chunks/ripgrep-9zdhvgqs.js +18 -0
- package/dist/chunks/{schema-79y3jrde.js → ripgrep-a4ddpw0g.js} +22 -22
- package/dist/chunks/{schema-kwb80b5k.js → ripgrep-a68v6zx7.js} +8 -8
- package/dist/chunks/{schema-51dx2b5g.js → ripgrep-a7e8yba8.js} +13 -13
- package/dist/chunks/{schema-mff6ah6z.js → ripgrep-a82wvf7y.js} +52 -52
- package/dist/chunks/{schema-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-15nepkqg.js → ripgrep-ahd542yp.js} +8 -8
- package/dist/chunks/{schema-vmgq4x8b.js → ripgrep-ak8wweg5.js} +2 -2
- package/dist/chunks/{schema-tfw5vp5y.js → ripgrep-ak95znyc.js} +3 -3
- package/dist/chunks/{schema-4etra8x0.js → ripgrep-aqc2n7k1.js} +11 -11
- package/dist/chunks/{schema-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-3qaj82j9.js → ripgrep-b7b4ctej.js} +5 -5
- package/dist/chunks/{schema-jkq931gc.js → ripgrep-bc17a4yt.js} +15 -15
- package/dist/chunks/{schema-vncycja5.js → ripgrep-bct739vz.js} +4 -4
- package/dist/chunks/{schema-z07pqspn.js → ripgrep-bjtzbw4r.js} +3 -3
- package/dist/chunks/{schema-4pkmhnfb.js → ripgrep-btdn1fj9.js} +12 -12
- package/dist/chunks/{schema-jyrfr5z0.js → ripgrep-c13e6esw.js} +3 -3
- package/dist/chunks/{schema-4pe5mkqw.js → ripgrep-c6smxwme.js} +15 -15
- package/dist/chunks/{schema-n2rked60.js → ripgrep-c765aa0m.js} +12 -12
- package/dist/chunks/{schema-c3whs05w.js → ripgrep-c8fzc5kk.js} +3 -3
- package/dist/chunks/{schema-4p60s6mc.js → ripgrep-ccgx1agb.js} +85 -85
- package/dist/chunks/{schema-zsnrp8c7.js → ripgrep-cczmq9j9.js} +323 -323
- package/dist/chunks/{schema-0ak0g8qp.js → ripgrep-csmmbkrn.js} +3 -3
- package/dist/chunks/{schema-djszqvmq.js → ripgrep-cwa6csj7.js} +9 -9
- package/dist/chunks/{schema-f724bymh.js → ripgrep-cyzqg38g.js} +18 -18
- package/dist/chunks/{schema-jvf3yq6v.js → ripgrep-dhmh7aw6.js} +4 -4
- package/dist/chunks/{schema-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
- package/dist/chunks/{schema-86n5f4j7.js → ripgrep-dq0k2458.js} +6 -6
- package/dist/chunks/{schema-zk4010xf.js → ripgrep-dqr0m1y5.js} +8 -8
- package/dist/chunks/{schema-ywppm7yh.js → ripgrep-drsj7rnm.js} +37 -37
- package/dist/chunks/{schema-57b9ws8p.js → ripgrep-drwq78ky.js} +5 -5
- package/dist/chunks/{schema-1365j5nm.js → ripgrep-dwkyy60h.js} +13 -13
- package/dist/chunks/{schema-2gv5qy1y.js → ripgrep-e37h8kwf.js} +12 -12
- package/dist/chunks/{schema-xbrnje9f.js → ripgrep-e7710hd6.js} +8 -8
- package/dist/chunks/{schema-gsk7mn2e.js → ripgrep-e82rfkh8.js} +168 -168
- package/dist/chunks/{schema-x7pgzbrc.js → ripgrep-e9mavkfm.js} +13 -13
- package/dist/chunks/{schema-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-d0jrvpgb.js → ripgrep-ejndgxwh.js} +29 -29
- package/dist/chunks/{schema-erw5rpbs.js → ripgrep-erw5rpbs.js} +2 -2
- package/dist/chunks/{schema-84s1vm7q.js → ripgrep-eswwkexn.js} +11 -11
- package/dist/chunks/{schema-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-evbgk2k8.js → ripgrep-evbgk2k8.js} +2 -2
- package/dist/chunks/{schema-2xanj3y6.js → ripgrep-ewxpkfp1.js} +23 -23
- package/dist/chunks/{schema-c0knr1es.js → ripgrep-f16gbcxr.js} +16 -16
- package/dist/chunks/{schema-nkh7hwh6.js → ripgrep-f2y31vad.js} +5 -5
- package/dist/chunks/{schema-3e5hztjw.js → ripgrep-f5q6vpa8.js} +4 -4
- package/dist/chunks/{schema-4cmte46y.js → ripgrep-febc8204.js} +4 -4
- package/dist/chunks/{schema-ngaq65z3.js → ripgrep-fhgj836q.js} +17 -17
- package/dist/chunks/{schema-5cmxdwv8.js → ripgrep-fqka1xvk.js} +3 -3
- package/dist/chunks/{schema-xxxgmpnp.js → ripgrep-fxfc3qkp.js} +8 -8
- package/dist/chunks/{schema-4tzv48n0.js → ripgrep-g1n6bxpc.js} +27 -27
- package/dist/chunks/{schema-d08f925z.js → ripgrep-g2sgta8f.js} +5 -5
- package/dist/chunks/{schema-7mqqegap.js → ripgrep-g7y1z024.js} +5 -5
- package/dist/chunks/{schema-v5dkyp31.js → ripgrep-g8d3gcyj.js} +7 -7
- package/dist/chunks/{schema-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-94ek1h2f.js → ripgrep-gfvb90ym.js} +2 -2
- package/dist/chunks/{schema-vz4jg4k9.js → ripgrep-gjbcvzr2.js} +8 -8
- package/dist/chunks/{schema-e9k66s6p.js → ripgrep-gqtakvcm.js} +5 -5
- package/dist/chunks/{schema-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-c21zn749.js → ripgrep-h0yqkzt5.js} +11 -11
- package/dist/chunks/{schema-qf9g56f3.js → ripgrep-h3yfa6ks.js} +39 -39
- package/dist/chunks/{schema-azgx1nga.js → ripgrep-h52xnkn8.js} +20 -20
- package/dist/chunks/{schema-r1t33gv4.js → ripgrep-h5tmfsew.js} +27 -27
- package/dist/chunks/{schema-cpj0znwe.js → ripgrep-h6r3nrb9.js} +4 -4
- package/dist/chunks/{schema-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-spqcpneg.js → ripgrep-h7w9m21h.js} +6 -6
- package/dist/chunks/{schema-9jm5k1pc.js → ripgrep-h8t8zj8w.js} +8 -8
- package/dist/chunks/{schema-k3dr35yq.js → ripgrep-hf4drxk6.js} +6 -6
- package/dist/chunks/{schema-3n6q8bv2.js → ripgrep-hgnmjjw1.js} +17 -17
- package/dist/chunks/{schema-4m11sss1.js → ripgrep-hhpnm7dw.js} +31 -31
- package/dist/chunks/{schema-zab19jja.js → ripgrep-hrc132h6.js} +9 -9
- package/dist/chunks/{schema-cvcncckx.js → ripgrep-hsqtqw31.js} +41 -41
- package/dist/chunks/{schema-3e147rt9.js → ripgrep-j311gd59.js} +6 -6
- package/dist/chunks/{schema-dvgd3rha.js → ripgrep-j4ab9r48.js} +3 -3
- package/dist/chunks/{schema-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-n37c4crj.js → ripgrep-j58c5xyq.js} +9 -9
- package/dist/chunks/{schema-xa30xd5p.js → ripgrep-jf99zcgg.js} +22 -22
- package/dist/chunks/{schema-dx61neqa.js → ripgrep-k1fg4vp1.js} +20 -20
- package/dist/chunks/{schema-6ysrkrkr.js → ripgrep-k1qrnqst.js} +8 -8
- package/dist/chunks/{schema-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{schema-71g12y8g.js → ripgrep-kj13tdgj.js} +6 -6
- package/dist/chunks/{schema-8a9kwrve.js → ripgrep-km9v8s4p.js} +25 -25
- package/dist/chunks/{schema-xfdrc2qg.js → ripgrep-knb7evpn.js} +4 -4
- package/dist/chunks/{schema-z8p0mpvq.js → ripgrep-kwh94f5y.js} +22 -22
- package/dist/chunks/{schema-qnn3verk.js → ripgrep-m14g7d03.js} +9 -9
- package/dist/chunks/{schema-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-0eppds2k.js → ripgrep-m9ekcepj.js} +9 -9
- package/dist/chunks/{schema-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-x98p3fja.js → ripgrep-mb5k3eyw.js} +44 -44
- package/dist/chunks/{schema-c99cqkw7.js → ripgrep-md9pgxe8.js} +18 -18
- package/dist/chunks/{schema-mksgfzgs.js → ripgrep-mjyv029k.js} +6 -6
- package/dist/chunks/{schema-gsac5713.js → ripgrep-mppnnt9x.js} +23 -23
- package/dist/chunks/{schema-hd6mtbc2.js → ripgrep-mt4rfx33.js} +1 -1
- package/dist/chunks/{schema-fnxsaa4j.js → ripgrep-myhvmvaw.js} +18 -18
- package/dist/chunks/{schema-wq4mmp7m.js → ripgrep-mzywpf3p.js} +4 -4
- package/dist/chunks/{schema-dwpj3xc6.js → ripgrep-nacy1b3s.js} +11 -11
- package/dist/chunks/ripgrep-nc9jdwq6.js +252 -0
- package/dist/chunks/{schema-rr1xtvmv.js → ripgrep-npcgt3gc.js} +43 -43
- package/dist/chunks/{schema-g17ae1qh.js → ripgrep-nqhkz2h0.js} +3 -3
- package/dist/chunks/{schema-jw80jp6b.js → ripgrep-nrdmrqsx.js} +4 -4
- package/dist/chunks/{schema-mfh2s9n9.js → ripgrep-nxq64296.js} +20 -20
- package/dist/chunks/{schema-1fgq5ex7.js → ripgrep-p8p1q38m.js} +26 -26
- package/dist/chunks/{schema-xbdvvged.js → ripgrep-pdq8pnd2.js} +12 -12
- package/dist/chunks/{schema-nrf9nkf4.js → ripgrep-pff1gvzk.js} +39 -39
- package/dist/chunks/{schema-hj3kzhjm.js → ripgrep-phfbqzjs.js} +15 -15
- package/dist/chunks/{schema-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{schema-s1n69xg5.js → ripgrep-pp3p6rz8.js} +26 -26
- package/dist/chunks/{schema-wd3x2cqz.js → ripgrep-psazpmmj.js} +2 -2
- package/dist/chunks/{schema-6htx4nwr.js → ripgrep-qjjdbt4x.js} +11 -11
- package/dist/chunks/{schema-jv01nqvq.js → ripgrep-qn4ba14w.js} +5 -5
- package/dist/chunks/{schema-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-rs4ad808.js → ripgrep-r3va1q30.js} +15 -15
- package/dist/chunks/{schema-3djsbczj.js → ripgrep-r4bzzscv.js} +4 -4
- package/dist/chunks/{schema-b74jhqyh.js → ripgrep-r6h5nhyv.js} +26 -26
- package/dist/chunks/{schema-ksngh15a.js → ripgrep-rd066f3k.js} +13 -13
- package/dist/chunks/{schema-53fyba40.js → ripgrep-rdecwvm0.js} +4 -4
- package/dist/chunks/{schema-stka8cwy.js → ripgrep-rdf5zzeq.js} +16 -16
- package/dist/chunks/{schema-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-2s9emtnm.js → ripgrep-rkd9y7hg.js} +13 -13
- package/dist/chunks/{schema-e8f8pgjf.js → ripgrep-rn3cq9ja.js} +25 -25
- package/dist/chunks/{schema-bq4g5957.js → ripgrep-rtrd7687.js} +4 -4
- package/dist/chunks/{schema-ke47ra3q.js → ripgrep-rwpqnmrd.js} +45 -45
- package/dist/chunks/{schema-hnc22933.js → ripgrep-s2v5xhym.js} +24 -24
- package/dist/chunks/{schema-a2qe2ev9.js → ripgrep-s5met55r.js} +8 -8
- package/dist/chunks/{schema-we5e1hqv.js → ripgrep-s74ft2z0.js} +5 -5
- package/dist/chunks/{schema-bxav69s2.js → ripgrep-s7d0jgbp.js} +15 -15
- package/dist/chunks/{schema-eaj1djv9.js → ripgrep-s8d7rejh.js} +6 -6
- package/dist/chunks/{schema-nxhqveyz.js → ripgrep-s8zy8myc.js} +5 -5
- package/dist/chunks/{schema-1rd6czrg.js → ripgrep-sh5yyyta.js} +4 -4
- package/dist/chunks/{schema-sgds5tk2.js → ripgrep-svjy1kds.js} +13 -13
- package/dist/chunks/{schema-bttjrvqw.js → ripgrep-szs8vbwv.js} +11 -11
- package/dist/chunks/{schema-yb3bnh53.js → ripgrep-t1nv7t91.js} +36 -36
- package/dist/chunks/{schema-zx2f5h1h.js → ripgrep-t9jfj42y.js} +16 -16
- package/dist/chunks/{schema-1fmrbde1.js → ripgrep-t9ym9qvh.js} +8 -8
- package/dist/chunks/{schema-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-trgn506r.js → ripgrep-tcfbr18x.js} +10 -10
- package/dist/chunks/{schema-hxx1gems.js → ripgrep-tcnfwqy6.js} +10 -10
- package/dist/chunks/{schema-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/ripgrep-thf27y4c.js +26 -0
- package/dist/chunks/{schema-0wddnwfq.js → ripgrep-trqv73xc.js} +20 -20
- package/dist/chunks/{schema-pxar5t5x.js → ripgrep-trv0dvrm.js} +27 -27
- package/dist/chunks/{schema-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-vmwh049b.js → ripgrep-v8g8r3p5.js} +6 -6
- package/dist/chunks/{schema-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-wvm3e786.js → ripgrep-vk5cd3wv.js} +10 -10
- package/dist/chunks/{schema-mx9vqzsb.js → ripgrep-vvccsdf3.js} +6 -6
- package/dist/chunks/{schema-feqe9m6b.js → ripgrep-vw5tv20s.js} +21 -21
- package/dist/chunks/{schema-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-9jn1v8n4.js → ripgrep-vztfwee2.js} +27 -27
- package/dist/chunks/{schema-z6970k62.js → ripgrep-w0amkjx1.js} +22 -22
- package/dist/chunks/{schema-750bqw08.js → ripgrep-w28p7srs.js} +13 -13
- package/dist/chunks/{schema-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-yq6rdmt7.js → ripgrep-wamfr8ew.js} +10 -10
- package/dist/chunks/{schema-m8q517q3.js → ripgrep-wd7bxs2p.js} +30 -30
- package/dist/chunks/{schema-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{schema-stgrmxrp.js → ripgrep-wdqt7cqw.js} +10 -10
- package/dist/chunks/{schema-hwh6dse8.js → ripgrep-wj3w7pcn.js} +17 -17
- package/dist/chunks/{schema-tfzngn12.js → ripgrep-wj76ss2k.js} +4 -4
- package/dist/chunks/{schema-w9xbefsq.js → ripgrep-wjvmat6z.js} +22 -22
- package/dist/chunks/{schema-mtptma85.js → ripgrep-wmfp1rw3.js} +18 -18
- package/dist/chunks/{schema-q23t71ky.js → ripgrep-wpa4rsnk.js} +19 -19
- package/dist/chunks/{schema-1brzvxsn.js → ripgrep-wwy2qggx.js} +8 -8
- package/dist/chunks/{schema-rtrqs7aw.js → ripgrep-x01dtww3.js} +30 -30
- package/dist/chunks/{schema-p70m8tan.js → ripgrep-x0phpbjd.js} +29 -29
- package/dist/chunks/{schema-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-798v7mfg.js → ripgrep-x9p82aqm.js} +13 -13
- package/dist/chunks/{schema-pmrtsbw6.js → ripgrep-xdyhb63d.js} +18 -18
- package/dist/chunks/{schema-bc8ybda4.js → ripgrep-xwx3c2sc.js} +9 -9
- package/dist/chunks/{schema-d0wejq28.js → ripgrep-xz23vemp.js} +6 -6
- package/dist/chunks/{schema-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-zj09a0ew.js → ripgrep-y67gsgy6.js} +4 -4
- package/dist/chunks/{schema-y7c4883m.js → ripgrep-yagfenz7.js} +57 -57
- package/dist/chunks/{schema-v00q4dqv.js → ripgrep-yejpxas0.js} +14 -14
- package/dist/chunks/{schema-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{schema-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{schema-z6y9e2r8.js → ripgrep-ys5hb573.js} +30 -30
- package/dist/chunks/{schema-jjs74g98.js → ripgrep-ywkfy99j.js} +9 -9
- package/dist/chunks/{schema-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-yyc7yft3.js → ripgrep-z1a2kmfk.js} +15 -15
- package/dist/chunks/{schema-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{schema-qx20pxr4.js → ripgrep-z66c1k9w.js} +48 -48
- package/dist/chunks/{schema-zpfyxn6c.js → ripgrep-zajadr6b.js} +24 -24
- package/dist/chunks/{schema-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-qpqjws28.js → ripgrep-zkt84azb.js} +9 -9
- package/dist/chunks/{schema-ev08srva.js → ripgrep-zp8bqaxg.js} +14 -14
- package/dist/chunks/{schema-f6p0q2g2.js → ripgrep-zq2g0th5.js} +15 -15
- package/dist/chunks/{schema-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-3pgqp7v9.js → ripgrep-zr8y6ync.js} +4 -4
- package/dist/chunks/{schema-p173zzzp.js → ripgrep-zrye3yph.js} +80 -80
- package/dist/chunks/{schema-99249730.js → ripgrep-zwfnejf5.js} +1 -1
- package/dist/chunks/{schema-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +130 -130
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- 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 +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- 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 +81 -81
- 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 +126 -126
- 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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- 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 +1 -1
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- 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 +91 -91
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +4 -4
- 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 +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- 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 +130 -130
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- 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 +126 -126
- package/dist/session/projector.js +84 -84
- 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 +229 -229
- 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 +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- 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 +87 -87
- 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 +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +15 -15
- 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 +93 -93
- 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 +127 -127
- 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 +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +2 -2
- 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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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 +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/schema-0et57d8k.js +0 -252
- package/dist/chunks/schema-dxj72tfx.js +0 -18
- package/dist/chunks/schema-pemgqcj3.js +0 -26
- package/dist/chunks/schema-z926abd4.js +0 -4
- /package/dist/chunks/{schema-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-nqhkz2h0.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-4dnzmhzq.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service55,
|
|
21
|
+
node58
|
|
22
|
+
} from "./ripgrep-95en9f50.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service21,
|
|
25
|
+
node24
|
|
26
|
+
} from "./ripgrep-ccgx1agb.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
@@ -61,8 +61,8 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
61
61
|
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service21;
|
|
65
|
+
const store = yield* Service55;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -150,7 +150,7 @@ Recent conversation:
|
|
|
150
150
|
var node3 = makeLocationNode({
|
|
151
151
|
service: Service2,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [node87, llmClient2,
|
|
153
|
+
deps: [node87, llmClient2, node24, node58, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
156
|
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./ripgrep-3133pbgg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
12
|
+
} from "./ripgrep-ejndgxwh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID13,
|
|
15
|
+
Service75
|
|
16
|
+
} from "./ripgrep-x0phpbjd.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-pdq8pnd2.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service75;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-5q70a6nc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./ripgrep-66m6eh7j.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./ripgrep-t9jfj42y.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service5
|
|
27
|
+
} from "./ripgrep-zq2g0th5.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input12,
|
|
36
|
+
Plugin: () => Plugin32,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name12,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name12 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input12 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin32 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service5;
|
|
62
|
+
const access = yield* Service15;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name12,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input12,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin45 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent6 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name12, Input12, Plugin32, toModelContent6, exports_read };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-wjvmat6z.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./ripgrep-3133pbgg.js";
|
|
13
13
|
import {
|
|
14
14
|
Service80,
|
|
15
15
|
node84
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-5q70a6nc.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service62,
|
|
19
|
+
node65
|
|
20
|
+
} from "./ripgrep-4e766vfh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./ripgrep-km9v8s4p.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node80
|
|
35
|
+
} from "./ripgrep-ejndgxwh.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service31,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured3,
|
|
57
|
+
layer: () => layer13,
|
|
58
|
+
node: () => node34
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options3 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var layer13 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
105
105
|
const location = yield* Service80;
|
|
106
|
-
const environment = yield*
|
|
106
|
+
const environment = yield* Service62;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service78;
|
|
109
|
+
const integration = yield* Service76;
|
|
110
|
+
const credentials = yield* Service77;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID14.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID16.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
262
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service62, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service31.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured3(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [node84,
|
|
521
|
+
service: Service31,
|
|
522
|
+
layer: layer13(options),
|
|
523
|
+
deps: [node84, node65, node87, node82, node80, node81]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node34 = configured3();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service31, Options3, layer13, configured3, node34, exports_mcp4 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-sh5yyyta.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-68y7phbn.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-5q70a6nc.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-9zdhvgqs.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service37,
|
|
18
|
+
node40
|
|
19
|
+
} from "./ripgrep-jf99zcgg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node19
|
|
22
|
+
} from "./ripgrep-5a5dg86c.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node14
|
|
26
|
+
} from "./ripgrep-cwa6csj7.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher2 = {};
|
|
33
33
|
__export(exports_location_watcher2, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service11,
|
|
36
|
+
node: () => node13
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service37;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service11.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node13 = makeLocationNode({
|
|
106
|
+
service: Service11,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node40, FSUtil.node, node84, node86, node87, node19, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service11, node13, exports_location_watcher2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service66,
|
|
10
|
+
node: () => node70
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service66 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service66.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node70 = makeLocationNode({ service: Service66, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service66, node70, exports_hooks };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./ripgrep-x0phpbjd.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID13.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|