@opencode/core 0.0.0-dev-20294 → 0.0.0-dev-20295
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 +77 -77
- 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/{repository-k73wm98n.js → location-016zrmbp.js} +38 -38
- package/dist/chunks/{repository-8m7dbv6d.js → location-03b5ykzw.js} +3 -3
- package/dist/chunks/{repository-jvf3yq6v.js → location-06x8he3q.js} +4 -4
- package/dist/chunks/{repository-g2se78h0.js → location-09mh3h53.js} +15 -15
- package/dist/chunks/{repository-pykzy8ep.js → location-0g11kb4v.js} +16 -16
- package/dist/chunks/{repository-19b6gxjs.js → location-0jvg19fh.js} +20 -20
- package/dist/chunks/{repository-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-x8x9h4hg.js → location-13xegjf9.js} +33 -33
- package/dist/chunks/{repository-sv5c2zxk.js → location-15zraegk.js} +28 -28
- package/dist/chunks/{repository-6pmv43wt.js → location-16a16tg4.js} +7 -7
- package/dist/chunks/{repository-n9k80d2m.js → location-18rp1xkf.js} +8 -8
- package/dist/chunks/{repository-ybw404hh.js → location-1akzjdkx.js} +22 -22
- package/dist/chunks/{repository-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-wa5jcfmw.js → location-1gmrbm9q.js} +13 -13
- package/dist/chunks/{repository-knh73zev.js → location-1jysqf0q.js} +28 -28
- package/dist/chunks/{repository-mpcnc0n1.js → location-1qetcq2f.js} +2 -2
- package/dist/chunks/location-1s2cnys0.js +252 -0
- package/dist/chunks/{repository-5r2rf0nq.js → location-1zr7j3r4.js} +5 -5
- package/dist/chunks/{repository-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{repository-3b9kky5h.js → location-25h6wh0b.js} +33 -33
- package/dist/chunks/{repository-wj9mseqa.js → location-27z7pma6.js} +16 -16
- package/dist/chunks/{repository-83rdsyqm.js → location-299n82gd.js} +8 -8
- package/dist/chunks/{repository-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-7dqw4kz8.js → location-2k8khapm.js} +5 -5
- package/dist/chunks/{repository-rvfwzs2a.js → location-2r60reda.js} +12 -12
- package/dist/chunks/{repository-2y34zzjz.js → location-2y34zzjz.js} +1 -1
- package/dist/chunks/{repository-fcdb6q1z.js → location-2zxaccxt.js} +10 -10
- package/dist/chunks/{repository-cmsgt7am.js → location-30pndsv9.js} +4 -4
- package/dist/chunks/{repository-bw624gy4.js → location-3ez35teb.js} +15 -15
- package/dist/chunks/{repository-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-tdhe5xga.js → location-3pbjq009.js} +8 -8
- package/dist/chunks/{repository-qg0jgkcp.js → location-3pe7sts8.js} +9 -9
- package/dist/chunks/{repository-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-hd8vw2pw.js → location-427t97hr.js} +1 -1
- package/dist/chunks/{repository-x0skcyz0.js → location-46t99vnr.js} +13 -13
- package/dist/chunks/{repository-akrnt5pz.js → location-4928d4yw.js} +11 -11
- package/dist/chunks/{repository-mvj8ndq3.js → location-4c9fncqc.js} +3 -3
- package/dist/chunks/{repository-7y0vmfhg.js → location-4gma0qdv.js} +8 -8
- package/dist/chunks/{repository-bs9hg8dp.js → location-4jmq7cn8.js} +14 -14
- package/dist/chunks/{repository-9fnp4mg3.js → location-4r1h02t6.js} +26 -26
- package/dist/chunks/{repository-y1hpjhb0.js → location-4sb5xsr0.js} +16 -16
- package/dist/chunks/{repository-m1m46bga.js → location-4v0x0v53.js} +53 -53
- package/dist/chunks/{repository-p53a8atn.js → location-4vgcem2z.js} +1 -1
- package/dist/chunks/{repository-x3pdy2ky.js → location-51n8w2am.js} +6 -6
- package/dist/chunks/{repository-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-1ygqh575.js → location-56gdpj1q.js} +9 -9
- package/dist/chunks/{repository-28jks9yb.js → location-58exf9s3.js} +18 -18
- package/dist/chunks/{repository-cp0ek693.js → location-5aserzf1.js} +11 -11
- package/dist/chunks/{repository-0vkpmgbt.js → location-5bpccfdn.js} +8 -8
- package/dist/chunks/{repository-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-8ta41r54.js → location-5j3nemfx.js} +24 -24
- package/dist/chunks/{repository-ynmv8dbs.js → location-5kbmmh0w.js} +9 -9
- package/dist/chunks/{repository-52kykq2z.js → location-5ns8y5nv.js} +8 -8
- package/dist/chunks/{repository-mmcph4q4.js → location-5pc7ckbf.js} +41 -41
- package/dist/chunks/{repository-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-mzywpf3p.js → location-5xpznt2d.js} +4 -4
- package/dist/chunks/{repository-qzy69xxq.js → location-613reg7y.js} +7 -7
- package/dist/chunks/{repository-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{repository-j93j9byk.js → location-6bass0b7.js} +16 -16
- package/dist/chunks/{repository-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-f6jjas3f.js → location-6nex2bx1.js} +26 -26
- package/dist/chunks/{repository-thtzhryg.js → location-6yvxz189.js} +6 -6
- package/dist/chunks/{repository-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-w92k2e0p.js → location-7fkffz83.js} +6 -6
- package/dist/chunks/{repository-0hpqhmg5.js → location-7ybfkyhv.js} +19 -19
- package/dist/chunks/{repository-bdx7mas8.js → location-7ysj2gw8.js} +27 -27
- package/dist/chunks/{repository-57ez7d0k.js → location-81swgkk7.js} +7 -7
- package/dist/chunks/{repository-w1eejvng.js → location-84txncab.js} +5 -5
- package/dist/chunks/{repository-w9bdab02.js → location-87eb0wvk.js} +30 -30
- package/dist/chunks/{repository-hpfvhvya.js → location-8aaqm6qj.js} +8 -8
- package/dist/chunks/{repository-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-cn62kwfv.js → location-8j5e0nxw.js} +35 -35
- package/dist/chunks/{repository-4m95e5xq.js → location-8pv27hsx.js} +17 -17
- package/dist/chunks/{repository-6kzh7v0b.js → location-8t9r9m98.js} +24 -24
- package/dist/chunks/{repository-eg2xygd3.js → location-8x023p49.js} +6 -6
- package/dist/chunks/{repository-g2042726.js → location-8zqs9j7p.js} +11 -11
- package/dist/chunks/{repository-p8hnm1nw.js → location-92r5fjaa.js} +25 -25
- package/dist/chunks/{repository-gfvb90ym.js → location-94ek1h2f.js} +2 -2
- package/dist/chunks/{repository-50jssn3y.js → location-96xc4j73.js} +9 -9
- package/dist/chunks/{repository-d0kzhv0j.js → location-9h6052ys.js} +34 -34
- package/dist/chunks/{repository-brmf2hf9.js → location-9jbrny13.js} +21 -21
- package/dist/chunks/{repository-r3pe7rtq.js → location-9sm9gfq3.js} +20 -20
- package/dist/chunks/{repository-s1bapamg.js → location-a1b9eenk.js} +4 -4
- package/dist/chunks/{repository-1vcb7p82.js → location-a6zkzxs1.js} +15 -15
- package/dist/chunks/{repository-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/location-aba4y9w7.js +26 -0
- package/dist/chunks/{repository-xbepgsdw.js → location-ajpn13bz.js} +22 -22
- package/dist/chunks/{repository-jjvmyn1y.js → location-ambwqhm0.js} +66 -66
- package/dist/chunks/{repository-vgb6a2zp.js → location-aqxvbtvc.js} +8 -8
- package/dist/chunks/{repository-fhb7j999.js → location-at8brtyc.js} +18 -18
- package/dist/chunks/{repository-4n607a2z.js → location-axs6pdy0.js} +5 -5
- package/dist/chunks/{repository-x0600czv.js → location-b09hzw3k.js} +2 -2
- package/dist/chunks/{repository-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-a9k4z3j9.js → location-b7t5wn2m.js} +20 -20
- package/dist/chunks/{repository-qbwywm89.js → location-bj3zhn3q.js} +2 -2
- package/dist/chunks/{repository-yqy8qetg.js → location-bnty75vp.js} +3 -3
- package/dist/chunks/{repository-gbwn371a.js → location-bpc3jfqy.js} +11 -11
- package/dist/chunks/{repository-2wt8p97z.js → location-bwqnkjsb.js} +17 -17
- package/dist/chunks/{repository-yfychzeb.js → location-bx8vey6p.js} +21 -21
- package/dist/chunks/{repository-t0fxg8b9.js → location-c78bbtc9.js} +5 -5
- package/dist/chunks/{repository-fgkd623f.js → location-ckbtgcas.js} +12 -12
- package/dist/chunks/{repository-54tcyq79.js → location-ckecvw8r.js} +2 -2
- package/dist/chunks/{repository-cpy6gm2a.js → location-cpy6gm2a.js} +1 -1
- package/dist/chunks/{repository-w9e6cfzq.js → location-cqhb2t13.js} +21 -21
- package/dist/chunks/{repository-q9s2wchy.js → location-csp167nn.js} +3 -3
- package/dist/chunks/{repository-z0xq2v1s.js → location-cw1jgv1w.js} +8 -8
- package/dist/chunks/{repository-cwa6csj7.js → location-cwa6csj7.js} +2 -2
- package/dist/chunks/{repository-5xtgfte3.js → location-czfptnv9.js} +8 -8
- package/dist/chunks/{repository-75s06ger.js → location-d3z5vgb9.js} +89 -89
- package/dist/chunks/{repository-gr7cmsbq.js → location-d725fnbd.js} +18 -18
- package/dist/chunks/{repository-sf5yjpcs.js → location-dnh5am79.js} +9 -9
- package/dist/chunks/{repository-3xyp34gk.js → location-dvfstcq5.js} +8 -8
- package/dist/chunks/{repository-2cmv458r.js → location-e89xj288.js} +5 -5
- package/dist/chunks/{repository-ejeqwj0w.js → location-eae26f42.js} +13 -13
- package/dist/chunks/{repository-pjt329ss.js → location-eag70mrj.js} +3 -3
- package/dist/chunks/{repository-ecfe7b91.js → location-ecfe7b91.js} +2 -2
- package/dist/chunks/{repository-qp3v07n2.js → location-ednp5hmx.js} +8 -8
- package/dist/chunks/{repository-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-2w1sghnn.js → location-ek5t7eqg.js} +6 -6
- package/dist/chunks/{repository-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-c474ncq9.js → location-f0v8xfz9.js} +19 -19
- package/dist/chunks/{repository-yp2x3t23.js → location-f2n192rq.js} +4 -4
- package/dist/chunks/{repository-mjymc32g.js → location-f3ngv102.js} +4 -4
- package/dist/chunks/{repository-x4x4w9ve.js → location-f3rj20sn.js} +13 -13
- package/dist/chunks/{repository-rvs18j5z.js → location-f5qn67hn.js} +319 -319
- package/dist/chunks/{repository-vc31r3zd.js → location-f6qf1r64.js} +9 -9
- package/dist/chunks/{repository-8w5neka9.js → location-f99pqswk.js} +34 -34
- package/dist/chunks/{repository-3z9zcdgn.js → location-f9qcgrnz.js} +24 -24
- package/dist/chunks/{repository-e85g35n7.js → location-fg6vqa6w.js} +33 -33
- package/dist/chunks/{repository-xvp1j2dc.js → location-g5agzp2h.js} +5 -5
- package/dist/chunks/{repository-ratrq7cm.js → location-g8d3gcyj.js} +5 -5
- package/dist/chunks/{repository-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-fjmsqycw.js → location-gq9kk5at.js} +6 -6
- package/dist/chunks/{repository-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-kcfw5k6d.js → location-gydr4vsc.js} +9 -9
- package/dist/chunks/{repository-ebmxv542.js → location-gz5dk3bq.js} +5 -5
- package/dist/chunks/{repository-mkmyr10v.js → location-h23ctypg.js} +14 -14
- package/dist/chunks/{repository-scyxybgw.js → location-h345add1.js} +8 -8
- package/dist/chunks/{repository-pd23kvzh.js → location-h3qzgcp1.js} +13 -13
- package/dist/chunks/{repository-qscpncy3.js → location-h3s7v34z.js} +6 -6
- package/dist/chunks/{repository-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-yees5yn6.js → location-hhc9atkh.js} +15 -15
- package/dist/chunks/{repository-87ezq1ce.js → location-hmr7k35w.js} +25 -25
- package/dist/chunks/{repository-ntzq23qa.js → location-hn61d6g7.js} +6 -6
- package/dist/chunks/{repository-19zwwnfa.js → location-hn75rfyg.js} +11 -11
- package/dist/chunks/{repository-r5vjqpht.js → location-hngjveb4.js} +10 -10
- package/dist/chunks/{repository-4wwqnvbr.js → location-hnr8f6ws.js} +4 -4
- package/dist/chunks/{repository-dew5gbm6.js → location-hq78f3qw.js} +33 -33
- package/dist/chunks/{repository-fkx959jc.js → location-hre7hyen.js} +17 -17
- package/dist/chunks/{repository-73tb2d7t.js → location-j028xdjb.js} +3 -3
- package/dist/chunks/{repository-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-cq8d0ptr.js → location-j5fma2v7.js} +34 -34
- package/dist/chunks/{repository-7j0c068z.js → location-j6h5z8n4.js} +12 -12
- package/dist/chunks/{repository-vncycja5.js → location-j83byb14.js} +4 -4
- package/dist/chunks/{repository-g8atgw3j.js → location-j8zvn2fh.js} +8 -8
- package/dist/chunks/{repository-4d9efcsa.js → location-jdhe76k5.js} +1 -1
- package/dist/chunks/{repository-277eer69.js → location-jewzahs7.js} +4 -4
- package/dist/chunks/{repository-zexqyf06.js → location-jf5a25sz.js} +43 -43
- package/dist/chunks/{repository-s182s2zc.js → location-jggnvhtg.js} +51 -51
- package/dist/chunks/{repository-856ceffp.js → location-jmasdga9.js} +42 -42
- package/dist/chunks/{repository-86d5j3vh.js → location-jtfh4wfs.js} +26 -26
- package/dist/chunks/{repository-vxssw4qv.js → location-k0h4mfgc.js} +46 -46
- package/dist/chunks/{repository-ghv7h55a.js → location-kk3cv3zh.js} +1 -1
- package/dist/chunks/{repository-pztqrn0p.js → location-kn0epzjf.js} +11 -11
- package/dist/chunks/{repository-z4djtsmk.js → location-knetett0.js} +48 -48
- package/dist/chunks/{repository-k79tzb9n.js → location-kp8q1t60.js} +9 -9
- package/dist/chunks/{repository-wdea4gcq.js → location-kx6ewwgc.js} +1 -1
- package/dist/chunks/{repository-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-fmnw2r23.js → location-mam35mvc.js} +9 -9
- package/dist/chunks/{repository-18vsvbhm.js → location-math506r.js} +24 -24
- package/dist/chunks/{repository-gz56tzj2.js → location-mc8ws243.js} +18 -18
- package/dist/chunks/{repository-1w1f4pd6.js → location-mn2xmmev.js} +14 -14
- package/dist/chunks/{repository-2ydsszd5.js → location-mntfxcz2.js} +4 -4
- package/dist/chunks/{repository-mpk0rfs5.js → location-mpk0rfs5.js} +1 -1
- package/dist/chunks/{repository-9aj1bw61.js → location-mq8f5nmh.js} +30 -30
- package/dist/chunks/{repository-aezgccn6.js → location-mw2h8ask.js} +16 -16
- package/dist/chunks/{repository-zknh836p.js → location-n0ppq016.js} +11 -11
- package/dist/chunks/{repository-rswr9y71.js → location-n1m68ejj.js} +20 -20
- package/dist/chunks/{repository-95crna3w.js → location-n5rr0bsk.js} +11 -11
- package/dist/chunks/{repository-v84na98c.js → location-n77hk0vh.js} +12 -12
- package/dist/chunks/{repository-hc5t8axk.js → location-nw7gx7cz.js} +28 -28
- package/dist/chunks/{repository-3py87nww.js → location-nwnnebx3.js} +23 -23
- package/dist/chunks/{repository-z83thqvg.js → location-nxhp6d1h.js} +18 -18
- package/dist/chunks/{repository-nzks3jc8.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{repository-y54hr7f3.js → location-patgj9rf.js} +9 -9
- package/dist/chunks/{repository-86mrmjc9.js → location-pb18q5py.js} +31 -31
- package/dist/chunks/{repository-yt0fqk68.js → location-pecb0brz.js} +5 -5
- package/dist/chunks/{repository-y6zfrytz.js → location-pg092y7m.js} +23 -23
- package/dist/chunks/{repository-33djd3yz.js → location-pgsw580e.js} +11 -11
- package/dist/chunks/{repository-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{repository-nqdgrntv.js → location-pr72k1jg.js} +13 -13
- package/dist/chunks/{repository-28w42cxn.js → location-prww9d41.js} +12 -12
- package/dist/chunks/{repository-805s2bhx.js → location-ps9c259y.js} +15 -15
- package/dist/chunks/{repository-vac7npjk.js → location-px4zyfbx.js} +10 -10
- package/dist/chunks/{repository-jcqt8fek.js → location-pxya9xw6.js} +13 -13
- package/dist/chunks/{repository-vh8736dd.js → location-q7sva9xj.js} +9 -9
- package/dist/chunks/{repository-cszxnbmn.js → location-qahgzyff.js} +15 -15
- package/dist/chunks/{repository-vpy2jm9e.js → location-qgt4e7dm.js} +8 -8
- package/dist/chunks/{repository-14jy69rb.js → location-qqcp2fey.js} +5 -5
- package/dist/chunks/{repository-57b9ws8p.js → location-qqeeq2t9.js} +4 -4
- package/dist/chunks/{repository-r8mtfjmr.js → location-qrarvdac.js} +13 -13
- package/dist/chunks/{repository-1qkgxr4g.js → location-qrpna819.js} +15 -15
- package/dist/chunks/{repository-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-mgp6rfqa.js → location-qtpgf39r.js} +1 -1
- package/dist/chunks/{repository-4w5f3qm5.js → location-qwjmgwmn.js} +8 -8
- package/dist/chunks/{repository-fnpsswcg.js → location-qwwvq786.js} +6 -6
- package/dist/chunks/{repository-63bdqmma.js → location-r0dmdece.js} +2 -2
- package/dist/chunks/{repository-j34bs4nz.js → location-ra4n65wq.js} +4 -4
- package/dist/chunks/{repository-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-3dktm290.js → location-rnr5nq63.js} +19 -19
- package/dist/chunks/{repository-3jb78rkx.js → location-rnx3qgyn.js} +39 -39
- package/dist/chunks/{repository-qab3c6m1.js → location-rp7q4m9n.js} +9 -9
- package/dist/chunks/{repository-s8d7rejh.js → location-s8d7rejh.js} +1 -1
- package/dist/chunks/{repository-hpxs712n.js → location-sc4ksy03.js} +8 -8
- package/dist/chunks/{repository-xee1h9b3.js → location-sd23ea76.js} +15 -15
- package/dist/chunks/{repository-ze7g7145.js → location-sdvk2ad6.js} +22 -22
- package/dist/chunks/{repository-hrjt4dpr.js → location-sqr731h9.js} +10 -10
- package/dist/chunks/{repository-yn6k8b68.js → location-swabsky0.js} +6 -6
- package/dist/chunks/{repository-51f5btjf.js → location-sxzvkvgj.js} +6 -6
- package/dist/chunks/{repository-4j4tgtq5.js → location-syf57q56.js} +4 -4
- package/dist/chunks/{repository-gmkr1ekh.js → location-sz763eb6.js} +6 -6
- package/dist/chunks/{repository-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{repository-nwa29mh0.js → location-tjp0ts8d.js} +138 -138
- package/dist/chunks/{repository-es0x5b7y.js → location-tjyds3np.js} +9 -9
- package/dist/chunks/{repository-aw2a2x8a.js → location-tvsfvamq.js} +5 -5
- package/dist/chunks/{repository-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-bedctmvj.js → location-v01qj8m2.js} +35 -35
- package/dist/chunks/location-v1faaxn9.js +18 -0
- package/dist/chunks/{repository-v9atbmms.js → location-v3679p2r.js} +9 -9
- package/dist/chunks/{repository-71xq2mh9.js → location-v4w8s23p.js} +19 -19
- package/dist/chunks/{repository-j4tvhaks.js → location-v537vfcj.js} +34 -34
- package/dist/chunks/{repository-aeb41jaw.js → location-v8v948yd.js} +13 -13
- package/dist/chunks/{repository-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-xr3qtd12.js → location-vfbk05zz.js} +85 -85
- package/dist/chunks/{repository-pv4awm7k.js → location-vz2v0y1g.js} +11 -11
- package/dist/chunks/{repository-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-3z2k3hnx.js → location-w3efebdc.js} +22 -22
- package/dist/chunks/{repository-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-pqkd14gs.js → location-w6fmte8d.js} +30 -30
- package/dist/chunks/{repository-psazpmmj.js → location-wd3x2cqz.js} +2 -2
- package/dist/chunks/{repository-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{repository-1n707za3.js → location-wpn654rn.js} +43 -43
- package/dist/chunks/{repository-eqzxj8fj.js → location-wpttx3ek.js} +14 -14
- package/dist/chunks/{repository-1mtt7xvh.js → location-wtyk7tnn.js} +6 -6
- package/dist/chunks/{repository-6pws2pt7.js → location-wxxtmkrx.js} +3 -3
- package/dist/chunks/{repository-src5ze84.js → location-wyanbm64.js} +4 -4
- package/dist/chunks/{repository-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-v5p1ehqe.js → location-xd7pxsgz.js} +10 -10
- package/dist/chunks/{repository-x8e57zem.js → location-xdqwyhzn.js} +10 -10
- package/dist/chunks/{repository-xkntkrq7.js → location-xkntkrq7.js} +2 -2
- package/dist/chunks/{repository-4s80pf4a.js → location-xxdt3syk.js} +9 -9
- package/dist/chunks/{repository-rn3nfvms.js → location-xxewh186.js} +9 -9
- package/dist/chunks/{repository-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-67zyhdmh.js → location-y4h12032.js} +9 -9
- package/dist/chunks/{repository-m88agcr3.js → location-y5df08dr.js} +12 -12
- package/dist/chunks/{repository-8jmaqybk.js → location-y6f0p4jw.js} +3 -3
- package/dist/chunks/{repository-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{repository-6zmn3x4v.js → location-y9kjyn13.js} +12 -12
- package/dist/chunks/{repository-eypemsfj.js → location-yahe92kn.js} +26 -26
- package/dist/chunks/{repository-mdqw8d12.js → location-yf8kg88s.js} +7 -7
- package/dist/chunks/{repository-jv01nqvq.js → location-yjptyezs.js} +5 -5
- package/dist/chunks/{repository-7jdgcrb4.js → location-yk6wy72m.js} +26 -26
- package/dist/chunks/{repository-vndcnmc3.js → location-yrccs5dw.js} +29 -29
- package/dist/chunks/{repository-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-yrznvahk.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{repository-55b5dnwk.js → location-yxcw63er.js} +10 -10
- package/dist/chunks/{repository-bjtzbw4r.js → location-z07pqspn.js} +3 -3
- package/dist/chunks/{repository-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-886z1dpc.js → location-z1dsjv8w.js} +16 -16
- package/dist/chunks/{repository-9bkvwbce.js → location-z5q8ygm0.js} +27 -27
- package/dist/chunks/{repository-z63w68vq.js → location-z63w68vq.js} +2 -2
- package/dist/chunks/{repository-ny1k4mkg.js → location-z7eps1h1.js} +4 -4
- package/dist/chunks/{repository-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-zrs9t7hx.js → location-zm51y9zq.js} +12 -12
- package/dist/chunks/{repository-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-e3m0js48.js → location-zsh9941h.js} +10 -10
- package/dist/chunks/{repository-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- 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 +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- 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 +90 -90
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +79 -79
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +76 -76
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +5 -5
- 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 +4 -4
- 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 +95 -95
- 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 +74 -74
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +129 -129
- 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 +124 -124
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +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 +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +13 -13
- 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 +128 -128
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- 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 +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +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 +1 -1
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-678t04nd.js +0 -252
- package/dist/chunks/repository-rap9a73h.js +0 -18
- package/dist/chunks/repository-tbqg5x42.js +0 -26
- /package/dist/chunks/{repository-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-5qd3pb7m.js → location-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./location-6bass0b7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./location-58exf9s3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service10
|
|
12
|
+
} from "./location-7ybfkyhv.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service4
|
|
27
|
+
} from "./location-hhc9atkh.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Plugin: () => Plugin3,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name3,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name3 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin3 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service4;
|
|
62
|
+
const access = yield* Service57;
|
|
63
|
+
const sessionInstructions = yield* Service10;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin24 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent3 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name3, Input3, Plugin3, toModelContent3, exports_read };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
13
|
ID: () => ID18,
|
|
14
|
-
Info: () =>
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
@@ -20,12 +20,12 @@ import { Schema } from "effect";
|
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
21
|
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3,
|
|
31
|
+
export { ID18, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./location-5j3nemfx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-16a16tg4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service18
|
|
11
|
+
} from "./location-3ez35teb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./location-jggnvhtg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service57
|
|
17
|
+
} from "./location-58exf9s3.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin2,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name2,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name2 = "write";
|
|
39
|
+
var Input2 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin2 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
55
|
+
const access = yield* Service57;
|
|
56
56
|
const fileMutation = yield* Service13;
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
57
|
+
const environment = yield* Service51;
|
|
58
|
+
const formatter = yield* Service18;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input2,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name2, Input2, Output2, toModelContent2, Plugin2, exports_write };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service48,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node50
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service48 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service48, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service48.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service54, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node50 = makeGlobalNode({ service: Service48, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service48, node50, exports_environment };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./location-6bass0b7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./location-5j3nemfx.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service16
|
|
16
|
+
} from "./location-h23ctypg.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-jtfh4wfs.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service64
|
|
26
|
+
} from "./location-jggnvhtg.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service57
|
|
29
|
+
} from "./location-58exf9s3.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin6,
|
|
41
|
+
name: () => name5,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name5 = "grep";
|
|
48
|
+
var Input5 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input3 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin6 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service51;
|
|
90
|
+
const ripgrep = yield* Service16;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service57;
|
|
93
|
+
const permission = yield* Service64;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name5,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input5,
|
|
99
|
+
output: Output4,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name5,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin20 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin20 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name5, Input5, Output4, toModelContent4, Plugin6, exports_grep };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
node65
|
|
7
|
+
} from "./location-zsh9941h.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-y6f0p4jw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service43,
|
|
23
|
+
make: () => make17,
|
|
24
|
+
node: () => node45
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service43 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make17 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service61;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service43.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service43, make17);
|
|
362
|
+
var node45 = makeGlobalNode({ service: Service43, layer, deps: [node65] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service43, make17, node45, exports_job };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mntfxcz2.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event21,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info34,
|
|
19
|
+
NotFoundError: () => NotFoundError11,
|
|
20
|
+
Service: () => Service82,
|
|
21
|
+
layer: () => layer25,
|
|
22
|
+
node: () => node86
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event21 } from "@opencode/schema/command";
|
|
28
|
+
var Info34 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError11 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service82 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer25 = Layer.effect(Service82, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info34.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service82.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError11({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node86 = makeLocationNode({
|
|
75
|
+
service: Service82,
|
|
76
|
+
layer: layer25,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info34, NotFoundError11, ExecutionError2, Service82, layer25, node86, exports_command5, Event21 };
|