@opencode/core 0.0.0-dev-19987 → 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 +5 -5
- package/dist/bus.js +72 -72
- package/dist/chunks/{state-stxdqzsk.js → location-services-00fzm1w7.js} +32 -32
- package/dist/chunks/{state-35k05k98.js → location-services-01m6rrzq.js} +31 -31
- package/dist/chunks/{state-9bt3zpnc.js → location-services-0awvc9r7.js} +45 -45
- package/dist/chunks/{state-xzx5fa3q.js → location-services-0etd1xa7.js} +47 -47
- package/dist/chunks/{state-7bazm11g.js → location-services-0g9k6d50.js} +44 -44
- package/dist/chunks/location-services-0mesazry.js +4 -0
- package/dist/chunks/{state-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
- package/dist/chunks/{state-khdh8nas.js → location-services-0xpq87pm.js} +28 -28
- package/dist/chunks/{state-qvb3nf84.js → location-services-15nepkqg.js} +8 -8
- package/dist/chunks/{state-dsambs2d.js → location-services-1cp1jdvt.js} +1 -1
- package/dist/chunks/{state-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-589961pp.js → location-services-1gvvevgd.js} +35 -35
- package/dist/chunks/{state-vq0pq1hf.js → location-services-1gwy9r54.js} +7 -7
- package/dist/chunks/{state-zepzj8t0.js → location-services-1jd31h14.js} +32 -32
- package/dist/chunks/{state-s3qbv9e3.js → location-services-1kfd7ef9.js} +12 -12
- package/dist/chunks/{state-kd9z5t9k.js → location-services-1mr20jda.js} +55 -55
- package/dist/chunks/location-services-1x11rq2a.js +18 -0
- package/dist/chunks/{state-1ygqh575.js → location-services-1ygqh575.js} +2 -2
- package/dist/chunks/{state-21r38tys.js → location-services-21r38tys.js} +1 -1
- package/dist/chunks/{state-7w3s9kd0.js → location-services-23sxaqwc.js} +6 -6
- package/dist/chunks/{state-vcb4zatg.js → location-services-28v8g8tv.js} +7 -7
- package/dist/chunks/{state-z63w68vq.js → location-services-29x78va6.js} +6 -6
- package/dist/chunks/{state-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-85e1v2sb.js → location-services-2e6pktnv.js} +16 -16
- package/dist/chunks/{state-k9eqq2e9.js → location-services-2f63qf0t.js} +17 -17
- package/dist/chunks/{state-26makf88.js → location-services-2tvarzw6.js} +27 -27
- package/dist/chunks/{state-qvtz2jxg.js → location-services-31gk0xmh.js} +8 -8
- package/dist/chunks/{state-14xcjfaz.js → location-services-34w264d1.js} +23 -23
- package/dist/chunks/{state-3j9bgvtg.js → location-services-3801kdgp.js} +5 -5
- package/dist/chunks/{state-9a5q7tkv.js → location-services-3bcp9tcb.js} +22 -22
- package/dist/chunks/{state-7bx1s60a.js → location-services-3c7atets.js} +92 -92
- package/dist/chunks/{state-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-12n9xz34.js → location-services-3tz37857.js} +7 -7
- package/dist/chunks/{state-ec87kc5z.js → location-services-3ythc6yv.js} +4 -4
- package/dist/chunks/{state-fa2zpvfy.js → location-services-40rk6xyw.js} +83 -83
- package/dist/chunks/{state-4jm74est.js → location-services-41pwsgy5.js} +23 -23
- package/dist/chunks/{state-pjd8p6gf.js → location-services-4an1x5pp.js} +44 -44
- package/dist/chunks/{state-jjd79y98.js → location-services-4ez1w3r1.js} +17 -17
- package/dist/chunks/{state-x704vwdd.js → location-services-4q2pb1pk.js} +12 -12
- package/dist/chunks/{state-68bmj4r5.js → location-services-4rsgw4yb.js} +28 -28
- package/dist/chunks/{state-tpjhxhtx.js → location-services-4vd4dex8.js} +3 -3
- package/dist/chunks/{state-phjaars8.js → location-services-4z9k8dmg.js} +6 -6
- package/dist/chunks/{state-2a6rn6yr.js → location-services-51f5btjf.js} +6 -6
- package/dist/chunks/{state-m3zza4qd.js → location-services-56m60q16.js} +8 -8
- package/dist/chunks/{state-5daktx2q.js → location-services-5daktx2q.js} +1 -1
- package/dist/chunks/{state-4dgbcxzg.js → location-services-5mtzsd3b.js} +4 -4
- package/dist/chunks/{state-maj0r7ss.js → location-services-5ra2q5qv.js} +21 -21
- package/dist/chunks/{state-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-9q1s0tyn.js → location-services-5vzt3hsq.js} +15 -15
- package/dist/chunks/{state-669tq793.js → location-services-669tq793.js} +1 -1
- package/dist/chunks/{state-g6rzw7q6.js → location-services-6egeq6my.js} +27 -27
- package/dist/chunks/{state-2402vzrj.js → location-services-6h73sxmp.js} +5 -5
- package/dist/chunks/{state-ajdjch6h.js → location-services-6hjx5zpb.js} +9 -9
- package/dist/chunks/{state-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-wday4843.js → location-services-6n25gfj7.js} +11 -11
- package/dist/chunks/{state-e23w9d35.js → location-services-6q7a50ek.js} +12 -12
- package/dist/chunks/{state-hk9vqsvv.js → location-services-6zbdesq5.js} +8 -8
- package/dist/chunks/{state-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-vfqx7caj.js → location-services-7bsa5gxs.js} +11 -11
- package/dist/chunks/{state-4vpwrdft.js → location-services-7egtcx6y.js} +12 -12
- package/dist/chunks/{state-v51m7ygs.js → location-services-7gpacpea.js} +6 -6
- package/dist/chunks/{state-ydm596x3.js → location-services-7kw34kx6.js} +16 -16
- package/dist/chunks/{state-x6zehq8q.js → location-services-7nv231hx.js} +26 -26
- package/dist/chunks/{state-256nx13v.js → location-services-7wdjtyr9.js} +2 -2
- package/dist/chunks/{state-amgg2zvk.js → location-services-8276pn1k.js} +10 -10
- package/dist/chunks/{state-rdvzw9t8.js → location-services-87fax2n3.js} +10 -10
- package/dist/chunks/{state-24r7k6mc.js → location-services-88cra88t.js} +18 -18
- package/dist/chunks/{state-920akmr8.js → location-services-88kaacx5.js} +12 -12
- package/dist/chunks/{state-5c0f1prt.js → location-services-88sz8qcd.js} +4 -4
- package/dist/chunks/{state-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-82gwmp8p.js → location-services-8ekyey0k.js} +17 -17
- package/dist/chunks/{state-rs95eanb.js → location-services-8nqr2n6c.js} +36 -36
- package/dist/chunks/{state-8p4f9s12.js → location-services-8p4f9s12.js} +2 -2
- package/dist/chunks/{state-9wev4xx9.js → location-services-8ptpxp6e.js} +10 -10
- package/dist/chunks/{state-w1vgrpj6.js → location-services-8rzpx88q.js} +3 -3
- package/dist/chunks/{state-5g1k2x2w.js → location-services-8s37hxe0.js} +8 -8
- package/dist/chunks/{state-4rzsfdgf.js → location-services-8vq4d4w0.js} +10 -10
- package/dist/chunks/{state-j2e42xvh.js → location-services-8xbwx0dm.js} +17 -17
- package/dist/chunks/{state-qdjw24f7.js → location-services-9ea2d7th.js} +39 -39
- package/dist/chunks/{state-vmvde4w9.js → location-services-9eqnyttp.js} +12 -12
- package/dist/chunks/{state-5yzzbxa7.js → location-services-9hn6k4tm.js} +8 -8
- package/dist/chunks/{state-9gsqbh9p.js → location-services-9psv48q1.js} +15 -15
- package/dist/chunks/{state-1j9zc48m.js → location-services-9vvz8tb7.js} +3 -3
- package/dist/chunks/{state-a1bz86dw.js → location-services-a1bz86dw.js} +3 -3
- package/dist/chunks/{state-774g8ja7.js → location-services-a5n5sjk6.js} +11 -11
- package/dist/chunks/{state-qe2799nx.js → location-services-a6g4ym8r.js} +27 -27
- package/dist/chunks/{state-aaet6srn.js → location-services-aaet6srn.js} +2 -2
- package/dist/chunks/{state-jf8j6bh6.js → location-services-aaq8jk6x.js} +7 -7
- package/dist/chunks/{state-54tz6as1.js → location-services-abwfh72f.js} +9 -9
- package/dist/chunks/{state-af04s6ss.js → location-services-af04s6ss.js} +2 -2
- package/dist/chunks/{state-dx8srcfp.js → location-services-agvg5qah.js} +24 -24
- package/dist/chunks/{state-43n7bj9p.js → location-services-amzhydp5.js} +11 -11
- package/dist/chunks/{state-vmea8g6y.js → location-services-arj9dccy.js} +13 -13
- package/dist/chunks/{state-rzd4jsfj.js → location-services-b384714b.js} +14 -14
- package/dist/chunks/{state-jf72b1az.js → location-services-b5y3f1h0.js} +22 -22
- package/dist/chunks/{state-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-r98e92ep.js → location-services-bf0ztrs3.js} +4 -4
- package/dist/chunks/{state-ncvzejv0.js → location-services-bkamt3qx.js} +15 -15
- package/dist/chunks/{state-k5ecf9q0.js → location-services-bnvn4pem.js} +45 -45
- package/dist/chunks/{state-4dyvnqdf.js → location-services-c1byb785.js} +4 -4
- package/dist/chunks/{state-qt4daa5e.js → location-services-c1eme1s4.js} +37 -37
- package/dist/chunks/{state-3rgktn1y.js → location-services-c2e8sy4y.js} +3 -3
- package/dist/chunks/{state-tn0aqsam.js → location-services-c78bbtc9.js} +5 -5
- package/dist/chunks/{state-4ysqm8zf.js → location-services-c7fxb10r.js} +18 -18
- package/dist/chunks/{state-8xz4k282.js → location-services-cfcb28fa.js} +13 -13
- package/dist/chunks/{state-cfpkc3c9.js → location-services-cfpkc3c9.js} +2 -2
- package/dist/chunks/{state-pnaxc6j9.js → location-services-cfv81dax.js} +8 -8
- package/dist/chunks/location-services-cnkp4w5s.js +503 -0
- package/dist/chunks/{state-cq37gk0t.js → location-services-cq37gk0t.js} +4 -4
- package/dist/chunks/{state-dedzzeqk.js → location-services-d0m7pr96.js} +9 -9
- package/dist/chunks/{state-g82jw6gg.js → location-services-dam73wyf.js} +4 -4
- package/dist/chunks/{state-nejw5358.js → location-services-ddn55026.js} +32 -32
- package/dist/chunks/{state-gjwgx2c5.js → location-services-djszqvmq.js} +9 -9
- package/dist/chunks/{state-2fmt93mx.js → location-services-dn2efj05.js} +20 -20
- package/dist/chunks/{state-5qd3pb7m.js → location-services-e3qxr5gk.js} +2 -2
- package/dist/chunks/{state-1chcdynj.js → location-services-e3zex04b.js} +18 -18
- package/dist/chunks/{state-jv4eadh7.js → location-services-e5kr9kgh.js} +8 -8
- package/dist/chunks/{state-yjptyezs.js → location-services-e6hmchc5.js} +5 -5
- package/dist/chunks/{state-tjedn1bk.js → location-services-eahhehpg.js} +4 -4
- package/dist/chunks/{state-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-hkcwzywy.js → location-services-ehyw662f.js} +29 -29
- package/dist/chunks/{state-vsgqqedx.js → location-services-emw51jwk.js} +12 -12
- package/dist/chunks/{state-zz26p3g5.js → location-services-epkv2gr7.js} +11 -11
- package/dist/chunks/{state-erw5rpbs.js → location-services-erw5rpbs.js} +2 -2
- package/dist/chunks/{state-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-3p323ymy.js → location-services-ey38z1na.js} +3 -3
- package/dist/chunks/{state-1acjjqhc.js → location-services-f2n192rq.js} +4 -4
- package/dist/chunks/{state-xxbqrttr.js → location-services-f73krv2a.js} +27 -27
- package/dist/chunks/{state-f828m53h.js → location-services-f828m53h.js} +2 -2
- package/dist/chunks/{state-7e0d1mpp.js → location-services-fda3g3tq.js} +1 -1
- package/dist/chunks/{state-24dd53tp.js → location-services-fhs97t90.js} +9 -9
- package/dist/chunks/{state-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
- package/dist/chunks/location-services-g603487s.js +252 -0
- package/dist/chunks/{state-z24r31ms.js → location-services-gc3mdm9n.js} +29 -29
- package/dist/chunks/{state-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-pnrmr4rz.js → location-services-gf90b0ze.js} +1 -1
- package/dist/chunks/{state-xk69ahjq.js → location-services-ghv5w7d0.js} +155 -155
- package/dist/chunks/{state-gmgjpvnn.js → location-services-grywydj4.js} +37 -37
- package/dist/chunks/{state-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-gsm7z1g1.js → location-services-gzk824pf.js} +12 -12
- package/dist/chunks/{state-g61g38x8.js → location-services-h5ys5bwc.js} +10 -10
- package/dist/chunks/{state-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-zh7z2axx.js → location-services-hfkd247d.js} +4 -4
- package/dist/chunks/{state-axpfp605.js → location-services-hhnzhpep.js} +34 -34
- package/dist/chunks/{state-m7va1g8x.js → location-services-hm6af37m.js} +2 -2
- package/dist/chunks/{state-5vyyk18a.js → location-services-hpr7df9q.js} +10 -10
- package/dist/chunks/{state-e2qnmkmv.js → location-services-hre4bev2.js} +21 -21
- package/dist/chunks/{state-j56e64zr.js → location-services-j56e64zr.js} +1 -1
- package/dist/chunks/{state-9x6v8nxw.js → location-services-j6aqjcjq.js} +22 -22
- package/dist/chunks/{state-s418py6z.js → location-services-jg27fbph.js} +35 -35
- package/dist/chunks/{state-7a0djmqj.js → location-services-jx4nz2xk.js} +1 -1
- package/dist/chunks/{state-fw2v9256.js → location-services-k1qrnqst.js} +8 -8
- package/dist/chunks/{state-k3c624dm.js → location-services-k3c624dm.js} +3 -3
- package/dist/chunks/{state-cvfdeyxj.js → location-services-k4xfvtes.js} +11 -11
- package/dist/chunks/{state-2e69wwha.js → location-services-k7b8rfmd.js} +32 -32
- package/dist/chunks/{state-grehnhs0.js → location-services-kavbpyyd.js} +3 -3
- package/dist/chunks/{state-b7ew3pv2.js → location-services-kjypnagj.js} +72 -72
- package/dist/chunks/{state-ejwjq12k.js → location-services-kmx3s855.js} +31 -31
- package/dist/chunks/{state-9a3ps1ng.js → location-services-ktzj56fm.js} +52 -52
- package/dist/chunks/{state-8nar0chc.js → location-services-ky3ckhpn.js} +18 -18
- package/dist/chunks/{state-94s48bjb.js → location-services-kzdcqyn1.js} +5 -5
- package/dist/chunks/{state-zh2phv9k.js → location-services-m1gdwcaq.js} +7 -7
- package/dist/chunks/{state-vtt0yr3x.js → location-services-m2tcdgpb.js} +11 -11
- package/dist/chunks/{state-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
- package/dist/chunks/{state-w94gdkfg.js → location-services-m3w7ztfh.js} +7 -7
- package/dist/chunks/{state-wavy99wc.js → location-services-m7tbhrfm.js} +11 -11
- package/dist/chunks/{state-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-1bbkgx8g.js → location-services-mhkvc446.js} +3 -3
- package/dist/chunks/location-services-mna67q0j.js +26 -0
- package/dist/chunks/{state-bzbmf0ke.js → location-services-mpq7t3fm.js} +22 -22
- package/dist/chunks/{state-nfafr5xt.js → location-services-mprtma81.js} +9 -9
- package/dist/chunks/{state-ratrq7cm.js → location-services-mtq6xxnx.js} +7 -7
- package/dist/chunks/{state-qbke3kgq.js → location-services-mwsmzt3f.js} +22 -22
- package/dist/chunks/{state-p6hvzet5.js → location-services-n5mtvmj9.js} +3 -3
- package/dist/chunks/{state-h7dhztqn.js → location-services-n6f5s1x7.js} +28 -28
- package/dist/chunks/{state-jt5zqcnj.js → location-services-n6r87j0j.js} +23 -23
- package/dist/chunks/{state-nj0t66hd.js → location-services-n6v1qrtk.js} +9 -9
- package/dist/chunks/{state-e0j28ztz.js → location-services-n796g8g9.js} +16 -16
- package/dist/chunks/{state-e5fdxfkw.js → location-services-ng0wn3re.js} +13 -13
- package/dist/chunks/{state-grp8hrc0.js → location-services-nk0qtxm3.js} +2 -2
- package/dist/chunks/{state-2cqnphx6.js → location-services-nmn7tnp3.js} +11 -11
- package/dist/chunks/{state-mgaev69e.js → location-services-nnbkbes4.js} +22 -22
- package/dist/chunks/{state-rvaqgq0f.js → location-services-ns5ky5mf.js} +6 -6
- package/dist/chunks/{state-8h1rar5v.js → location-services-nt838bzg.js} +26 -26
- package/dist/chunks/{state-q8m5at2c.js → location-services-nvm7b3d9.js} +3 -3
- package/dist/chunks/{state-h3c9f1nz.js → location-services-p02qeq9f.js} +11 -11
- package/dist/chunks/{state-p28j5sbe.js → location-services-p28j5sbe.js} +2 -2
- package/dist/chunks/{state-jdwnx8pe.js → location-services-p66gbczx.js} +40 -40
- package/dist/chunks/{state-aj2z9raa.js → location-services-p7rv1rws.js} +1 -1
- package/dist/chunks/{state-p7kban1t.js → location-services-p8szgfvy.js} +25 -25
- package/dist/chunks/{state-beg6ypph.js → location-services-pe8snvzf.js} +23 -23
- package/dist/chunks/{state-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{state-g4dbe96p.js → location-services-pvm4e74w.js} +23 -23
- package/dist/chunks/{state-qgn6gcr1.js → location-services-qgn6gcr1.js} +1 -1
- package/dist/chunks/{state-pdb37evm.js → location-services-qhc0r12v.js} +10 -10
- package/dist/chunks/{state-xfkkasph.js → location-services-qqeeq2t9.js} +7 -7
- package/dist/chunks/{state-qsdy395h.js → location-services-qsdy395h.js} +1 -1
- package/dist/chunks/{state-258tza17.js → location-services-r3q6pmcz.js} +4 -4
- package/dist/chunks/{state-z2v46jm6.js → location-services-r56ww2g0.js} +27 -27
- package/dist/chunks/{state-nbhnp41v.js → location-services-ra43yj2j.js} +16 -16
- package/dist/chunks/{state-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-rhjbct0v.js → location-services-rhjbct0v.js} +1 -1
- package/dist/chunks/{state-zghndv56.js → location-services-rp369ww1.js} +28 -28
- package/dist/chunks/{state-cqg8v4c7.js → location-services-rph3zd4r.js} +6 -6
- package/dist/chunks/{state-zj8f3y17.js → location-services-rwvda106.js} +26 -26
- package/dist/chunks/{state-ec6wrcn5.js → location-services-rxb7sq98.js} +31 -31
- package/dist/chunks/{state-tz4g707y.js → location-services-ryw434v4.js} +33 -33
- package/dist/chunks/{state-yrznvahk.js → location-services-s4enseaf.js} +2 -2
- package/dist/chunks/{state-xsjeyn3d.js → location-services-s4mvkza9.js} +22 -22
- package/dist/chunks/{state-gc4k3fky.js → location-services-s6feradb.js} +20 -20
- package/dist/chunks/{state-gnrsfd5m.js → location-services-s92nqyjh.js} +15 -15
- package/dist/chunks/{state-vjbq76n5.js → location-services-sb32ssze.js} +24 -24
- package/dist/chunks/{state-zhq6vg7a.js → location-services-scq4khx8.js} +1 -1
- package/dist/chunks/{state-a549hgdk.js → location-services-se4bhmmn.js} +20 -20
- package/dist/chunks/{state-n3xehdaz.js → location-services-skv7khd7.js} +10 -10
- package/dist/chunks/{state-hcp58akx.js → location-services-sn3tdkda.js} +41 -41
- package/dist/chunks/{state-s8a6xw4k.js → location-services-snf4x512.js} +13 -13
- package/dist/chunks/{state-07pd4vcj.js → location-services-st7xyzc1.js} +10 -10
- package/dist/chunks/{state-x392k3xw.js → location-services-swezhaf3.js} +14 -14
- package/dist/chunks/{state-xgq75542.js → location-services-sxe2jk1w.js} +4 -4
- package/dist/chunks/{state-f35htakt.js → location-services-t6sgf1tq.js} +9 -9
- package/dist/chunks/{state-ajvrh1yc.js → location-services-t9d84gp7.js} +4 -4
- package/dist/chunks/{state-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-89znhe33.js → location-services-tcezcvh9.js} +4 -4
- package/dist/chunks/{state-tdstcens.js → location-services-tdstcens.js} +1 -1
- package/dist/chunks/{state-5gt7xfyw.js → location-services-te64bnw5.js} +6 -6
- package/dist/chunks/{state-td6ehhd6.js → location-services-tj1j9wj6.js} +9 -9
- package/dist/chunks/{state-t8rwn89y.js → location-services-tj3f376k.js} +44 -44
- package/dist/chunks/{state-b25x8xnb.js → location-services-tk6mcj4j.js} +2 -2
- package/dist/chunks/{state-13ggeyh8.js → location-services-try8nhvt.js} +8 -8
- package/dist/chunks/{state-ggcakazf.js → location-services-tsvx7fxa.js} +11 -11
- package/dist/chunks/{state-ww9qvp54.js → location-services-tvrqpjh0.js} +3 -3
- package/dist/chunks/{state-tvtrv512.js → location-services-tvtrv512.js} +1 -1
- package/dist/chunks/{state-tkwnk4jh.js → location-services-tzjj1kc7.js} +7 -7
- package/dist/chunks/{state-xns7fgqg.js → location-services-v0zc82fe.js} +6 -6
- package/dist/chunks/{state-pwr8kbjj.js → location-services-v159pygw.js} +12 -12
- package/dist/chunks/{state-jmp1cgqn.js → location-services-v62zg8mg.js} +32 -32
- package/dist/chunks/{state-satmk7yw.js → location-services-vbtntptj.js} +2 -2
- package/dist/chunks/{state-veqvce7d.js → location-services-veqvce7d.js} +1 -1
- package/dist/chunks/{state-mvbvb2ym.js → location-services-vg1y2ksa.js} +4 -4
- package/dist/chunks/{state-3sdc9e54.js → location-services-vgdmpsq1.js} +9 -9
- package/dist/chunks/{state-2df1zbc2.js → location-services-vjwykvdj.js} +32 -32
- package/dist/chunks/{state-mb0j4q21.js → location-services-vk4y7fnw.js} +8 -8
- package/dist/chunks/{state-7hvzkmeb.js → location-services-vts118fw.js} +11 -11
- package/dist/chunks/{state-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-bxa5630a.js → location-services-w0s1wefr.js} +7 -7
- package/dist/chunks/{state-40rc7ac6.js → location-services-w28zxt92.js} +5 -5
- package/dist/chunks/{state-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-6wdhtwwf.js → location-services-w3y8k1v7.js} +17 -17
- package/dist/chunks/{state-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{state-cdzfnnfc.js → location-services-wg2wfkmw.js} +6 -6
- package/dist/chunks/{state-dsybc7nn.js → location-services-wp495f2m.js} +25 -25
- package/dist/chunks/{state-n0h0amn2.js → location-services-ws03zej7.js} +33 -33
- package/dist/chunks/{state-dfeghqnh.js → location-services-wyn7s30h.js} +15 -15
- package/dist/chunks/{state-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-f3ngv102.js → location-services-xdk9p2qn.js} +21 -21
- package/dist/chunks/{state-sat5e2rs.js → location-services-xjpwa9c9.js} +6 -6
- package/dist/chunks/{state-ccfnnbbv.js → location-services-xrekytkb.js} +11 -11
- package/dist/chunks/{state-p0smjn4a.js → location-services-xvdb5qe3.js} +36 -36
- package/dist/chunks/{state-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-4sn99hha.js → location-services-y5mrfvw4.js} +9 -9
- package/dist/chunks/{state-jwcy2c2z.js → location-services-y71avatq.js} +4 -4
- package/dist/chunks/{state-tnwmy3fn.js → location-services-ydteqrt6.js} +3 -3
- package/dist/chunks/{state-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-bbfste2n.js → location-services-yx4eqfxe.js} +12 -12
- package/dist/chunks/{state-63xxrs1k.js → location-services-yzn5ksjm.js} +14 -14
- package/dist/chunks/{state-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-jxkpjs94.js → location-services-z4pnwbb1.js} +47 -47
- package/dist/chunks/{state-zvt5dnpc.js → location-services-zcrspsvn.js} +4 -4
- package/dist/chunks/{state-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-shqb7w7j.js → location-services-zg12q5ce.js} +11 -11
- package/dist/chunks/{state-567a7rs0.js → location-services-zj0384f4.js} +32 -32
- package/dist/chunks/{state-ecneytc0.js → location-services-zq3kwfqf.js} +21 -21
- package/dist/chunks/{state-44ke2mar.js → location-services-zqx8wcya.js} +4 -4
- package/dist/chunks/{state-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-e2ntgy55.js → location-services-zr5theey.js} +13 -13
- package/dist/chunks/{state-ye639aav.js → location-services-zrb79psr.js} +13 -13
- package/dist/chunks/{state-969v6yxw.js → location-services-zs5rg84x.js} +2 -2
- package/dist/chunks/{state-z3nay82g.js → location-services-zvwz45r0.js} +9 -9
- package/dist/chunks/{state-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- 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 +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- 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 +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 +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +91 -91
- 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 +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- 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 +80 -80
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +103 -103
- 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 +103 -103
- 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 +98 -98
- 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 +112 -112
- 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 +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +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 +2 -2
- package/dist/plugin/plan.js +99 -99
- 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 +119 -119
- 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 +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 +3 -3
- 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 +6 -6
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +96 -96
- 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 +97 -97
- 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 +131 -131
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- 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 +129 -129
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +7 -7
- package/dist/shell.js +137 -137
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- 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 +16 -16
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +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 +3 -3
- 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 +97 -97
- package/package.json +8 -8
- package/dist/chunks/state-1tm0r3ht.js +0 -4
- package/dist/chunks/state-aee32p22.js +0 -252
- package/dist/chunks/state-jqh9b0xq.js +0 -18
- package/dist/chunks/state-r6zy1qmr.js +0 -26
- package/dist/chunks/state-z45g6xtg.js +0 -503
- /package/dist/chunks/{state-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → location-services-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-twg0f83k.js → location-services-twg0f83k.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → location-services-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-services-1kfd7ef9.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node78
|
|
13
|
+
} from "./location-services-n796g8g9.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service23,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node26
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service23 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
|
+
const bus = yield* Service83;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service23.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node26 = makeLocationNode({
|
|
168
|
+
service: Service23,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node78, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service23, node26, exports_vcs };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-ydteqrt6.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./location-services-1kfd7ef9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service76,
|
|
14
|
+
node80
|
|
15
|
+
} from "./location-services-6q7a50ek.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info31,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-y5mrfvw4.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-services-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID15,
|
|
40
|
+
Info: () => Info30,
|
|
41
|
+
NotFoundError: () => NotFoundError9,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service75,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node79,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID15 = ID16;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info30 = Info31;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID15
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service75 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,11 +93,11 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service76;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
100
|
+
const bus = yield* Service83;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
102
|
const announcing = new Set;
|
|
103
103
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID15.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
166
166
|
time_updated: Date.now()
|
|
167
167
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
168
168
|
if (!row)
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new NotFoundError9({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event19.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID15.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID15.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID15.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID15.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID15.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID15.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service75.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node79 = makeGlobalNode({
|
|
276
|
+
service: Service75,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node87, node88, FSUtil.node, node80, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID15, Vcs2, Current2, Info30, UpdateInput3, NotFoundError9, root2, Service75, node79, exports_project };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-services-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node60
|
|
9
|
+
} from "./location-services-sb32ssze.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./location-services-ddn55026.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service57;
|
|
331
|
+
return Service12.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node60] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service51,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node53
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service51 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service51.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node53 = makeLocationNode({
|
|
143
|
+
service: Service51,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service51, node53, exports_tool_output2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-services-1kfd7ef9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./location-services-s6feradb.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node78
|
|
13
|
+
} from "./location-services-n796g8g9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service59,
|
|
16
|
+
node63
|
|
17
|
+
} from "./location-services-ktzj56fm.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service54,
|
|
20
|
+
node56
|
|
21
|
+
} from "./location-services-ky3ckhpn.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-services-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/location-lifecycle.ts
|
|
27
27
|
var exports_location_lifecycle = {};
|
|
28
28
|
__export(exports_location_lifecycle, {
|
|
29
29
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
30
|
-
Service: () =>
|
|
30
|
+
Service: () => Service21,
|
|
31
31
|
node: () => node23
|
|
32
32
|
});
|
|
33
33
|
import { Context, Effect, Layer } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
36
|
-
class
|
|
36
|
+
class Service21 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
39
|
-
const bus = yield*
|
|
40
|
-
const location = yield*
|
|
41
|
-
const permission = yield*
|
|
42
|
-
const forms = yield*
|
|
43
|
-
const rpc = yield*
|
|
38
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
39
|
+
const bus = yield* Service83;
|
|
40
|
+
const location = yield* Service74;
|
|
41
|
+
const permission = yield* Service59;
|
|
42
|
+
const forms = yield* Service73;
|
|
43
|
+
const rpc = yield* Service54;
|
|
44
44
|
let closed = false;
|
|
45
45
|
const shutdown = yield* Effect.cached(Effect.gen(function* () {
|
|
46
46
|
closed = true;
|
|
@@ -51,15 +51,15 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
51
51
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
52
52
|
});
|
|
53
53
|
}).pipe(Effect.uninterruptible));
|
|
54
|
-
return
|
|
54
|
+
return Service21.of({
|
|
55
55
|
isClosed: () => closed,
|
|
56
56
|
shutdown
|
|
57
57
|
});
|
|
58
58
|
}));
|
|
59
59
|
var node23 = makeLocationNode({
|
|
60
|
-
service:
|
|
60
|
+
service: Service21,
|
|
61
61
|
layer,
|
|
62
|
-
deps: [
|
|
62
|
+
deps: [node87, node78, node63, node77, node56]
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service21, node23, exports_location_lifecycle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID10
|
|
3
|
+
} from "./location-services-ws03zej7.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-services-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-services-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service44,
|
|
10
|
+
node: () => node46
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service44 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node46 = LayerNode.unbound(Service44, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service44, node46, exports_service2 };
|