@opencode-ai/core 0.0.0-dev-19217 → 0.0.0-dev-19218
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{location-services-msggbjmt.js → pty-02ak2ead.js} +9 -9
- package/dist/chunks/{location-services-0e0xafbb.js → pty-0e0xafbb.js} +2 -2
- package/dist/chunks/{location-services-7dqw4kz8.js → pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-services-txr8jkjb.js → pty-0mnvrx0m.js} +9 -9
- package/dist/chunks/{location-services-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-0s9ayhjt.js → pty-0s9ayhjt.js} +1 -1
- package/dist/chunks/{location-services-gfhhve88.js → pty-0t098hqn.js} +5 -5
- package/dist/chunks/{location-services-sx1n432n.js → pty-0v53mg2y.js} +4 -4
- package/dist/chunks/{location-services-rvwxxhqs.js → pty-0wvznmtp.js} +7 -7
- package/dist/chunks/{location-services-dbjehjtf.js → pty-10gqde6b.js} +4 -4
- package/dist/chunks/{location-services-rnynvazd.js → pty-14hmenm3.js} +3 -3
- package/dist/chunks/{location-services-1acjjqhc.js → pty-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-services-1ct4r87x.js → pty-1ct4r87x.js} +1 -1
- package/dist/chunks/{location-services-zg79n793.js → pty-1ernzcqn.js} +6 -6
- package/dist/chunks/{location-services-rmfj7rc5.js → pty-1g9nsgpp.js} +13 -13
- package/dist/chunks/{location-services-41mncz27.js → pty-1mrma768.js} +5 -5
- package/dist/chunks/{location-services-m5045k8y.js → pty-1n116cmy.js} +9 -9
- package/dist/chunks/{location-services-ycv9gdpt.js → pty-1qw2s0et.js} +9 -9
- package/dist/chunks/{location-services-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{location-services-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{location-services-z63w68vq.js → pty-29x78va6.js} +6 -6
- package/dist/chunks/{location-services-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-thrj3fqh.js → pty-2dg218bv.js} +3 -3
- package/dist/chunks/{location-services-2ht70gj7.js → pty-2ht70gj7.js} +1 -1
- package/dist/chunks/{location-services-bx87j58v.js → pty-2j8qyr6z.js} +20 -20
- package/dist/chunks/{location-services-d80z8c0m.js → pty-2m920r7z.js} +9 -9
- package/dist/chunks/{location-services-2atvjna1.js → pty-2n4y20qt.js} +22 -22
- package/dist/chunks/{location-services-2hwvdazv.js → pty-2nf37mnc.js} +20 -20
- package/dist/chunks/{location-services-wbjzz41v.js → pty-2pmtacce.js} +25 -25
- package/dist/chunks/{location-services-qc44gpch.js → pty-2vfx8thk.js} +24 -24
- package/dist/chunks/{location-services-ytep83yp.js → pty-30jpz9d7.js} +41 -41
- package/dist/chunks/{location-services-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3qzbfqsy.js → pty-3qzbfqsy.js} +2 -2
- package/dist/chunks/{location-services-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-e7tnha1m.js → pty-3tdaxant.js} +10 -10
- package/dist/chunks/{location-services-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-qak3npwc.js → pty-3wfq9j39.js} +12 -12
- package/dist/chunks/{location-services-454k5vzh.js → pty-454k5vzh.js} +1 -1
- package/dist/chunks/{location-services-zkpmw5vh.js → pty-46e97tr7.js} +10 -10
- package/dist/chunks/{location-services-87vzjqvg.js → pty-47y1s5bh.js} +4 -4
- package/dist/chunks/{location-services-17kes6c3.js → pty-4jykd2y5.js} +36 -36
- package/dist/chunks/{location-services-pnec0z95.js → pty-4p1znhkg.js} +46 -46
- package/dist/chunks/{location-services-rfhfqqty.js → pty-4pg0vty6.js} +15 -15
- package/dist/chunks/{location-services-4r2nyarf.js → pty-4r2nyarf.js} +1 -1
- package/dist/chunks/{location-services-hvwy79ny.js → pty-4z6b0fg6.js} +8 -8
- package/dist/chunks/{location-services-pvbx7q7g.js → pty-507bb6ht.js} +24 -24
- package/dist/chunks/{location-services-cm9r9xbg.js → pty-53fs9qt8.js} +8 -8
- package/dist/chunks/{location-services-011h4yth.js → pty-5586kr32.js} +14 -14
- package/dist/chunks/{location-services-xezrmqac.js → pty-56wh323j.js} +53 -53
- package/dist/chunks/{location-services-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/pty-5ehapebv.js +22 -0
- package/dist/chunks/{location-services-5fmxt4p5.js → pty-5fmxt4p5.js} +1 -1
- package/dist/chunks/{location-services-7zmvhjgk.js → pty-5h5ammfc.js} +31 -31
- package/dist/chunks/{location-services-mb1e1czd.js → pty-5hf5s1km.js} +6 -6
- package/dist/chunks/{location-services-5jvc5tg2.js → pty-5jvc5tg2.js} +1 -1
- package/dist/chunks/{location-services-0cv24hqy.js → pty-5k3f87xj.js} +1 -1
- package/dist/chunks/{location-services-k6300pcm.js → pty-5rw6je3s.js} +3 -3
- package/dist/chunks/{location-services-ev0ent4x.js → pty-6249xh7p.js} +18 -18
- package/dist/chunks/{location-services-hrq6749d.js → pty-64dj7m14.js} +14 -14
- package/dist/chunks/{location-services-p519a7hj.js → pty-6bfbj7yp.js} +17 -17
- package/dist/chunks/{location-services-snscvb6q.js → pty-6qs8r64n.js} +9 -9
- package/dist/chunks/{location-services-4yp29dye.js → pty-6vfh6jv6.js} +11 -11
- package/dist/chunks/{location-services-711hfp6y.js → pty-711hfp6y.js} +2 -2
- package/dist/chunks/{location-services-72nftnjy.js → pty-72nftnjy.js} +2 -2
- package/dist/chunks/{location-services-7yh4e7ss.js → pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-services-mxhzfwah.js → pty-741pxbc4.js} +8 -8
- package/dist/chunks/{location-services-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-dw6h8nn9.js → pty-7frnnqsf.js} +21 -21
- package/dist/chunks/{location-services-h2p9xjbs.js → pty-7g7xeaaj.js} +19 -19
- package/dist/chunks/{location-services-yyq5vb4a.js → pty-7htsbzpb.js} +13 -13
- package/dist/chunks/{location-services-13dhzf2r.js → pty-7tde96p8.js} +11 -11
- package/dist/chunks/{location-services-c97n56v4.js → pty-7ttnvawf.js} +6 -6
- package/dist/chunks/{location-services-yqw5g7gc.js → pty-7v562ate.js} +22 -22
- package/dist/chunks/{location-services-drjjaw3s.js → pty-7w8fgasf.js} +5 -5
- package/dist/chunks/{location-services-818e5b7h.js → pty-7xr84h2v.js} +22 -22
- package/dist/chunks/{location-services-hrem2xze.js → pty-7zqwg6kj.js} +27 -27
- package/dist/chunks/{location-services-7p8ma9rt.js → pty-80z8y3y4.js} +5 -5
- package/dist/chunks/{location-services-jy1b6ewz.js → pty-81ehrcfm.js} +8 -8
- package/dist/chunks/{location-services-0jz3vdqx.js → pty-82marhfk.js} +9 -9
- package/dist/chunks/{location-services-va63defj.js → pty-86s3977f.js} +1 -1
- package/dist/chunks/{location-services-v2p4rfxw.js → pty-884h22he.js} +6 -6
- package/dist/chunks/{location-services-gm8dhtry.js → pty-88k962v0.js} +24 -24
- package/dist/chunks/{location-services-64q9m0nc.js → pty-89kmej9k.js} +22 -22
- package/dist/chunks/{location-services-bemd59wz.js → pty-8edgm1mj.js} +9 -9
- package/dist/chunks/{location-services-3hze1m31.js → pty-8jwyp78w.js} +16 -16
- package/dist/chunks/{location-services-ag6t9w77.js → pty-8s92c8tr.js} +14 -14
- package/dist/chunks/{location-services-h3ddmve3.js → pty-905bpmd9.js} +19 -19
- package/dist/chunks/{location-services-xgf08a2e.js → pty-90pvg1cb.js} +3 -3
- package/dist/chunks/{location-services-93a8yfjt.js → pty-93a8yfjt.js} +2 -2
- package/dist/chunks/{location-services-75yf2d83.js → pty-97f5v037.js} +8 -8
- package/dist/chunks/{location-services-ggvh81pv.js → pty-9a9vdrp9.js} +6 -6
- package/dist/chunks/{location-services-9d4efts8.js → pty-9d4efts8.js} +2 -2
- package/dist/chunks/{location-services-9424kmmy.js → pty-9jwnwv4p.js} +7 -7
- package/dist/chunks/{location-services-6aw1783e.js → pty-9pt7wtrn.js} +33 -33
- package/dist/chunks/{location-services-9qm9egsn.js → pty-9qm9egsn.js} +2 -2
- package/dist/chunks/{location-services-knhsbq7n.js → pty-9x4fbkad.js} +13 -13
- package/dist/chunks/{location-services-36vsdr69.js → pty-a4rgs0hc.js} +6 -6
- package/dist/chunks/{location-services-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-27qchnt0.js → pty-ab971jgm.js} +10 -10
- package/dist/chunks/{location-services-sye64zbn.js → pty-ac35785q.js} +11 -11
- package/dist/chunks/{location-services-ajtjthsy.js → pty-ajtjthsy.js} +2 -2
- package/dist/chunks/{location-services-sxz6gkc3.js → pty-b27vhd2z.js} +7 -7
- package/dist/chunks/{location-services-0jn70awm.js → pty-b3f9g3c4.js} +4 -4
- package/dist/chunks/{location-services-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-b9wsbatv.js → pty-b9wsbatv.js} +1 -1
- package/dist/chunks/{location-services-je9hks3h.js → pty-bcezcar3.js} +5 -5
- package/dist/chunks/{location-services-z2je33ah.js → pty-bctm2k87.js} +11 -11
- package/dist/chunks/{location-services-en2byfe9.js → pty-bgj6ghn2.js} +15 -15
- package/dist/chunks/{location-services-vyjks95a.js → pty-bm94m7ab.js} +50 -50
- package/dist/chunks/{location-services-fk21kn01.js → pty-c3se2jx9.js} +7 -7
- package/dist/chunks/{location-services-q5asdkn4.js → pty-ca7w653e.js} +4 -4
- package/dist/chunks/{location-services-t0pbnp57.js → pty-cdjpjpyn.js} +17 -17
- package/dist/chunks/{location-services-vfxc3xsp.js → pty-cgw3eybt.js} +11 -11
- package/dist/chunks/{location-services-c64qezrb.js → pty-ch16cpaq.js} +21 -21
- package/dist/chunks/{location-services-xp2345da.js → pty-cmf1rkff.js} +30 -30
- package/dist/chunks/{location-services-dkshpdss.js → pty-cyzwqsn0.js} +5 -5
- package/dist/chunks/{location-services-8e0cxs1v.js → pty-d4xx5d2s.js} +22 -22
- package/dist/chunks/{location-services-d72308c8.js → pty-d72308c8.js} +2 -2
- package/dist/chunks/{location-services-3jqpdxqh.js → pty-da3q24vg.js} +9 -9
- package/dist/chunks/{location-services-t9rcpgsh.js → pty-dfm27cy2.js} +30 -30
- package/dist/chunks/{location-services-q65nf1dj.js → pty-e12h8ecf.js} +32 -32
- package/dist/chunks/pty-e3ze3pba.js +4 -0
- package/dist/chunks/{location-services-3yevh190.js → pty-e5b0qn1c.js} +1 -1
- package/dist/chunks/{location-services-w4arg62q.js → pty-e6hd9jay.js} +4 -4
- package/dist/chunks/{location-services-dw6cz3sh.js → pty-e892zrmk.js} +16 -16
- package/dist/chunks/{location-services-b900m3ym.js → pty-ebky9brj.js} +25 -25
- package/dist/chunks/{location-services-x6tzgbrz.js → pty-ek4gey1d.js} +18 -18
- package/dist/chunks/{location-services-v8phnrpr.js → pty-ene3c7ks.js} +28 -28
- package/dist/chunks/{location-services-kb6kqgh4.js → pty-et3de4js.js} +41 -41
- package/dist/chunks/{location-services-ga85tpka.js → pty-etwf05x9.js} +25 -25
- package/dist/chunks/{location-services-kz954rct.js → pty-ewtmwgg4.js} +10 -10
- package/dist/chunks/{location-services-zrw7ts6n.js → pty-f1kgb3zy.js} +17 -17
- package/dist/chunks/{location-services-z33f84t5.js → pty-f57y4gze.js} +6 -6
- package/dist/chunks/{location-services-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-fxypknc8.js → pty-fxypknc8.js} +1 -1
- package/dist/chunks/{location-services-vw6n2197.js → pty-g41n1fn3.js} +5 -5
- package/dist/chunks/{location-services-9tpb97z2.js → pty-g7ny5e8b.js} +17 -17
- package/dist/chunks/{location-services-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-7rp97fxb.js → pty-gr5em4p7.js} +16 -16
- package/dist/chunks/{location-services-59a9q0c9.js → pty-gsgaq1zt.js} +11 -11
- package/dist/chunks/{location-services-hha4zry8.js → pty-h2st8tcp.js} +20 -20
- package/dist/chunks/{location-services-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-p0z4cnf4.js → pty-h79bpvg7.js} +6 -6
- package/dist/chunks/{location-services-00x5t0cs.js → pty-hdv55p63.js} +19 -19
- package/dist/chunks/{location-services-heyhwy2w.js → pty-heyhwy2w.js} +1 -1
- package/dist/chunks/{location-services-nhy5jxhy.js → pty-hjt4xg1x.js} +4 -4
- package/dist/chunks/{location-services-bva7vcjq.js → pty-hr77wr0b.js} +4 -4
- package/dist/chunks/{location-services-hrvm11jt.js → pty-hrvm11jt.js} +3 -3
- package/dist/chunks/{location-services-nqfx3ba2.js → pty-hse5trye.js} +10 -10
- package/dist/chunks/{location-services-jycq5tmb.js → pty-hw1wew3t.js} +26 -26
- package/dist/chunks/{location-services-nkcwakxz.js → pty-hyftv91s.js} +7 -7
- package/dist/chunks/{location-services-dqvvg7d5.js → pty-hzecryb5.js} +18 -18
- package/dist/chunks/{location-services-paphc93g.js → pty-j935v87r.js} +2 -2
- package/dist/chunks/{location-services-1hwe4fz6.js → pty-jf4k1cyn.js} +22 -22
- package/dist/chunks/{location-services-c98sk4k2.js → pty-jk6vqbyh.js} +16 -16
- package/dist/chunks/{location-services-9q7mdqbr.js → pty-k3fabyz6.js} +6 -6
- package/dist/chunks/{location-services-k4bwy1x5.js → pty-k4bwy1x5.js} +1 -1
- package/dist/chunks/{location-services-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{location-services-reacnbnm.js → pty-kjeb3nmt.js} +9 -9
- package/dist/chunks/{location-services-ew6s4pdb.js → pty-kjr4wddc.js} +82 -82
- package/dist/chunks/{location-services-t0v8yr3m.js → pty-kthncd39.js} +15 -15
- package/dist/chunks/{location-services-2a5a6t3a.js → pty-kv6gb2vp.js} +29 -29
- package/dist/chunks/{location-services-hw4pv20g.js → pty-kvsjn1dr.js} +2 -2
- package/dist/chunks/{location-services-ghnh6cjj.js → pty-kyma94wc.js} +18 -18
- package/dist/chunks/{location-services-xc8jgndy.js → pty-m1mbk97x.js} +30 -30
- package/dist/chunks/{location-services-a18qrwy7.js → pty-m307zcn4.js} +11 -11
- package/dist/chunks/{location-services-a9zfrvqc.js → pty-m3fm0fm8.js} +5 -5
- package/dist/chunks/{location-services-7grmgsg7.js → pty-m59e1w6s.js} +4 -4
- package/dist/chunks/{location-services-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-xscznp95.js → pty-mcxg6pmm.js} +1 -1
- package/dist/chunks/{location-services-jepxwv21.js → pty-mdaqq3w0.js} +6 -6
- package/dist/chunks/{location-services-ksq55409.js → pty-mgns2fdh.js} +12 -12
- package/dist/chunks/{location-services-htfs0vqw.js → pty-mvzb9ve1.js} +34 -34
- package/dist/chunks/{location-services-19bt37k1.js → pty-mzjyw1z2.js} +2 -2
- package/dist/chunks/{location-services-k3zdj9v5.js → pty-n1s2d68q.js} +11 -11
- package/dist/chunks/{location-services-842ppk4g.js → pty-n8025458.js} +29 -29
- package/dist/chunks/{location-services-vgebfnwn.js → pty-ncj4tqnn.js} +56 -56
- package/dist/chunks/pty-ndaczkrh.js +460 -0
- package/dist/chunks/{location-services-brtzwm95.js → pty-nebhatd7.js} +10 -10
- package/dist/chunks/{location-services-vhbte2r2.js → pty-nryz0x3q.js} +15 -15
- package/dist/chunks/{location-services-m1xpw8ab.js → pty-nsy86y99.js} +21 -21
- package/dist/chunks/{location-services-7r58dpc0.js → pty-nx3e840r.js} +8 -8
- package/dist/chunks/{location-services-gyxtj4g4.js → pty-p0hhk82e.js} +4 -4
- package/dist/chunks/{location-services-78es4yvf.js → pty-p41j5722.js} +22 -22
- package/dist/chunks/{location-services-br56pb2k.js → pty-p651nqaz.js} +169 -169
- package/dist/chunks/{location-services-8z28gvyf.js → pty-phbgm0bx.js} +34 -34
- package/dist/chunks/{location-services-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-cmhntd7c.js → pty-ps4zxkej.js} +10 -10
- package/dist/chunks/{location-services-dts5axtv.js → pty-pxe384j3.js} +14 -14
- package/dist/chunks/pty-q509s3k3.js +18 -0
- package/dist/chunks/pty-qf3330hq.js +247 -0
- package/dist/chunks/{location-services-hc5rdzwx.js → pty-qgr3x23c.js} +11 -11
- package/dist/chunks/{location-services-r67ewn20.js → pty-qm8ev4wm.js} +8 -8
- package/dist/chunks/{location-services-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-x0ehmrev.js → pty-qznxkkz3.js} +15 -15
- package/dist/chunks/{location-services-wrcep6h9.js → pty-r312re56.js} +6 -6
- package/dist/chunks/{location-services-r8dhm0tv.js → pty-r8dhm0tv.js} +1 -1
- package/dist/chunks/{location-services-m4535t75.js → pty-rae26gbb.js} +8 -8
- package/dist/chunks/{location-services-2j81asyh.js → pty-rb4kytq8.js} +35 -35
- package/dist/chunks/{location-services-yvcft4ah.js → pty-rbqs1qrs.js} +5 -5
- package/dist/chunks/{location-services-vrgvmwy9.js → pty-rc5masm7.js} +24 -24
- package/dist/chunks/{location-services-eeap19eg.js → pty-rmcmbkys.js} +26 -26
- package/dist/chunks/{location-services-x9k6tsrg.js → pty-rmkf6stx.js} +20 -20
- package/dist/chunks/{location-services-6zrjyzhx.js → pty-rw81gdbg.js} +60 -60
- package/dist/chunks/{location-services-jj4chnxp.js → pty-rwert6h9.js} +41 -41
- package/dist/chunks/{location-services-rq68kahz.js → pty-s1e2y8ed.js} +31 -31
- package/dist/chunks/{location-services-hw16a779.js → pty-s3eqpch7.js} +1 -1
- package/dist/chunks/{location-services-tvtwyg9m.js → pty-s8g36k60.js} +4 -4
- package/dist/chunks/{location-services-n7sc385v.js → pty-s8v1m6qw.js} +15 -15
- package/dist/chunks/{location-services-sba4qhjf.js → pty-sba4qhjf.js} +1 -1
- package/dist/chunks/{location-services-ec7wcf70.js → pty-scwfkd84.js} +86 -86
- package/dist/chunks/{location-services-cs8d39tz.js → pty-sfz1z5dy.js} +28 -28
- package/dist/chunks/{location-services-xpx0dzdt.js → pty-sj291qve.js} +11 -11
- package/dist/chunks/{location-services-cad3bs4j.js → pty-snbe917c.js} +39 -39
- package/dist/chunks/{location-services-yssexhes.js → pty-srd1y0t3.js} +8 -8
- package/dist/chunks/{location-services-bj4vwm3q.js → pty-t0jn574h.js} +16 -16
- package/dist/chunks/{location-services-bw1qan86.js → pty-t3fqb5k3.js} +38 -38
- package/dist/chunks/{location-services-sfgd47vq.js → pty-t7rtampj.js} +2 -2
- package/dist/chunks/{location-services-41g3dawq.js → pty-t85amdhp.js} +33 -33
- package/dist/chunks/{location-services-11ypdpkg.js → pty-t8xj1g1x.js} +30 -30
- package/dist/chunks/{location-services-9sb86xv6.js → pty-t9vc0pqt.js} +37 -37
- package/dist/chunks/{location-services-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-x9metz0b.js → pty-tfx5kmkv.js} +26 -26
- package/dist/chunks/{location-services-tjykrgmx.js → pty-tjykrgmx.js} +1 -1
- package/dist/chunks/{location-services-fxxa7ryp.js → pty-tqf96xv0.js} +8 -8
- package/dist/chunks/{location-services-stbxxgx1.js → pty-tqh0pfhw.js} +11 -11
- package/dist/chunks/{location-services-kj7zcbhz.js → pty-tqqej2s1.js} +7 -7
- package/dist/chunks/{location-services-bgbwxvyc.js → pty-ttbnpp8r.js} +21 -21
- package/dist/chunks/{location-services-f021cen3.js → pty-ttmf2k06.js} +8 -8
- package/dist/chunks/{location-services-ydpy9pg8.js → pty-tz7455vq.js} +9 -9
- package/dist/chunks/{location-services-ebpyyter.js → pty-v8jvsrpm.js} +30 -30
- package/dist/chunks/{location-services-0etsat71.js → pty-vtf99whk.js} +5 -5
- package/dist/chunks/{location-services-jwgx2stf.js → pty-w3gkes82.js} +4 -4
- package/dist/chunks/{location-services-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-zn2cbnfs.js → pty-w8py3fd5.js} +11 -11
- package/dist/chunks/{location-services-p9qkrcxv.js → pty-w8wgv6rg.js} +16 -16
- package/dist/chunks/{location-services-fqrxtbzb.js → pty-wb29ggtc.js} +9 -9
- package/dist/chunks/{location-services-0xv5jnwt.js → pty-wbqdy3jn.js} +36 -36
- package/dist/chunks/{location-services-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-gr3vkft5.js → pty-wgxn7ww3.js} +4 -4
- package/dist/chunks/{location-services-jv71mprp.js → pty-x0daxr85.js} +24 -24
- package/dist/chunks/{location-services-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-14q0m41q.js → pty-xc5kjw43.js} +13 -13
- package/dist/chunks/{location-services-pnkase04.js → pty-xfd6xwx1.js} +17 -17
- package/dist/chunks/{location-services-3r4cqkhr.js → pty-xh3q8gxs.js} +26 -26
- package/dist/chunks/{location-services-r2wnyzb0.js → pty-xqsy6kp0.js} +1 -1
- package/dist/chunks/{location-services-ztnyd3e4.js → pty-xr5vwsd4.js} +9 -9
- package/dist/chunks/{location-services-rsde5whr.js → pty-xs18g0gs.js} +15 -15
- package/dist/chunks/{location-services-4py4wtg5.js → pty-xy3betfq.js} +10 -10
- package/dist/chunks/{location-services-rqtk6744.js → pty-xyz49mkx.js} +13 -13
- package/dist/chunks/{location-services-p8hqp9sy.js → pty-y0cfrt5t.js} +20 -20
- package/dist/chunks/{location-services-xvv8td38.js → pty-y11beshv.js} +32 -32
- package/dist/chunks/{location-services-1ycr9rqm.js → pty-y18qbtn0.js} +3 -3
- package/dist/chunks/{location-services-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-4v96mfas.js → pty-y6hb7tkg.js} +27 -27
- package/dist/chunks/{location-services-ettb2whr.js → pty-y6nt3k22.js} +2 -2
- package/dist/chunks/{location-services-dpkg50ah.js → pty-y71avatq.js} +4 -4
- package/dist/chunks/{location-services-7a9665ac.js → pty-yanx3py7.js} +20 -20
- package/dist/chunks/{location-services-yfbd16n1.js → pty-yfbd16n1.js} +2 -2
- package/dist/chunks/{location-services-9tq58zg8.js → pty-ykcesz1b.js} +4 -4
- package/dist/chunks/{location-services-1149f9m6.js → pty-yt0vd8bd.js} +37 -37
- package/dist/chunks/{location-services-at9jh15n.js → pty-yv9w4q4m.js} +1 -1
- package/dist/chunks/{location-services-58x3rwhh.js → pty-yvbzm87r.js} +6 -6
- package/dist/chunks/{location-services-j4txnape.js → pty-yx4ch7q4.js} +9 -9
- package/dist/chunks/{location-services-enz1smv7.js → pty-yxn3jc82.js} +4 -4
- package/dist/chunks/{location-services-z1k01bn4.js → pty-z1k01bn4.js} +2 -2
- package/dist/chunks/{location-services-c78av6ax.js → pty-z36c69bj.js} +25 -25
- package/dist/chunks/{location-services-qcge6tej.js → pty-z3nmht85.js} +16 -16
- package/dist/chunks/{location-services-wa8y595e.js → pty-z4t3eq4k.js} +10 -10
- package/dist/chunks/{location-services-wm0j0wtm.js → pty-zn2pq4p8.js} +5 -5
- package/dist/chunks/{location-services-k6d03e4p.js → pty-zp3qwqf8.js} +17 -17
- package/dist/chunks/{location-services-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-phk1v4hg.js → pty-zydqv254.js} +43 -43
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +85 -85
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +350 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +127 -127
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- 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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -336
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +145 -145
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +118 -118
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +144 -144
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +86 -86
- 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 +120 -120
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +100 -100
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +337 -337
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/location-services-2t5bfwnz.js +0 -460
- package/dist/chunks/location-services-5y1bcw76.js +0 -22
- package/dist/chunks/location-services-7zk4hah4.js +0 -4
- package/dist/chunks/location-services-9cwr0qbq.js +0 -247
- package/dist/chunks/location-services-by5v678g.js +0 -18
- /package/dist/chunks/{location-services-0fabt78z.js → pty-0fabt78z.js} +0 -0
- /package/dist/chunks/{location-services-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t738kvx.js → pty-3t738kvx.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-41nvscxy.js → pty-41nvscxy.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-982e01ww.js → pty-982e01ww.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mntxs535.js → pty-mntxs535.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-p8qxwesx.js → pty-p8qxwesx.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-se0s1eqw.js → pty-se0s1eqw.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x1b8g1yb.js → pty-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-services-zbjnn3ac.js → pty-zbjnn3ac.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-b3f9g3c4.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event14,
|
|
18
|
+
ID: () => ID10,
|
|
19
|
+
Info: () => Info22,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service64,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node68
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode-ai/schema/agent";
|
|
29
29
|
import { Global } from "@opencode-ai/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event14 } from "@opencode-ai/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID10 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID10.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info22 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service64 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info22.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID10.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service64.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID10.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID10.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node68 = makeLocationNode({ service: Service64, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID10, Name3, defaultID2, Color2, Info22, Service64, node68, exports_agent4, Event14 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./pty-46e97tr7.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-93a8yfjt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make12
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode-ai/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service74;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make20 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make12, exports_git2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-5rw6je3s.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error = {};
|
|
13
|
+
__export(exports_error, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -22,9 +22,9 @@ __export(exports_error2, {
|
|
|
22
22
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
23
23
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
24
24
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
25
|
-
NotFoundError: () =>
|
|
25
|
+
NotFoundError: () => NotFoundError4,
|
|
26
26
|
PromptConflictError: () => PromptConflictError2,
|
|
27
|
-
SessionErrors: () =>
|
|
27
|
+
SessionErrors: () => exports_error,
|
|
28
28
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
29
29
|
StepFailedError: () => StepFailedError2,
|
|
30
30
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
@@ -35,7 +35,7 @@ import { Agent } from "@opencode-ai/schema/agent";
|
|
|
35
35
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
36
36
|
import { SessionError } from "@opencode-ai/schema/session-error";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class NotFoundError4 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
39
39
|
sessionID: SessionSchema2.ID
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
144
144
|
}) {
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { NotFoundError4, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-4z6b0fg6.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID17
|
|
8
|
+
} from "./pty-3wfq9j39.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-b3f9g3c4.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event20
|
|
15
|
+
} from "./pty-t8xj1g1x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-dfm27cy2.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./pty-etwf05x9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get2
|
|
25
|
+
} from "./pty-f1kgb3zy.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-53fs9qt8.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID14.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service75;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID18.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID18.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID17.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID17.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID17.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID18.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID18.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID18.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-4z6b0fg6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/variant.ts
|
|
10
10
|
var exports_variant = {};
|
|
11
11
|
__export(exports_variant, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin13,
|
|
13
13
|
VariantPlugin: () => exports_variant,
|
|
14
14
|
generate: () => generate2
|
|
15
15
|
});
|
|
16
16
|
import { Effect } from "effect";
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
18
18
|
import { Model } from "@opencode-ai/schema/model";
|
|
19
|
-
var
|
|
19
|
+
var Plugin13 = define({
|
|
20
20
|
id: "opencode.variant",
|
|
21
21
|
effect: Effect.fn(function* (ctx) {
|
|
22
22
|
yield* ctx.catalog.transform((catalog) => {
|
|
@@ -52,4 +52,4 @@ function generate2(model, provider) {
|
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Plugin13, generate2, exports_variant };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./pty-88k962v0.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service50;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service30,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node34
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service30 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service30.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node34 = makeGlobalNode({ service: Service30, layer: layer14, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service30, makeLayer2, layer14, node34, exports_model_transport };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-90pvg1cb.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-hrvm11jt.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load2
|
|
12
|
+
} from "./pty-xy3betfq.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-t7rtampj.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput4,
|
|
24
|
+
Service: () => Service41,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node44
|
|
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";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service41 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service80;
|
|
59
|
-
return
|
|
59
|
+
return Service41.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;
|
|
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
99
99
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
100
100
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
101
101
|
}),
|
|
102
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
102
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load2(db, sessionID)),
|
|
103
103
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
104
104
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
105
105
|
return row ? {
|
|
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
126
126
|
})
|
|
127
127
|
});
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node44 = makeGlobalNode({ service: Service41, layer, deps: [node85] });
|
|
130
130
|
|
|
131
|
-
export {
|
|
131
|
+
export { ListInput4, Service41, node44, exports_store };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event16,
|
|
13
|
+
ID: () => ID13,
|
|
14
|
+
Info: () => Info27,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode-ai/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID13 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info27 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event16 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID13, Current3, Info27, UpdateInput4, Event16, Vcs3, exports_schema };
|