@opencode-ai/core 0.0.0-dev-19214 → 0.0.0-dev-19217
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{shell-6v3jf47k.js → location-services-00x5t0cs.js} +19 -19
- package/dist/chunks/{shell-768fctrn.js → location-services-011h4yth.js} +11 -11
- package/dist/chunks/{shell-7haxhjsc.js → location-services-0cv24hqy.js} +1 -1
- package/dist/chunks/{shell-0e0xafbb.js → location-services-0e0xafbb.js} +2 -2
- package/dist/chunks/{shell-6ff6vtqe.js → location-services-0etsat71.js} +5 -5
- package/dist/chunks/{shell-zmghpns8.js → location-services-0jn70awm.js} +4 -4
- package/dist/chunks/{shell-2pb5ppxq.js → location-services-0jz3vdqx.js} +9 -9
- package/dist/chunks/{shell-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-0s9ayhjt.js → location-services-0s9ayhjt.js} +1 -1
- package/dist/chunks/{shell-xmwqh1zw.js → location-services-0xv5jnwt.js} +37 -37
- package/dist/chunks/{shell-9199mjkg.js → location-services-1149f9m6.js} +46 -46
- package/dist/chunks/{shell-wmwak4mn.js → location-services-11ypdpkg.js} +30 -30
- package/dist/chunks/{shell-8fvescvn.js → location-services-13dhzf2r.js} +11 -11
- package/dist/chunks/{shell-wc7kexz2.js → location-services-14q0m41q.js} +13 -13
- package/dist/chunks/{shell-f1keh2an.js → location-services-17kes6c3.js} +36 -36
- package/dist/chunks/{shell-hn4sjpb5.js → location-services-19bt37k1.js} +2 -2
- package/dist/chunks/{shell-yp2x3t23.js → location-services-1acjjqhc.js} +4 -4
- package/dist/chunks/{shell-1ct4r87x.js → location-services-1ct4r87x.js} +1 -1
- package/dist/chunks/{shell-w0nm8ced.js → location-services-1hwe4fz6.js} +24 -24
- package/dist/chunks/{shell-kyb951k0.js → location-services-1ycr9rqm.js} +3 -3
- package/dist/chunks/{shell-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{shell-2402vzrj.js → location-services-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-4039hvv9.js → location-services-27qchnt0.js} +10 -10
- package/dist/chunks/{shell-n5vm294d.js → location-services-2a5a6t3a.js} +29 -29
- package/dist/chunks/{shell-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-0bmd60eh.js → location-services-2atvjna1.js} +24 -24
- package/dist/chunks/{shell-2ht70gj7.js → location-services-2ht70gj7.js} +1 -1
- package/dist/chunks/{shell-4g0b7sjj.js → location-services-2hwvdazv.js} +17 -17
- package/dist/chunks/{shell-3gzfz3hk.js → location-services-2j81asyh.js} +25 -25
- package/dist/chunks/location-services-2t5bfwnz.js +460 -0
- package/dist/chunks/{shell-4qjtp74j.js → location-services-36vsdr69.js} +4 -4
- package/dist/chunks/{shell-gdvy8fx6.js → location-services-3fc6dm20.js} +4 -4
- package/dist/chunks/{shell-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-5chzen2f.js → location-services-3hze1m31.js} +16 -16
- package/dist/chunks/{shell-nd9cq3a7.js → location-services-3jqpdxqh.js} +9 -9
- package/dist/chunks/{shell-3qzbfqsy.js → location-services-3qzbfqsy.js} +2 -2
- package/dist/chunks/{shell-wxx0ch5c.js → location-services-3r4cqkhr.js} +26 -26
- package/dist/chunks/{shell-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-74jy76yg.js → location-services-3yevh190.js} +1 -1
- package/dist/chunks/{shell-42nrxqjf.js → location-services-41g3dawq.js} +33 -33
- package/dist/chunks/{shell-famd3pv6.js → location-services-41mncz27.js} +5 -5
- package/dist/chunks/{shell-454k5vzh.js → location-services-454k5vzh.js} +1 -1
- package/dist/chunks/{shell-jq9g1dav.js → location-services-4py4wtg5.js} +10 -10
- package/dist/chunks/{shell-4r2nyarf.js → location-services-4r2nyarf.js} +1 -1
- package/dist/chunks/{shell-3bjb2hjh.js → location-services-4v96mfas.js} +27 -27
- package/dist/chunks/{shell-0m561qeb.js → location-services-4yp29dye.js} +11 -11
- package/dist/chunks/{shell-56gdpj1q.js → location-services-56gdpj1q.js} +2 -2
- package/dist/chunks/{shell-q9b8xy67.js → location-services-58x3rwhh.js} +10 -10
- package/dist/chunks/{shell-af7y0kpf.js → location-services-59a9q0c9.js} +11 -11
- package/dist/chunks/{shell-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-5fmxt4p5.js → location-services-5fmxt4p5.js} +1 -1
- package/dist/chunks/{shell-5jvc5tg2.js → location-services-5jvc5tg2.js} +1 -1
- package/dist/chunks/location-services-5y1bcw76.js +22 -0
- package/dist/chunks/{shell-j34gsgr1.js → location-services-64q9m0nc.js} +19 -19
- package/dist/chunks/{shell-cqn5ay5r.js → location-services-6aw1783e.js} +30 -30
- package/dist/chunks/{shell-9660t85j.js → location-services-6zrjyzhx.js} +60 -60
- package/dist/chunks/{shell-711hfp6y.js → location-services-711hfp6y.js} +2 -2
- package/dist/chunks/{shell-72nftnjy.js → location-services-72nftnjy.js} +2 -2
- package/dist/chunks/{shell-mtcjf44p.js → location-services-75yf2d83.js} +8 -8
- package/dist/chunks/{shell-ff1h9ct4.js → location-services-78es4yvf.js} +22 -22
- package/dist/chunks/{shell-5fc6d9pe.js → location-services-7a9665ac.js} +20 -20
- package/dist/chunks/{shell-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-qgn6gcr1.js → location-services-7dqw4kz8.js} +5 -5
- package/dist/chunks/{shell-yw9364ag.js → location-services-7grmgsg7.js} +4 -4
- package/dist/chunks/{shell-av8xxqjs.js → location-services-7p8ma9rt.js} +5 -5
- package/dist/chunks/{shell-2b10552f.js → location-services-7r58dpc0.js} +8 -8
- package/dist/chunks/{shell-ebbc4kwn.js → location-services-7rp97fxb.js} +26 -26
- package/dist/chunks/{shell-73tb2d7t.js → location-services-7yh4e7ss.js} +3 -3
- package/dist/chunks/location-services-7zk4hah4.js +4 -0
- package/dist/chunks/{shell-e6cve5mm.js → location-services-7zmvhjgk.js} +31 -31
- package/dist/chunks/{shell-1rx77as6.js → location-services-818e5b7h.js} +30 -30
- package/dist/chunks/{shell-2vt5h35m.js → location-services-842ppk4g.js} +29 -29
- package/dist/chunks/{shell-95z3gcrg.js → location-services-87vzjqvg.js} +4 -4
- package/dist/chunks/{shell-ez6kpqxh.js → location-services-8e0cxs1v.js} +22 -22
- package/dist/chunks/{shell-apamhaje.js → location-services-8z28gvyf.js} +32 -32
- package/dist/chunks/{shell-y2cqme3r.js → location-services-93a8yfjt.js} +5 -5
- package/dist/chunks/{shell-v0z4favv.js → location-services-9424kmmy.js} +7 -7
- package/dist/chunks/location-services-9cwr0qbq.js +247 -0
- package/dist/chunks/{shell-3jj6bjb6.js → location-services-9d4efts8.js} +5 -5
- package/dist/chunks/{shell-pdy88f7k.js → location-services-9q7mdqbr.js} +6 -6
- package/dist/chunks/{shell-9qm9egsn.js → location-services-9qm9egsn.js} +2 -2
- package/dist/chunks/{shell-hycyp8g1.js → location-services-9sb86xv6.js} +37 -37
- package/dist/chunks/{shell-3kbcwn9y.js → location-services-9tpb97z2.js} +17 -17
- package/dist/chunks/{shell-cmwx9h7j.js → location-services-9tq58zg8.js} +4 -4
- package/dist/chunks/{shell-j80pgsaj.js → location-services-a18qrwy7.js} +11 -11
- package/dist/chunks/{shell-rzejcw32.js → location-services-a9zfrvqc.js} +5 -5
- package/dist/chunks/{shell-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-00m11tas.js → location-services-ag6t9w77.js} +14 -14
- package/dist/chunks/{shell-ajtjthsy.js → location-services-ajtjthsy.js} +2 -2
- package/dist/chunks/{shell-hjp2pbpf.js → location-services-at9jh15n.js} +1 -1
- package/dist/chunks/{shell-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-yqgcr8m8.js → location-services-b900m3ym.js} +25 -25
- package/dist/chunks/{shell-b9wsbatv.js → location-services-b9wsbatv.js} +1 -1
- package/dist/chunks/{shell-9kksqv7m.js → location-services-bemd59wz.js} +9 -9
- package/dist/chunks/{shell-03f98ybe.js → location-services-bgbwxvyc.js} +24 -24
- package/dist/chunks/{shell-wkzk3h6w.js → location-services-bj4vwm3q.js} +14 -14
- package/dist/chunks/{shell-r8cfqb6n.js → location-services-br56pb2k.js} +171 -171
- package/dist/chunks/{shell-a9c7wcwq.js → location-services-brtzwm95.js} +12 -12
- package/dist/chunks/{shell-xg3vtz5h.js → location-services-bva7vcjq.js} +4 -4
- package/dist/chunks/{shell-b9mymrzg.js → location-services-bw1qan86.js} +23 -23
- package/dist/chunks/{shell-gtdavqjy.js → location-services-bx87j58v.js} +17 -17
- package/dist/chunks/location-services-by5v678g.js +18 -0
- package/dist/chunks/{shell-v8hftjms.js → location-services-c64qezrb.js} +19 -19
- package/dist/chunks/{shell-447tz61m.js → location-services-c78av6ax.js} +25 -25
- package/dist/chunks/{shell-ddcwh8jf.js → location-services-c97n56v4.js} +6 -6
- package/dist/chunks/{shell-a26qnsqg.js → location-services-c98sk4k2.js} +16 -16
- package/dist/chunks/{shell-nwrk5bab.js → location-services-cad3bs4j.js} +37 -37
- package/dist/chunks/{shell-15wrc8zw.js → location-services-cm9r9xbg.js} +11 -11
- package/dist/chunks/{shell-xy6tr93g.js → location-services-cmhntd7c.js} +10 -10
- package/dist/chunks/{shell-j3m9zsv2.js → location-services-cs8d39tz.js} +25 -25
- package/dist/chunks/{shell-d72308c8.js → location-services-d72308c8.js} +2 -2
- package/dist/chunks/{shell-h1byzm8g.js → location-services-d80z8c0m.js} +9 -9
- package/dist/chunks/{shell-az9b9mm6.js → location-services-dbjehjtf.js} +4 -4
- package/dist/chunks/{shell-cgqryxpd.js → location-services-dkshpdss.js} +5 -5
- package/dist/chunks/{shell-y71avatq.js → location-services-dpkg50ah.js} +4 -4
- package/dist/chunks/{shell-rpqdjjqf.js → location-services-dqvvg7d5.js} +12 -12
- package/dist/chunks/{shell-v623p3vn.js → location-services-drjjaw3s.js} +8 -8
- package/dist/chunks/{shell-kvxwx3nk.js → location-services-dts5axtv.js} +18 -18
- package/dist/chunks/{shell-anhky6p6.js → location-services-dw6cz3sh.js} +16 -16
- package/dist/chunks/{shell-ex76qa1h.js → location-services-dw6h8nn9.js} +17 -17
- package/dist/chunks/{shell-smfx8wrd.js → location-services-e7tnha1m.js} +15 -15
- package/dist/chunks/{shell-jzyxh6de.js → location-services-ebpyyter.js} +28 -28
- package/dist/chunks/{shell-st0xy9pc.js → location-services-ec7wcf70.js} +87 -87
- package/dist/chunks/{shell-e9ez9tj0.js → location-services-eeap19eg.js} +26 -26
- package/dist/chunks/{shell-mtvcp45q.js → location-services-en2byfe9.js} +15 -15
- package/dist/chunks/{shell-0jskpge6.js → location-services-enz1smv7.js} +4 -4
- package/dist/chunks/{shell-00aww1yf.js → location-services-ettb2whr.js} +2 -2
- package/dist/chunks/{shell-mt97rwwj.js → location-services-ev0ent4x.js} +15 -15
- package/dist/chunks/{shell-yw1br2hz.js → location-services-ew6s4pdb.js} +84 -84
- package/dist/chunks/{shell-2qzq6ga3.js → location-services-f021cen3.js} +8 -8
- package/dist/chunks/{shell-e83y27r5.js → location-services-fk21kn01.js} +7 -7
- package/dist/chunks/{shell-nag7dxjf.js → location-services-fqrxtbzb.js} +5 -5
- package/dist/chunks/{shell-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-qhchxjqx.js → location-services-fxxa7ryp.js} +8 -8
- package/dist/chunks/{shell-fxypknc8.js → location-services-fxypknc8.js} +1 -1
- package/dist/chunks/{shell-4bnef52n.js → location-services-ga85tpka.js} +25 -25
- package/dist/chunks/{shell-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-vnwmzs4a.js → location-services-gfhhve88.js} +5 -5
- package/dist/chunks/{shell-gvphy7jk.js → location-services-ggvh81pv.js} +6 -6
- package/dist/chunks/{shell-ny0wre0x.js → location-services-ghnh6cjj.js} +16 -16
- package/dist/chunks/{shell-f0vxf23b.js → location-services-gm8dhtry.js} +24 -24
- package/dist/chunks/{shell-dsf572e0.js → location-services-gr3vkft5.js} +4 -4
- package/dist/chunks/{shell-n3m3nbex.js → location-services-gyxtj4g4.js} +4 -4
- package/dist/chunks/{shell-e0y4b763.js → location-services-h2p9xjbs.js} +19 -19
- package/dist/chunks/{shell-1vbd6b48.js → location-services-h3ddmve3.js} +20 -20
- package/dist/chunks/{shell-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-swx5t4h5.js → location-services-hc5rdzwx.js} +11 -11
- package/dist/chunks/{shell-heyhwy2w.js → location-services-heyhwy2w.js} +1 -1
- package/dist/chunks/{shell-7w2wm759.js → location-services-hha4zry8.js} +20 -20
- package/dist/chunks/{shell-p58t2f8x.js → location-services-hrem2xze.js} +27 -27
- package/dist/chunks/{shell-mwm6j4mv.js → location-services-hrq6749d.js} +14 -14
- package/dist/chunks/{shell-hrvm11jt.js → location-services-hrvm11jt.js} +3 -3
- package/dist/chunks/{shell-be80r41v.js → location-services-htfs0vqw.js} +32 -32
- package/dist/chunks/{shell-m4bpwynw.js → location-services-hvwy79ny.js} +8 -8
- package/dist/chunks/{shell-vqe9fq18.js → location-services-hw16a779.js} +1 -1
- package/dist/chunks/{shell-kvsjn1dr.js → location-services-hw4pv20g.js} +2 -2
- package/dist/chunks/{shell-4rp8h9vr.js → location-services-j4txnape.js} +9 -9
- package/dist/chunks/{shell-bcezcar3.js → location-services-je9hks3h.js} +5 -5
- package/dist/chunks/{shell-8fsmte50.js → location-services-jepxwv21.js} +6 -6
- package/dist/chunks/{shell-44tjj06n.js → location-services-jj4chnxp.js} +41 -41
- package/dist/chunks/{shell-3yfy8pbr.js → location-services-jv71mprp.js} +24 -24
- package/dist/chunks/{shell-yzbh0z81.js → location-services-jwgx2stf.js} +4 -4
- package/dist/chunks/{shell-xnf7zpzd.js → location-services-jy1b6ewz.js} +11 -11
- package/dist/chunks/{shell-46ypjb8x.js → location-services-jycq5tmb.js} +30 -30
- package/dist/chunks/{shell-8433ak71.js → location-services-k3zdj9v5.js} +15 -15
- package/dist/chunks/{shell-k4bwy1x5.js → location-services-k4bwy1x5.js} +1 -1
- package/dist/chunks/{shell-wkjngxy5.js → location-services-k6300pcm.js} +3 -3
- package/dist/chunks/{shell-wd340t2h.js → location-services-k6d03e4p.js} +20 -20
- package/dist/chunks/{shell-ryhm87t0.js → location-services-kb6kqgh4.js} +43 -43
- package/dist/chunks/{shell-kg06axw8.js → location-services-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-jv6tbxxe.js → location-services-kj7zcbhz.js} +8 -8
- package/dist/chunks/{shell-w7q2j5hm.js → location-services-knhsbq7n.js} +7 -7
- package/dist/chunks/{shell-wz16cg5z.js → location-services-ksq55409.js} +20 -20
- package/dist/chunks/{shell-4rqy6gt6.js → location-services-kz954rct.js} +10 -10
- package/dist/chunks/{shell-871gwe26.js → location-services-m1xpw8ab.js} +23 -23
- package/dist/chunks/{shell-759pz1a2.js → location-services-m4535t75.js} +8 -8
- package/dist/chunks/{shell-pbhkjpds.js → location-services-m5045k8y.js} +9 -9
- package/dist/chunks/{shell-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-0tm8rvrz.js → location-services-mb1e1czd.js} +6 -6
- package/dist/chunks/{shell-c71cneyv.js → location-services-msggbjmt.js} +9 -9
- package/dist/chunks/{shell-sa3v8zc4.js → location-services-mxhzfwah.js} +10 -10
- package/dist/chunks/{shell-waq1hr54.js → location-services-n7sc385v.js} +15 -15
- package/dist/chunks/{shell-e82z9tr0.js → location-services-nhy5jxhy.js} +7 -7
- package/dist/chunks/{shell-pjedbq3k.js → location-services-nkcwakxz.js} +6 -6
- package/dist/chunks/{shell-zmdaybe6.js → location-services-nqfx3ba2.js} +10 -10
- package/dist/chunks/{shell-xk1h8syj.js → location-services-p0z4cnf4.js} +9 -9
- package/dist/chunks/{shell-7769r81k.js → location-services-p519a7hj.js} +16 -16
- package/dist/chunks/{shell-w7q1nt0x.js → location-services-p8hqp9sy.js} +15 -15
- package/dist/chunks/{shell-z0hzsv9t.js → location-services-p9qkrcxv.js} +16 -16
- package/dist/chunks/{shell-j935v87r.js → location-services-paphc93g.js} +2 -2
- package/dist/chunks/{shell-75zmbk21.js → location-services-phk1v4hg.js} +47 -47
- package/dist/chunks/{shell-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{shell-zvpejf85.js → location-services-pnec0z95.js} +46 -46
- package/dist/chunks/{shell-3gm33j7d.js → location-services-pnkase04.js} +17 -17
- package/dist/chunks/{shell-s440spbv.js → location-services-pvbx7q7g.js} +22 -22
- package/dist/chunks/{shell-hn57h045.js → location-services-q5asdkn4.js} +4 -4
- package/dist/chunks/{shell-5fkgmv3x.js → location-services-q65nf1dj.js} +32 -32
- package/dist/chunks/{shell-pjjtcy2p.js → location-services-qak3npwc.js} +10 -10
- package/dist/chunks/{shell-n87qk14a.js → location-services-qc44gpch.js} +26 -26
- package/dist/chunks/{shell-x629tvq7.js → location-services-qcge6tej.js} +20 -20
- package/dist/chunks/{shell-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-rzyn4jtv.js → location-services-r2wnyzb0.js} +1 -1
- package/dist/chunks/{shell-5ctdmadx.js → location-services-r67ewn20.js} +8 -8
- package/dist/chunks/{shell-r8dhm0tv.js → location-services-r8dhm0tv.js} +1 -1
- package/dist/chunks/{shell-s8nmbtd4.js → location-services-reacnbnm.js} +9 -9
- package/dist/chunks/{shell-k3djfchk.js → location-services-rfhfqqty.js} +18 -18
- package/dist/chunks/{shell-z3zp40bp.js → location-services-rmfj7rc5.js} +13 -13
- package/dist/chunks/{shell-2qrq5jg3.js → location-services-rnynvazd.js} +3 -3
- package/dist/chunks/{shell-gd943ppd.js → location-services-rq68kahz.js} +27 -27
- package/dist/chunks/{shell-jzqf3jx6.js → location-services-rqtk6744.js} +13 -13
- package/dist/chunks/{shell-ex0wtrk2.js → location-services-rsde5whr.js} +12 -12
- package/dist/chunks/{shell-qr58g126.js → location-services-rvwxxhqs.js} +7 -7
- package/dist/chunks/{shell-sba4qhjf.js → location-services-sba4qhjf.js} +1 -1
- package/dist/chunks/{shell-ng39vjdn.js → location-services-sfgd47vq.js} +2 -2
- package/dist/chunks/{shell-dy3b9v5q.js → location-services-snscvb6q.js} +9 -9
- package/dist/chunks/{shell-ane3y94c.js → location-services-stbxxgx1.js} +11 -11
- package/dist/chunks/{shell-bf0ztrs3.js → location-services-sx1n432n.js} +4 -4
- package/dist/chunks/{shell-806j49yq.js → location-services-sxz6gkc3.js} +7 -7
- package/dist/chunks/{shell-t2h14k12.js → location-services-sye64zbn.js} +11 -11
- package/dist/chunks/{shell-tcxv96y6.js → location-services-t0pbnp57.js} +17 -17
- package/dist/chunks/{shell-s85evsrx.js → location-services-t0v8yr3m.js} +15 -15
- package/dist/chunks/{shell-s375ke01.js → location-services-t9rcpgsh.js} +28 -28
- package/dist/chunks/{shell-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-esp3dmb3.js → location-services-thrj3fqh.js} +3 -3
- package/dist/chunks/{shell-tjykrgmx.js → location-services-tjykrgmx.js} +1 -1
- package/dist/chunks/{shell-rh6rd7ag.js → location-services-tvtwyg9m.js} +4 -4
- package/dist/chunks/{shell-g3k4d7kp.js → location-services-txr8jkjb.js} +11 -11
- package/dist/chunks/{shell-6kgc56n8.js → location-services-v2p4rfxw.js} +6 -6
- package/dist/chunks/{shell-07st23v6.js → location-services-v8phnrpr.js} +32 -32
- package/dist/chunks/{shell-45t9anda.js → location-services-va63defj.js} +1 -1
- package/dist/chunks/{shell-4t5xtn3n.js → location-services-vfxc3xsp.js} +20 -20
- package/dist/chunks/{shell-vprv6wac.js → location-services-vgebfnwn.js} +54 -54
- package/dist/chunks/{shell-crpvf69r.js → location-services-vhbte2r2.js} +18 -18
- package/dist/chunks/{shell-n8z0sp8q.js → location-services-vrgvmwy9.js} +24 -24
- package/dist/chunks/{shell-pxednv00.js → location-services-vw6n2197.js} +5 -5
- package/dist/chunks/{shell-8k5e3xq5.js → location-services-vyjks95a.js} +53 -53
- package/dist/chunks/{shell-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-1tq060df.js → location-services-w4arg62q.js} +6 -6
- package/dist/chunks/{shell-d8bdgt1m.js → location-services-wa8y595e.js} +10 -10
- package/dist/chunks/{shell-swa286b8.js → location-services-wbjzz41v.js} +28 -28
- package/dist/chunks/{shell-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{shell-5nzbd5n0.js → location-services-wm0j0wtm.js} +5 -5
- package/dist/chunks/{shell-y68fmg6q.js → location-services-wrcep6h9.js} +6 -6
- package/dist/chunks/{shell-htbxhgrz.js → location-services-x0ehmrev.js} +17 -17
- package/dist/chunks/{shell-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-vxzwg83z.js → location-services-x6tzgbrz.js} +15 -15
- package/dist/chunks/{shell-yj7asw96.js → location-services-x9k6tsrg.js} +17 -17
- package/dist/chunks/{shell-vk2ezsxw.js → location-services-x9metz0b.js} +23 -23
- package/dist/chunks/{shell-7cpqsz3a.js → location-services-xc8jgndy.js} +35 -35
- package/dist/chunks/{shell-q57b8tdc.js → location-services-xezrmqac.js} +63 -63
- package/dist/chunks/{shell-jqrqy21d.js → location-services-xgf08a2e.js} +3 -3
- package/dist/chunks/{shell-2gdv49he.js → location-services-xp2345da.js} +41 -41
- package/dist/chunks/{shell-9yf2qrwc.js → location-services-xpx0dzdt.js} +11 -11
- package/dist/chunks/{shell-9t99dw5q.js → location-services-xscznp95.js} +1 -1
- package/dist/chunks/{shell-pprv0vrv.js → location-services-xvv8td38.js} +32 -32
- package/dist/chunks/{shell-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-nxrz604p.js → location-services-ycv9gdpt.js} +9 -9
- package/dist/chunks/{shell-dsfx0j74.js → location-services-ydpy9pg8.js} +9 -9
- package/dist/chunks/{shell-yfbd16n1.js → location-services-yfbd16n1.js} +2 -2
- package/dist/chunks/{shell-8mtzvntg.js → location-services-yqw5g7gc.js} +22 -22
- package/dist/chunks/{shell-5n18k7nt.js → location-services-yssexhes.js} +8 -8
- package/dist/chunks/{shell-nzfzr9h0.js → location-services-ytep83yp.js} +43 -43
- package/dist/chunks/{shell-vkh6dqf1.js → location-services-yvcft4ah.js} +5 -5
- package/dist/chunks/{shell-xwmwycrq.js → location-services-yyq5vb4a.js} +17 -17
- package/dist/chunks/{shell-z1k01bn4.js → location-services-z1k01bn4.js} +2 -2
- package/dist/chunks/{shell-t98tbty9.js → location-services-z2je33ah.js} +11 -11
- package/dist/chunks/{shell-kfqx8kb7.js → location-services-z33f84t5.js} +6 -6
- package/dist/chunks/{shell-29x78va6.js → location-services-z63w68vq.js} +6 -6
- package/dist/chunks/{shell-7k21e5kk.js → location-services-zg79n793.js} +6 -6
- package/dist/chunks/{shell-46e97tr7.js → location-services-zkpmw5vh.js} +10 -10
- package/dist/chunks/{shell-jvc265pg.js → location-services-zn2cbnfs.js} +9 -9
- package/dist/chunks/{shell-t2cat712.js → location-services-zrw7ts6n.js} +11 -11
- package/dist/chunks/{shell-76wr4mq2.js → location-services-ztnyd3e4.js} +9 -9
- package/dist/chunks/{shell-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- 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 +115 -115
- package/dist/config/plugin/command.js +206 -206
- 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 +122 -122
- 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 +88 -88
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- 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 +3 -3
- 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 +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +347 -347
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- 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 +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- 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 +96 -96
- package/dist/plugin/command.js +94 -94
- 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 +7 -7
- package/dist/plugin/optimize.js +2 -2
- 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 +78 -78
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- 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 +92 -92
- package/dist/reference/instructions.js +82 -82
- 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 +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +126 -126
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- 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 +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +88 -88
- 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 +110 -110
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- 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 +5 -5
- package/dist/session/title.js +150 -150
- 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 +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- 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 +113 -113
- package/dist/tool/plugin/grep.js +119 -119
- 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 +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +104 -104
- 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 +8 -8
- package/dist/tool.js +11 -11
- 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 +7 -7
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- 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 +83 -83
- 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 +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/shell-b3t4emvz.js +0 -22
- package/dist/chunks/shell-bax423tc.js +0 -247
- package/dist/chunks/shell-c9tsen2f.js +0 -460
- package/dist/chunks/shell-mf5kcrna.js +0 -4
- package/dist/chunks/shell-q509s3k3.js +0 -18
- /package/dist/chunks/{shell-0fabt78z.js → location-services-0fabt78z.js} +0 -0
- /package/dist/chunks/{shell-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t738kvx.js → location-services-3t738kvx.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-41nvscxy.js → location-services-41nvscxy.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-982e01ww.js → location-services-982e01ww.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a1tpkmh4.js → location-services-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mntxs535.js → location-services-mntxs535.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p8qxwesx.js → location-services-p8qxwesx.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-se0s1eqw.js → location-services-se0s1eqw.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x1b8g1yb.js → location-services-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → location-services-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zbjnn3ac.js → location-services-zbjnn3ac.js} +0 -0
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./location-services-gm8dhtry.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service21,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-rqtk6744.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service14
|
|
11
|
+
} from "./location-services-x6tzgbrz.js";
|
|
12
12
|
import {
|
|
13
13
|
externalDirectoryPermission2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service22
|
|
15
|
+
} from "./location-services-c98sk4k2.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service69
|
|
18
|
+
} from "./location-services-6zrjyzhx.js";
|
|
19
19
|
import {
|
|
20
20
|
fileDiff2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-6prwharc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/write.ts
|
|
27
27
|
var exports_write = {};
|
|
28
28
|
__export(exports_write, {
|
|
29
|
-
Input: () =>
|
|
30
|
-
Output: () =>
|
|
31
|
-
Plugin: () =>
|
|
29
|
+
Input: () => Input2,
|
|
30
|
+
Output: () => Output2,
|
|
31
|
+
Plugin: () => Plugin19,
|
|
32
32
|
WriteTool: () => exports_write,
|
|
33
|
-
name: () =>
|
|
34
|
-
toModelContent: () =>
|
|
33
|
+
name: () => name2,
|
|
34
|
+
toModelContent: () => toModelContent2
|
|
35
35
|
});
|
|
36
36
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
37
37
|
import { Effect, Schema } from "effect";
|
|
38
38
|
import { Bom } from "@opencode-ai/util/bom";
|
|
39
|
-
var
|
|
40
|
-
var
|
|
39
|
+
var name2 = "write";
|
|
40
|
+
var Input2 = Schema.Struct({
|
|
41
41
|
path: Schema.String.annotate({
|
|
42
42
|
description: "Path to the file to write to"
|
|
43
43
|
}),
|
|
44
44
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
45
45
|
});
|
|
46
|
-
var
|
|
46
|
+
var Output2 = Schema.Struct({
|
|
47
47
|
operation: Schema.Literal("write"),
|
|
48
48
|
target: Schema.String,
|
|
49
49
|
resource: Schema.String,
|
|
50
50
|
existed: Schema.Boolean
|
|
51
51
|
});
|
|
52
|
-
var
|
|
53
|
-
var
|
|
52
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
53
|
+
var Plugin19 = {
|
|
54
54
|
id: "opencode.tool.write",
|
|
55
55
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
56
|
-
const mutation = yield*
|
|
57
|
-
const fileMutation = yield*
|
|
58
|
-
const environment = yield*
|
|
59
|
-
const formatter = yield*
|
|
60
|
-
const permission = yield*
|
|
56
|
+
const mutation = yield* Service22;
|
|
57
|
+
const fileMutation = yield* Service21;
|
|
58
|
+
const environment = yield* Service47;
|
|
59
|
+
const formatter = yield* Service14;
|
|
60
|
+
const permission = yield* Service69;
|
|
61
61
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
62
|
-
name:
|
|
62
|
+
name: name2,
|
|
63
63
|
options: { codemode: false, permission: "edit" },
|
|
64
64
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
65
65
|
|
|
66
66
|
Missing parent directories are created automatically.
|
|
67
67
|
|
|
68
68
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
69
|
-
input:
|
|
70
|
-
output:
|
|
69
|
+
input: Input2,
|
|
70
|
+
output: Output2,
|
|
71
71
|
execute: (input, context) => Effect.gen(function* () {
|
|
72
72
|
const source = {
|
|
73
73
|
type: "tool",
|
|
@@ -101,9 +101,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
101
101
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
102
102
|
}
|
|
103
103
|
return result;
|
|
104
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
104
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
105
105
|
})).pipe(Effect.orDie);
|
|
106
106
|
})
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { name2, Input2, Output2, toModelContent2, Plugin19, exports_write };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./location-services-hvwy79ny.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,8 +12,8 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID9,
|
|
16
|
+
Info: () => Info21,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
19
|
Ref: () => Ref3,
|
|
@@ -22,7 +22,7 @@ __export(exports_model2, {
|
|
|
22
22
|
parse: () => parse5
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode-ai/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID9 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -30,7 +30,7 @@ var Compatibility2 = Model.Compatibility;
|
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
32
|
var Ref3 = Model.Ref;
|
|
33
|
-
var
|
|
33
|
+
var Info21 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -41,9 +41,9 @@ function compatibility2(input) {
|
|
|
41
41
|
function parse5(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID10.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID9.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID9, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info21, compatibility2, parse5, exports_model2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-xgf08a2e.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node53
|
|
12
|
+
} from "./location-services-ggvh81pv.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID6,
|
|
25
|
+
Info: () => Info7,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service48,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured6,
|
|
30
|
+
node: () => node52
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID6 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info7 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID6,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info29 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID6,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service48 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured6 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service48,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node53]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info7({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service48.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID6.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node52 = configured6();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID6, Info7, NotFound3, CreateConflict2, Service48, configured6, node52, exports_workspace };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./location-services-p519a7hj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service34
|
|
7
|
+
} from "./location-services-by5v678g.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service66,
|
|
10
|
+
node71
|
|
11
|
+
} from "./location-services-9sb86xv6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node18
|
|
14
|
+
} from "./location-services-h3ddmve3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node6
|
|
17
|
+
} from "./location-services-xp2345da.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node5
|
|
27
27
|
});
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service75;
|
|
32
|
+
const plugins = yield* Service34;
|
|
33
|
+
const worktrees = yield* Service66;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
38
|
+
var node5 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node71, node80, node18, node6]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { node5, exports_refresh };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service73,
|
|
10
|
+
node: () => node78
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service73 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service73.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node78 = makeLocationNode({ service: Service73, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service73, node78, exports_hooks };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./location-services-p519a7hj.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-2hwvdazv.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-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: () => Plugin34,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin34 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service75;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin34, exports_hg };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-0jn70awm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./location-services-v8phnrpr.js";
|
|
7
7
|
import {
|
|
8
8
|
Error3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-pvbx7q7g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./location-services-brtzwm95.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-ydpy9pg8.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-mntxs535.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-enz1smv7.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-tjykrgmx.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-services-3qzbfqsy.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-je9hks3h.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service43;
|
|
58
|
+
const toolOutput = yield* Service46;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./location-services-p519a7hj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./location-services-kb6kqgh4.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-3r4cqkhr.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin2
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode-ai/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin2 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service50;
|
|
35
|
+
const location = yield* Service75;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin2, exports_reference };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./location-services-hvwy79ny.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/snowflake-cortex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -52,7 +52,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
52
52
|
id: "opencode.provider.snowflake.cortex",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
54
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
55
|
-
if (evt.model.providerID !==
|
|
55
|
+
if (evt.model.providerID !== ID10.make("snowflake-cortex"))
|
|
56
56
|
return;
|
|
57
57
|
const token = process.env.SNOWFLAKE_CORTEX_TOKEN ?? process.env.SNOWFLAKE_CORTEX_PAT ?? (typeof evt.options.token === "string" ? evt.options.token : undefined) ?? (typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined);
|
|
58
58
|
const upstream = typeof evt.options.fetch === "function" ? evt.options.fetch : undefined;
|