@opencode/core 0.0.0-dev-20291 → 0.0.0-dev-20292
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 +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{kv-427t97hr.js → ripgrep-0bfcnrg1.js} +1 -1
- package/dist/chunks/{kv-v76ha64y.js → ripgrep-0czp0bk4.js} +20 -20
- package/dist/chunks/{kv-0f9afca0.js → ripgrep-0f9afca0.js} +2 -2
- package/dist/chunks/{kv-7znwpdrd.js → ripgrep-0j45e4a4.js} +26 -26
- package/dist/chunks/{kv-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/ripgrep-0qk019jc.js +26 -0
- package/dist/chunks/{kv-667b8y1w.js → ripgrep-0spqb8br.js} +45 -45
- package/dist/chunks/{kv-819acz3y.js → ripgrep-14yyfa4b.js} +24 -24
- package/dist/chunks/{kv-7yh4e7ss.js → ripgrep-1bbkgx8g.js} +3 -3
- package/dist/chunks/{kv-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-j3k3m7ve.js → ripgrep-1j6r9yf3.js} +30 -30
- package/dist/chunks/{kv-d0ct7zk6.js → ripgrep-1jqh21ez.js} +37 -37
- package/dist/chunks/{kv-y1pttp5r.js → ripgrep-1ynb6qa0.js} +16 -16
- package/dist/chunks/{kv-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{kv-ejwk4ccc.js → ripgrep-29jfjc42.js} +11 -11
- package/dist/chunks/{kv-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-hrscc878.js → ripgrep-2d0eq7f5.js} +6 -6
- package/dist/chunks/{kv-6yh65qsf.js → ripgrep-2dch9cv2.js} +4 -4
- package/dist/chunks/{kv-k8z1j8bc.js → ripgrep-2dfsp93b.js} +30 -30
- package/dist/chunks/{kv-p2a54bnb.js → ripgrep-2f7cedef.js} +24 -24
- package/dist/chunks/{kv-rtathh62.js → ripgrep-2wts5qzq.js} +8 -8
- package/dist/chunks/{kv-yb8n5v0q.js → ripgrep-2wyx13rv.js} +4 -4
- package/dist/chunks/ripgrep-34d822yn.js +252 -0
- package/dist/chunks/{kv-5rnnm2b5.js → ripgrep-3b9qt4hj.js} +9 -9
- package/dist/chunks/{kv-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-n4k2ksae.js → ripgrep-3fn1d266.js} +10 -10
- package/dist/chunks/{kv-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-pa8pe2x7.js → ripgrep-3hfr6h8q.js} +6 -6
- package/dist/chunks/{kv-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3h5mpbf9.js → ripgrep-3tfp5dh2.js} +8 -8
- package/dist/chunks/{kv-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{kv-ezq5yqf8.js → ripgrep-40p1p2fq.js} +15 -15
- package/dist/chunks/{kv-rcxra8rk.js → ripgrep-464yenze.js} +26 -26
- package/dist/chunks/{kv-n0ezjpg5.js → ripgrep-46tkexde.js} +83 -83
- package/dist/chunks/{kv-sm965ndy.js → ripgrep-4c2df9zx.js} +8 -8
- package/dist/chunks/{kv-atg5myyh.js → ripgrep-4djqy3b1.js} +20 -20
- package/dist/chunks/{kv-j72w05ga.js → ripgrep-4fx0v051.js} +7 -7
- package/dist/chunks/{kv-zehz82ct.js → ripgrep-4hkxpksb.js} +27 -27
- package/dist/chunks/{kv-k4cyhbf6.js → ripgrep-4ndvwbzn.js} +3 -3
- package/dist/chunks/{kv-yyg0qxr9.js → ripgrep-4vznd14g.js} +5 -5
- package/dist/chunks/{kv-3jjgv10f.js → ripgrep-52dfra55.js} +10 -10
- package/dist/chunks/{kv-adxd5rm3.js → ripgrep-54j2g604.js} +5 -5
- package/dist/chunks/{kv-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{kv-7ewqxty1.js → ripgrep-54n8g67r.js} +11 -11
- package/dist/chunks/{kv-57ez7d0k.js → ripgrep-57ez7d0k.js} +2 -2
- package/dist/chunks/{kv-46y19e9k.js → ripgrep-5848hxr9.js} +11 -11
- package/dist/chunks/{kv-mf9m2v67.js → ripgrep-5cmxdwv8.js} +3 -3
- package/dist/chunks/{kv-2sejkfem.js → ripgrep-5d607bsg.js} +9 -9
- package/dist/chunks/{kv-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-8fwpt1dn.js → ripgrep-5g11er5x.js} +7 -7
- package/dist/chunks/{kv-brgpgtrm.js → ripgrep-5nf5fkza.js} +15 -15
- package/dist/chunks/{kv-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-nws5ej3a.js → ripgrep-5vtq9k1b.js} +13 -13
- package/dist/chunks/{kv-20b2s3kw.js → ripgrep-5yjg4844.js} +9 -9
- package/dist/chunks/{kv-90p3m6n8.js → ripgrep-614e606q.js} +17 -17
- package/dist/chunks/{kv-b8ax9c4x.js → ripgrep-669mnavw.js} +21 -21
- package/dist/chunks/{kv-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{kv-aka7gdyy.js → ripgrep-67r4mtw2.js} +9 -9
- package/dist/chunks/{kv-vmtaatps.js → ripgrep-6dwdgb0a.js} +5 -5
- package/dist/chunks/{kv-1se20z1h.js → ripgrep-6g6nvm69.js} +16 -16
- package/dist/chunks/{kv-qwzpj14n.js → ripgrep-6gsfn1dv.js} +29 -29
- package/dist/chunks/{kv-s1kvmffy.js → ripgrep-6hjx5zpb.js} +9 -9
- package/dist/chunks/{kv-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-t4w84n8b.js → ripgrep-6wgqnbhb.js} +35 -35
- package/dist/chunks/{kv-wqdtphwj.js → ripgrep-6ydrntg5.js} +6 -6
- package/dist/chunks/{kv-rtyt3vxy.js → ripgrep-70m7fb3k.js} +5 -5
- package/dist/chunks/{kv-ck1y1mrw.js → ripgrep-72mdmaav.js} +11 -11
- package/dist/chunks/{kv-j24nbwsh.js → ripgrep-73a2vzjg.js} +11 -11
- package/dist/chunks/{kv-v9gmpqr7.js → ripgrep-7ab4f44s.js} +14 -14
- package/dist/chunks/{kv-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-vw4z4sc9.js → ripgrep-7d4qx0wr.js} +11 -11
- package/dist/chunks/{kv-exec2md4.js → ripgrep-7dftej1j.js} +31 -31
- package/dist/chunks/{kv-cpc3xkm6.js → ripgrep-7nm77vb3.js} +3 -3
- package/dist/chunks/{kv-tbmac1c7.js → ripgrep-80scg3y3.js} +4 -4
- package/dist/chunks/{kv-84txncab.js → ripgrep-84txncab.js} +1 -1
- package/dist/chunks/{kv-9g7kxhdk.js → ripgrep-84zcxbc9.js} +5 -5
- package/dist/chunks/{kv-768gsh1v.js → ripgrep-8d0p2m37.js} +3 -3
- package/dist/chunks/{kv-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-8525wnq7.js → ripgrep-8v9axdqq.js} +18 -18
- package/dist/chunks/{kv-w7fkdfn4.js → ripgrep-8vp0jrea.js} +3 -3
- package/dist/chunks/{kv-c1kgd9ht.js → ripgrep-91wvh588.js} +9 -9
- package/dist/chunks/{kv-w137fpva.js → ripgrep-937m9zg6.js} +8 -8
- package/dist/chunks/{kv-94ek1h2f.js → ripgrep-94ek1h2f.js} +2 -2
- package/dist/chunks/{kv-n9svnw10.js → ripgrep-97d1gz13.js} +11 -11
- package/dist/chunks/{kv-dp28bv0d.js → ripgrep-97ffttsr.js} +22 -22
- package/dist/chunks/{kv-44zqv7fv.js → ripgrep-9979gqg8.js} +52 -52
- package/dist/chunks/{kv-hyrm0rmn.js → ripgrep-9gqwmv79.js} +23 -23
- package/dist/chunks/{kv-f7j5nqer.js → ripgrep-9r5kv9cm.js} +12 -12
- package/dist/chunks/{kv-an2nx9pr.js → ripgrep-9seqqng0.js} +322 -322
- package/dist/chunks/{kv-xqmw2bb2.js → ripgrep-9xpmj48t.js} +7 -7
- package/dist/chunks/{kv-8mbscqky.js → ripgrep-a2qe2ev9.js} +8 -8
- package/dist/chunks/{kv-tq46j658.js → ripgrep-a4691zpg.js} +16 -16
- package/dist/chunks/{kv-cm066f29.js → ripgrep-a48m945n.js} +15 -15
- package/dist/chunks/{kv-66cb755k.js → ripgrep-a6znh3jt.js} +23 -23
- package/dist/chunks/{kv-jw80jp6b.js → ripgrep-a8bn8zg0.js} +4 -4
- package/dist/chunks/{kv-m9d03vsf.js → ripgrep-a8zr1srk.js} +8 -8
- package/dist/chunks/{kv-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-dnxkq42g.js → ripgrep-addxnjmp.js} +4 -4
- package/dist/chunks/{kv-x5y6s6jw.js → ripgrep-aj930q3s.js} +3 -3
- package/dist/chunks/{kv-2mqhy2bb.js → ripgrep-ajskgwrh.js} +15 -15
- package/dist/chunks/{kv-9keenhnr.js → ripgrep-ap544ky7.js} +29 -29
- package/dist/chunks/{kv-pz1g91fe.js → ripgrep-apcpvt2b.js} +6 -6
- package/dist/chunks/{kv-yg0bv6zp.js → ripgrep-aq3yrsfq.js} +11 -11
- package/dist/chunks/{kv-84w5jdws.js → ripgrep-asrgbh96.js} +18 -18
- package/dist/chunks/{kv-m7hjtbwd.js → ripgrep-atg39wsg.js} +11 -11
- package/dist/chunks/{kv-vmfpnctd.js → ripgrep-atvavzdr.js} +5 -5
- package/dist/chunks/{kv-tbx15xaw.js → ripgrep-avzdjs5z.js} +9 -9
- package/dist/chunks/{kv-k9htr8gw.js → ripgrep-b446k4sn.js} +22 -22
- package/dist/chunks/{kv-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-waa9wdep.js → ripgrep-bdqrk2vk.js} +6 -6
- package/dist/chunks/{kv-c4nf75an.js → ripgrep-bjb1q8ez.js} +8 -8
- package/dist/chunks/{kv-hp4n7r8y.js → ripgrep-bm12swdw.js} +11 -11
- package/dist/chunks/{kv-yckxn69w.js → ripgrep-bn30swxx.js} +26 -26
- package/dist/chunks/{kv-yaah2hay.js → ripgrep-bv8nht0w.js} +48 -48
- package/dist/chunks/{kv-6qmr4en7.js → ripgrep-c5zhzd6d.js} +17 -17
- package/dist/chunks/{kv-hcw36pe0.js → ripgrep-ce6ce29e.js} +2 -2
- package/dist/chunks/{kv-yemge86g.js → ripgrep-cgkq456e.js} +17 -17
- package/dist/chunks/{kv-ckecvw8r.js → ripgrep-ckecvw8r.js} +2 -2
- package/dist/chunks/{kv-bgc5ggmx.js → ripgrep-cp937pt4.js} +4 -4
- package/dist/chunks/{kv-pv2mm3wb.js → ripgrep-cpgvmsmz.js} +9 -9
- package/dist/chunks/{kv-e6hd9jay.js → ripgrep-cpy6gm2a.js} +6 -6
- package/dist/chunks/{kv-yrkyn6fx.js → ripgrep-cznrqaaz.js} +1 -1
- package/dist/chunks/{kv-t9xcy66w.js → ripgrep-d5y0ve3n.js} +22 -22
- package/dist/chunks/{kv-cwrzxbzk.js → ripgrep-dbdkqs60.js} +18 -18
- package/dist/chunks/{kv-c651xxjb.js → ripgrep-de52ckkz.js} +4 -4
- package/dist/chunks/{kv-wh1jk1cy.js → ripgrep-dnpyyfmr.js} +30 -30
- package/dist/chunks/{kv-9fjq25es.js → ripgrep-dnwg479b.js} +18 -18
- package/dist/chunks/{kv-ddrj7ffv.js → ripgrep-dppfvz3f.js} +16 -16
- package/dist/chunks/{kv-gmjq4p6e.js → ripgrep-dq0v80fr.js} +5 -5
- package/dist/chunks/{kv-xqn789rv.js → ripgrep-dqp0ptjh.js} +6 -6
- package/dist/chunks/{kv-kv59heee.js → ripgrep-dqx57jvk.js} +7 -7
- package/dist/chunks/{kv-c7mt6tt7.js → ripgrep-drtcq7dv.js} +17 -17
- package/dist/chunks/{kv-xa69991s.js → ripgrep-dxczsaw9.js} +12 -12
- package/dist/chunks/{kv-s506am1b.js → ripgrep-e5jn2fa5.js} +28 -28
- package/dist/chunks/{kv-7tcqdmgr.js → ripgrep-e6te0wgx.js} +10 -10
- package/dist/chunks/{kv-k66h0t0z.js → ripgrep-e7ncmn5y.js} +17 -17
- package/dist/chunks/{kv-n3efnppn.js → ripgrep-ea8e1byc.js} +43 -43
- package/dist/chunks/{kv-rhjbct0v.js → ripgrep-eaj1djv9.js} +8 -8
- package/dist/chunks/{kv-ecfe7b91.js → ripgrep-ecfe7b91.js} +2 -2
- package/dist/chunks/{kv-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-1ycydbdy.js → ripgrep-eqd5qykg.js} +13 -13
- package/dist/chunks/{kv-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-m4a35hkc.js → ripgrep-ew2ae9f5.js} +12 -12
- package/dist/chunks/{kv-z8vras6m.js → ripgrep-ez62b8nj.js} +9 -9
- package/dist/chunks/{kv-f5gy8qwh.js → ripgrep-f5gy8qwh.js} +1 -1
- package/dist/chunks/{kv-bezsd2p4.js → ripgrep-f8yxf6yh.js} +2 -2
- package/dist/chunks/{kv-nr2895gc.js → ripgrep-fqhn89qk.js} +32 -32
- package/dist/chunks/{kv-b95fw7pb.js → ripgrep-fr2byary.js} +17 -17
- package/dist/chunks/{kv-rvfpvrjw.js → ripgrep-fvy6pxa1.js} +22 -22
- package/dist/chunks/{kv-whs00jjs.js → ripgrep-g0qymqv1.js} +23 -23
- package/dist/chunks/{kv-cx1q331g.js → ripgrep-g3p8qp1x.js} +10 -10
- package/dist/chunks/{kv-27az1g0v.js → ripgrep-g4ev0w7y.js} +10 -10
- package/dist/chunks/{kv-7pr2hkwv.js → ripgrep-g5agzp2h.js} +5 -5
- package/dist/chunks/{kv-32rynewz.js → ripgrep-gc0xbwck.js} +10 -10
- package/dist/chunks/{kv-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-1rhc35p6.js → ripgrep-gmddfe7k.js} +8 -5
- package/dist/chunks/{kv-7fn8xnah.js → ripgrep-gn14yt0k.js} +25 -25
- package/dist/chunks/{kv-z5p56kqb.js → ripgrep-gpp31qn3.js} +38 -38
- package/dist/chunks/{kv-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-sw58q4t9.js → ripgrep-h5r8400x.js} +11 -11
- package/dist/chunks/{kv-t5x1svsd.js → ripgrep-h6b50tg5.js} +16 -16
- package/dist/chunks/{kv-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-z50nkf99.js → ripgrep-h90y3pkt.js} +13 -13
- package/dist/chunks/{kv-yq5vd6y3.js → ripgrep-harp7y6f.js} +26 -26
- package/dist/chunks/{kv-amfe68bf.js → ripgrep-hjpq76f0.js} +20 -20
- package/dist/chunks/{kv-avm7cb3c.js → ripgrep-hnefe9tq.js} +46 -46
- package/dist/chunks/{kv-p22sctqx.js → ripgrep-hr01dqex.js} +20 -20
- package/dist/chunks/{kv-n90bgf63.js → ripgrep-hw1tkaa7.js} +16 -16
- package/dist/chunks/{kv-qg0jgkcp.js → ripgrep-j3s2z371.js} +9 -9
- package/dist/chunks/{kv-5xbtv0jk.js → ripgrep-j4g07zwy.js} +27 -27
- package/dist/chunks/{kv-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-m2s1daxd.js → ripgrep-j6bb8g4d.js} +8 -8
- package/dist/chunks/{kv-tra6tf1f.js → ripgrep-j7y92zpc.js} +69 -69
- package/dist/chunks/{kv-7bp89t8t.js → ripgrep-jgnf2bvc.js} +12 -12
- package/dist/chunks/{kv-awbtvej0.js → ripgrep-jj72jhew.js} +6 -6
- package/dist/chunks/{kv-ax1yp8tw.js → ripgrep-jpcvf65v.js} +14 -14
- package/dist/chunks/{kv-0r7yqxbf.js → ripgrep-jv01nqvq.js} +5 -5
- package/dist/chunks/{kv-k3c624dm.js → ripgrep-k3c624dm.js} +3 -3
- package/dist/chunks/{kv-s0mc9769.js → ripgrep-k7sekcqa.js} +22 -22
- package/dist/chunks/{kv-kan8w75z.js → ripgrep-m1gcv8kj.js} +44 -44
- package/dist/chunks/{kv-m3fdjcah.js → ripgrep-m3fdjcah.js} +1 -1
- package/dist/chunks/{kv-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-56gdpj1q.js → ripgrep-mfqp6xfm.js} +6 -6
- package/dist/chunks/{kv-v21f9waq.js → ripgrep-mwymx5eg.js} +44 -44
- package/dist/chunks/{kv-6hpfnskn.js → ripgrep-mxfbfm56.js} +1 -1
- package/dist/chunks/{kv-erb0t64m.js → ripgrep-n00nrqde.js} +38 -38
- package/dist/chunks/{kv-74zey65s.js → ripgrep-n3vygs5b.js} +6 -6
- package/dist/chunks/{kv-ha3v7j9n.js → ripgrep-n542nw20.js} +15 -15
- package/dist/chunks/{kv-5m6r4682.js → ripgrep-n5qb4bnc.js} +3 -3
- package/dist/chunks/{kv-8fcqv9xp.js → ripgrep-nd3632dr.js} +10 -10
- package/dist/chunks/{kv-eapdm18n.js → ripgrep-ndhs64pk.js} +9 -9
- package/dist/chunks/{kv-15qhxfad.js → ripgrep-ner28t5a.js} +79 -79
- package/dist/chunks/{kv-qjzz4gcc.js → ripgrep-ng5rtwhy.js} +3 -3
- package/dist/chunks/{kv-wbx93pnf.js → ripgrep-nndvp20a.js} +24 -24
- package/dist/chunks/{kv-my01dwmv.js → ripgrep-p2szdq98.js} +50 -50
- package/dist/chunks/{kv-vhvgsany.js → ripgrep-pj6tenb7.js} +169 -169
- package/dist/chunks/{kv-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{kv-py3kkmfq.js → ripgrep-py3kkmfq.js} +2 -2
- package/dist/chunks/{kv-p5010f6a.js → ripgrep-pymq7jkz.js} +8 -8
- package/dist/chunks/{kv-ve7kbmta.js → ripgrep-q4e7vy2b.js} +23 -23
- package/dist/chunks/{kv-g7swxvb3.js → ripgrep-q826ync2.js} +14 -14
- package/dist/chunks/{kv-v5dkyp31.js → ripgrep-qa3qhgw8.js} +4 -4
- package/dist/chunks/{kv-51jjrgxc.js → ripgrep-qbbmae1w.js} +5 -5
- package/dist/chunks/{kv-0jwsre1p.js → ripgrep-qgn6gcr1.js} +5 -5
- package/dist/chunks/{kv-7ch7q35z.js → ripgrep-qkn179pw.js} +13 -13
- package/dist/chunks/{kv-6h06mqyq.js → ripgrep-qndte7za.js} +30 -30
- package/dist/chunks/{kv-ggsnnm16.js → ripgrep-qnj1ev0v.js} +11 -11
- package/dist/chunks/{kv-9wac42x8.js → ripgrep-qp7sx9de.js} +30 -30
- package/dist/chunks/{kv-9c9wet3j.js → ripgrep-qpwf5ett.js} +8 -8
- package/dist/chunks/{kv-mr6a1zft.js → ripgrep-qq5y994f.js} +20 -20
- package/dist/chunks/{kv-q2b1qbpc.js → ripgrep-qr0v61ms.js} +22 -22
- package/dist/chunks/{kv-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-ykczf8eq.js → ripgrep-r4yqrmdq.js} +5 -5
- package/dist/chunks/{kv-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-47s7f0s9.js → ripgrep-rgwtw4pk.js} +18 -18
- package/dist/chunks/{kv-jvf3yq6v.js → ripgrep-rpg9c19m.js} +4 -4
- package/dist/chunks/{kv-w73th6vr.js → ripgrep-rx84aht4.js} +16 -16
- package/dist/chunks/{kv-syf57q56.js → ripgrep-s30fyz93.js} +4 -4
- package/dist/chunks/{kv-73fjq2q4.js → ripgrep-s5v1wr1y.js} +14 -14
- package/dist/chunks/{kv-5s1wygw8.js → ripgrep-s7cej264.js} +21 -21
- package/dist/chunks/{kv-9q6r8qkc.js → ripgrep-s9mggv36.js} +15 -15
- package/dist/chunks/{kv-e1y3ehrf.js → ripgrep-sh80pnfr.js} +37 -37
- package/dist/chunks/{kv-gktk48s3.js → ripgrep-snrx9wzx.js} +28 -28
- package/dist/chunks/{kv-vcqkga2e.js → ripgrep-ss37jsxd.js} +11 -11
- package/dist/chunks/{kv-xn3zr9d1.js → ripgrep-svxtz2p3.js} +23 -23
- package/dist/chunks/{kv-bct739vz.js → ripgrep-sx1n432n.js} +4 -4
- package/dist/chunks/{kv-t7rncwqp.js → ripgrep-sypvhjmn.js} +18 -18
- package/dist/chunks/{kv-97t8ptmj.js → ripgrep-t3fh9vjv.js} +29 -29
- package/dist/chunks/{kv-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-hr01rhr5.js → ripgrep-tb18kw1r.js} +24 -24
- package/dist/chunks/{kv-89znhe33.js → ripgrep-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{kv-y78vvsaa.js → ripgrep-te91bpk3.js} +22 -22
- package/dist/chunks/{kv-2f0bjgcj.js → ripgrep-tn0aqsam.js} +5 -5
- package/dist/chunks/{kv-fddwrfxn.js → ripgrep-tn8eqcjj.js} +11 -11
- package/dist/chunks/{kv-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/ripgrep-v1faaxn9.js +18 -0
- package/dist/chunks/{kv-7bpzgkas.js → ripgrep-v2p4rfxw.js} +6 -6
- package/dist/chunks/{kv-nrqx4r7t.js → ripgrep-v88ypzx6.js} +13 -13
- package/dist/chunks/{kv-9jzqgwmn.js → ripgrep-vb3rn859.js} +24 -24
- package/dist/chunks/{kv-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-xr0mnman.js → ripgrep-vg7bdtvb.js} +10 -10
- package/dist/chunks/{kv-2gj8p1x9.js → ripgrep-vkchd65f.js} +4 -4
- package/dist/chunks/{kv-9kmbd9mt.js → ripgrep-vmgq4x8b.js} +2 -2
- package/dist/chunks/{kv-xbp71ze3.js → ripgrep-vv97ra8n.js} +10 -10
- package/dist/chunks/{kv-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{kv-thhwr6t4.js → ripgrep-w29ra1z6.js} +3 -3
- package/dist/chunks/{kv-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-kef0s52w.js → ripgrep-wbd0sh62.js} +22 -22
- package/dist/chunks/{kv-wd3x2cqz.js → ripgrep-wd3x2cqz.js} +2 -2
- package/dist/chunks/{kv-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{kv-3e0ngjm8.js → ripgrep-wexprs6b.js} +27 -27
- package/dist/chunks/{kv-qjbjw52h.js → ripgrep-wnj5dgs2.js} +14 -14
- package/dist/chunks/{kv-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-bas5f7ct.js → ripgrep-x3ggs2d6.js} +10 -10
- package/dist/chunks/{kv-f3v3kjt8.js → ripgrep-x4k31b5q.js} +41 -41
- package/dist/chunks/{kv-mycyv5bt.js → ripgrep-xdfgknmx.js} +17 -17
- package/dist/chunks/{kv-xfkkasph.js → ripgrep-xfkkasph.js} +1 -1
- package/dist/chunks/{kv-rgxeprjc.js → ripgrep-xhfc0ae0.js} +5 -5
- package/dist/chunks/{kv-dmqcgk4z.js → ripgrep-xkntkrq7.js} +5 -5
- package/dist/chunks/{kv-jtgs360h.js → ripgrep-xm47dg1f.js} +4 -4
- package/dist/chunks/{kv-5j3xer0m.js → ripgrep-xq1s1hxa.js} +4 -4
- package/dist/chunks/{kv-mvksx64m.js → ripgrep-xwm6bryg.js} +4 -4
- package/dist/chunks/{kv-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-w4z26r1d.js → ripgrep-y3c47kq2.js} +17 -17
- package/dist/chunks/{kv-qp96avfw.js → ripgrep-y5mjhv0c.js} +4 -4
- package/dist/chunks/{kv-y71avatq.js → ripgrep-y71avatq.js} +1 -1
- package/dist/chunks/{kv-ff0htmxq.js → ripgrep-yf4jcbx9.js} +6 -6
- package/dist/chunks/{kv-6x6hhxb0.js → ripgrep-ymtchxmw.js} +36 -36
- package/dist/chunks/{kv-r8xr0va3.js → ripgrep-yp2x3t23.js} +4 -4
- package/dist/chunks/{kv-wxddrk0a.js → ripgrep-yp4zak5f.js} +17 -17
- package/dist/chunks/{kv-t174n7tr.js → ripgrep-yrdcmk37.js} +8 -8
- package/dist/chunks/{kv-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → ripgrep-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-z07pqspn.js → ripgrep-z07pqspn.js} +3 -3
- package/dist/chunks/{kv-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-paj8w7mt.js → ripgrep-z508a32f.js} +27 -27
- package/dist/chunks/{kv-z63w68vq.js → ripgrep-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-t96tb74j.js → ripgrep-zpmxzwgb.js} +8 -8
- package/dist/chunks/{kv-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- 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 +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +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 +126 -126
- 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/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 +226 -226
- 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 +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +99 -99
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- 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-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- 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 +99 -99
- 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 +86 -86
- 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 +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.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 +120 -120
- 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 +95 -95
- 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 +78 -78
- 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 +93 -93
- 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 +79 -79
- 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 +162 -162
- 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 +353 -353
- 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/verbosity.js +93 -93
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- 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/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- 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 +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- 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 +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 +118 -118
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +4 -4
- package/dist/session/runner/step.js +126 -126
- 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 +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- 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 +3 -3
- package/dist/v1/config/config.js +14 -14
- 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 +2 -2
- 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 +78 -78
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/kv-ax4jcnm2.js +0 -252
- package/dist/chunks/kv-by5v678g.js +0 -18
- package/dist/chunks/kv-k76dc58r.js +0 -26
- /package/dist/chunks/{kv-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-34c7v6d4.js → ripgrep-34c7v6d4.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-ce6ce29e.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service60
|
|
11
|
+
} from "./ripgrep-s7cej264.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service41
|
|
14
|
+
} from "./ripgrep-73a2vzjg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service59,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-5vtq9k1b.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./ripgrep-9979gqg8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service13,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-5nf5fkza.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
39
|
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin37,
|
|
42
|
+
name: () => name3,
|
|
43
43
|
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -105,20 +105,20 @@ var toModelContent2 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin37 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service60;
|
|
112
|
+
const access = yield* Service13;
|
|
113
|
+
const fileMutation = yield* Service59;
|
|
114
|
+
const formatter = yield* Service41;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service75;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input3,
|
|
122
122
|
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output2, toModelContent2, Plugin37, exports_patch };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-vkchd65f.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-ce6ce29e.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service69,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node73
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service69 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service69.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node73 = makeLocationNode({ service: Service69, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service69, node73, exports_rpc, define2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-29jfjc42.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-vkchd65f.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./ripgrep-1j6r9yf3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-dnpyyfmr.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID8
|
|
20
|
+
} from "./ripgrep-ap544ky7.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-apcpvt2b.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID8.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID8.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID8.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID8.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID8.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID8.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID8.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID8.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID8.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -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: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = 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 Info16 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_skills };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info27,
|
|
6
|
+
ID12,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-te91bpk3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service47
|
|
11
|
+
} from "./ripgrep-x4k31b5q.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin28,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin28 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info27.make({
|
|
434
|
+
id: ID12.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info27.make({
|
|
441
|
+
id: ID12.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service47;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin28, exports_skill2 };
|
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-ce6ce29e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service16,
|
|
12
|
+
node18
|
|
13
|
+
} from "./ripgrep-z508a32f.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service15,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node17
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event2 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service15 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service80;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service16;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service15.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node17 = makeLocationNode({
|
|
144
|
+
service: Service15,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node84,
|
|
146
|
+
deps: [FSUtil.node, node84, node18]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-vkchd65f.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-dq0v80fr.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-ce6ce29e.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-v1faaxn9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service48,
|
|
18
|
+
node51
|
|
19
|
+
} from "./ripgrep-dnwg479b.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node19
|
|
22
|
+
} from "./ripgrep-rx84aht4.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service5,
|
|
25
|
+
node6
|
|
26
|
+
} from "./ripgrep-5d607bsg.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_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
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 Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service48;
|
|
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* Service5;
|
|
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(Service3, 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 Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node51, FSUtil.node, node84, node86, node87, node19, node6]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|