@opencode/core 0.0.0-dev-19836 → 0.0.0-dev-19837
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{provider-5w7vw2xw.js → location-services-007ywmk0.js} +5 -5
- package/dist/chunks/{provider-rhjbct0v.js → location-services-02nrjc1r.js} +6 -6
- package/dist/chunks/{provider-basr843q.js → location-services-04ndwt4g.js} +5 -5
- package/dist/chunks/location-services-07spk5pt.js +492 -0
- package/dist/chunks/{provider-tcj2t8vk.js → location-services-0hcw47et.js} +2 -2
- package/dist/chunks/{provider-zdwe30dy.js → location-services-0jkw1j53.js} +6 -6
- package/dist/chunks/{provider-8mr3k4h2.js → location-services-0kyknra4.js} +11 -11
- package/dist/chunks/{provider-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{provider-n865fexc.js → location-services-0svzc3ms.js} +40 -40
- package/dist/chunks/{provider-mzpqym4s.js → location-services-100ggytg.js} +26 -26
- package/dist/chunks/{provider-f8nt1psr.js → location-services-11745fj4.js} +23 -23
- package/dist/chunks/{provider-mvyy4qh8.js → location-services-119fgr4a.js} +87 -87
- package/dist/chunks/{provider-nbwvdyvz.js → location-services-1aj08kdp.js} +32 -32
- package/dist/chunks/{provider-1g0680n2.js → location-services-1cn11v2a.js} +44 -44
- package/dist/chunks/{provider-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{provider-qw8em5ng.js → location-services-1frr7fgk.js} +22 -22
- package/dist/chunks/{provider-06dxphr1.js → location-services-1hc11dc4.js} +4 -4
- package/dist/chunks/{provider-1e2dyvvx.js → location-services-1k5rw76t.js} +34 -34
- package/dist/chunks/{provider-9e8cqta3.js → location-services-1kqe5az9.js} +31 -31
- package/dist/chunks/location-services-1x11rq2a.js +18 -0
- package/dist/chunks/{provider-yebb45zj.js → location-services-20da25kr.js} +30 -30
- package/dist/chunks/{provider-h4bz714h.js → location-services-20xfcnp3.js} +6 -6
- package/dist/chunks/{provider-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{provider-3ge4rz06.js → location-services-28xtht7t.js} +8 -8
- package/dist/chunks/{provider-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-57ez7d0k.js → location-services-2fgn2we9.js} +9 -9
- package/dist/chunks/{provider-bz85s9hh.js → location-services-2jz473v5.js} +1 -1
- package/dist/chunks/{provider-qgn6gcr1.js → location-services-2k8khapm.js} +5 -5
- package/dist/chunks/{provider-whc354j7.js → location-services-2qqayhmv.js} +20 -20
- package/dist/chunks/{provider-dzkcnhdc.js → location-services-2v24grjy.js} +18 -18
- package/dist/chunks/{provider-c7yn6ytz.js → location-services-2yhmvnsm.js} +11 -11
- package/dist/chunks/{provider-cq37gk0t.js → location-services-3c4e3q8d.js} +4 -4
- package/dist/chunks/{provider-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-ss7ks4j5.js → location-services-3g6j0hhb.js} +25 -25
- package/dist/chunks/{provider-nda2wghv.js → location-services-3gepfxd6.js} +19 -19
- package/dist/chunks/{provider-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-s9rhvhkx.js → location-services-3k1nbdbw.js} +11 -11
- package/dist/chunks/{provider-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-ksqszy4w.js → location-services-3v834vqe.js} +11 -11
- package/dist/chunks/{provider-w7q1zcrw.js → location-services-478rcqqg.js} +13 -13
- package/dist/chunks/{provider-z159ncje.js → location-services-4mwsasfb.js} +11 -11
- package/dist/chunks/{provider-d06mzzet.js → location-services-4tvzb1sd.js} +29 -29
- package/dist/chunks/{provider-zp9qk7ne.js → location-services-4x60cftr.js} +28 -28
- package/dist/chunks/{provider-78bv9fnp.js → location-services-4y6xseyy.js} +15 -15
- package/dist/chunks/{provider-1htf6gj8.js → location-services-4z50fqkg.js} +90 -90
- package/dist/chunks/{provider-05bgp5qp.js → location-services-4za7tm8v.js} +33 -33
- package/dist/chunks/{provider-mgm5zdqv.js → location-services-55cv1jqh.js} +10 -10
- package/dist/chunks/{provider-1ygqh575.js → location-services-56gdpj1q.js} +9 -9
- package/dist/chunks/{provider-a1bz86dw.js → location-services-5c4hm403.js} +3 -3
- package/dist/chunks/{provider-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{provider-c0f3p06s.js → location-services-5e9qax8s.js} +23 -23
- package/dist/chunks/{provider-p7vtmph1.js → location-services-5mavpc6r.js} +44 -44
- package/dist/chunks/{provider-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{provider-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{provider-v7c1j4fy.js → location-services-6cnycg91.js} +35 -35
- package/dist/chunks/{provider-w4arg62q.js → location-services-6ersrjne.js} +6 -6
- package/dist/chunks/{provider-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
- package/dist/chunks/{provider-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{provider-v2tzk7cv.js → location-services-6x9k2qbp.js} +16 -16
- package/dist/chunks/{provider-5phqnecy.js → location-services-6zz0jjar.js} +9 -9
- package/dist/chunks/{provider-hfczjsw8.js → location-services-71xak4j8.js} +18 -18
- package/dist/chunks/{provider-h489nx9j.js → location-services-734zdf7n.js} +9 -9
- package/dist/chunks/{provider-3b9qt4hj.js → location-services-73m34ham.js} +9 -9
- package/dist/chunks/{provider-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-y7ysfew0.js → location-services-7jybmm05.js} +11 -11
- package/dist/chunks/{provider-mamd5kgb.js → location-services-7teh0s87.js} +25 -25
- package/dist/chunks/{provider-mhkvc446.js → location-services-7yh4e7ss.js} +3 -3
- package/dist/chunks/{provider-fa88dyr4.js → location-services-8462pbya.js} +24 -24
- package/dist/chunks/{provider-k1gkpfdk.js → location-services-8ank75fn.js} +8 -8
- package/dist/chunks/{provider-njm86czr.js → location-services-8bhwq06h.js} +24 -24
- package/dist/chunks/{provider-n8nx7cky.js → location-services-8c7atbhf.js} +32 -32
- package/dist/chunks/{provider-hqpd1xnh.js → location-services-8d664r2w.js} +20 -20
- package/dist/chunks/{provider-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{provider-h2pkw5gw.js → location-services-8jgcgwkq.js} +24 -24
- package/dist/chunks/{provider-vbfgae2j.js → location-services-8tsdq50x.js} +4 -4
- package/dist/chunks/{provider-rgk2ney7.js → location-services-8ze50vt3.js} +17 -17
- package/dist/chunks/{provider-69s15509.js → location-services-97vsxr6d.js} +11 -11
- package/dist/chunks/{provider-p59m71ee.js → location-services-9awzet7k.js} +15 -15
- package/dist/chunks/{provider-d31rezqm.js → location-services-9mnp22fh.js} +18 -18
- package/dist/chunks/{provider-5em3v9t2.js → location-services-9q3wnm91.js} +9 -9
- package/dist/chunks/{provider-r8gxghcv.js → location-services-9q85g4rf.js} +22 -22
- package/dist/chunks/{provider-6cpps8na.js → location-services-9xgkhjnq.js} +12 -12
- package/dist/chunks/{provider-b76baeng.js → location-services-a57b6ez4.js} +32 -32
- package/dist/chunks/{provider-82kndyh8.js → location-services-a6sgp6g3.js} +7 -7
- package/dist/chunks/{provider-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-a2fd5jyn.js → location-services-arwsxrqn.js} +13 -13
- package/dist/chunks/{provider-86tpqd10.js → location-services-b0tpq7vq.js} +22 -22
- package/dist/chunks/{provider-a9bks421.js → location-services-b19zmjmv.js} +28 -28
- package/dist/chunks/{provider-hfn0xp6d.js → location-services-b52vbktb.js} +5 -5
- package/dist/chunks/{provider-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-0r7yqxbf.js → location-services-bgxcxs0p.js} +5 -5
- package/dist/chunks/{provider-pr7veg4m.js → location-services-c21tn5sa.js} +3 -3
- package/dist/chunks/{provider-4drh5h3y.js → location-services-c2ekx4p4.js} +1 -1
- package/dist/chunks/{provider-nbaznm45.js → location-services-c2g18km0.js} +44 -44
- package/dist/chunks/{provider-h6qqq1aa.js → location-services-c2ty4kk7.js} +35 -35
- package/dist/chunks/{provider-g15pfrmb.js → location-services-c3v4h655.js} +13 -13
- package/dist/chunks/{provider-yvh7vk42.js → location-services-cdfy9c07.js} +9 -9
- package/dist/chunks/{provider-zzrdptt8.js → location-services-cmhbnssm.js} +5 -5
- package/dist/chunks/{provider-h6r3nrb9.js → location-services-cpj0znwe.js} +4 -4
- package/dist/chunks/{provider-fjafz3nd.js → location-services-cra404zb.js} +17 -17
- package/dist/chunks/{provider-apx0827f.js → location-services-cw0365tk.js} +5 -5
- package/dist/chunks/{provider-1rh720zf.js → location-services-cyjefzz2.js} +6 -6
- package/dist/chunks/{provider-jtm58g5z.js → location-services-d1fsd9nn.js} +32 -32
- package/dist/chunks/{provider-7py176jj.js → location-services-d7kmcpqg.js} +24 -24
- package/dist/chunks/{provider-yc4tz3dj.js → location-services-dbt573sm.js} +57 -57
- package/dist/chunks/{provider-b580bgdr.js → location-services-de5knrsa.js} +15 -15
- package/dist/chunks/{provider-czpndhbz.js → location-services-dfdf51fy.js} +26 -26
- package/dist/chunks/{provider-fbnf3z29.js → location-services-dg9wag4b.js} +3 -3
- package/dist/chunks/{provider-8p4f9s12.js → location-services-dj2t23y0.js} +2 -2
- package/dist/chunks/{provider-9xvq3m7s.js → location-services-dj9sq318.js} +5 -5
- package/dist/chunks/{provider-2sejkfem.js → location-services-djszqvmq.js} +9 -9
- package/dist/chunks/{provider-y71avatq.js → location-services-dpkg50ah.js} +4 -4
- package/dist/chunks/{provider-drwq78ky.js → location-services-drwq78ky.js} +1 -1
- package/dist/chunks/{provider-03wh323s.js → location-services-ds1hnb50.js} +23 -23
- package/dist/chunks/{provider-7arg0xwe.js → location-services-dw4dv2s2.js} +22 -22
- package/dist/chunks/{provider-kye37pnh.js → location-services-dxjrh372.js} +13 -13
- package/dist/chunks/{provider-j4dv9dx7.js → location-services-e1n7jafy.js} +16 -16
- package/dist/chunks/{provider-wydv7ax3.js → location-services-e6tmc4dn.js} +13 -13
- package/dist/chunks/{provider-arxff2r5.js → location-services-ea3ctmvw.js} +11 -11
- package/dist/chunks/{provider-0t9wd588.js → location-services-eeaf82dq.js} +8 -8
- package/dist/chunks/{provider-emkcrqbg.js → location-services-ef1pmnt8.js} +9 -9
- package/dist/chunks/{provider-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-bdav1pff.js → location-services-ehcepgt9.js} +25 -25
- package/dist/chunks/{provider-1sadxdse.js → location-services-ej836de0.js} +11 -11
- package/dist/chunks/{provider-7zzc33zw.js → location-services-epjjka9c.js} +23 -23
- package/dist/chunks/{provider-erw5rpbs.js → location-services-erw5rpbs.js} +2 -2
- package/dist/chunks/{provider-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{provider-gqsmyx82.js → location-services-ewmpatfj.js} +9 -9
- package/dist/chunks/{provider-65062tcg.js → location-services-f1f2nfdc.js} +10 -10
- package/dist/chunks/{provider-7jh389ga.js → location-services-f24azagy.js} +28 -28
- package/dist/chunks/{provider-74wf7e56.js → location-services-fdjh4knm.js} +7 -7
- package/dist/chunks/{provider-1682qy7f.js → location-services-fdp4he43.js} +27 -27
- package/dist/chunks/{provider-k8ens6qv.js → location-services-ff5b3vsa.js} +27 -27
- package/dist/chunks/{provider-aya99032.js → location-services-fkd4xh6h.js} +18 -18
- package/dist/chunks/{provider-7mwfjdjg.js → location-services-fn2a6dv9.js} +21 -21
- package/dist/chunks/{provider-ksawsn4b.js → location-services-fn4w1dzc.js} +41 -41
- package/dist/chunks/{provider-sgc0b5k4.js → location-services-fs8r9hsj.js} +9 -9
- package/dist/chunks/{provider-8dbgybgw.js → location-services-ftyje675.js} +3 -3
- package/dist/chunks/{provider-75f34rtq.js → location-services-fvx6s9yc.js} +6 -6
- package/dist/chunks/{provider-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/{provider-hwvyndb6.js → location-services-fxmgg4aj.js} +4 -4
- package/dist/chunks/{provider-gztt0stp.js → location-services-g7gv2g3a.js} +176 -176
- package/dist/chunks/{provider-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-f62qkzqr.js → location-services-gg4dpy88.js} +5 -5
- package/dist/chunks/{provider-ftqh13bq.js → location-services-gnvqkg1d.js} +6 -6
- package/dist/chunks/{provider-8atp6zqh.js → location-services-gpk7m87d.js} +5 -5
- package/dist/chunks/{provider-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{provider-gwcwkmv7.js → location-services-h26hwr7h.js} +24 -24
- package/dist/chunks/{provider-cnn77yjf.js → location-services-h2bnk7k6.js} +4 -4
- package/dist/chunks/{provider-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-f828m53h.js → location-services-hdnk95c8.js} +2 -2
- package/dist/chunks/{provider-fx87g1p8.js → location-services-hedftr25.js} +15 -15
- package/dist/chunks/{provider-a3r4dcrj.js → location-services-hkagk5ex.js} +2 -2
- package/dist/chunks/{provider-ygaaqm9q.js → location-services-hph8qc38.js} +9 -9
- package/dist/chunks/{provider-hhm6svje.js → location-services-hsqt0cnh.js} +51 -51
- package/dist/chunks/{provider-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-evpbcqxk.js → location-services-j5n5rv50.js} +14 -14
- package/dist/chunks/{provider-aredzfvk.js → location-services-je1r8zza.js} +4 -4
- package/dist/chunks/{provider-ybhbtxjg.js → location-services-jemfgm91.js} +3 -3
- package/dist/chunks/{provider-as2dbdzv.js → location-services-jg79b14v.js} +35 -35
- package/dist/chunks/{provider-ztvmj9vt.js → location-services-jt7ttpf2.js} +15 -15
- package/dist/chunks/{provider-k3c624dm.js → location-services-k3c624dm.js} +3 -3
- package/dist/chunks/{provider-x3hxzb6n.js → location-services-k73b7wxd.js} +8 -8
- package/dist/chunks/{provider-e2hjzebn.js → location-services-k76fn4kw.js} +4 -4
- package/dist/chunks/{provider-hgw9t808.js → location-services-kanck703.js} +18 -18
- package/dist/chunks/{provider-hhc94xxb.js → location-services-ke1a5261.js} +44 -44
- package/dist/chunks/{provider-x0zfx1ce.js → location-services-kf89s8d6.js} +11 -11
- package/dist/chunks/{provider-mf9fhcz6.js → location-services-kgygn7je.js} +4 -4
- package/dist/chunks/{provider-azz15b0c.js → location-services-khmm5t2n.js} +18 -18
- package/dist/chunks/{provider-fkjmw100.js → location-services-knb7evpn.js} +6 -6
- package/dist/chunks/{provider-s0ktpnqb.js → location-services-kpaq12ty.js} +13 -13
- package/dist/chunks/{provider-magykp64.js → location-services-kvvk39gs.js} +4 -4
- package/dist/chunks/{provider-yaze7axp.js → location-services-kwjzcy53.js} +10 -10
- package/dist/chunks/{provider-cfpkc3c9.js → location-services-m0jqrx5p.js} +2 -2
- package/dist/chunks/{provider-90adh171.js → location-services-m11kk84f.js} +32 -32
- package/dist/chunks/{provider-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-jen70y5q.js → location-services-m4733gfk.js} +11 -11
- package/dist/chunks/{provider-vyqfs9aq.js → location-services-m5fyg1bs.js} +46 -46
- package/dist/chunks/{provider-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-3znt1wpk.js → location-services-mesf747v.js} +9 -9
- package/dist/chunks/{provider-kdde5j3x.js → location-services-mhz5k9vh.js} +42 -42
- package/dist/chunks/{provider-w6d5a1tb.js → location-services-mp0xed7k.js} +27 -27
- package/dist/chunks/{provider-05xfxpq7.js → location-services-mw934p8z.js} +8 -8
- package/dist/chunks/{provider-5rk0k3gd.js → location-services-mwwetm44.js} +6 -6
- package/dist/chunks/{provider-4ckfh27y.js → location-services-n6e9bew6.js} +3 -3
- package/dist/chunks/{provider-4bnvpwd7.js → location-services-n7yhf3k5.js} +6 -6
- package/dist/chunks/{provider-sjdqp3nh.js → location-services-n81afcfa.js} +7 -7
- package/dist/chunks/{provider-jexxy024.js → location-services-ndmv45hp.js} +3 -3
- package/dist/chunks/{provider-yhjdj6k2.js → location-services-nf6k3q5n.js} +11 -11
- package/dist/chunks/{provider-4w04jcng.js → location-services-nf8bga6w.js} +16 -16
- package/dist/chunks/{provider-fcnhywp4.js → location-services-nh6bka7y.js} +35 -35
- package/dist/chunks/{provider-qg0jgkcp.js → location-services-nq7qbqzc.js} +9 -9
- package/dist/chunks/{provider-t4bqh1bd.js → location-services-nr34mnhb.js} +19 -19
- package/dist/chunks/{provider-s8zy8myc.js → location-services-nxhqveyz.js} +5 -5
- package/dist/chunks/{provider-15td0j1z.js → location-services-p20c12jc.js} +32 -32
- package/dist/chunks/{provider-p28j5sbe.js → location-services-p28j5sbe.js} +2 -2
- package/dist/chunks/location-services-p49m4rqh.js +26 -0
- package/dist/chunks/{provider-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{provider-mpjm327k.js → location-services-pnnhp6pm.js} +8 -8
- package/dist/chunks/{provider-grj8yyr4.js → location-services-ptcebqmk.js} +14 -14
- package/dist/chunks/{provider-q20c44bz.js → location-services-q304jdpe.js} +16 -16
- package/dist/chunks/{provider-2vqtjfqv.js → location-services-q6s1e2xm.js} +16 -16
- package/dist/chunks/{provider-hyrz6ndr.js → location-services-q857ra41.js} +12 -12
- package/dist/chunks/{provider-t1vbng9k.js → location-services-qjs1085f.js} +29 -29
- package/dist/chunks/{provider-a8psvap3.js → location-services-qp3cqwfd.js} +30 -30
- package/dist/chunks/{provider-5jpkytcg.js → location-services-qr10gabp.js} +46 -46
- package/dist/chunks/{provider-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-2sd25e3x.js → location-services-qse6wh50.js} +16 -16
- package/dist/chunks/{provider-mda8qtvh.js → location-services-qv7snrja.js} +30 -30
- package/dist/chunks/{provider-v13rhakv.js → location-services-r6fwddjq.js} +29 -29
- package/dist/chunks/{provider-rcj95w22.js → location-services-r7rxb23g.js} +18 -18
- package/dist/chunks/{provider-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-cjjbnact.js → location-services-rh0ks3yx.js} +18 -18
- package/dist/chunks/{provider-ahsc6j0w.js → location-services-rhr2287f.js} +15 -15
- package/dist/chunks/{provider-nazpdbhc.js → location-services-rnx96krx.js} +13 -13
- package/dist/chunks/{provider-r47bzvnc.js → location-services-rrcqb7mq.js} +8 -8
- package/dist/chunks/{provider-dknzpsbe.js → location-services-rxfm361e.js} +5 -5
- package/dist/chunks/{provider-gfzhf7me.js → location-services-s347dr27.js} +10 -10
- package/dist/chunks/{provider-r5nnd09r.js → location-services-s5j5yx42.js} +20 -20
- package/dist/chunks/{provider-c2ddg0d0.js → location-services-s6w733fx.js} +26 -26
- package/dist/chunks/{provider-czsahcf5.js → location-services-s81xp4h6.js} +14 -14
- package/dist/chunks/{provider-2ajc930w.js → location-services-s9gb701d.js} +13 -13
- package/dist/chunks/{provider-0y1q99g5.js → location-services-sdfezxs7.js} +22 -22
- package/dist/chunks/{provider-3k8yvm90.js → location-services-sh6h5w8s.js} +51 -51
- package/dist/chunks/{provider-1gncp487.js → location-services-sh89kava.js} +29 -29
- package/dist/chunks/{provider-671mfjqz.js → location-services-t2db0eay.js} +6 -6
- package/dist/chunks/{provider-7ntfaaks.js → location-services-t3aazdfk.js} +8 -8
- package/dist/chunks/{provider-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-vhaqwyxf.js → location-services-td4hvtjh.js} +8 -8
- package/dist/chunks/{provider-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{provider-sxz6gkc3.js → location-services-tkmwgdpd.js} +4 -4
- package/dist/chunks/{provider-p37cw4rj.js → location-services-tpw6cwsb.js} +8 -8
- package/dist/chunks/{provider-chmcj56h.js → location-services-tt70z94x.js} +11 -11
- package/dist/chunks/{provider-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{provider-855zaz61.js → location-services-twfpqh0y.js} +12 -12
- package/dist/chunks/{provider-yj604rek.js → location-services-twxxf4s6.js} +9 -9
- package/dist/chunks/{provider-nsarsp7q.js → location-services-vadan2xk.js} +12 -12
- package/dist/chunks/{provider-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-pmyy6wgx.js → location-services-vk6xc8bn.js} +4 -4
- package/dist/chunks/{provider-bct739vz.js → location-services-vncycja5.js} +4 -4
- package/dist/chunks/{provider-q17z9dx8.js → location-services-vykevjvn.js} +5 -5
- package/dist/chunks/{provider-q9kwjsx6.js → location-services-vyrk0yhv.js} +17 -17
- package/dist/chunks/{provider-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{provider-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-49efg6hh.js → location-services-w418y777.js} +9 -9
- package/dist/chunks/{provider-chrwx1ra.js → location-services-w4axh9wz.js} +6 -6
- package/dist/chunks/{provider-j7s4bfg0.js → location-services-w7mk4knt.js} +50 -50
- package/dist/chunks/{provider-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{provider-h0ccxrqf.js → location-services-wdvvnqc5.js} +32 -32
- package/dist/chunks/{provider-v2vsy0py.js → location-services-we7ht0tm.js} +1 -1
- package/dist/chunks/{provider-skzznzbs.js → location-services-wefbk061.js} +15 -15
- package/dist/chunks/{provider-w9eedde7.js → location-services-wwq1qjv9.js} +26 -26
- package/dist/chunks/{provider-hzzpcvtj.js → location-services-wx3f4x5a.js} +29 -29
- package/dist/chunks/{provider-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{provider-e9sqvrex.js → location-services-xgrxakdc.js} +4 -4
- package/dist/chunks/{provider-n9q5nv43.js → location-services-xn9jxgmv.js} +8 -8
- package/dist/chunks/{provider-txqffk2q.js → location-services-xvh4ack0.js} +5 -5
- package/dist/chunks/{provider-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-fbdydc3h.js → location-services-y1rt92wr.js} +28 -28
- package/dist/chunks/{provider-fdms3n6w.js → location-services-y56ehv6b.js} +9 -9
- package/dist/chunks/{provider-0rpg7gzc.js → location-services-y67gsgy6.js} +4 -4
- package/dist/chunks/{provider-phrvssew.js → location-services-y968z3dh.js} +5 -5
- package/dist/chunks/{provider-51y1rz4t.js → location-services-yn9ays14.js} +4 -4
- package/dist/chunks/{provider-r8xr0va3.js → location-services-yp2x3t23.js} +4 -4
- package/dist/chunks/{provider-cjj42we6.js → location-services-yptpkvx0.js} +12 -12
- package/dist/chunks/{provider-hm5a9yba.js → location-services-yqx2aan1.js} +24 -24
- package/dist/chunks/{provider-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{provider-yrznvahk.js → location-services-yrznvahk.js} +2 -2
- package/dist/chunks/{provider-kx6q1bss.js → location-services-yyyarv90.js} +5 -5
- package/dist/chunks/{provider-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-z63w68vq.js → location-services-z63w68vq.js} +2 -2
- package/dist/chunks/{provider-a200qbpt.js → location-services-zanvzfjc.js} +10 -10
- package/dist/chunks/{provider-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{provider-mw0p63mw.js → location-services-zh9858z0.js} +75 -75
- package/dist/chunks/{provider-pbb1p4ms.js → location-services-zhxmhdrs.js} +47 -47
- package/dist/chunks/{provider-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/location-services-zwypcbt3.js +252 -0
- package/dist/chunks/{provider-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +76 -76
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- 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 +90 -90
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +88 -88
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +84 -84
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/provider-52e3x94b.js +0 -492
- package/dist/chunks/provider-v1faaxn9.js +0 -18
- package/dist/chunks/provider-xsqp7mar.js +0 -252
- package/dist/chunks/provider-yn02nake.js +0 -26
- /package/dist/chunks/{provider-0mesazry.js → location-services-0mesazry.js} +0 -0
- /package/dist/chunks/{provider-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-services-q304jdpe.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command5 = {};
|
|
14
14
|
__export(exports_command5, {
|
|
15
15
|
Command: () => exports_command5,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event10,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info16,
|
|
19
19
|
NotFoundError: () => NotFoundError7,
|
|
20
20
|
Service: () => Service45,
|
|
21
|
-
layer: () =>
|
|
21
|
+
layer: () => layer20,
|
|
22
22
|
node: () => node48
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event10 } from "@opencode/schema/command";
|
|
28
|
+
var Info16 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -41,8 +41,8 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
41
41
|
|
|
42
42
|
class Service45 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer20 = Layer.effect(Service45, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service81;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,7 +51,7 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info16.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
@@ -73,8 +73,8 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
73
73
|
}));
|
|
74
74
|
var node48 = makeLocationNode({
|
|
75
75
|
service: Service45,
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
76
|
+
layer: layer20,
|
|
77
|
+
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info16, NotFoundError7, ExecutionError2, Service45, layer20, node48, exports_command5, Event10 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service66,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node69
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service66 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service66.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node69 = makeLocationNode({
|
|
143
|
+
service: Service66,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service66, node69, exports_tool_output2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./location-services-vadan2xk.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service78,
|
|
13
|
+
node82
|
|
14
|
+
} from "./location-services-6x9k2qbp.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
26
|
ID: () => ID4,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service37,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service37 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node40 = makeLocationNode({
|
|
144
|
+
service: Service37,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node87, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export { ID4,
|
|
166
|
+
export { ID4, Error2, Service37, node40, noopLayer2, exports_snapshot2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node61
|
|
5
|
+
} from "./location-services-pnnhp6pm.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-1hc11dc4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node77
|
|
13
|
+
} from "./location-services-8ank75fn.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-w7mk4knt.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-n81afcfa.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./location-services-yqx2aan1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service30,
|
|
25
|
+
node33
|
|
26
|
+
} from "./location-services-ea3ctmvw.js";
|
|
27
27
|
import {
|
|
28
28
|
make14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-drwq78ky.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-2jz473v5.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-services-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service29,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer13,
|
|
45
|
+
node: () => node32,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service74;
|
|
157
|
+
const transport = yield* Service30;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -252,17 +252,17 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
252
252
|
};
|
|
253
253
|
});
|
|
254
254
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
255
|
-
return
|
|
255
|
+
return Service29.of({
|
|
256
256
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
257
257
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
258
258
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
259
259
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
262
|
+
var node32 = makeLocationNode({
|
|
263
|
+
service: Service29,
|
|
264
|
+
layer: layer13,
|
|
265
|
+
deps: [node77, node33, node61]
|
|
266
266
|
});
|
|
267
267
|
|
|
268
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
268
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service29, layer13, node32, exports_model_request };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./location-services-m5fyg1bs.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service76
|
|
13
|
+
} from "./location-services-d7kmcpqg.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service58
|
|
16
|
+
} from "./location-services-cra404zb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service70
|
|
19
|
+
} from "./location-services-w7mk4knt.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service69,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-kanck703.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service48,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-wefbk061.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service39
|
|
37
|
+
} from "./location-services-hsqt0cnh.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./location-services-4z50fqkg.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-services-yn9ays14.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-services-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin20,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name2 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input2 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin20 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service20;
|
|
122
|
+
const jobs = yield* Service58;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service76;
|
|
125
|
+
const access = yield* Service69;
|
|
126
|
+
const shell = yield* Service39;
|
|
127
|
+
const shellSelect = yield* Service48;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service70;
|
|
130
|
+
const config = yield* Service41;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin21 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name2,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin21 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name2,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input2,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin21 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name2,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name2];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin20, exports_shell2 };
|