@opencode/core 0.0.0-dev-19620 → 0.0.0-dev-19621
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{config-jc0ymxqr.js → location-activity-02sqczvg.js} +27 -27
- package/dist/chunks/{config-c41he9zp.js → location-activity-05qdzf61.js} +43 -43
- package/dist/chunks/{config-pztqrn0p.js → location-activity-0916jsyy.js} +11 -11
- package/dist/chunks/{config-d8hxcene.js → location-activity-0fd7a9tf.js} +30 -30
- package/dist/chunks/{config-xdyh6fgr.js → location-activity-0kjyq0mv.js} +11 -11
- package/dist/chunks/{config-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → location-activity-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-01a7je3t.js → location-activity-0qfwhm5e.js} +26 -26
- package/dist/chunks/{config-t2q9hcwk.js → location-activity-0qv7mmtq.js} +15 -15
- package/dist/chunks/{config-sd4y1mcp.js → location-activity-13jep62n.js} +8 -8
- package/dist/chunks/{config-0gb302ex.js → location-activity-16tdh1fk.js} +7 -7
- package/dist/chunks/{config-7z7az0f5.js → location-activity-179189h4.js} +4 -4
- package/dist/chunks/{config-1acjjqhc.js → location-activity-1acjjqhc.js} +1 -1
- package/dist/chunks/{config-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-n66sm98c.js → location-activity-1mkrhngc.js} +8 -8
- package/dist/chunks/{config-4pp10hk6.js → location-activity-1mnqxrzq.js} +24 -24
- package/dist/chunks/{config-569tr4pc.js → location-activity-1q7p9dry.js} +4 -4
- package/dist/chunks/{config-4yrxhb6j.js → location-activity-1qqdn15c.js} +6 -6
- package/dist/chunks/{config-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{config-6h73sxmp.js → location-activity-2402vzrj.js} +5 -5
- package/dist/chunks/{config-ygxjh9rx.js → location-activity-277g6yhx.js} +33 -33
- package/dist/chunks/{config-z63w68vq.js → location-activity-29x78va6.js} +6 -6
- package/dist/chunks/{config-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-0mhcx6tn.js → location-activity-2acrqt2s.js} +17 -17
- package/dist/chunks/{config-n67mgy0c.js → location-activity-2gc3cgtr.js} +24 -24
- package/dist/chunks/{config-fcrkznn8.js → location-activity-2k8khapm.js} +5 -5
- package/dist/chunks/{config-pe7t7t2c.js → location-activity-2pkx220b.js} +26 -26
- package/dist/chunks/{config-3r916n3t.js → location-activity-3c019r4e.js} +6 -6
- package/dist/chunks/{config-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-mbj59j53.js → location-activity-3gs6qghn.js} +18 -18
- package/dist/chunks/{config-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-fcfj6g1p.js → location-activity-3qssm48j.js} +11 -11
- package/dist/chunks/{config-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-rdp8w1tj.js → location-activity-3sxcm1y0.js} +25 -25
- package/dist/chunks/{config-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-yejepwtj.js → location-activity-3wettdv3.js} +5 -5
- package/dist/chunks/{config-sad597vp.js → location-activity-3xqxna90.js} +20 -20
- package/dist/chunks/{config-y6rxdhkr.js → location-activity-41kev6en.js} +5 -5
- package/dist/chunks/{config-zx20m7ss.js → location-activity-47d03cme.js} +26 -26
- package/dist/chunks/{config-44h5tttr.js → location-activity-4dgbcxzg.js} +4 -4
- package/dist/chunks/{config-28whzyd9.js → location-activity-4dnstb87.js} +9 -9
- package/dist/chunks/{config-sk01cyn9.js → location-activity-4gc7b6vq.js} +11 -11
- package/dist/chunks/location-activity-4v7qdvcn.js +18 -0
- package/dist/chunks/{config-bw07e7gc.js → location-activity-4xdgprr9.js} +1 -1
- package/dist/chunks/{config-7v9pxec5.js → location-activity-50w65075.js} +4 -4
- package/dist/chunks/{config-57ez7d0k.js → location-activity-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-t7eadng9.js → location-activity-58g3z28f.js} +9 -9
- package/dist/chunks/{config-a1bz86dw.js → location-activity-5c4hm403.js} +3 -3
- package/dist/chunks/{config-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{config-d7cwqg7e.js → location-activity-5hggf6n1.js} +10 -10
- package/dist/chunks/{config-481njsdn.js → location-activity-5hk4b2g6.js} +8 -8
- package/dist/chunks/{config-jrvsyn0z.js → location-activity-5s2hkj65.js} +22 -22
- package/dist/chunks/{config-zgav49qc.js → location-activity-5sj01k15.js} +81 -81
- package/dist/chunks/{config-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-ewmwb483.js → location-activity-5wd4d272.js} +11 -11
- package/dist/chunks/{config-9r929b30.js → location-activity-5zzxy0ms.js} +3 -3
- package/dist/chunks/{config-3bqsmn8j.js → location-activity-6424bnfx.js} +6 -6
- package/dist/chunks/location-activity-64r3bpyt.js +26 -0
- package/dist/chunks/{config-07n19tq3.js → location-activity-64yj1h16.js} +47 -47
- package/dist/chunks/{config-b5myacj1.js → location-activity-662habgj.js} +20 -20
- package/dist/chunks/{config-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{config-gm5wm00c.js → location-activity-67j4hdbe.js} +16 -16
- package/dist/chunks/{config-1xww6kdy.js → location-activity-6858bak6.js} +13 -13
- package/dist/chunks/{config-71e6t07v.js → location-activity-6gg4hhkh.js} +15 -15
- package/dist/chunks/{config-3ghk67v3.js → location-activity-6hmxf5qy.js} +13 -13
- package/dist/chunks/{config-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-gpa99hwg.js → location-activity-6p102wjn.js} +12 -12
- package/dist/chunks/{config-pmzxmx7p.js → location-activity-74epasaf.js} +25 -25
- package/dist/chunks/{config-bt4a0k6p.js → location-activity-770gax1y.js} +17 -17
- package/dist/chunks/{config-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-va70fm6r.js → location-activity-7ma01p8d.js} +20 -20
- package/dist/chunks/{config-gfjmx2tb.js → location-activity-7mhhry16.js} +4 -4
- package/dist/chunks/{config-5cmxdwv8.js → location-activity-7w99qc9d.js} +3 -3
- package/dist/chunks/{config-07z04894.js → location-activity-7zaraywf.js} +12 -12
- package/dist/chunks/{config-w3fxp1m0.js → location-activity-81ejmews.js} +9 -9
- package/dist/chunks/{config-wsjfr4d3.js → location-activity-833nt6ba.js} +5 -5
- package/dist/chunks/{config-yxmwekd1.js → location-activity-86w8gnaa.js} +30 -30
- package/dist/chunks/{config-qjn00rtb.js → location-activity-8a7mdkfk.js} +5 -5
- package/dist/chunks/{config-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-r7krxm43.js → location-activity-8ktevv00.js} +21 -21
- package/dist/chunks/{config-a5rvh4nv.js → location-activity-8qen5wkx.js} +6 -6
- package/dist/chunks/{config-zt03gkt5.js → location-activity-8tpwn33w.js} +4 -4
- package/dist/chunks/{config-he7wn027.js → location-activity-8wpj8qe8.js} +3 -3
- package/dist/chunks/{config-kd8wqpk3.js → location-activity-93jjj6k7.js} +40 -40
- package/dist/chunks/{config-hx2psyfh.js → location-activity-9h0fm6pv.js} +13 -13
- package/dist/chunks/{config-mc9c1zbf.js → location-activity-9n5n83y6.js} +13 -13
- package/dist/chunks/{config-082j28at.js → location-activity-9nzr847a.js} +4 -4
- package/dist/chunks/{config-2m7svab7.js → location-activity-9rkj6e7r.js} +83 -83
- package/dist/chunks/{config-3qn6xs8f.js → location-activity-9s4zsea6.js} +8 -8
- package/dist/chunks/{config-z2qbjhyn.js → location-activity-9w4ppqge.js} +5 -5
- package/dist/chunks/{config-hwe7x4em.js → location-activity-9yr2yfq4.js} +6 -6
- package/dist/chunks/{config-5d02jmpq.js → location-activity-a2spgzjy.js} +8 -8
- package/dist/chunks/{config-vvte70ab.js → location-activity-a44jmwh5.js} +26 -26
- package/dist/chunks/{config-xpx0gg6d.js → location-activity-a47f8vqp.js} +11 -11
- package/dist/chunks/{config-0b9jragr.js → location-activity-a7aqdefk.js} +6 -6
- package/dist/chunks/{config-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{config-ew7nbhn8.js → location-activity-aarxr206.js} +35 -35
- package/dist/chunks/{config-xkg16ng2.js → location-activity-b3mk7fqx.js} +15 -15
- package/dist/chunks/{config-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-m1979k5p.js → location-activity-bbrq8xb6.js} +33 -33
- package/dist/chunks/{config-pmr4s4kc.js → location-activity-bct739vz.js} +4 -4
- package/dist/chunks/{config-e5nv3ght.js → location-activity-bndc73cn.js} +5 -5
- package/dist/chunks/{config-mdm1g8s7.js → location-activity-bsmy1wga.js} +22 -22
- package/dist/chunks/{config-rj7j27xs.js → location-activity-btzyv0k5.js} +6 -6
- package/dist/chunks/{config-depwzj9d.js → location-activity-bydnjh3t.js} +9 -9
- package/dist/chunks/{config-cy3hxfvf.js → location-activity-c37dq7f4.js} +7 -7
- package/dist/chunks/{config-w1xxf7tm.js → location-activity-c50p721n.js} +11 -11
- package/dist/chunks/{config-c78bbtc9.js → location-activity-c78bbtc9.js} +2 -2
- package/dist/chunks/{config-1km8dk21.js → location-activity-cb8qsvm8.js} +16 -16
- package/dist/chunks/{config-ref137j6.js → location-activity-chs68zjw.js} +12 -12
- package/dist/chunks/{config-vy1eywvp.js → location-activity-cjkdazrq.js} +56 -56
- package/dist/chunks/{config-k3kxt7h3.js → location-activity-ck0ahkdp.js} +6 -6
- package/dist/chunks/{config-cmwkp3r5.js → location-activity-cmwkp3r5.js} +1 -1
- package/dist/chunks/{config-9vsg8yc4.js → location-activity-cnxzfnnh.js} +29 -29
- package/dist/chunks/{config-w1k39n5e.js → location-activity-csf2jhsg.js} +4 -4
- package/dist/chunks/{config-xe94yqgp.js → location-activity-ctn2km86.js} +2 -2
- package/dist/chunks/{config-09znq5v6.js → location-activity-d18hzzdd.js} +9 -9
- package/dist/chunks/{config-gye5ymp9.js → location-activity-d200zqk3.js} +24 -24
- package/dist/chunks/{config-c4vcfcbt.js → location-activity-d4he2qe1.js} +9 -9
- package/dist/chunks/{config-brn8szsg.js → location-activity-d80hd4ax.js} +15 -15
- package/dist/chunks/{config-84vfkt4j.js → location-activity-d8bv2r0j.js} +12 -12
- package/dist/chunks/{config-tk5pet79.js → location-activity-d8r3vmz6.js} +15 -15
- package/dist/chunks/{config-j5208yae.js → location-activity-dg5bcj4q.js} +6 -6
- package/dist/chunks/{config-jvf3yq6v.js → location-activity-dhmh7aw6.js} +4 -4
- package/dist/chunks/{config-3atm5pec.js → location-activity-dhwr7h25.js} +9 -9
- package/dist/chunks/{config-8p4f9s12.js → location-activity-dj2t23y0.js} +2 -2
- package/dist/chunks/{config-y71avatq.js → location-activity-dpkg50ah.js} +4 -4
- package/dist/chunks/{config-hydf4jck.js → location-activity-dyn4a6re.js} +11 -11
- package/dist/chunks/{config-w2dvrnz2.js → location-activity-e359ekz1.js} +13 -13
- package/dist/chunks/{config-5qd3pb7m.js → location-activity-e3qxr5gk.js} +2 -2
- package/dist/chunks/{config-rvv9w8j7.js → location-activity-e48547de.js} +11 -11
- package/dist/chunks/{config-ghfpptr2.js → location-activity-e6tp1f32.js} +3 -3
- package/dist/chunks/{config-y93vqz97.js → location-activity-ea8d760j.js} +10 -10
- package/dist/chunks/{config-thzkma29.js → location-activity-ebpp3bj8.js} +3 -3
- package/dist/chunks/{config-qf1faf3j.js → location-activity-eehws5bb.js} +15 -15
- package/dist/chunks/{config-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-553ta1rf.js → location-activity-ef6128zr.js} +21 -21
- package/dist/chunks/{config-rbb9szz8.js → location-activity-ehkt0pf5.js} +10 -10
- package/dist/chunks/{config-v0xe2nxv.js → location-activity-ejz7gt9s.js} +15 -15
- package/dist/chunks/{config-zznte351.js → location-activity-et2mx20r.js} +8 -8
- package/dist/chunks/{config-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-3n3mkc0a.js → location-activity-ewxvpahx.js} +16 -16
- package/dist/chunks/{config-bha4atvq.js → location-activity-fab8hzt3.js} +4 -4
- package/dist/chunks/{config-vr0jy3rn.js → location-activity-fcpfj2f6.js} +29 -29
- package/dist/chunks/{config-hknfap8y.js → location-activity-fgqbyqvh.js} +34 -34
- package/dist/chunks/{config-958f6mdd.js → location-activity-fk6x6sf2.js} +25 -25
- package/dist/chunks/{config-a2ew8a62.js → location-activity-fm2qvscf.js} +4 -4
- package/dist/chunks/{config-qby8jf2p.js → location-activity-fq1tkef6.js} +11 -11
- package/dist/chunks/{config-4mg4d8r9.js → location-activity-fs9jbr70.js} +3 -3
- package/dist/chunks/{config-cjp58b5b.js → location-activity-fvq1ehz2.js} +20 -20
- package/dist/chunks/location-activity-fx7t016x.js +468 -0
- package/dist/chunks/{config-fxbjtjnd.js → location-activity-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-4gd731xa.js → location-activity-fxk3860w.js} +10 -10
- package/dist/chunks/{config-y2z5qgwy.js → location-activity-g7v47k8t.js} +3 -3
- package/dist/chunks/{config-53p8tn45.js → location-activity-garm4tc5.js} +4 -4
- package/dist/chunks/{config-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-tgpkg1mv.js → location-activity-gegytf0k.js} +15 -15
- package/dist/chunks/{config-vzg7frpw.js → location-activity-gt6bpx3h.js} +26 -26
- package/dist/chunks/{config-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-h03wrkyp.js → location-activity-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-f828m53h.js → location-activity-hdnk95c8.js} +2 -2
- package/dist/chunks/{config-9r9pq2ty.js → location-activity-hr32vd4d.js} +10 -10
- package/dist/chunks/{config-9sbvqvys.js → location-activity-htzvt3ag.js} +25 -25
- package/dist/chunks/{config-eq1pz5kg.js → location-activity-j028xdjb.js} +3 -3
- package/dist/chunks/{config-r4amq9j8.js → location-activity-j2dwpy9c.js} +11 -11
- package/dist/chunks/{config-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{config-kypcf4qg.js → location-activity-j83edvzn.js} +20 -20
- package/dist/chunks/{config-t0rt79at.js → location-activity-jcvbpxrt.js} +11 -11
- package/dist/chunks/{config-w7da87xb.js → location-activity-jnvn036s.js} +23 -23
- package/dist/chunks/{config-4gdprx9j.js → location-activity-jsbxrgzy.js} +5 -5
- package/dist/chunks/{config-ba8mse6q.js → location-activity-jxt4v063.js} +11 -11
- package/dist/chunks/{config-f37w05r2.js → location-activity-k61ay397.js} +22 -22
- package/dist/chunks/{config-f67713nv.js → location-activity-k8mgps65.js} +5 -5
- package/dist/chunks/{config-f5qar08c.js → location-activity-kdc6jnyv.js} +18 -18
- package/dist/chunks/{config-82drw8c2.js → location-activity-kkes6p7k.js} +24 -24
- package/dist/chunks/{config-tacs2yqm.js → location-activity-kn5tvdzd.js} +30 -30
- package/dist/chunks/{config-cfpkc3c9.js → location-activity-m0jqrx5p.js} +2 -2
- package/dist/chunks/{config-m86bnw2c.js → location-activity-m2d0j7c0.js} +9 -9
- package/dist/chunks/{config-4fp0neyv.js → location-activity-m45spv6b.js} +5 -5
- package/dist/chunks/{config-65rr7ck3.js → location-activity-m7zgyvpn.js} +13 -13
- package/dist/chunks/{config-0kyv5em2.js → location-activity-m8sp6mz4.js} +4 -4
- package/dist/chunks/{config-3de56gd9.js → location-activity-m99v3cc8.js} +20 -20
- package/dist/chunks/{config-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-nm1c1912.js → location-activity-mbs5e5av.js} +48 -48
- package/dist/chunks/{config-zy39rx0a.js → location-activity-mcdtcrmv.js} +24 -24
- package/dist/chunks/{config-1ygqh575.js → location-activity-mfqp6xfm.js} +6 -6
- package/dist/chunks/{config-f2p7c97r.js → location-activity-mfssdfvv.js} +29 -29
- package/dist/chunks/{config-7dtazzwr.js → location-activity-mhgmrhvx.js} +9 -9
- package/dist/chunks/{config-46tyheva.js → location-activity-mtfnb8p4.js} +8 -8
- package/dist/chunks/{config-7gvwkz6m.js → location-activity-mtft99cd.js} +5 -5
- package/dist/chunks/{config-cad40pv7.js → location-activity-mx7bb7hv.js} +17 -17
- package/dist/chunks/{config-34s6cg07.js → location-activity-n60bb144.js} +7 -7
- package/dist/chunks/location-activity-n73vg02w.js +251 -0
- package/dist/chunks/{config-pn8tp4tb.js → location-activity-nh0rq1at.js} +61 -61
- package/dist/chunks/{config-hjt4xg1x.js → location-activity-nhy5jxhy.js} +4 -4
- package/dist/chunks/{config-vmgq4x8b.js → location-activity-nng2ktcm.js} +2 -2
- package/dist/chunks/{config-s9vxdr24.js → location-activity-nrv5pzdz.js} +21 -21
- package/dist/chunks/{config-b18f862j.js → location-activity-p1epjeyw.js} +4 -4
- package/dist/chunks/{config-0wdk316n.js → location-activity-p4cmyzqs.js} +8 -8
- package/dist/chunks/{config-s6e2pa35.js → location-activity-p9wvsgef.js} +1 -1
- package/dist/chunks/{config-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{config-q8x0g613.js → location-activity-qapjpsgn.js} +11 -11
- package/dist/chunks/{config-t1rx5jyv.js → location-activity-qc2dn5sv.js} +38 -38
- package/dist/chunks/{config-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{config-btqxeatv.js → location-activity-qt2yfpa3.js} +13 -13
- package/dist/chunks/{config-r9mregkx.js → location-activity-r9mregkx.js} +2 -2
- package/dist/chunks/{config-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-8xb4fn80.js → location-activity-rh3fxfj6.js} +5 -5
- package/dist/chunks/{config-eaj1djv9.js → location-activity-rhjbct0v.js} +8 -8
- package/dist/chunks/{config-r33ff4dw.js → location-activity-rph3zd4r.js} +6 -6
- package/dist/chunks/{config-4jkwnjww.js → location-activity-rrzkscs6.js} +166 -166
- package/dist/chunks/{config-bgk88e04.js → location-activity-s2b0pbwn.js} +28 -28
- package/dist/chunks/{config-yrznvahk.js → location-activity-s4enseaf.js} +2 -2
- package/dist/chunks/{config-k3942g9h.js → location-activity-s86c7pyr.js} +2 -2
- package/dist/chunks/{config-ywrabq02.js → location-activity-sbkgsf4g.js} +18 -18
- package/dist/chunks/{config-w6czwadd.js → location-activity-sbqg3kz8.js} +35 -35
- package/dist/chunks/{config-9xf855tq.js → location-activity-sc5vqhje.js} +15 -15
- package/dist/chunks/{config-hhxyj69g.js → location-activity-skq13fc4.js} +26 -26
- package/dist/chunks/{config-j8fqp1rw.js → location-activity-svjhcw9a.js} +15 -15
- package/dist/chunks/{config-4f5hf89x.js → location-activity-t3hjw8gy.js} +6 -6
- package/dist/chunks/{config-3dnvhw7p.js → location-activity-t6gjch8v.js} +9 -9
- package/dist/chunks/{config-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-bmha4d8f.js → location-activity-td10rya3.js} +11 -11
- package/dist/chunks/{config-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{config-b0ayvr0x.js → location-activity-tfw1q3xt.js} +16 -16
- package/dist/chunks/{config-h4gk7zvx.js → location-activity-tk20ndtt.js} +6 -6
- package/dist/chunks/{config-4jc5c4h4.js → location-activity-ts2x07a1.js} +1 -1
- package/dist/chunks/{config-nmx43amf.js → location-activity-tsvd8swj.js} +8 -8
- package/dist/chunks/{config-yt1r22a2.js → location-activity-tv502m7y.js} +13 -13
- package/dist/chunks/{config-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{config-ftra40n9.js → location-activity-twym31zm.js} +3 -3
- package/dist/chunks/{config-vmwh049b.js → location-activity-v1q7vfww.js} +9 -9
- package/dist/chunks/{config-147z1f8h.js → location-activity-v2rse8td.js} +32 -32
- package/dist/chunks/{config-nrcmaa2f.js → location-activity-v8wfqh48.js} +11 -11
- package/dist/chunks/{config-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{config-vmq7ehpy.js → location-activity-vmq7ehpy.js} +2 -2
- package/dist/chunks/{config-8d4je01t.js → location-activity-vnqs2v2n.js} +2 -2
- package/dist/chunks/{config-d66crwzg.js → location-activity-vqhy7mcb.js} +9 -9
- package/dist/chunks/{config-k2h4r4s0.js → location-activity-vsp1fds9.js} +19 -19
- package/dist/chunks/{config-9as7e6ma.js → location-activity-vvwshk7d.js} +37 -37
- package/dist/chunks/{config-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-x7cjmgkw.js → location-activity-w3mhw6sa.js} +20 -20
- package/dist/chunks/{config-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-mbnzj7fq.js → location-activity-wc3cewcr.js} +11 -11
- package/dist/chunks/{config-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{config-j49tgg6r.js → location-activity-wnw4ypwe.js} +25 -25
- package/dist/chunks/{config-w2mb4z4n.js → location-activity-wpea5dn8.js} +15 -15
- package/dist/chunks/{config-ps5yzaa8.js → location-activity-ws7pr2ad.js} +20 -20
- package/dist/chunks/{config-9cpn9ax9.js → location-activity-wt24dnah.js} +7 -7
- package/dist/chunks/{config-9mdtzecd.js → location-activity-wtyjep1k.js} +32 -32
- package/dist/chunks/{config-dag2nrwr.js → location-activity-wv4jkh9x.js} +43 -43
- package/dist/chunks/{config-ne3kjeyx.js → location-activity-wzast1kb.js} +17 -17
- package/dist/chunks/{config-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-rqmwkd1g.js → location-activity-x6df8716.js} +10 -10
- package/dist/chunks/{config-wq0gz2nf.js → location-activity-xjty5wr6.js} +14 -14
- package/dist/chunks/{config-cjwndxkq.js → location-activity-xzz44w32.js} +20 -20
- package/dist/chunks/{config-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-mg37ak55.js → location-activity-y3hwqzcx.js} +30 -30
- package/dist/chunks/{config-sqbvksyk.js → location-activity-y4gdvsem.js} +8 -8
- package/dist/chunks/{config-pbdz66w6.js → location-activity-yf74hprm.js} +26 -26
- package/dist/chunks/{config-8mfdap3f.js → location-activity-yg6nt6v4.js} +8 -8
- package/dist/chunks/{config-cn8sqj9q.js → location-activity-yk587snj.js} +16 -16
- package/dist/chunks/{config-v00ee303.js → location-activity-yppxx2jj.js} +21 -21
- package/dist/chunks/{config-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-kygx0r76.js → location-activity-z7m0yey7.js} +20 -20
- package/dist/chunks/{config-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-12jxxftq.js → location-activity-zezwqwg8.js} +16 -16
- package/dist/chunks/{config-m3yhsweq.js → location-activity-zfj2pyyt.js} +44 -44
- package/dist/chunks/{config-n0bqns9b.js → location-activity-zfpnhvxy.js} +24 -24
- package/dist/chunks/{config-c5gg6rgh.js → location-activity-zmxnz357.js} +8 -8
- package/dist/chunks/{config-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-f48bmwtv.js → location-activity-zyb93ydj.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- 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 +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +138 -138
- 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 +122 -122
- 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 +121 -121
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +69 -69
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +353 -353
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -350
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +122 -122
- 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 +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +324 -324
- 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 +2 -2
- 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 +91 -91
- 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/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 +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +71 -71
- 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 +339 -339
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- 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 +85 -85
- package/dist/reference/instructions.js +88 -88
- 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 +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +150 -150
- package/dist/session/diff.js +87 -87
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- 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 +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +83 -83
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- 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 +111 -111
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- 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 +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +109 -109
- package/dist/snapshot.js +92 -92
- 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 +123 -123
- 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 +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +7 -7
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- 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 +91 -91
- package/dist/v1/config/permission.js +5 -5
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- 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 +10 -10
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/config-9sh4wc5j.js +0 -18
- package/dist/chunks/config-psx5q6he.js +0 -26
- package/dist/chunks/config-rj3zc9k8.js +0 -468
- package/dist/chunks/config-t632knej.js +0 -251
- /package/dist/chunks/{config-0mesazry.js → location-activity-0mesazry.js} +0 -0
- /package/dist/chunks/{config-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → location-activity-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-s86c7pyr.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service50,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node54
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service50 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service50, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node54 = LayerNode.unbound(Service50, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service50, node54, canonical3, exports_location_service_map };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service79,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-41kev6en.js";
|
|
11
11
|
import {
|
|
12
12
|
Service77,
|
|
13
13
|
node82
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-s86c7pyr.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID16,
|
|
27
|
+
Service: () => Service75,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node80,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID16 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 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 Service75 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service39, 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 Error5({ 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(Service39, 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 Error5({ 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;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID16.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service39, 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 Error5({ 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 Error5({ 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 Service75.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node80 = makeLocationNode({
|
|
144
|
+
service: Service75,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service75, Service75.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(Service39, Service39.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error5({
|
|
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 {
|
|
166
|
+
export { ID16, Error5, Service75, node80, noopLayer3, exports_snapshot2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-mfqp6xfm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin24,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin24 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin8 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin24, exports_exa };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-fs9jbr70.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./location-activity-9yr2yfq4.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-csf2jhsg.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-fq1tkef6.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-v2rse8td.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service21
|
|
21
|
+
} from "./location-activity-9rkj6e7r.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service48;
|
|
36
36
|
const database = yield* Service81;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service21;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service77,
|
|
18
18
|
node82
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-s86c7pyr.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service65,
|
|
22
|
+
node69
|
|
23
|
+
} from "./location-activity-skq13fc4.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service64,
|
|
33
|
+
node: () => node68
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service64,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node68,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service64 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service77;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service65;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service64.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node68 = makeLocationNode({
|
|
71
|
+
service: Service64,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node82,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node82, node69]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service64, node68, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load5
|
|
6
|
+
} from "./location-activity-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event14,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options9,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service63,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
22
|
layer: () => layer24,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node67,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event14 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load5());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -57,14 +57,14 @@ var Options9 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service63 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer24 = (options) => Layer.effect(
|
|
65
|
+
var layer24 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service63.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service63.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service63).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service63, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service63, layer: layer24(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node67 = configured9();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event14, hasNativeBinding2, Native3, Options9, Service63, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured9, node67, exports_watcher };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./location-activity-d18hzzdd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./location-activity-9yr2yfq4.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-4v7qdvcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service68
|
|
15
|
+
} from "./location-activity-1mkrhngc.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-v1q7vfww.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service39
|
|
23
|
+
} from "./location-activity-bsmy1wga.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service48;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service68;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service39;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service42;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|