@opencode/core 2.0.13 → 2.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -80
- package/dist/aisdk-native.js +89 -88
- package/dist/aisdk.js +94 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -72
- package/dist/chunks/{websearch-7br4y16f.js → location-04mw5jg5.js} +3 -3
- package/dist/chunks/{websearch-3hkye8av.js → location-0810149y.js} +23 -23
- package/dist/chunks/{websearch-8ffd997c.js → location-0jgcnqr4.js} +42 -35
- package/dist/chunks/{websearch-1fgcm8sa.js → location-0k6bkn72.js} +3 -3
- package/dist/chunks/{websearch-42wpavvt.js → location-0kxfmfxf.js} +13 -13
- package/dist/chunks/{websearch-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/location-0tmnpbjy.js +89 -0
- package/dist/chunks/{websearch-ceykt9br.js → location-15y6myyc.js} +19 -19
- package/dist/chunks/{websearch-4zaanewj.js → location-15ywfmbg.js} +21 -21
- package/dist/chunks/{websearch-06dxphr1.js → location-18s9r5gn.js} +5 -8
- package/dist/chunks/{websearch-r5x6zcsm.js → location-1bbkgx8g.js} +3 -3
- package/dist/chunks/{websearch-m6f3t844.js → location-1dangqhw.js} +8 -8
- package/dist/chunks/{websearch-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-y5beve1t.js → location-1twdgbjf.js} +13 -13
- package/dist/chunks/{websearch-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{websearch-mf9m2v67.js → location-256nx13v.js} +3 -3
- package/dist/chunks/{websearch-z63w68vq.js → location-29x78va6.js} +6 -6
- package/dist/chunks/{websearch-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-4zr9c183.js → location-2f7sk49n.js} +16 -16
- package/dist/chunks/{websearch-d5py0aaa.js → location-2n8vgttj.js} +24 -24
- package/dist/chunks/{websearch-cb3acs6r.js → location-2p24pe68.js} +43 -43
- package/dist/chunks/{websearch-nj9fmwgy.js → location-2p5y98w0.js} +6 -6
- package/dist/chunks/{websearch-bwc02zqa.js → location-2pnnswbv.js} +4 -4
- package/dist/chunks/{websearch-vwqydq6z.js → location-2prhyday.js} +20 -20
- package/dist/chunks/{websearch-dj9sq318.js → location-2qp6y8xf.js} +5 -5
- package/dist/chunks/{websearch-fz4tcata.js → location-2vvgwsdm.js} +17 -17
- package/dist/chunks/{websearch-geps4ccc.js → location-2ys44scz.js} +12 -12
- package/dist/chunks/{websearch-721ynsaq.js → location-306693xq.js} +22 -22
- package/dist/chunks/{websearch-df2mqfaw.js → location-3124xjv5.js} +8 -8
- package/dist/chunks/{websearch-2nmgtr31.js → location-31723wk9.js} +17 -17
- package/dist/chunks/{websearch-jkkc4s57.js → location-3172pg9v.js} +17 -17
- package/dist/chunks/{websearch-56gdpj1q.js → location-33w4ejhs.js} +6 -6
- package/dist/chunks/{websearch-twg0f83k.js → location-34c7v6d4.js} +1 -0
- package/dist/chunks/{websearch-s01nxg3k.js → location-358yawqv.js} +23 -23
- package/dist/chunks/{websearch-vq95j9ek.js → location-35r86gx7.js} +2 -2
- package/dist/chunks/{websearch-b4jr5bvf.js → location-3a58h9a4.js} +72 -72
- package/dist/chunks/{websearch-4t9cqsny.js → location-3d2kdets.js} +9 -9
- package/dist/chunks/{websearch-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-wgmfr2f3.js → location-3rbdcc49.js} +25 -25
- package/dist/chunks/{websearch-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-3qzrj5mf.js → location-3t63r8vy.js} +11 -11
- package/dist/chunks/{websearch-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-rzq9nr28.js → location-3yfr3ttv.js} +6 -6
- package/dist/chunks/{websearch-0q0f95c6.js → location-3zsf4n22.js} +3 -1
- package/dist/chunks/{websearch-h6r3nrb9.js → location-4dgbcxzg.js} +4 -4
- package/dist/chunks/{websearch-pcja8x98.js → location-4qjz8wfv.js} +23 -23
- package/dist/chunks/{websearch-57ez7d0k.js → location-4sn99hha.js} +7 -7
- package/dist/chunks/{websearch-bgfhd05q.js → location-4ywqwb3e.js} +10 -10
- package/dist/chunks/{websearch-ca6w0az7.js → location-512dnrra.js} +9 -9
- package/dist/chunks/{websearch-ejdds51n.js → location-52mpv69t.js} +10 -10
- package/dist/chunks/{websearch-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-qg2t1cnz.js → location-5dyz4swx.js} +20 -20
- package/dist/chunks/{websearch-fxbjtjnd.js → location-5ekn9679.js} +7 -7
- package/dist/chunks/{websearch-8setgw8w.js → location-5em5jamf.js} +9 -9
- package/dist/chunks/{websearch-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{websearch-kxpygcw9.js → location-6anwy9fs.js} +4 -4
- package/dist/chunks/{websearch-g0kh82bp.js → location-6jbefxhr.js} +32 -32
- package/dist/chunks/{websearch-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-ktgyenpv.js → location-6sftkhr6.js} +15 -15
- package/dist/chunks/{websearch-69srdcjj.js → location-6z9mwsmt.js} +24 -24
- package/dist/chunks/{websearch-pjx48m1m.js → location-78jgv2cz.js} +1 -1
- package/dist/chunks/{websearch-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-0jwsre1p.js → location-7dqw4kz8.js} +5 -5
- package/dist/chunks/{websearch-2vqs3qr0.js → location-7pqgzsme.js} +16 -16
- package/dist/chunks/{websearch-zv31vsf2.js → location-7tpcrxhs.js} +19 -19
- package/dist/chunks/{websearch-4c8j5v6g.js → location-7tvzmp5f.js} +15 -15
- package/dist/chunks/{websearch-48e3sgyw.js → location-7w0t4dm2.js} +13 -13
- package/dist/chunks/{websearch-pm6ahx9a.js → location-7yca83g1.js} +11 -11
- package/dist/chunks/{websearch-wnhwta9h.js → location-826nay5f.js} +43 -43
- package/dist/chunks/{websearch-tw7ncza7.js → location-85skx0n5.js} +27 -27
- package/dist/chunks/{websearch-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-g9xsnvx2.js → location-8ec97xvv.js} +9 -9
- package/dist/chunks/{websearch-a8ne3yaj.js → location-8ffpk8ek.js} +26 -26
- package/dist/chunks/{websearch-b4qkjsn5.js → location-8fyqdzgp.js} +8 -8
- package/dist/chunks/{websearch-cs4aeaz8.js → location-8kc8r484.js} +31 -31
- package/dist/chunks/{websearch-mec04ymj.js → location-8py9cb08.js} +1 -1
- package/dist/chunks/{websearch-rtbmhys6.js → location-8s04dv6n.js} +16 -16
- package/dist/chunks/{websearch-j9ee68hg.js → location-8v97fgxy.js} +14 -14
- package/dist/chunks/location-8wj87zfr.js +14 -0
- package/dist/chunks/{websearch-zvyfprkc.js → location-92pk5wqe.js} +23 -23
- package/dist/chunks/{websearch-cfpkc3c9.js → location-94ek1h2f.js} +2 -2
- package/dist/chunks/{websearch-6wb18vcm.js → location-96dp4j9b.js} +94 -93
- package/dist/chunks/{websearch-9y2cgwvf.js → location-9qc6n929.js} +29 -29
- package/dist/chunks/{websearch-a5chm12h.js → location-a64frenn.js} +3 -3
- package/dist/chunks/{websearch-fsz9a353.js → location-a6zkqr4m.js} +18 -18
- package/dist/chunks/{websearch-y54hr7f3.js → location-a881zpfh.js} +9 -9
- package/dist/chunks/{websearch-btmdjt4s.js → location-aa2h7fmm.js} +33 -33
- package/dist/chunks/{websearch-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-00fvbtb6.js → location-ae4pezjx.js} +56 -56
- package/dist/chunks/{websearch-4zs668pg.js → location-agc1sn7c.js} +20 -19
- package/dist/chunks/{websearch-b0dgvpy7.js → location-ajdjch6h.js} +9 -9
- package/dist/chunks/{websearch-bct739vz.js → location-an7cqtb7.js} +4 -4
- package/dist/chunks/{websearch-cgfbfj64.js → location-apd0xxcy.js} +11 -11
- package/dist/chunks/{websearch-ntyqt0ve.js → location-b3bw2nfz.js} +5 -5
- package/dist/chunks/{websearch-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-wd7kjd8z.js → location-bdmzfegv.js} +29 -29
- package/dist/chunks/{websearch-zzfy15vp.js → location-bh4p5r3h.js} +18 -18
- package/dist/chunks/{websearch-ncqqrhc3.js → location-c395zvtw.js} +19 -19
- package/dist/chunks/{websearch-m3nc835m.js → location-c5nmmnam.js} +13 -13
- package/dist/chunks/{websearch-8heej3bj.js → location-c6mn7xyg.js} +25 -25
- package/dist/chunks/{websearch-dk7w7hgz.js → location-c6rpq5f1.js} +49 -49
- package/dist/chunks/{websearch-ff0htmxq.js → location-c8bydgjz.js} +6 -6
- package/dist/chunks/{websearch-728qhrqd.js → location-cdc8dbba.js} +12 -12
- package/dist/chunks/location-ce7bf4ce.js +252 -0
- package/dist/chunks/{websearch-2a9mph1a.js → location-cf8rhbja.js} +34 -34
- package/dist/chunks/{websearch-cwjws732.js → location-cje11ec7.js} +56 -56
- package/dist/chunks/{websearch-f828m53h.js → location-ckecvw8r.js} +2 -2
- package/dist/chunks/{websearch-bqszwq89.js → location-cte9ap30.js} +8 -8
- package/dist/chunks/{websearch-24cy06qr.js → location-cxrw2h6h.js} +41 -41
- package/dist/chunks/{websearch-af0ngryb.js → location-d2kfejna.js} +13 -13
- package/dist/chunks/{websearch-x8wrq3yr.js → location-d6ex932k.js} +11 -11
- package/dist/chunks/{websearch-bz85s9hh.js → location-dagkn99r.js} +3 -3
- package/dist/chunks/{websearch-1mv4feyx.js → location-db8cpbv4.js} +11 -11
- package/dist/chunks/{websearch-wy092wnb.js → location-dgpq7z8n.js} +28 -28
- package/dist/chunks/{websearch-kne8f3cn.js → location-dhmh7aw6.js} +4 -4
- package/dist/chunks/{websearch-azkeppvt.js → location-dkgr3p4r.js} +8 -8
- package/dist/chunks/{websearch-2jfqhj3w.js → location-dpwed560.js} +4 -3
- package/dist/chunks/{websearch-dq0v80fr.js → location-e23w9d35.js} +12 -12
- package/dist/chunks/{websearch-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
- package/dist/chunks/{websearch-40bnz2ss.js → location-e5sbd26s.js} +4 -4
- package/dist/chunks/{websearch-f51x5vyb.js → location-e6asg1wm.js} +50 -50
- package/dist/chunks/{websearch-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-70sqfhcp.js → location-ek44vwmj.js} +52 -48
- package/dist/chunks/{websearch-e80fa34w.js → location-eq2jtcfw.js} +7 -7
- package/dist/chunks/{websearch-erw5rpbs.js → location-erw5rpbs.js} +2 -2
- package/dist/chunks/{websearch-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-ednp5hmx.js → location-etzz3kcr.js} +8 -8
- package/dist/chunks/{websearch-byhgpva7.js → location-exkxrshv.js} +16 -16
- package/dist/chunks/{websearch-d1tczq4r.js → location-fb3n4k1c.js} +5 -5
- package/dist/chunks/{websearch-pfxxjzb6.js → location-fpvyk3ge.js} +26 -26
- package/dist/chunks/{websearch-d4he2qe1.js → location-ft3hqk2c.js} +9 -9
- package/dist/chunks/{websearch-qt0nm0tq.js → location-fwz8j036.js} +11 -11
- package/dist/chunks/{websearch-cmwkp3r5.js → location-g0445xdp.js} +4 -4
- package/dist/chunks/{websearch-9y0w708y.js → location-g1sxm558.js} +8 -8
- package/dist/chunks/{websearch-2z26cvtf.js → location-g98nad6a.js} +20 -20
- package/dist/chunks/{websearch-f0kvdsjk.js → location-gbece2fh.js} +26 -26
- package/dist/chunks/{websearch-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-h18rmnek.js → location-ge3bpktt.js} +15 -15
- package/dist/chunks/{websearch-tehwna3t.js → location-geebtqnp.js} +7 -7
- package/dist/chunks/{websearch-8b4gqq2a.js → location-gr2tmdz7.js} +17 -17
- package/dist/chunks/{websearch-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-kasvs68z.js → location-gy60rj0z.js} +17 -17
- package/dist/chunks/{websearch-q7heda50.js → location-h5gt9chz.js} +25 -25
- package/dist/chunks/{websearch-wawr6n1a.js → location-h6awxmcx.js} +12 -12
- package/dist/chunks/{websearch-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-pn0hqhy4.js → location-hafm9y5m.js} +25 -25
- package/dist/chunks/{websearch-s2q5f0ep.js → location-hcg5gfqa.js} +6 -6
- package/dist/chunks/{websearch-8mqqtss7.js → location-hd8qv2ty.js} +9 -9
- package/dist/chunks/{websearch-h2tmbha1.js → location-hpfbmb0d.js} +4 -4
- package/dist/chunks/{websearch-gq69k564.js → location-hvtd657f.js} +28 -28
- package/dist/chunks/{websearch-jsekz2vh.js → location-hypat1yv.js} +3 -3
- package/dist/chunks/{websearch-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-qpnen36s.js → location-j8tshh3j.js} +42 -42
- package/dist/chunks/location-jbs0jehe.js +26 -0
- package/dist/chunks/{websearch-qa3qhgw8.js → location-jfqtm2ew.js} +4 -4
- package/dist/chunks/{websearch-fj8fr7dj.js → location-jftkgdp0.js} +18 -18
- package/dist/chunks/{websearch-6vq97qmv.js → location-jgttmm4a.js} +5 -5
- package/dist/chunks/{websearch-gg7pg1rj.js → location-jv01nqvq.js} +5 -5
- package/dist/chunks/{websearch-8d0p2m37.js → location-jv4eadh7.js} +5 -5
- package/dist/chunks/{websearch-y71avatq.js → location-jwcy2c2z.js} +4 -4
- package/dist/chunks/{websearch-8fmf3tg1.js → location-jzje5vrp.js} +19 -19
- package/dist/chunks/{websearch-63zxpw7x.js → location-k906dc9m.js} +11 -11
- package/dist/chunks/{websearch-magykp64.js → location-kk00bynn.js} +21 -21
- package/dist/chunks/{websearch-v21173bj.js → location-kpf5aqxw.js} +10 -10
- package/dist/chunks/{websearch-vpf0b8my.js → location-kwj5scwb.js} +16 -16
- package/dist/chunks/{websearch-vwhy2xj8.js → location-kx0rdwde.js} +11 -11
- package/dist/chunks/{websearch-q7pad7f3.js → location-kxqn5q5s.js} +18 -18
- package/dist/chunks/{websearch-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-9kmbd9mt.js → location-m7va1g8x.js} +2 -2
- package/dist/chunks/{websearch-y35sf2j4.js → location-m9g140gf.js} +4 -4
- package/dist/chunks/{websearch-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-44ke2mar.js → location-mmr7bq34.js} +8 -8
- package/dist/chunks/{websearch-257v7a1q.js → location-mtg5e72x.js} +14 -14
- package/dist/chunks/{websearch-cq37gk0t.js → location-mvksx64m.js} +4 -4
- package/dist/chunks/{websearch-qe1nqkem.js → location-n793kqf0.js} +10 -10
- package/dist/chunks/{websearch-qsxf26yz.js → location-n8c291r7.js} +6 -6
- package/dist/chunks/location-n95b3jav.js +18 -0
- package/dist/chunks/{websearch-9yk0xwpf.js → location-n9awvp43.js} +39 -39
- package/dist/chunks/{websearch-v454fm3m.js → location-neb0pg0h.js} +10 -10
- package/dist/chunks/{websearch-yweepa2j.js → location-nf6tfn93.js} +3 -3
- package/dist/chunks/{websearch-wjre5m3f.js → location-nmc8s8ga.js} +15 -15
- package/dist/chunks/{websearch-63x4799j.js → location-np8489tv.js} +19 -19
- package/dist/chunks/{websearch-ksz5wrf2.js → location-npk9ncrr.js} +9 -9
- package/dist/chunks/{websearch-0k3mr0xx.js → location-ny0mz096.js} +20 -20
- package/dist/chunks/{websearch-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{websearch-9m8xvtm7.js → location-p9n0sz6q.js} +20 -20
- package/dist/chunks/{websearch-pqs23sba.js → location-pdgv857h.js} +10 -10
- package/dist/chunks/{websearch-zv4w339z.js → location-pghvqat4.js} +12 -12
- package/dist/chunks/{websearch-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-xgg4rgr8.js → location-pmh8g6yq.js} +11 -11
- package/dist/chunks/{websearch-ja57wr1y.js → location-pvat10bb.js} +11 -11
- package/dist/chunks/{websearch-pt7y7m15.js → location-pxs69nmc.js} +6 -6
- package/dist/chunks/{websearch-sn0z3ax3.js → location-qdm92ydp.js} +26 -26
- package/dist/chunks/{websearch-cefp19fp.js → location-qfe26hq3.js} +83 -83
- package/dist/chunks/{websearch-pnv527nz.js → location-qg0jgkcp.js} +9 -9
- package/dist/chunks/{websearch-yfqwtwmb.js → location-qmr67b2d.js} +12 -12
- package/dist/chunks/{websearch-yvb78gxr.js → location-qnqm58w1.js} +13 -13
- package/dist/chunks/{websearch-n6hdevwk.js → location-qpk3e0rf.js} +26 -26
- package/dist/chunks/{websearch-xfkkasph.js → location-qqeeq2t9.js} +7 -7
- package/dist/chunks/{websearch-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-2gxn7j3s.js → location-qyagpvrp.js} +29 -29
- package/dist/chunks/{websearch-81zbrjdd.js → location-r1kjg1tc.js} +5 -5
- package/dist/chunks/{websearch-dp0abknt.js → location-r1vfcwav.js} +26 -26
- package/dist/chunks/{websearch-df79gpwv.js → location-r2cbgwrp.js} +11 -11
- package/dist/chunks/{websearch-xmbbp4st.js → location-r99pq75w.js} +24 -24
- package/dist/chunks/{websearch-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-apsct0ff.js → location-rfbkd05a.js} +5 -5
- package/dist/chunks/{websearch-b1kzaezp.js → location-rgtjpwpw.js} +3 -3
- package/dist/chunks/{websearch-rhjbct0v.js → location-rhjbct0v.js} +1 -1
- package/dist/chunks/{websearch-b8tt4s7v.js → location-rhjkpe6e.js} +5 -5
- package/dist/chunks/{websearch-egcqtb3v.js → location-rk8yrdje.js} +15 -15
- package/dist/chunks/{websearch-28dp60he.js → location-rnghhd3g.js} +10 -10
- package/dist/chunks/{websearch-4766b92f.js → location-rvhvw5j9.js} +175 -175
- package/dist/chunks/{websearch-bjn91642.js → location-s0esgemt.js} +4 -4
- package/dist/chunks/{websearch-9ckvqgv0.js → location-s2y6cwc9.js} +37 -37
- package/dist/chunks/{websearch-yrznvahk.js → location-s4enseaf.js} +2 -2
- package/dist/chunks/{websearch-yccezfcq.js → location-s92vr3t8.js} +35 -35
- package/dist/chunks/{websearch-j89a0wbm.js → location-s9r6cqpa.js} +3 -3
- package/dist/chunks/{websearch-rn169q41.js → location-saawvakp.js} +13 -13
- package/dist/chunks/{websearch-q8s08p64.js → location-sj7g5k2t.js} +5 -5
- package/dist/chunks/{websearch-7ge6n5j8.js → location-svhm0fyq.js} +4 -4
- package/dist/chunks/{websearch-tf2e20t4.js → location-t0b0bsey.js} +11 -11
- package/dist/chunks/{websearch-94jc9gk0.js → location-t5ewrtsm.js} +9 -9
- package/dist/chunks/{websearch-rfx28j1a.js → location-t5z4ehj3.js} +11 -11
- package/dist/chunks/{websearch-ysmd2bxa.js → location-t880hhr6.js} +31 -31
- package/dist/chunks/{websearch-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-xnzqxyx5.js → location-tb273c1p.js} +32 -32
- package/dist/chunks/{websearch-89znhe33.js → location-tcezcvh9.js} +4 -4
- package/dist/chunks/{websearch-479a8j7t.js → location-tdkr4fjp.js} +40 -40
- package/dist/chunks/{websearch-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-q0y9rkgz.js → location-tqzp8tzb.js} +3 -3
- package/dist/chunks/{websearch-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-rr5a4r7f.js → location-vbz4mrgg.js} +42 -36
- package/dist/chunks/{websearch-45vzqjcc.js → location-vdwcy635.js} +15 -15
- package/dist/chunks/{websearch-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-3j8ehyx9.js → location-vg9ntks0.js} +325 -325
- package/dist/chunks/{websearch-e9wter2c.js → location-vh4x57nh.js} +32 -32
- package/dist/chunks/{websearch-ykb9earz.js → location-vhv9377y.js} +5 -5
- package/dist/chunks/{websearch-gas0hv4z.js → location-vjn4w5j0.js} +16 -16
- package/dist/chunks/{websearch-j533r9mj.js → location-vp932wpr.js} +32 -32
- package/dist/chunks/{websearch-e32j4sgx.js → location-vs030v48.js} +6 -4
- package/dist/chunks/{websearch-nbeebzc0.js → location-vssdr3c7.js} +14 -14
- package/dist/chunks/{websearch-p28j5sbe.js → location-vtxr0yy2.js} +3 -2
- package/dist/chunks/{websearch-2r5dq4tz.js → location-vxyzwx8s.js} +8 -8
- package/dist/chunks/{websearch-ep6z9mt6.js → location-vyrd71eq.js} +11 -11
- package/dist/chunks/{websearch-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-9je2ywm6.js → location-w3z8akkh.js} +44 -44
- package/dist/chunks/{websearch-3nhk3fk8.js → location-w63jt7y5.js} +12 -12
- package/dist/chunks/{websearch-cydhczrf.js → location-w747ydy6.js} +25 -25
- package/dist/chunks/{websearch-xxtc5hj7.js → location-w9gpp3gx.js} +28 -28
- package/dist/chunks/{websearch-8p4f9s12.js → location-wd3x2cqz.js} +3 -2
- package/dist/chunks/{websearch-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-s0pmdbgf.js → location-wk3hxpq4.js} +17 -17
- package/dist/chunks/{websearch-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-q6sn8kt1.js → location-x2z8ar3h.js} +23 -23
- package/dist/chunks/{websearch-67m7nkze.js → location-xcrt1tny.js} +33 -33
- package/dist/chunks/{websearch-yna87b4j.js → location-xfjpae9m.js} +27 -27
- package/dist/chunks/{websearch-q85t7zb8.js → location-xhk8n0yf.js} +56 -37
- package/dist/chunks/{websearch-cqaxg9fr.js → location-xhyq1prs.js} +4 -4
- package/dist/chunks/{websearch-x53p46j9.js → location-xq3yw8dy.js} +52 -52
- package/dist/chunks/{websearch-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-jqp60asj.js → location-y6zcy5jv.js} +24 -24
- package/dist/chunks/{websearch-40vg4f55.js → location-y7as1a2d.js} +34 -34
- package/dist/chunks/{websearch-7nhrbb6w.js → location-ygg1f209.js} +9 -9
- package/dist/chunks/{websearch-1acjjqhc.js → location-yp2x3t23.js} +4 -4
- package/dist/chunks/{websearch-zd30eb5w.js → location-yq14pbr7.js} +5 -5
- package/dist/chunks/{websearch-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-pecb0brz.js → location-yt0fqk68.js} +5 -5
- package/dist/chunks/{websearch-sm965ndy.js → location-yvvvp4gn.js} +8 -8
- package/dist/chunks/{websearch-bzgbr59y.js → location-yz4rntjy.js} +29 -29
- package/dist/chunks/{websearch-a1bz86dw.js → location-z07pqspn.js} +3 -3
- package/dist/chunks/{websearch-bacyadyn.js → location-z0aj456m.js} +4 -4
- package/dist/chunks/{websearch-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-ytpnnqhk.js → location-z1cdyrqr.js} +29 -29
- package/dist/chunks/{websearch-5s4efm0s.js → location-z5qed6cr.js} +53 -41
- package/dist/chunks/{websearch-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-vtt0yr3x.js → location-zfa7ynd8.js} +13 -13
- package/dist/chunks/{websearch-m7y66avd.js → location-zgw6fgh0.js} +5 -5
- package/dist/chunks/{websearch-1cq2a0y1.js → location-zm32ajz2.js} +10 -10
- package/dist/chunks/{websearch-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -82
- package/dist/config/discovery.js +84 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -105
- package/dist/config/plugin/agent.js +125 -124
- package/dist/config/plugin/command.js +214 -213
- package/dist/config/plugin/compaction.js +162 -161
- package/dist/config/plugin/compatibility.js +141 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -123
- package/dist/config/plugin/image.js +123 -122
- package/dist/config/plugin/instruction.js +90 -89
- package/dist/config/plugin/location-watcher.js +125 -124
- package/dist/config/plugin/mcp.js +132 -131
- package/dist/config/plugin/policy.js +124 -123
- package/dist/config/plugin/provider.js +123 -122
- package/dist/config/plugin/reference.js +125 -124
- package/dist/config/plugin/shell.js +123 -122
- package/dist/config/plugin/skill-file.js +102 -101
- package/dist/config/plugin/skill.js +144 -143
- package/dist/config/plugin/snapshot.js +123 -122
- package/dist/config/plugin/source.js +124 -123
- package/dist/config/plugin/tool-output.js +125 -124
- package/dist/config/plugin/websearch.js +122 -121
- package/dist/config/plugin/worktree.js +125 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -82
- package/dist/database/database.js +66 -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/20260923013825_project_time_active.js +6 -0
- package/dist/database/migration.gen.js +49 -48
- package/dist/database/migration.js +51 -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 +80 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -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 +93 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -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 +74 -73
- package/dist/file-access.js +104 -103
- package/dist/file-mutation.js +94 -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 +227 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -107
- package/dist/form.js +76 -75
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -86
- package/dist/generate.js +103 -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 +91 -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 +361 -360
- package/dist/instruction-discovery.js +85 -84
- package/dist/instructions/builtins.js +87 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -83
- package/dist/job.js +79 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -72
- package/dist/location-activity.js +135 -134
- package/dist/location-lifecycle.js +107 -105
- package/dist/location-mutation.js +104 -103
- package/dist/location-service-map.js +86 -85
- package/dist/location-services.js +358 -357
- package/dist/location.js +87 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -90
- package/dist/mcp/index.js +108 -107
- package/dist/mcp/instructions.js +128 -127
- package/dist/mcp/oauth.js +78 -77
- package/dist/mcp/stdio.js +90 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -90
- package/dist/model-resolver.js +98 -97
- package/dist/model.js +98 -97
- package/dist/models-dev.js +107 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -74
- package/dist/plugin/agent.js +104 -103
- package/dist/plugin/command.js +101 -100
- package/dist/plugin/compaction.js +133 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +332 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -89
- package/dist/plugin/provider/azure.js +122 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -118
- package/dist/plugin/provider/digitalocean.js +93 -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 +93 -92
- package/dist/plugin/provider/gitlab.js +91 -90
- package/dist/plugin/provider/google-vertex.js +90 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -76
- package/dist/plugin/provider/lmstudio.js +122 -121
- package/dist/plugin/provider/modal.js +92 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -121
- package/dist/plugin/provider/openai.js +94 -93
- package/dist/plugin/provider/opencode.js +94 -93
- package/dist/plugin/provider/openrouter.js +91 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -77
- package/dist/plugin/provider/prompt-cache-key.js +90 -89
- package/dist/plugin/provider/sap-ai-core.js +91 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -89
- package/dist/plugin/provider/vllm.js +122 -121
- package/dist/plugin/provider/xai.js +91 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -159
- package/dist/plugin/sdk.js +76 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -85
- package/dist/plugin/vcs/hg.js +86 -85
- package/dist/plugin/warming.js +121 -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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -87
- package/dist/provider.js +97 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -91
- package/dist/reference/instructions.js +89 -88
- package/dist/reference.js +91 -90
- package/dist/repository-cache.js +81 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -96
- package/dist/rpc.js +86 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -73
- package/dist/session/compaction.js +132 -131
- package/dist/session/context.js +152 -151
- package/dist/session/diff.js +88 -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 +224 -223
- package/dist/session/execution.js +126 -125
- package/dist/session/generate.js +153 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -129
- package/dist/session/projector.js +86 -85
- package/dist/session/prompt.js +105 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +96 -95
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -111
- package/dist/session/runner/step.js +126 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -171
- package/dist/session/shell.js +138 -137
- package/dist/session/skill.js +103 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -72
- package/dist/session/store.js +87 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -155
- package/dist/session/to-session-error.js +111 -110
- package/dist/session/transfer.js +220 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +138 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -104
- package/dist/skill.js +112 -111
- package/dist/snapshot.js +91 -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 +125 -124
- package/dist/tool/plugin/edit.js +120 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -123
- package/dist/tool/plugin/grep.js +122 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -119
- package/dist/tool/plugin/question.js +103 -102
- package/dist/tool/plugin/read.js +125 -124
- package/dist/tool/plugin/shell.js +215 -214
- package/dist/tool/plugin/skill.js +111 -110
- package/dist/tool/plugin/subagent.js +219 -218
- package/dist/tool/plugin/webfetch.js +110 -109
- package/dist/tool/plugin/websearch.js +112 -111
- package/dist/tool/plugin/write.js +122 -121
- package/dist/tool/read-filesystem.js +100 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/database/migration/20260923013825_project_time_active.d.ts +3 -0
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/project/schema.d.ts +5 -0
- package/dist/types/project/sql.d.ts +16 -0
- package/dist/types/project.d.ts +3 -0
- package/dist/types/session/provider-context.d.ts +2 -2
- package/dist/types/session/session.d.ts +3 -0
- package/dist/types/session.d.ts +4 -0
- package/dist/types/util/error-summary.d.ts +2 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +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 +5 -5
- 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 +92 -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 +91 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -88
- package/dist/websearch.js +84 -83
- package/dist/wellknown/plugin.js +76 -75
- package/dist/wellknown.js +81 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -88
- package/dist/worktree.js +92 -91
- package/package.json +9 -9
- package/dist/chunks/websearch-5qcvsacd.js +0 -65
- package/dist/chunks/websearch-9sh4wc5j.js +0 -18
- package/dist/chunks/websearch-hg4x7egy.js +0 -252
- package/dist/chunks/websearch-hqzbrwpc.js +0 -26
- /package/dist/chunks/{websearch-0mesazry.js → location-0mesazry.js} +0 -0
- /package/dist/chunks/{websearch-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service43,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node46
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service43 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service43, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service43.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service38, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node46 = makeGlobalNode({ service: Service43, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service43, node46, exports_environment };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-2ys44scz.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node82
|
|
12
|
+
} from "./location-8s04dv6n.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service74,
|
|
20
|
+
node78,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-z1cdyrqr.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,15 +32,15 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service73,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node77,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
@@ -48,7 +48,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
50
|
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
|
-
var
|
|
51
|
+
var ID11 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info25 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service73 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const location = yield*
|
|
63
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service74;
|
|
65
|
+
const bus = yield* Service81;
|
|
66
|
+
const location = yield* Service78;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
200
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
-
return
|
|
201
|
+
return Service73.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node77 = makeLocationNode({ service: Service73, layer, deps: [node78, node85, node82] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service73, node77, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-wd3x2cqz.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin30,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin30 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin40 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin30, exports_identity };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-2ys44scz.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
ID13,
|
|
11
|
+
Service75,
|
|
12
|
+
node79,
|
|
13
13
|
Event18
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-gbece2fh.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-4dgbcxzg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./location-8s04dv6n.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -38,12 +38,12 @@ __export(exports_provider3, {
|
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
Event: () => Event17,
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
41
|
+
ID: () => ID12,
|
|
42
|
+
Info: () => Info26,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service74,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node78,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -65,7 +65,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
67
|
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
-
var
|
|
68
|
+
var ID12 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -210,9 +210,9 @@ var Request3 = Provider.Request;
|
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info26 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service74 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
229
|
-
const bus = yield*
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
228
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
229
|
+
const bus = yield* Service81;
|
|
230
|
+
const integrations = yield* Service75;
|
|
231
|
+
const location = yield* Service78;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info26.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
349
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
-
return
|
|
350
|
+
return Service74.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node85, node79, node82] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service74, node78, exports_provider3, Event17 };
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-04mw5jg5.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service81,
|
|
10
|
+
node85
|
|
11
|
+
} from "./location-2ys44scz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service80,
|
|
14
|
+
node84
|
|
15
|
+
} from "./location-e23w9d35.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-4sn99hha.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-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: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service79,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node83,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
50
50
|
import { ChildProcess } from "effect/unstable/process";
|
|
51
|
-
import { and, asc, desc, eq, gte, isNull, lte } from "drizzle-orm";
|
|
51
|
+
import { and, asc, desc, eq, gte, isNull, lte, sql } from "drizzle-orm";
|
|
52
52
|
import path from "path";
|
|
53
53
|
import { Worktree } from "@opencode/schema/worktree";
|
|
54
54
|
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 ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -70,8 +70,9 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
70
70
|
return;
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
|
+
var ACTIVATE_INTERVAL = 60000;
|
|
73
74
|
|
|
74
|
-
class
|
|
75
|
+
class Service79 extends Context.Service()("@opencode/Project") {
|
|
75
76
|
}
|
|
76
77
|
function fromRow(row) {
|
|
77
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -88,16 +89,17 @@ function fromRow(row) {
|
|
|
88
89
|
commands: row.commands ?? undefined,
|
|
89
90
|
time: {
|
|
90
91
|
created: row.time_created,
|
|
91
|
-
updated: row.time_updated
|
|
92
|
+
updated: row.time_updated,
|
|
93
|
+
active: row.time_active
|
|
92
94
|
},
|
|
93
95
|
sandboxes: row.sandboxes
|
|
94
96
|
};
|
|
95
97
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
97
99
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service80;
|
|
99
101
|
const proc = yield* AppProcess.Service;
|
|
100
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service81;
|
|
101
103
|
const db = (yield* Service84).db;
|
|
102
104
|
const announcing = new Set;
|
|
103
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -143,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
143
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
146
|
projectID: item.projectID,
|
|
145
147
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID16.global,
|
|
147
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
150
|
}, {
|
|
149
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -153,7 +155,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
153
155
|
return project;
|
|
154
156
|
});
|
|
155
157
|
const list = Effect.fn("Project.list")(function* () {
|
|
156
|
-
const rows = yield* db.select().from(ProjectTable2).orderBy(desc(ProjectTable2.
|
|
158
|
+
const rows = yield* db.select().from(ProjectTable2).orderBy(desc(ProjectTable2.time_active), asc(ProjectTable2.id)).all().pipe(Effect.orDie);
|
|
157
159
|
return rows.map(fromRow);
|
|
158
160
|
});
|
|
159
161
|
const update = Effect.fn("Project.update")(function* (input) {
|
|
@@ -171,8 +173,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
171
173
|
yield* bus.publish(Event21.Updated, project);
|
|
172
174
|
return project;
|
|
173
175
|
});
|
|
176
|
+
const activated = new Map;
|
|
177
|
+
const activate = Effect.fn("Project.activate")(function* (projectID) {
|
|
178
|
+
const now = Date.now();
|
|
179
|
+
if (now - (activated.get(projectID) ?? 0) < ACTIVATE_INTERVAL)
|
|
180
|
+
return;
|
|
181
|
+
activated.set(projectID, now);
|
|
182
|
+
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
|
+
if (row)
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
|
+
});
|
|
174
186
|
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 ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
188
|
return;
|
|
177
189
|
}));
|
|
178
190
|
});
|
|
@@ -183,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
183
195
|
const normalized = url(origin);
|
|
184
196
|
if (!normalized)
|
|
185
197
|
return;
|
|
186
|
-
return
|
|
198
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
199
|
});
|
|
188
200
|
function url(input) {
|
|
189
201
|
const value = input.trim();
|
|
@@ -208,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
208
220
|
}
|
|
209
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
223
|
+
return root ? ID16.make(root) : undefined;
|
|
212
224
|
});
|
|
213
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
224
236
|
return;
|
|
225
237
|
const node = result.stdout.toString("utf8").split(`
|
|
226
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
239
|
+
return node ? ID16.make(node) : undefined;
|
|
228
240
|
});
|
|
229
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
233
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
246
|
return {
|
|
235
247
|
previous,
|
|
236
|
-
id: id ??
|
|
248
|
+
id: id ?? ID16.global,
|
|
237
249
|
directory: worktree,
|
|
238
250
|
vcs: { type: "hg", store }
|
|
239
251
|
};
|
|
@@ -250,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
250
262
|
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
263
|
return yield* persist({
|
|
252
264
|
previous,
|
|
253
|
-
id: id ??
|
|
265
|
+
id: id ?? ID16.global,
|
|
254
266
|
directory: repo.worktree,
|
|
255
267
|
canonical,
|
|
256
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
264
276
|
});
|
|
265
277
|
}
|
|
266
278
|
return yield* persist({
|
|
267
|
-
id:
|
|
279
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
268
280
|
directory,
|
|
269
281
|
canonical: directory,
|
|
270
282
|
vcs: undefined
|
|
271
283
|
});
|
|
272
284
|
});
|
|
273
|
-
return
|
|
285
|
+
return Service79.of({ list, update, activate, resolve });
|
|
274
286
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
287
|
+
var node83 = makeGlobalNode({
|
|
288
|
+
service: Service79,
|
|
277
289
|
layer,
|
|
278
|
-
deps: [
|
|
290
|
+
deps: [node85, node88, FSUtil.node, node84, AppProcess.node]
|
|
279
291
|
});
|
|
280
292
|
|
|
281
|
-
export {
|
|
293
|
+
export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
|