@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
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-7nm77vb3.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info28,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service76,
|
|
21
|
+
node: () => node80
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info28 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service76 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID14.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service76.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID14, Info28, ListInput4, AddInput2, Service76, node80, exports_saved };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service50,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node53
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service50 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service50.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node53 = makeLocationNode({
|
|
137
|
+
service: Service50,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service50, node53, exports_tool_output2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./ripgrep-9979gqg8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service74
|
|
10
|
+
} from "./ripgrep-te91bpk3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input11,
|
|
19
|
+
Output: () => Output8,
|
|
20
|
+
Plugin: () => Plugin47,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description5,
|
|
23
|
+
name: () => name11,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name11 = "skill";
|
|
30
|
+
var Input11 = Schema.Struct({
|
|
31
|
+
id: ID12.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output8 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description5 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin47 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service74;
|
|
51
|
+
const permission = yield* Service75;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name11,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description5,
|
|
56
|
+
input: Input11,
|
|
57
|
+
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name11,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin8 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name11, Input11, Output8, description5, toModelOutput2, Plugin47, exports_skill3 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service31
|
|
6
|
+
} from "./ripgrep-m1gcv8kj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./ripgrep-9979gqg8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin39
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin39 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service31;
|
|
26
|
+
const permission = yield* Service75;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin13 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin39, exports_mcp_resource };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service60,
|
|
8
|
+
node62
|
|
9
|
+
} from "./ripgrep-s7cej264.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./ripgrep-t3fh9vjv.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service9,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node10,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service9 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service60;
|
|
335
|
+
return Service9.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node10 = makeLocationNode({ service: Service9, layer, deps: [node62] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service9, read2, node10, exports_read_filesystem };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-vkchd65f.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-ce6ce29e.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node62
|
|
12
|
+
} from "./ripgrep-s7cej264.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service49,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node52
|
|
20
|
+
} from "./ripgrep-wbd0sh62.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service79,
|
|
23
|
+
node83
|
|
24
|
+
} from "./ripgrep-a2qe2ev9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service46,
|
|
27
|
+
node49
|
|
28
|
+
} from "./ripgrep-4c2df9zx.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-5cmxdwv8.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service47,
|
|
35
|
+
node50
|
|
36
|
+
} from "./ripgrep-x4k31b5q.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./ripgrep-dxczsaw9.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service45,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node48
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service45 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service83;
|
|
92
92
|
const location = yield* Service80;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service49;
|
|
95
|
+
const environment = yield* Service60;
|
|
96
|
+
const hooks = yield* Service79;
|
|
97
|
+
const environments = yield* Service46;
|
|
98
|
+
const config = yield* Service47;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError7({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service45.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node48 = makeLocationNode({
|
|
329
|
+
service: Service45,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node87,
|
|
333
333
|
node84,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
335
|
+
node52,
|
|
336
|
+
node62,
|
|
337
|
+
node83,
|
|
338
|
+
node49,
|
|
339
|
+
node50,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service45, cleanup2, node48, exports_shell4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|