@opencode/core 0.0.0-dev-19989 → 0.0.0-dev-19990
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 +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{integration-a0zk2rzn.js → location-services-00fzm1w7.js} +30 -30
- package/dist/chunks/{integration-dm45fdp1.js → location-services-01m6rrzq.js} +28 -28
- package/dist/chunks/{integration-z7dhyn6r.js → location-services-0awvc9r7.js} +43 -43
- package/dist/chunks/{integration-3yac4whj.js → location-services-0etd1xa7.js} +44 -44
- package/dist/chunks/{integration-cpkwkf9h.js → location-services-0g9k6d50.js} +43 -43
- package/dist/chunks/location-services-0mesazry.js +4 -0
- package/dist/chunks/{integration-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{integration-hp4jmy1m.js → location-services-0xpq87pm.js} +25 -25
- package/dist/chunks/{integration-sm965ndy.js → location-services-15nepkqg.js} +8 -8
- package/dist/chunks/{integration-df3df5tx.js → location-services-1cp1jdvt.js} +1 -1
- package/dist/chunks/{integration-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-vc0087w5.js → location-services-1gvvevgd.js} +33 -33
- package/dist/chunks/{integration-dyny52wp.js → location-services-1gwy9r54.js} +10 -10
- package/dist/chunks/{integration-38wtynka.js → location-services-1jd31h14.js} +27 -27
- package/dist/chunks/{integration-zzh81dpa.js → location-services-1kfd7ef9.js} +4 -4
- package/dist/chunks/{integration-03j9b3jk.js → location-services-1mr20jda.js} +46 -46
- package/dist/chunks/{integration-1x11rq2a.js → location-services-1x11rq2a.js} +1 -1
- package/dist/chunks/{integration-1ygqh575.js → location-services-1ygqh575.js} +2 -2
- package/dist/chunks/{integration-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{integration-7s6gk46a.js → location-services-23sxaqwc.js} +9 -9
- package/dist/chunks/{integration-770a54sa.js → location-services-28v8g8tv.js} +5 -5
- package/dist/chunks/{integration-z63w68vq.js → location-services-29x78va6.js} +6 -6
- package/dist/chunks/{integration-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-d2wn45h0.js → location-services-2e6pktnv.js} +16 -16
- package/dist/chunks/{integration-6prmm348.js → location-services-2f63qf0t.js} +17 -17
- package/dist/chunks/{integration-xt1tdxgr.js → location-services-2tvarzw6.js} +39 -39
- package/dist/chunks/{integration-pdpyb20r.js → location-services-31gk0xmh.js} +2 -2
- package/dist/chunks/{integration-c0r6f7mm.js → location-services-34w264d1.js} +23 -23
- package/dist/chunks/{integration-3j9bgvtg.js → location-services-3801kdgp.js} +5 -5
- package/dist/chunks/{integration-4c4kdbcc.js → location-services-3bcp9tcb.js} +24 -24
- package/dist/chunks/{integration-37nf6pc6.js → location-services-3c7atets.js} +85 -85
- package/dist/chunks/{integration-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{integration-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-dfmjf6m5.js → location-services-3tz37857.js} +7 -7
- package/dist/chunks/{integration-6rjq4ad6.js → location-services-3ythc6yv.js} +4 -4
- package/dist/chunks/{integration-y6kc6tp4.js → location-services-40rk6xyw.js} +84 -84
- package/dist/chunks/{integration-hrsemg44.js → location-services-41pwsgy5.js} +20 -20
- package/dist/chunks/{integration-8ca7gxyh.js → location-services-4an1x5pp.js} +41 -41
- package/dist/chunks/{integration-40syfmqs.js → location-services-4ez1w3r1.js} +15 -15
- package/dist/chunks/{integration-as71pn4z.js → location-services-4q2pb1pk.js} +12 -12
- package/dist/chunks/{integration-fc3y0cf9.js → location-services-4rsgw4yb.js} +27 -27
- package/dist/chunks/{integration-pc2a84et.js → location-services-4vd4dex8.js} +3 -3
- package/dist/chunks/{integration-n0pywpq4.js → location-services-4z9k8dmg.js} +6 -6
- package/dist/chunks/{integration-d0k1g5nx.js → location-services-51f5btjf.js} +6 -6
- package/dist/chunks/{integration-05xfxpq7.js → location-services-56m60q16.js} +8 -8
- package/dist/chunks/{integration-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-h6r3nrb9.js → location-services-5mtzsd3b.js} +4 -4
- package/dist/chunks/{integration-g3ggp856.js → location-services-5ra2q5qv.js} +24 -24
- package/dist/chunks/{integration-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-qmgpwst3.js → location-services-5vzt3hsq.js} +15 -15
- package/dist/chunks/{integration-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{integration-aqjh8shd.js → location-services-6egeq6my.js} +15 -15
- package/dist/chunks/{integration-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
- package/dist/chunks/{integration-6hjx5zpb.js → location-services-6hjx5zpb.js} +2 -2
- package/dist/chunks/{integration-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{integration-6kwbg8wh.js → location-services-6n25gfj7.js} +11 -11
- package/dist/chunks/{integration-tgcnk5sw.js → location-services-6q7a50ek.js} +12 -12
- package/dist/chunks/{integration-6t859kwb.js → location-services-6zbdesq5.js} +8 -8
- package/dist/chunks/{integration-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-qhqcr1gh.js → location-services-7bsa5gxs.js} +11 -11
- package/dist/chunks/{integration-swrygd8g.js → location-services-7egtcx6y.js} +12 -12
- package/dist/chunks/{integration-y8wrs88g.js → location-services-7gpacpea.js} +6 -6
- package/dist/chunks/{integration-3px23hty.js → location-services-7kw34kx6.js} +14 -14
- package/dist/chunks/{integration-kfj975qw.js → location-services-7nv231hx.js} +22 -22
- package/dist/chunks/{integration-8q7cq0y1.js → location-services-7wdjtyr9.js} +3 -3
- package/dist/chunks/{integration-20bc4xwk.js → location-services-8276pn1k.js} +10 -10
- package/dist/chunks/{integration-resym6eg.js → location-services-87fax2n3.js} +13 -13
- package/dist/chunks/{integration-f5wf4yvx.js → location-services-88cra88t.js} +18 -18
- package/dist/chunks/{integration-21x81dn7.js → location-services-88kaacx5.js} +13 -13
- package/dist/chunks/{integration-81czwxpn.js → location-services-88sz8qcd.js} +4 -4
- package/dist/chunks/{integration-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-m6yfnwxk.js → location-services-8ekyey0k.js} +15 -15
- package/dist/chunks/{integration-t2saf4f4.js → location-services-8nqr2n6c.js} +33 -33
- package/dist/chunks/{integration-dj2t23y0.js → location-services-8p4f9s12.js} +2 -2
- package/dist/chunks/{integration-a2t1w91b.js → location-services-8ptpxp6e.js} +5 -5
- package/dist/chunks/{integration-3py9tntd.js → location-services-8rzpx88q.js} +3 -3
- package/dist/chunks/{integration-g99b61ts.js → location-services-8s37hxe0.js} +17 -17
- package/dist/chunks/{integration-asb0e5kp.js → location-services-8vq4d4w0.js} +12 -12
- package/dist/chunks/{integration-dz9vhg1s.js → location-services-8xbwx0dm.js} +17 -17
- package/dist/chunks/{integration-c4dzwhsa.js → location-services-9ea2d7th.js} +42 -42
- package/dist/chunks/{integration-e0x1410n.js → location-services-9eqnyttp.js} +12 -12
- package/dist/chunks/{integration-5yzzbxa7.js → location-services-9hn6k4tm.js} +8 -8
- package/dist/chunks/{integration-f8pfj2sc.js → location-services-9psv48q1.js} +15 -15
- package/dist/chunks/{integration-hf35qd4r.js → location-services-9vvz8tb7.js} +6 -6
- package/dist/chunks/{integration-5c4hm403.js → location-services-a1bz86dw.js} +3 -3
- package/dist/chunks/{integration-qzm805mn.js → location-services-a5n5sjk6.js} +11 -11
- package/dist/chunks/{integration-c6zy8edb.js → location-services-a6g4ym8r.js} +23 -23
- package/dist/chunks/{integration-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-1w0ze9ww.js → location-services-aaq8jk6x.js} +10 -10
- package/dist/chunks/{integration-2e1bjvsf.js → location-services-abwfh72f.js} +9 -9
- package/dist/chunks/{integration-ddj0ymwc.js → location-services-af04s6ss.js} +5 -5
- package/dist/chunks/{integration-1hmf3n9v.js → location-services-agvg5qah.js} +21 -21
- package/dist/chunks/{integration-g26xt907.js → location-services-amzhydp5.js} +22 -22
- package/dist/chunks/{integration-kw3768dw.js → location-services-arj9dccy.js} +13 -13
- package/dist/chunks/{integration-5dfqdsj7.js → location-services-b384714b.js} +11 -11
- package/dist/chunks/{integration-bzmfcsv9.js → location-services-b5y3f1h0.js} +20 -20
- package/dist/chunks/{integration-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-vncycja5.js → location-services-bf0ztrs3.js} +4 -4
- package/dist/chunks/{integration-fnmgnefe.js → location-services-bkamt3qx.js} +19 -19
- package/dist/chunks/{integration-xp22rsqd.js → location-services-bnvn4pem.js} +40 -40
- package/dist/chunks/{integration-4wda806b.js → location-services-c1byb785.js} +4 -4
- package/dist/chunks/{integration-389yye29.js → location-services-c1eme1s4.js} +30 -30
- package/dist/chunks/{integration-g3nv7gdt.js → location-services-c2e8sy4y.js} +3 -3
- package/dist/chunks/{integration-5sj81wm5.js → location-services-c78bbtc9.js} +5 -5
- package/dist/chunks/{integration-0fpecbz0.js → location-services-c7fxb10r.js} +18 -18
- package/dist/chunks/{integration-vanf8egc.js → location-services-cfcb28fa.js} +13 -13
- package/dist/chunks/{integration-m0jqrx5p.js → location-services-cfpkc3c9.js} +2 -2
- package/dist/chunks/{integration-ngts6ef0.js → location-services-cfv81dax.js} +4 -4
- package/dist/chunks/location-services-cnkp4w5s.js +503 -0
- package/dist/chunks/{integration-evq6r5pz.js → location-services-cq37gk0t.js} +4 -4
- package/dist/chunks/{integration-7xk93j5g.js → location-services-d0m7pr96.js} +9 -9
- package/dist/chunks/{integration-4922jtsz.js → location-services-dam73wyf.js} +4 -4
- package/dist/chunks/{integration-d9zdz2z2.js → location-services-ddn55026.js} +26 -26
- package/dist/chunks/{integration-cwa6csj7.js → location-services-djszqvmq.js} +9 -9
- package/dist/chunks/{integration-yrkehnw4.js → location-services-dn2efj05.js} +20 -20
- package/dist/chunks/{integration-5qd3pb7m.js → location-services-e3qxr5gk.js} +2 -2
- package/dist/chunks/{integration-1fhwmga5.js → location-services-e3zex04b.js} +18 -18
- package/dist/chunks/{integration-wnys78fq.js → location-services-e5kr9kgh.js} +8 -8
- package/dist/chunks/{integration-8cmvxv2n.js → location-services-e6hmchc5.js} +5 -5
- package/dist/chunks/{integration-ph842b28.js → location-services-eahhehpg.js} +4 -4
- package/dist/chunks/{integration-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-nq9f2sea.js → location-services-ehyw662f.js} +16 -16
- package/dist/chunks/{integration-eqpk1bdp.js → location-services-emw51jwk.js} +12 -12
- package/dist/chunks/{integration-wyhfv9gp.js → location-services-epkv2gr7.js} +8 -8
- package/dist/chunks/{integration-erw5rpbs.js → location-services-erw5rpbs.js} +2 -2
- package/dist/chunks/{integration-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-j6n5stzb.js → location-services-ey38z1na.js} +5 -5
- package/dist/chunks/{integration-1acjjqhc.js → location-services-f2n192rq.js} +4 -4
- package/dist/chunks/{integration-mawajdgt.js → location-services-f73krv2a.js} +19 -19
- package/dist/chunks/{integration-hdnk95c8.js → location-services-f828m53h.js} +2 -2
- package/dist/chunks/{integration-fthkkkhg.js → location-services-fda3g3tq.js} +3 -3
- package/dist/chunks/{integration-g74mfj6n.js → location-services-fhs97t90.js} +9 -9
- package/dist/chunks/{integration-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/location-services-g603487s.js +252 -0
- package/dist/chunks/{integration-sk5xsj6r.js → location-services-gc3mdm9n.js} +297 -297
- package/dist/chunks/{integration-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-43t7v33g.js → location-services-gf90b0ze.js} +5 -5
- package/dist/chunks/{integration-dcgqazna.js → location-services-ghv5w7d0.js} +181 -181
- package/dist/chunks/{integration-mw2fg6pj.js → location-services-grywydj4.js} +32 -32
- package/dist/chunks/{integration-yyb7tjpc.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{integration-zgdfctg1.js → location-services-gzk824pf.js} +13 -13
- package/dist/chunks/{integration-2vf4e947.js → location-services-h5ys5bwc.js} +12 -12
- package/dist/chunks/{integration-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-hkxx6036.js → location-services-hfkd247d.js} +4 -4
- package/dist/chunks/{integration-nh0mjxp7.js → location-services-hhnzhpep.js} +35 -35
- package/dist/chunks/{integration-5frpvc34.js → location-services-hm6af37m.js} +2 -2
- package/dist/chunks/{integration-kannkt6w.js → location-services-hpr7df9q.js} +23 -23
- package/dist/chunks/{integration-2trq3hb0.js → location-services-hre4bev2.js} +21 -21
- package/dist/chunks/{integration-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-dn0hfwjd.js → location-services-j6aqjcjq.js} +22 -22
- package/dist/chunks/{integration-mbhr9f82.js → location-services-jg27fbph.js} +44 -44
- package/dist/chunks/{integration-4qawj64e.js → location-services-jx4nz2xk.js} +3 -3
- package/dist/chunks/{integration-dpja50vx.js → location-services-k1qrnqst.js} +8 -8
- package/dist/chunks/{integration-k3c624dm.js → location-services-k3c624dm.js} +3 -3
- package/dist/chunks/{integration-7ycq9z6v.js → location-services-k4xfvtes.js} +15 -15
- package/dist/chunks/{integration-656y7mct.js → location-services-k7b8rfmd.js} +30 -30
- package/dist/chunks/{integration-x2vsx718.js → location-services-kavbpyyd.js} +5 -5
- package/dist/chunks/{integration-pxb2vxqa.js → location-services-kjypnagj.js} +53 -53
- package/dist/chunks/{integration-vh11gp7b.js → location-services-kmx3s855.js} +33 -33
- package/dist/chunks/{integration-e8cxnywm.js → location-services-ktzj56fm.js} +55 -55
- package/dist/chunks/{integration-67bv38kp.js → location-services-ky3ckhpn.js} +15 -15
- package/dist/chunks/{integration-2hg7qvzt.js → location-services-kzdcqyn1.js} +5 -5
- package/dist/chunks/{integration-s9taesah.js → location-services-m1gdwcaq.js} +11 -11
- package/dist/chunks/{integration-2c7hjkzv.js → location-services-m2tcdgpb.js} +6 -6
- package/dist/chunks/{integration-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{integration-r0jaxdnm.js → location-services-m3w7ztfh.js} +9 -9
- package/dist/chunks/{integration-p6kr751s.js → location-services-m7tbhrfm.js} +11 -11
- package/dist/chunks/{integration-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-mhkvc446.js → location-services-mhkvc446.js} +1 -1
- package/dist/chunks/location-services-mna67q0j.js +26 -0
- package/dist/chunks/{integration-fdhrvswx.js → location-services-mpq7t3fm.js} +15 -15
- package/dist/chunks/{integration-n9xbr5qs.js → location-services-mprtma81.js} +9 -9
- package/dist/chunks/{integration-1g7epwpd.js → location-services-mtq6xxnx.js} +4 -4
- package/dist/chunks/{integration-d7wd0fc3.js → location-services-mwsmzt3f.js} +24 -24
- package/dist/chunks/{integration-a400dzpg.js → location-services-n5mtvmj9.js} +5 -5
- package/dist/chunks/{integration-wfhatf27.js → location-services-n6f5s1x7.js} +16 -16
- package/dist/chunks/{integration-24pra0tb.js → location-services-n6r87j0j.js} +28 -28
- package/dist/chunks/{integration-zqkb6vnp.js → location-services-n6v1qrtk.js} +9 -9
- package/dist/chunks/{integration-m9tffrca.js → location-services-n796g8g9.js} +16 -16
- package/dist/chunks/{integration-s4naetvv.js → location-services-ng0wn3re.js} +11 -11
- package/dist/chunks/{integration-v3pr8qqf.js → location-services-nk0qtxm3.js} +5 -5
- package/dist/chunks/{integration-rwmpkape.js → location-services-nmn7tnp3.js} +11 -11
- package/dist/chunks/{integration-eq3wzp13.js → location-services-nnbkbes4.js} +17 -17
- package/dist/chunks/{integration-nzkapjrr.js → location-services-ns5ky5mf.js} +6 -6
- package/dist/chunks/{integration-cccfnh5a.js → location-services-nt838bzg.js} +26 -26
- package/dist/chunks/{integration-hx34f59r.js → location-services-nvm7b3d9.js} +3 -3
- package/dist/chunks/{integration-48j2zt1v.js → location-services-p02qeq9f.js} +9 -9
- package/dist/chunks/{integration-p28j5sbe.js → location-services-p28j5sbe.js} +2 -2
- package/dist/chunks/{integration-5j0yb59s.js → location-services-p66gbczx.js} +38 -38
- package/dist/chunks/{integration-6qm6swf7.js → location-services-p7rv1rws.js} +1 -1
- package/dist/chunks/{integration-kpn6yc1h.js → location-services-p8szgfvy.js} +22 -22
- package/dist/chunks/{integration-68n7hrte.js → location-services-pe8snvzf.js} +23 -23
- package/dist/chunks/{integration-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{integration-5p1rfdyq.js → location-services-pvm4e74w.js} +16 -16
- package/dist/chunks/{integration-0jwsre1p.js → location-services-qgn6gcr1.js} +5 -5
- package/dist/chunks/{integration-qw358esm.js → location-services-qhc0r12v.js} +10 -10
- package/dist/chunks/{integration-57b9ws8p.js → location-services-qqeeq2t9.js} +4 -4
- package/dist/chunks/{integration-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-mvfdckk2.js → location-services-r3q6pmcz.js} +6 -6
- package/dist/chunks/{integration-zm909a0b.js → location-services-r56ww2g0.js} +27 -27
- package/dist/chunks/{integration-cjjah1w8.js → location-services-ra43yj2j.js} +14 -14
- package/dist/chunks/{integration-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{integration-rhjbct0v.js → location-services-rhjbct0v.js} +1 -1
- package/dist/chunks/{integration-5rdwjsjt.js → location-services-rp369ww1.js} +19 -19
- package/dist/chunks/{integration-j15mfg1p.js → location-services-rph3zd4r.js} +5 -5
- package/dist/chunks/{integration-sszbt98e.js → location-services-rwvda106.js} +23 -23
- package/dist/chunks/{integration-a7cjve08.js → location-services-rxb7sq98.js} +27 -27
- package/dist/chunks/{integration-h7kye0w6.js → location-services-ryw434v4.js} +30 -30
- package/dist/chunks/{integration-yrznvahk.js → location-services-s4enseaf.js} +2 -2
- package/dist/chunks/{integration-2egga9pe.js → location-services-s4mvkza9.js} +19 -19
- package/dist/chunks/{integration-jbj3etk1.js → location-services-s6feradb.js} +24 -24
- package/dist/chunks/{integration-9d2414c3.js → location-services-s92nqyjh.js} +26 -26
- package/dist/chunks/{integration-fza5jp61.js → location-services-sb32ssze.js} +24 -24
- package/dist/chunks/{integration-19w9qk9n.js → location-services-scq4khx8.js} +1 -1
- package/dist/chunks/{integration-v3fhj47b.js → location-services-se4bhmmn.js} +18 -18
- package/dist/chunks/{integration-tcpv6fet.js → location-services-skv7khd7.js} +10 -10
- package/dist/chunks/{integration-0tdteykj.js → location-services-sn3tdkda.js} +41 -41
- package/dist/chunks/{integration-87zr47vs.js → location-services-snf4x512.js} +13 -13
- package/dist/chunks/{integration-182k75zp.js → location-services-st7xyzc1.js} +10 -10
- package/dist/chunks/{integration-b8zd1dgj.js → location-services-swezhaf3.js} +15 -15
- package/dist/chunks/{integration-qcnxzm3p.js → location-services-sxe2jk1w.js} +4 -4
- package/dist/chunks/{integration-hs2a3b3x.js → location-services-t6sgf1tq.js} +9 -9
- package/dist/chunks/{integration-x9mtwtp0.js → location-services-t9d84gp7.js} +4 -4
- package/dist/chunks/{integration-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{integration-a4j0h1fs.js → location-services-te64bnw5.js} +11 -11
- package/dist/chunks/{integration-g53y8d7p.js → location-services-tj1j9wj6.js} +11 -11
- package/dist/chunks/{integration-s6s23k6p.js → location-services-tj3f376k.js} +45 -45
- package/dist/chunks/{integration-jx4jx4s1.js → location-services-tk6mcj4j.js} +2 -2
- package/dist/chunks/{integration-v8nsmxgn.js → location-services-try8nhvt.js} +8 -8
- package/dist/chunks/{integration-4wjgkdq6.js → location-services-tsvx7fxa.js} +11 -11
- package/dist/chunks/{integration-btbt01w5.js → location-services-tvrqpjh0.js} +5 -5
- package/dist/chunks/{integration-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{integration-9dh77anx.js → location-services-tzjj1kc7.js} +7 -7
- package/dist/chunks/{integration-72m6hkvd.js → location-services-v0zc82fe.js} +3 -3
- package/dist/chunks/{integration-qb18929a.js → location-services-v159pygw.js} +10 -10
- package/dist/chunks/{integration-pz751ev0.js → location-services-v62zg8mg.js} +30 -30
- package/dist/chunks/{integration-hm85x9m1.js → location-services-vbtntptj.js} +5 -5
- package/dist/chunks/{integration-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-b2p7bkwd.js → location-services-vg1y2ksa.js} +4 -4
- package/dist/chunks/{integration-1cx00bqb.js → location-services-vgdmpsq1.js} +11 -11
- package/dist/chunks/{integration-2v69z2tf.js → location-services-vjwykvdj.js} +32 -32
- package/dist/chunks/{integration-6gya8kk4.js → location-services-vk4y7fnw.js} +8 -8
- package/dist/chunks/{integration-39nmrk64.js → location-services-vts118fw.js} +8 -8
- package/dist/chunks/{integration-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-2z2t85b8.js → location-services-w0s1wefr.js} +9 -9
- package/dist/chunks/{integration-75j49bre.js → location-services-w28zxt92.js} +5 -5
- package/dist/chunks/{integration-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-09narjj3.js → location-services-w3y8k1v7.js} +16 -16
- package/dist/chunks/{integration-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{integration-6ryjh4tb.js → location-services-wg2wfkmw.js} +9 -9
- package/dist/chunks/{integration-187bvr26.js → location-services-wp495f2m.js} +25 -25
- package/dist/chunks/{integration-xpdazfxb.js → location-services-ws03zej7.js} +33 -33
- package/dist/chunks/{integration-ps52ddqb.js → location-services-wyn7s30h.js} +15 -15
- package/dist/chunks/{integration-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-mjymc32g.js → location-services-xdk9p2qn.js} +21 -21
- package/dist/chunks/{integration-xq41t9za.js → location-services-xjpwa9c9.js} +6 -6
- package/dist/chunks/{integration-jjvrgtbx.js → location-services-xrekytkb.js} +11 -11
- package/dist/chunks/{integration-y0kek7d1.js → location-services-xvdb5qe3.js} +24 -24
- package/dist/chunks/{integration-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-d9s573fh.js → location-services-y5mrfvw4.js} +9 -9
- package/dist/chunks/{integration-y71avatq.js → location-services-y71avatq.js} +1 -1
- package/dist/chunks/{integration-b6vw8m9y.js → location-services-ydteqrt6.js} +3 -3
- package/dist/chunks/{integration-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{integration-3xy8va9h.js → location-services-yx4eqfxe.js} +9 -9
- package/dist/chunks/{integration-02e8rxmk.js → location-services-yzn5ksjm.js} +11 -11
- package/dist/chunks/{integration-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-ses997a2.js → location-services-z4pnwbb1.js} +47 -47
- package/dist/chunks/{integration-rpg9c19m.js → location-services-zcrspsvn.js} +4 -4
- package/dist/chunks/{integration-rq775frq.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{integration-v9w25wjm.js → location-services-zg12q5ce.js} +11 -11
- package/dist/chunks/{integration-x8dsmyvq.js → location-services-zj0384f4.js} +32 -32
- package/dist/chunks/{integration-qckd8gyq.js → location-services-zq3kwfqf.js} +21 -21
- package/dist/chunks/{integration-3tq5qxbk.js → location-services-zqx8wcya.js} +6 -6
- package/dist/chunks/{integration-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-jf5sdrr3.js → location-services-zr5theey.js} +18 -18
- package/dist/chunks/{integration-kb52ax7j.js → location-services-zrb79psr.js} +17 -17
- package/dist/chunks/{integration-b6xep9de.js → location-services-zs5rg84x.js} +4 -4
- package/dist/chunks/{integration-hes1j7ga.js → location-services-zvwz45r0.js} +9 -9
- package/dist/chunks/{integration-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 +80 -80
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +129 -129
- package/dist/config/plugin/policy.js +123 -123
- 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 +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- 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 +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- 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 +224 -224
- 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 +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- 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 +360 -360
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- 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 +131 -131
- 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 +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +127 -127
- 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 +114 -114
- 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 +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +3 -3
- 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 +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- 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 +93 -93
- 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 +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- 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 +127 -127
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- 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 +125 -125
- 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 +228 -228
- 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 +123 -123
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- 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 +15 -15
- 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 +90 -90
- 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 +124 -124
- 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 +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- 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 +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 +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/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 +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/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/integration-377qe2jc.js +0 -503
- package/dist/chunks/integration-nqcy5pz9.js +0 -26
- package/dist/chunks/integration-qapv375x.js +0 -4
- package/dist/chunks/integration-vww0cb17.js +0 -252
- /package/dist/chunks/{integration-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./location-services-n796g8g9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./location-services-88cra88t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./location-services-s4mvkza9.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./location-services-4ez1w3r1.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input9,
|
|
36
|
+
Plugin: () => Plugin45,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name9,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name9 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input9 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin45 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service16;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service74;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name9,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input9,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin40 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent4 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name9, Input9, Plugin45, toModelContent4, exports_read };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./location-services-zvwz45r0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./location-services-51f5btjf.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-1x11rq2a.js";
|
|
13
13
|
import {
|
|
14
14
|
Service62
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-cfv81dax.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-t6sgf1tq.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service56
|
|
23
|
+
} from "./location-services-7nv231hx.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,7 +39,7 @@ 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* Service44;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
45
|
const hooks = yield* Service62;
|
|
@@ -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* Service56;
|
|
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);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service68;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
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 })));
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-1kfd7ef9.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: () => Event21,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
18
|
+
Info: () => Info34,
|
|
19
|
+
NotFoundError: () => NotFoundError10,
|
|
20
|
+
Service: () => Service80,
|
|
21
21
|
layer: () => layer24,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node84
|
|
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 Event21 } from "@opencode/schema/command";
|
|
28
|
+
var Info34 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError10 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service80 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var layer24 = Layer.effect(
|
|
44
|
+
var layer24 = Layer.effect(Service80, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer24 = Layer.effect(Service72, 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) => Info34.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service80.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,13 +66,13 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError10({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
74
|
+
var node84 = makeLocationNode({
|
|
75
|
+
service: Service80,
|
|
76
76
|
layer: layer24,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info34, NotFoundError10, ExecutionError2, Service80, layer24, node84, exports_command5, Event21 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
10
|
+
Entry: () => Entry3,
|
|
11
11
|
Info: () => Info15,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry3 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String,
|
|
82
|
+
var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info15, exports_lsp };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./location-services-s6feradb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./location-services-ktzj56fm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service52
|
|
14
|
+
} from "./location-services-a6g4ym8r.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input3,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin38,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
26
|
description: () => description3,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name3 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input3 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin38 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service59;
|
|
53
|
+
const forms = yield* Service73;
|
|
54
|
+
const websearch = yield* Service52;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name3,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description3,
|
|
59
|
-
input:
|
|
59
|
+
input: Input3,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name3,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name3];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name3, NO_RESULTS2, description3, Input3, Plugin38, exports_websearch2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-1kfd7ef9.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-amzhydp5.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError11,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service81,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured10,
|
|
25
|
+
layer: () => layer25,
|
|
26
|
+
node: () => node85
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError11 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service81 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service81, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service13, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError11({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service13, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service13, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service81.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service13, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer25 = makeLayer();
|
|
259
|
+
var configured10 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service81,
|
|
261
|
+
layer: options === undefined ? layer25 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node85 = configured10();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError11, Service81, layer25, configured10, node85, exports_persistent_pty, Handoff2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-1kfd7ef9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-services-6q7a50ek.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service74,
|
|
11
|
+
node78
|
|
12
|
+
} from "./location-services-n796g8g9.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-1x11rq2a.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service64,
|
|
18
|
+
node68
|
|
19
|
+
} from "./location-services-3bcp9tcb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node25
|
|
22
|
+
} from "./location-services-mpq7t3fm.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service10,
|
|
25
|
+
node12
|
|
26
|
+
} from "./location-services-djszqvmq.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher2 = {};
|
|
33
33
|
__export(exports_location_watcher2, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service9,
|
|
36
|
+
node: () => node11
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service74;
|
|
47
|
+
const watcher = yield* Service64;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service76;
|
|
51
|
+
const policy = yield* Service10;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service9.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node11 = makeLocationNode({
|
|
106
|
+
service: Service9,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node68, FSUtil.node, node78, node80, node87, node25, node12]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service9, node11, exports_location_watcher2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-29x78va6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/config/variable.ts
|
|
9
9
|
var exports_variable = {};
|