@opencode/core 0.0.0-dev-20295 → 0.0.0-dev-20300
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/{location-j83byb14.js → event-logger-00z3vp5f.js} +4 -4
- package/dist/chunks/{location-z1dsjv8w.js → event-logger-05drfyp7.js} +20 -20
- package/dist/chunks/{location-ek5t7eqg.js → event-logger-07xp2psn.js} +6 -6
- package/dist/chunks/{location-gq9kk5at.js → event-logger-0c5mcabb.js} +6 -6
- package/dist/chunks/{location-yxcw63er.js → event-logger-0fsbgwxw.js} +23 -23
- package/dist/chunks/{location-f9qcgrnz.js → event-logger-0hcagjse.js} +26 -26
- package/dist/chunks/{location-bj3zhn3q.js → event-logger-0mb95hfz.js} +5 -5
- package/dist/chunks/{location-0paq2nw3.js → event-logger-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-yjptyezs.js → event-logger-0r7yqxbf.js} +5 -5
- package/dist/chunks/{location-5kbmmh0w.js → event-logger-0vpbvc12.js} +11 -11
- package/dist/chunks/{location-13xegjf9.js → event-logger-0x4m4gc6.js} +27 -27
- package/dist/chunks/{location-h3qzgcp1.js → event-logger-0xp25zzf.js} +15 -15
- package/dist/chunks/{location-h345add1.js → event-logger-1c8xcbqk.js} +8 -8
- package/dist/chunks/{location-46t99vnr.js → event-logger-1cmp1yx0.js} +13 -13
- package/dist/chunks/{location-1dazxqgg.js → event-logger-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-5xpznt2d.js → event-logger-1ed2t66p.js} +4 -4
- package/dist/chunks/event-logger-1x11rq2a.js +18 -0
- package/dist/chunks/{location-56gdpj1q.js → event-logger-1ygqh575.js} +9 -9
- package/dist/chunks/{location-rp7q4m9n.js → event-logger-212zxvyn.js} +14 -14
- package/dist/chunks/{location-21r38tys.js → event-logger-21r38tys.js} +1 -1
- package/dist/chunks/{location-2a5m3afh.js → event-logger-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-81swgkk7.js → event-logger-2fgn2we9.js} +5 -5
- package/dist/chunks/{location-px4zyfbx.js → event-logger-2fjhkdtj.js} +8 -8
- package/dist/chunks/{location-d3z5vgb9.js → event-logger-2jnyx621.js} +82 -82
- package/dist/chunks/{location-2k8khapm.js → event-logger-2k8khapm.js} +1 -1
- package/dist/chunks/{location-yk6wy72m.js → event-logger-2qeskfjt.js} +24 -24
- package/dist/chunks/{location-r0dmdece.js → event-logger-35r86gx7.js} +2 -2
- package/dist/chunks/{location-c78bbtc9.js → event-logger-37s12vcn.js} +5 -5
- package/dist/chunks/{location-axs6pdy0.js → event-logger-3801kdgp.js} +5 -5
- package/dist/chunks/{location-8pv27hsx.js → event-logger-38x4fkzp.js} +17 -17
- package/dist/chunks/{location-3fc6dm20.js → event-logger-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-math506r.js → event-logger-3kdn186t.js} +24 -24
- package/dist/chunks/{location-3smtnn6g.js → event-logger-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-1zr7j3r4.js → event-logger-3t3bkqqx.js} +3 -3
- package/dist/chunks/{location-3tvqynh2.js → event-logger-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-v4w8s23p.js → event-logger-3vv51bva.js} +29 -29
- package/dist/chunks/{location-7ysj2gw8.js → event-logger-3ykaprc5.js} +25 -25
- package/dist/chunks/{location-3zsf4n22.js → event-logger-3zsf4n22.js} +1 -1
- package/dist/chunks/event-logger-4ks30rnq.js +26 -0
- package/dist/chunks/{location-gz5dk3bq.js → event-logger-4z2gx1r5.js} +5 -5
- package/dist/chunks/{location-qrarvdac.js → event-logger-50av738z.js} +13 -13
- package/dist/chunks/{location-hmr7k35w.js → event-logger-51yh9xt6.js} +18 -18
- package/dist/chunks/{location-54ma36ye.js → event-logger-54ma36ye.js} +1 -1
- package/dist/chunks/{location-ckecvw8r.js → event-logger-54tcyq79.js} +2 -2
- package/dist/chunks/{location-ambwqhm0.js → event-logger-56zse835.js} +69 -69
- package/dist/chunks/{location-25h6wh0b.js → event-logger-582j49fg.js} +33 -33
- package/dist/chunks/{location-5daktx2q.js → event-logger-5daktx2q.js} +1 -1
- package/dist/chunks/{location-pxya9xw6.js → event-logger-5esg9gyy.js} +26 -26
- package/dist/chunks/{location-csp167nn.js → event-logger-5kh6m3pr.js} +20 -6
- package/dist/chunks/{location-5t3nmthw.js → event-logger-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-w3efebdc.js → event-logger-5w3kyw83.js} +20 -20
- package/dist/chunks/{location-czfptnv9.js → event-logger-5xtgfte3.js} +8 -8
- package/dist/chunks/{location-016zrmbp.js → event-logger-5xzagc23.js} +36 -36
- package/dist/chunks/{location-669tq793.js → event-logger-669tq793.js} +1 -1
- package/dist/chunks/event-logger-68kb85dp.js +252 -0
- package/dist/chunks/{location-y9kjyn13.js → event-logger-6a30tsfs.js} +12 -12
- package/dist/chunks/{location-mn2xmmev.js → event-logger-6bms86gp.js} +11 -11
- package/dist/chunks/{location-zsh9941h.js → event-logger-6c9zkndg.js} +10 -10
- package/dist/chunks/{location-nxhp6d1h.js → event-logger-6dfetvvz.js} +18 -18
- package/dist/chunks/{location-mq8f5nmh.js → event-logger-6g391fys.js} +19 -19
- package/dist/chunks/{location-6msgmcgs.js → event-logger-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-knetett0.js → event-logger-72jg65dk.js} +48 -48
- package/dist/chunks/{location-hn61d6g7.js → event-logger-7358hs9s.js} +9 -9
- package/dist/chunks/{location-fg6vqa6w.js → event-logger-739k6dsq.js} +31 -31
- package/dist/chunks/{location-kk3cv3zh.js → event-logger-78jgv2cz.js} +1 -1
- package/dist/chunks/{location-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-4jmq7cn8.js → event-logger-7g31tjk5.js} +12 -12
- package/dist/chunks/{location-v8v948yd.js → event-logger-7jqnfy5j.js} +13 -13
- package/dist/chunks/{location-g8d3gcyj.js → event-logger-7sbkp4xb.js} +7 -7
- package/dist/chunks/{location-3pbjq009.js → event-logger-818pfwc9.js} +8 -8
- package/dist/chunks/{location-tjp0ts8d.js → event-logger-81dawb4q.js} +169 -169
- package/dist/chunks/{location-15zraegk.js → event-logger-87njwr7s.js} +29 -29
- package/dist/chunks/{location-8d7r5vzw.js → event-logger-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-xxdt3syk.js → event-logger-8g31m1p8.js} +11 -11
- package/dist/chunks/{location-eag70mrj.js → event-logger-8mqdnygk.js} +3 -3
- package/dist/chunks/{location-2r60reda.js → event-logger-8p9a1qen.js} +21 -21
- package/dist/chunks/event-logger-8pnxeyxd.js +507 -0
- package/dist/chunks/{location-jtfh4wfs.js → event-logger-8ra4etaj.js} +23 -23
- package/dist/chunks/{location-f0v8xfz9.js → event-logger-8wprgtcj.js} +27 -27
- package/dist/chunks/{location-k0h4mfgc.js → event-logger-9bfk5xdd.js} +43 -43
- package/dist/chunks/{location-qwwvq786.js → event-logger-9frk6cee.js} +11 -11
- package/dist/chunks/{location-dvfstcq5.js → event-logger-9j401wee.js} +17 -17
- package/dist/chunks/{location-eae26f42.js → event-logger-9szx4j0a.js} +11 -11
- package/dist/chunks/{location-ra4n65wq.js → event-logger-a3c7ahw6.js} +4 -4
- package/dist/chunks/{location-jggnvhtg.js → event-logger-aaa6x6ax.js} +52 -52
- package/dist/chunks/{location-aaet6srn.js → event-logger-aaet6srn.js} +2 -2
- package/dist/chunks/{location-v3679p2r.js → event-logger-af60tkba.js} +17 -17
- package/dist/chunks/{location-6yvxz189.js → event-logger-akqk8sab.js} +12 -12
- package/dist/chunks/{location-sqr731h9.js → event-logger-ameawy6r.js} +10 -10
- package/dist/chunks/{location-sc4ksy03.js → event-logger-ap7jznt4.js} +8 -8
- package/dist/chunks/{location-ajpn13bz.js → event-logger-arjnx064.js} +22 -22
- package/dist/chunks/{location-51n8w2am.js → event-logger-az82vszd.js} +9 -9
- package/dist/chunks/{location-b6gygkdw.js → event-logger-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-9jbrny13.js → event-logger-bd80k4zb.js} +30 -30
- package/dist/chunks/{location-yahe92kn.js → event-logger-bh593jhc.js} +26 -26
- package/dist/chunks/{location-z07pqspn.js → event-logger-bjtzbw4r.js} +3 -3
- package/dist/chunks/{location-16a16tg4.js → event-logger-bkh9vwpp.js} +13 -13
- package/dist/chunks/{location-ps9c259y.js → event-logger-bntvr425.js} +15 -15
- package/dist/chunks/{location-bx8vey6p.js → event-logger-c0qhn7g4.js} +16 -16
- package/dist/chunks/{location-n0ppq016.js → event-logger-ccnsw293.js} +11 -11
- package/dist/chunks/{location-d725fnbd.js → event-logger-cgftzr9x.js} +30 -30
- package/dist/chunks/{location-f6qf1r64.js → event-logger-cr1rmkmp.js} +9 -9
- package/dist/chunks/{location-zm51y9zq.js → event-logger-crt3f3h0.js} +12 -12
- package/dist/chunks/{location-qtpgf39r.js → event-logger-cx12mkt6.js} +3 -3
- package/dist/chunks/{location-gydr4vsc.js → event-logger-cyybam5y.js} +7 -7
- package/dist/chunks/{location-vfbk05zz.js → event-logger-czx650js.js} +78 -78
- package/dist/chunks/{location-y5df08dr.js → event-logger-d2ztc3sk.js} +5 -5
- package/dist/chunks/{location-qrpna819.js → event-logger-d676vkt9.js} +13 -13
- package/dist/chunks/{location-hq78f3qw.js → event-logger-d72ykhpz.js} +30 -30
- package/dist/chunks/{location-5j3nemfx.js → event-logger-dk0mqk66.js} +21 -21
- package/dist/chunks/{location-y71avatq.js → event-logger-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-qqeeq2t9.js → event-logger-drwq78ky.js} +7 -7
- package/dist/chunks/{location-pg092y7m.js → event-logger-dvkythkc.js} +20 -20
- package/dist/chunks/{location-2y34zzjz.js → event-logger-dwvzh0g2.js} +5 -5
- package/dist/chunks/{location-5bpccfdn.js → event-logger-dwwkn0mg.js} +22 -22
- package/dist/chunks/{location-xdqwyhzn.js → event-logger-dys24x3z.js} +3 -3
- package/dist/chunks/{location-96xc4j73.js → event-logger-e2z9n6er.js} +9 -9
- package/dist/chunks/{location-qgt4e7dm.js → event-logger-e4cp32a1.js} +8 -8
- package/dist/chunks/{location-8t9r9m98.js → event-logger-e63ynvta.js} +24 -24
- package/dist/chunks/{location-cpy6gm2a.js → event-logger-e6hd9jay.js} +6 -6
- package/dist/chunks/{location-xxewh186.js → event-logger-e6m9qz06.js} +9 -9
- package/dist/chunks/{location-s8d7rejh.js → event-logger-eaj1djv9.js} +6 -6
- package/dist/chunks/{location-9h6052ys.js → event-logger-ebgnttvs.js} +37 -37
- package/dist/chunks/{location-ecfe7b91.js → event-logger-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-ef5x83kb.js → event-logger-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-9sm9gfq3.js → event-logger-egmenwpk.js} +11 -11
- package/dist/chunks/{location-jf5a25sz.js → event-logger-enae3s66.js} +43 -43
- package/dist/chunks/{location-6nex2bx1.js → event-logger-epqv3gec.js} +24 -24
- package/dist/chunks/{location-etq0c3wd.js → event-logger-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-pgsw580e.js → event-logger-ev2737vw.js} +17 -17
- package/dist/chunks/{location-sz763eb6.js → event-logger-eyz64kwr.js} +6 -6
- package/dist/chunks/{location-qahgzyff.js → event-logger-f1xfam91.js} +36 -36
- package/dist/chunks/{location-rnr5nq63.js → event-logger-fbx4mpfx.js} +17 -17
- package/dist/chunks/{location-0g11kb4v.js → event-logger-fc3fz5yp.js} +16 -16
- package/dist/chunks/{location-jmasdga9.js → event-logger-fc5be094.js} +44 -44
- package/dist/chunks/{location-sdvk2ad6.js → event-logger-fepyq996.js} +16 -16
- package/dist/chunks/{location-yrccs5dw.js → event-logger-fwr084f3.js} +29 -29
- package/dist/chunks/{location-f3ngv102.js → event-logger-g190xswt.js} +4 -4
- package/dist/chunks/{location-ckbtgcas.js → event-logger-g2m9wvvx.js} +7 -7
- package/dist/chunks/{location-wpn654rn.js → event-logger-g414dn7q.js} +45 -45
- package/dist/chunks/{location-4928d4yw.js → event-logger-gc3a2mq0.js} +11 -11
- package/dist/chunks/{location-tjyds3np.js → event-logger-gcv002t7.js} +15 -15
- package/dist/chunks/{location-yf8kg88s.js → event-logger-gd3e1aq9.js} +7 -7
- package/dist/chunks/{location-gd4qta3r.js → event-logger-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-e89xj288.js → event-logger-gebtr55s.js} +5 -5
- package/dist/chunks/{location-613reg7y.js → event-logger-geebtqnp.js} +7 -7
- package/dist/chunks/{location-94ek1h2f.js → event-logger-gfvb90ym.js} +2 -2
- package/dist/chunks/{location-4r1h02t6.js → event-logger-gj694qjh.js} +21 -21
- package/dist/chunks/{location-bpc3jfqy.js → event-logger-gkrhf1d5.js} +11 -11
- package/dist/chunks/{location-gv6a8nnw.js → event-logger-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-swabsky0.js → event-logger-gxpss1xa.js} +6 -6
- package/dist/chunks/{location-mw2h8ask.js → event-logger-h29qthyp.js} +18 -18
- package/dist/chunks/{location-qqcp2fey.js → event-logger-h2yrmx5e.js} +16 -6
- package/dist/chunks/{location-4v0x0v53.js → event-logger-h3v2aa7y.js} +50 -50
- package/dist/chunks/{location-h6vf3j39.js → event-logger-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-sxzvkvgj.js → event-logger-h896pcm5.js} +6 -6
- package/dist/chunks/{location-5aserzf1.js → event-logger-h8g80tac.js} +11 -11
- package/dist/chunks/{location-5ns8y5nv.js → event-logger-hd4mk6dn.js} +8 -8
- package/dist/chunks/{location-pb18q5py.js → event-logger-hdmg76f8.js} +34 -34
- package/dist/chunks/{location-427t97hr.js → event-logger-hekxc47r.js} +1 -1
- package/dist/chunks/{location-pecb0brz.js → event-logger-hkfg6fzm.js} +5 -5
- package/dist/chunks/{location-hngjveb4.js → event-logger-hr86py8n.js} +10 -10
- package/dist/chunks/{location-1qetcq2f.js → event-logger-hs8arses.js} +4 -4
- package/dist/chunks/{location-87eb0wvk.js → event-logger-hy75wegv.js} +32 -32
- package/dist/chunks/{location-patgj9rf.js → event-logger-j1mj860n.js} +9 -9
- package/dist/chunks/{location-j56e64zr.js → event-logger-j56e64zr.js} +1 -1
- package/dist/chunks/{location-b09hzw3k.js → event-logger-jca4demv.js} +2 -2
- package/dist/chunks/{location-58exf9s3.js → event-logger-jhdrpgrd.js} +15 -15
- package/dist/chunks/{location-pr72k1jg.js → event-logger-js7evpf5.js} +13 -13
- package/dist/chunks/{location-b7t5wn2m.js → event-logger-jspgs3p8.js} +18 -18
- package/dist/chunks/{location-kx6ewwgc.js → event-logger-jtecw4np.js} +5 -5
- package/dist/chunks/{location-5pc7ckbf.js → event-logger-jtscxqr2.js} +32 -32
- package/dist/chunks/{location-at8brtyc.js → event-logger-jvgend4z.js} +20 -20
- package/dist/chunks/{location-3ez35teb.js → event-logger-jvwnm37b.js} +11 -11
- package/dist/chunks/{location-18rp1xkf.js → event-logger-k1qrnqst.js} +8 -8
- package/dist/chunks/{location-nzks3jc8.js → event-logger-k3c624dm.js} +3 -3
- package/dist/chunks/{location-4gma0qdv.js → event-logger-k3ymncy7.js} +8 -8
- package/dist/chunks/{location-bnty75vp.js → event-logger-k6gc0w33.js} +5 -5
- package/dist/chunks/{location-kp8q1t60.js → event-logger-k79tzb9n.js} +9 -9
- package/dist/chunks/{location-m3fdjcah.js → event-logger-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-ednp5hmx.js → event-logger-m3zza4qd.js} +8 -8
- package/dist/chunks/{location-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-w6fmte8d.js → event-logger-mc5qwq8g.js} +24 -24
- package/dist/chunks/{location-8j5e0nxw.js → event-logger-me7ybzbp.js} +33 -33
- package/dist/chunks/{location-7ybfkyhv.js → event-logger-mf0d3swk.js} +16 -16
- package/dist/chunks/{location-27z7pma6.js → event-logger-mgpk9p2q.js} +16 -16
- package/dist/chunks/{location-j028xdjb.js → event-logger-mhkvc446.js} +3 -3
- package/dist/chunks/{location-03b5ykzw.js → event-logger-mk3tjkqx.js} +3 -3
- package/dist/chunks/{location-2zxaccxt.js → event-logger-mvqdx4t1.js} +10 -10
- package/dist/chunks/{location-hnr8f6ws.js → event-logger-mwwxnxty.js} +4 -4
- package/dist/chunks/{location-n5rr0bsk.js → event-logger-n3xrbjpq.js} +11 -11
- package/dist/chunks/{location-f99pqswk.js → event-logger-nda15pd4.js} +41 -41
- package/dist/chunks/{location-mntfxcz2.js → event-logger-nez6t23e.js} +4 -4
- package/dist/chunks/{location-3pe7sts8.js → event-logger-nq7qbqzc.js} +9 -9
- package/dist/chunks/{location-0jvg19fh.js → event-logger-nsjb7sab.js} +24 -24
- package/dist/chunks/{location-nw7gx7cz.js → event-logger-nv1p5j7x.js} +28 -28
- package/dist/chunks/{location-rnx3qgyn.js → event-logger-p2864vt2.js} +39 -39
- package/dist/chunks/{location-h3s7v34z.js → event-logger-p48qjbda.js} +6 -6
- package/dist/chunks/{location-aqxvbtvc.js → event-logger-p6ecssyc.js} +23 -23
- package/dist/chunks/{location-syf57q56.js → event-logger-p6wxjpka.js} +4 -4
- package/dist/chunks/{location-kn0epzjf.js → event-logger-p70m11t7.js} +11 -11
- package/dist/chunks/{location-h23ctypg.js → event-logger-pb89f654.js} +14 -14
- package/dist/chunks/{location-pjvnvgmy.js → event-logger-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-wtyk7tnn.js → event-logger-pk5rpknt.js} +6 -6
- package/dist/chunks/{location-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{location-wyanbm64.js → event-logger-pr7d68de.js} +4 -4
- package/dist/chunks/{location-wd3x2cqz.js → event-logger-psazpmmj.js} +2 -2
- package/dist/chunks/{location-y6f0p4jw.js → event-logger-q3t37ft6.js} +3 -3
- package/dist/chunks/{location-vz2v0y1g.js → event-logger-q3v70c5s.js} +8 -8
- package/dist/chunks/{location-wpttx3ek.js → event-logger-qad94zvq.js} +19 -19
- package/dist/chunks/{location-j5fma2v7.js → event-logger-qg5w4dek.js} +37 -37
- package/dist/chunks/{location-j6h5z8n4.js → event-logger-qjj1cc1j.js} +30 -30
- package/dist/chunks/{location-cwa6csj7.js → event-logger-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-jdhe76k5.js → event-logger-qn3f85xh.js} +3 -3
- package/dist/chunks/{location-qsdy395h.js → event-logger-qsdy395h.js} +1 -1
- package/dist/chunks/{location-sd23ea76.js → event-logger-qsef27kt.js} +13 -13
- package/dist/chunks/{location-1gmrbm9q.js → event-logger-r4va0x0h.js} +16 -16
- package/dist/chunks/{location-j8zvn2fh.js → event-logger-r7nsrefv.js} +8 -8
- package/dist/chunks/{location-f3rj20sn.js → event-logger-ra6f59x8.js} +20 -20
- package/dist/chunks/{location-cw1jgv1w.js → event-logger-rdcxwqtg.js} +8 -8
- package/dist/chunks/{location-rdw6cm16.js → event-logger-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-7fkffz83.js → event-logger-rkprpv83.js} +4 -4
- package/dist/chunks/{location-v01qj8m2.js → event-logger-s8a9z6as.js} +33 -33
- package/dist/chunks/{location-8aaqm6qj.js → event-logger-sm965ndy.js} +8 -8
- package/dist/chunks/{location-tvsfvamq.js → event-logger-sxc772xe.js} +5 -5
- package/dist/chunks/{location-tazgh4e4.js → event-logger-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → event-logger-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → event-logger-tdstcens.js} +1 -1
- package/dist/chunks/{location-jewzahs7.js → event-logger-tjedn1bk.js} +4 -4
- package/dist/chunks/{location-z5q8ygm0.js → event-logger-tpxm4wg4.js} +24 -24
- package/dist/chunks/{location-92r5fjaa.js → event-logger-tqsh01p4.js} +22 -22
- package/dist/chunks/{location-tvtrv512.js → event-logger-tvtrv512.js} +1 -1
- package/dist/chunks/{location-1akzjdkx.js → event-logger-tvtzm9vb.js} +20 -20
- package/dist/chunks/{location-qwjmgwmn.js → event-logger-tx9w5tca.js} +8 -8
- package/dist/chunks/{location-4sb5xsr0.js → event-logger-txcf0vz9.js} +18 -18
- package/dist/chunks/{location-mc8ws243.js → event-logger-v4hfvfhv.js} +26 -26
- package/dist/chunks/{location-n77hk0vh.js → event-logger-v4hp9vzp.js} +12 -12
- package/dist/chunks/{location-hhc9atkh.js → event-logger-v4wgc6ts.js} +15 -15
- package/dist/chunks/{location-n1m68ejj.js → event-logger-vcs79k5x.js} +20 -20
- package/dist/chunks/{location-g5agzp2h.js → event-logger-vd7rzxqf.js} +5 -5
- package/dist/chunks/{location-8x023p49.js → event-logger-veeagbsv.js} +6 -6
- package/dist/chunks/{location-veqvce7d.js → event-logger-veqvce7d.js} +1 -1
- package/dist/chunks/{location-4c9fncqc.js → event-logger-vf5egdtx.js} +5 -5
- package/dist/chunks/{location-8zqs9j7p.js → event-logger-vfze4e7p.js} +11 -11
- package/dist/chunks/{location-dnh5am79.js → event-logger-vq7dkmg6.js} +9 -9
- package/dist/chunks/{location-vzcthcp8.js → event-logger-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → event-logger-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-xd7pxsgz.js → event-logger-w0bv1bp8.js} +10 -10
- package/dist/chunks/{location-84txncab.js → event-logger-w1eejvng.js} +5 -5
- package/dist/chunks/{location-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{location-mam35mvc.js → event-logger-wedw5mta.js} +15 -15
- package/dist/chunks/{location-y4h12032.js → event-logger-wq865z1c.js} +22 -22
- package/dist/chunks/{location-cqhb2t13.js → event-logger-wvvrp032.js} +23 -23
- package/dist/chunks/{location-6bass0b7.js → event-logger-x0r2tdf3.js} +2 -2
- package/dist/chunks/{location-x1ezjp6w.js → event-logger-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-wxxtmkrx.js → event-logger-x1n81qdc.js} +5 -5
- package/dist/chunks/{location-mpk0rfs5.js → event-logger-x661k3y3.js} +4 -4
- package/dist/chunks/{location-v537vfcj.js → event-logger-x7eft90k.js} +44 -44
- package/dist/chunks/{location-xkntkrq7.js → event-logger-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-a1b9eenk.js → event-logger-xkwzk721.js} +4 -4
- package/dist/chunks/{location-09mh3h53.js → event-logger-xr2xdzp5.js} +20 -20
- package/dist/chunks/{location-4vgcem2z.js → event-logger-y10zjx7n.js} +1 -1
- package/dist/chunks/{location-y1fvbwt7.js → event-logger-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-299n82gd.js → event-logger-y8s4drfk.js} +6 -6
- package/dist/chunks/{location-bwqnkjsb.js → event-logger-ya782s6g.js} +15 -15
- package/dist/chunks/{location-hn75rfyg.js → event-logger-ybtvde30.js} +9 -9
- package/dist/chunks/{location-z7eps1h1.js → event-logger-ycgfw7y5.js} +4 -4
- package/dist/chunks/{location-f2n192rq.js → event-logger-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-yrhqyw5v.js → event-logger-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → event-logger-yrznvahk.js} +2 -2
- package/dist/chunks/{location-1jysqf0q.js → event-logger-yv3d64wd.js} +26 -26
- package/dist/chunks/{location-prww9d41.js → event-logger-yzg9cvd0.js} +14 -14
- package/dist/chunks/{location-z0bkrqjs.js → event-logger-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-q7sva9xj.js → event-logger-z3dw66da.js} +9 -9
- package/dist/chunks/{location-30pndsv9.js → event-logger-z3s216w8.js} +4 -4
- package/dist/chunks/{location-z63w68vq.js → event-logger-z63w68vq.js} +2 -2
- package/dist/chunks/{location-06x8he3q.js → event-logger-zav06jzw.js} +4 -4
- package/dist/chunks/{location-zeh9ct20.js → event-logger-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-nwnnebx3.js → event-logger-zq5pb45y.js} +20 -20
- package/dist/chunks/{location-a6zkzxs1.js → event-logger-zqrsnbvz.js} +11 -11
- package/dist/chunks/{location-zr2ceqn5.js → event-logger-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-hre7hyen.js → event-logger-zse6reh4.js} +20 -20
- package/dist/chunks/{location-zxq2ej10.js → event-logger-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 +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 +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 +125 -125
- 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 +121 -121
- 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 +124 -124
- 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 +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 +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 +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- 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 +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- 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 +99 -99
- 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 +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 +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 +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 +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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- 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 +89 -89
- 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 +133 -133
- package/dist/session/context.js +151 -151
- 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 +154 -154
- 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 +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 +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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- 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 +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +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 +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- 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 +6 -6
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- 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 +94 -94
- package/package.json +8 -8
- package/dist/chunks/location-1s2cnys0.js +0 -252
- package/dist/chunks/location-aba4y9w7.js +0 -26
- package/dist/chunks/location-f5qn67hn.js +0 -507
- package/dist/chunks/location-v1faaxn9.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → event-logger-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → event-logger-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → event-logger-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → event-logger-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → event-logger-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → event-logger-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → event-logger-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → event-logger-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → event-logger-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → event-logger-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → event-logger-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → event-logger-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → event-logger-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → event-logger-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → event-logger-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → event-logger-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service57,
|
|
17
|
+
node59
|
|
18
|
+
} from "./event-logger-j1mj860n.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service78,
|
|
21
|
+
node82
|
|
22
|
+
} from "./event-logger-tx9w5tca.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./event-logger-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service42,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node45
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service42 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service78;
|
|
58
|
+
const image = yield* Service57;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service42.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node45 = makeLocationNode({
|
|
277
|
+
service: Service42,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node82, node59]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service42, node45, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-x0r2tdf3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-nez6t23e.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-x661k3y3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
13
|
+
ID9,
|
|
14
|
+
Service67,
|
|
15
|
+
node70,
|
|
16
|
+
Event15
|
|
17
|
+
} from "./event-logger-cgftzr9x.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node83
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-x0r2tdf3.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
40
|
+
Event: () => Event14,
|
|
41
|
+
ID: () => ID8,
|
|
42
|
+
Info: () => Info21,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
|
-
Request: () =>
|
|
46
|
-
Service: () =>
|
|
45
|
+
Request: () => Request2,
|
|
46
|
+
Service: () => Service66,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node69,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
68
|
-
var
|
|
67
|
+
import { Event as Event14 } from "@opencode/schema/provider";
|
|
68
|
+
var ID8 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
|
|
|
206
206
|
return result;
|
|
207
207
|
}, new Map).values());
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var Request2 = Provider.Request;
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info21 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service66 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
230
|
+
const integrations = yield* Service67;
|
|
231
231
|
const location = yield* Service79;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info21.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service66.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node69 = makeLocationNode({ service: Service66, layer, deps: [node87, node70, node83] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info21, Service66, node69, exports_provider3, Event14 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-x0r2tdf3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service14
|
|
9
|
+
} from "./event-logger-jhdrpgrd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./event-logger-mf0d3swk.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-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
|
+
Service7
|
|
27
|
+
} from "./event-logger-v4wgc6ts.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-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: () => Input4,
|
|
36
|
+
Plugin: () => Plugin21,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name4,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
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 name4 = "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 Input4 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin21 = {
|
|
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* Service7;
|
|
62
|
+
const access = yield* Service14;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service79;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name4,
|
|
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: Input4,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin3 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(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 toModelContent2 = (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 toModelContent3 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name4, Input4, Plugin21, toModelContent2, exports_read };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin5
|
|
3
|
+
} from "./event-logger-m3zza4qd.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin4
|
|
6
|
+
} from "./event-logger-z3dw66da.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin6
|
|
9
|
+
} from "./event-logger-7358hs9s.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin7
|
|
12
|
+
} from "./event-logger-e4cp32a1.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin8
|
|
15
|
+
} from "./event-logger-az82vszd.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin5,
|
|
20
|
+
Plugin4,
|
|
21
|
+
Plugin6,
|
|
22
|
+
Plugin7,
|
|
23
|
+
Plugin8
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-78jgv2cz.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-07xp2psn.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-x0r2tdf3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service30,
|
|
19
|
+
node: () => node33
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service79;
|
|
29
|
-
return
|
|
29
|
+
return Service30.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
|
-
key:
|
|
32
|
+
key: Key4.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
40
|
make21({
|
|
41
|
-
key:
|
|
41
|
+
key: Key4.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node33 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node83] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service30, node33, exports_builtins };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-nez6t23e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node75
|
|
8
|
+
} from "./event-logger-6c9zkndg.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event11,
|
|
21
21
|
ID: () => ID5,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
@@ -28,16 +28,16 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service54,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node56
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event11 } from "@opencode/schema/websearch";
|
|
41
41
|
var ID5 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service54 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service83;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service72;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service54.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node56 = makeLocationNode({
|
|
188
|
+
service: Service54,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node87,
|
|
190
|
+
deps: [node87, node75]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2,
|
|
193
|
+
export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service54, node56, exports_websearch3, Event11 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|