@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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-psazpmmj.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node76
|
|
7
|
+
} from "./event-logger-dk0mqk66.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service22,
|
|
17
|
+
node: () => node24,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service22 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service73;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service22.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node24 = makeLocationNode({ service: Service22, layer, deps: [node76] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service22, readText2, syncTextBom2, node24, exports_file_mutation };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-5kh6m3pr.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-54tcyq79.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info29,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service77,
|
|
21
|
+
node: () => node81
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info29 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service77 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID14.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service77.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID14, Info29, ListInput5, AddInput2, Service77, node81, exports_saved };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
node85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-d2ztc3sk.js";
|
|
7
7
|
import {
|
|
8
8
|
Service79,
|
|
9
9
|
node83
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-x0r2tdf3.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make15
|
|
16
|
+
} from "./event-logger-y8s4drfk.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service44,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node47
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service44 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
36
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
37
37
|
const location = yield* Service79;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make15;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service44.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node47 = makeLocationNode({
|
|
61
|
+
service: Service44,
|
|
62
62
|
layer,
|
|
63
63
|
deps: [node83, Global.node, node85, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service44, node47, exports_strategies };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service45
|
|
4
|
+
} from "./event-logger-jtscxqr2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./event-logger-fbx4mpfx.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin34
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin34 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service45;
|
|
27
|
+
const shell = yield* Service60;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin28 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin34, exports_shell2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-nez6t23e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./event-logger-qjj1cc1j.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-5esg9gyy.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event15,
|
|
38
|
+
ID: () => ID9,
|
|
39
|
+
Info: () => Info22,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service67,
|
|
47
|
+
node: () => node70
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
70
|
+
var ID9 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info22 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID9,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service67 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
112
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service68;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info22.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
294
294
|
const persistence = yield* createCredential({
|
|
295
295
|
integrationID: attempt.integrationID,
|
|
296
296
|
label: attempt.label,
|
|
297
|
-
value:
|
|
297
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
298
298
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
299
299
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
300
300
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service67.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
462
462
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
463
463
|
if (connection.type === "env") {
|
|
464
464
|
const key = process.env[connection.name];
|
|
465
|
-
return key ?
|
|
465
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
466
466
|
}
|
|
467
467
|
const credential = yield* credentials.get(connection.id);
|
|
468
468
|
if (!credential)
|
|
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
495
495
|
yield* createCredential({
|
|
496
496
|
integrationID: input.integrationID,
|
|
497
497
|
label: input.label,
|
|
498
|
-
value:
|
|
498
|
+
value: Key3.make({
|
|
499
499
|
type: "key",
|
|
500
500
|
key: input.key,
|
|
501
501
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node70 = makeLocationNode({
|
|
603
|
+
service: Service67,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node71, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info22, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service67, node70, exports_integration, Event15 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./event-logger-h896pcm5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-1x11rq2a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service37
|
|
9
|
+
} from "./event-logger-9bfk5xdd.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service50;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-5kh6m3pr.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-bjtzbw4r.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-1c8xcbqk.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-jca4demv.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service76,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node80
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service76 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service76.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput4,
|
|
130
|
+
export { ListInput4, Service76, node80, exports_store };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./event-logger-3vv51bva.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID8.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service79
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-x0r2tdf3.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-r4va0x0h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin3,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin3 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service79;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin3, exports_hg };
|