@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service72
|
|
4
|
+
} from "./location-services-bgbwxvyc.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service50
|
|
8
|
+
} from "./location-services-kb6kqgh4.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-k6300pcm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service58
|
|
14
|
+
} from "./location-services-x0ehmrev.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service69
|
|
18
|
+
} from "./location-services-6zrjyzhx.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service25
|
|
21
|
+
} from "./location-services-ew6s4pdb.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make5
|
|
27
|
+
} from "./location-services-xpx0dzdt.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Output: () => Output7,
|
|
37
|
+
Plugin: () => Plugin28,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description3,
|
|
40
|
+
name: () => name10
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name10 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input10 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input8 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output7 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description3 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description5 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin28 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service25;
|
|
84
|
+
const jobs = yield* Service58;
|
|
85
|
+
const agents = yield* Service72;
|
|
86
|
+
const config = yield* Service50;
|
|
87
|
+
const permission = yield* Service69;
|
|
88
|
+
const subagents = yield* make5;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name10,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description3,
|
|
93
|
+
input: Input10,
|
|
94
|
+
output: Output7,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin9 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name10,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin9 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID15.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name10];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name10, Input10, Output7, description3, Plugin28, exports_subagent };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-0jn70awm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-6zrjyzhx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event16,
|
|
21
|
+
ID: () => ID12,
|
|
22
|
+
Info: () => Info25,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service68,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node73,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event16 } from "@opencode-ai/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source4 = Skill.Source;
|
|
42
|
+
var Info25 = Skill.Info;
|
|
43
|
+
var ID12 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service68 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID12.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID12.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID12.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID12.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service68.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node73 = makeLocationNode({
|
|
112
|
+
service: Service68,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info25, ID12, Name2, available2, toModelOutput3, prepare3, Service68, node73, exports_skill5, Event16 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./location-services-gm8dhtry.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-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* Service47;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info16
|
|
6
|
+
} from "./location-services-hha4zry8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info15
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info16)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info15, exports_agent3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service75,
|
|
6
|
+
node80
|
|
7
|
+
} from "./location-services-p519a7hj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service20,
|
|
10
|
+
node24
|
|
11
|
+
} from "./location-services-dts5axtv.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service19,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node23,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service19 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const ripgrep = yield* Service20;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service19.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service75;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service19.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service19.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service75;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service19, layer: layer9(options), deps: [node80, node24] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node23 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service19, ripgrepLayer2, fffLayer2, layer9, configured2, node23, exports_search };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-xgf08a2e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./location-services-jepxwv21.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-4py4wtg5.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-rq68kahz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service27
|
|
18
|
+
} from "./location-services-ec7wcf70.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-services-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/generate.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
SessionGenerate: () =>
|
|
24
|
+
var exports_generate2 = {};
|
|
25
|
+
__export(exports_generate2, {
|
|
26
|
+
SessionGenerate: () => exports_generate2,
|
|
27
27
|
generate: () => generate3
|
|
28
28
|
});
|
|
29
29
|
import { LLMClient, Message } from "@opencode-ai/ai";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
31
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
32
|
-
const instances = yield*
|
|
32
|
+
const instances = yield* Service57;
|
|
33
33
|
const database = yield* Service80;
|
|
34
34
|
const llm = yield* LLMClient.Service;
|
|
35
35
|
return yield* Effect.gen(function* () {
|
|
36
36
|
yield* awaitActivation2;
|
|
37
|
-
const context = yield*
|
|
37
|
+
const context = yield* Service27;
|
|
38
38
|
const selection = yield* context.select(input.session.id);
|
|
39
39
|
const model = yield* context.resolveModel(selection.session);
|
|
40
40
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions);
|
|
@@ -68,4 +68,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
68
68
|
}).pipe(instances.provide(input.session));
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
-
export { generate3,
|
|
71
|
+
export { generate3, exports_generate2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode-ai/schema/session";
|
|
3
3
|
import { Session } from "@opencode-ai/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID16 = Session.ID;
|
|
5
|
+
var Info28 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID16, Info28, SessionSchema2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-xgf08a2e.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-0jn70awm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./location-services-jepxwv21.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-p8qxwesx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service43
|
|
16
|
+
} from "./location-services-v8phnrpr.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-mntxs535.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-982e01ww.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-services-ydpy9pg8.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-services-hrvm11jt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-services-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service57;
|
|
46
46
|
const database = yield* Service80;
|
|
47
47
|
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service43;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service57;
|
|
78
78
|
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service43;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|