@opencode-ai/core 0.0.0-dev-19236 → 0.0.0-dev-19265
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-wd9xnjkn.js → location-mutation-01fsmxsp.js} +17 -17
- package/dist/chunks/{file-zxhyecep.js → location-mutation-02gxsad2.js} +25 -25
- package/dist/chunks/{file-te19xw12.js → location-mutation-03vhms7f.js} +17 -17
- package/dist/chunks/{file-0e0xafbb.js → location-mutation-0e0xafbb.js} +2 -2
- package/dist/chunks/{file-v7z8bxbw.js → location-mutation-0e92dp25.js} +17 -17
- package/dist/chunks/location-mutation-0hbxperx.js +4 -0
- package/dist/chunks/{file-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-km1d5px4.js → location-mutation-0q3qqg02.js} +4 -4
- package/dist/chunks/{file-0s9ayhjt.js → location-mutation-0s9ayhjt.js} +1 -1
- package/dist/chunks/{file-hg836chd.js → location-mutation-12gp3jnp.js} +25 -25
- package/dist/chunks/{file-1ct4r87x.js → location-mutation-1ct4r87x.js} +1 -1
- package/dist/chunks/{file-1wfjb4fb.js → location-mutation-1n60r04w.js} +1 -1
- package/dist/chunks/{file-r5bh2vbg.js → location-mutation-1vs8d3gz.js} +28 -20
- package/dist/chunks/{file-skgjtp1k.js → location-mutation-20qgxnzb.js} +37 -44
- package/dist/chunks/{file-8dv8mw3k.js → location-mutation-21j9wzy5.js} +7 -7
- package/dist/chunks/{file-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{file-6h73sxmp.js → location-mutation-2402vzrj.js} +5 -5
- package/dist/chunks/{file-29x78va6.js → location-mutation-29x78va6.js} +2 -2
- package/dist/chunks/{file-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-y0hxjsdz.js → location-mutation-2e8esc5r.js} +15 -15
- package/dist/chunks/{file-2ht70gj7.js → location-mutation-2ht70gj7.js} +1 -1
- package/dist/chunks/{file-7yqjxrmz.js → location-mutation-2jmaghvr.js} +6 -6
- package/dist/chunks/{file-00pw28xp.js → location-mutation-2mwhmxmk.js} +36 -29
- package/dist/chunks/{file-y8r8mqe0.js → location-mutation-2pqjqc52.js} +19 -19
- package/dist/chunks/{file-jw46jgr9.js → location-mutation-2ryxe2ae.js} +22 -22
- package/dist/chunks/{file-99f55ymk.js → location-mutation-2vtpzmv5.js} +6 -6
- package/dist/chunks/{file-75w3e9am.js → location-mutation-2wvndqp8.js} +31 -31
- package/dist/chunks/{file-qpfcbq6z.js → location-mutation-2xwvjr3g.js} +11 -11
- package/dist/chunks/{file-cctcmebf.js → location-mutation-2y04n8jz.js} +5 -5
- package/dist/chunks/{file-0gfv995g.js → location-mutation-31jwxfn6.js} +28 -28
- package/dist/chunks/{file-fksjs2ph.js → location-mutation-35020cfq.js} +47 -47
- package/dist/chunks/location-mutation-35zkktjv.js +462 -0
- package/dist/chunks/{file-17hja9f4.js → location-mutation-36vsdr69.js} +2 -2
- package/dist/chunks/{file-7stz268c.js → location-mutation-3f40cv46.js} +43 -43
- package/dist/chunks/{file-gdvy8fx6.js → location-mutation-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-qq11w61w.js → location-mutation-3j8sdtpz.js} +4 -4
- package/dist/chunks/{file-3qzbfqsy.js → location-mutation-3qzbfqsy.js} +2 -2
- package/dist/chunks/{file-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-m25102gb.js → location-mutation-3xaa90hq.js} +7 -7
- package/dist/chunks/{file-ez0vzke5.js → location-mutation-41yb40nv.js} +8 -8
- package/dist/chunks/{file-454k5vzh.js → location-mutation-454k5vzh.js} +1 -1
- package/dist/chunks/{file-ts767fjw.js → location-mutation-4ky4z00x.js} +15 -15
- package/dist/chunks/{file-zbjnn3ac.js → location-mutation-4nkw4gk2.js} +7 -0
- package/dist/chunks/{file-4r2nyarf.js → location-mutation-4r2nyarf.js} +1 -1
- package/dist/chunks/{file-jg8hpbdb.js → location-mutation-4s7cwcwm.js} +17 -17
- package/dist/chunks/{file-vz6nxp08.js → location-mutation-4vye7c7y.js} +24 -24
- package/dist/chunks/{file-sthxzpft.js → location-mutation-4zpra80a.js} +22 -22
- package/dist/chunks/{file-kjsgxbnr.js → location-mutation-50tkbn4e.js} +25 -25
- package/dist/chunks/{file-vd657q2k.js → location-mutation-553s8jdp.js} +22 -22
- package/dist/chunks/{file-56gdpj1q.js → location-mutation-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-5fhcw59z.js → location-mutation-5as21n7y.js} +29 -29
- package/dist/chunks/{file-jasnfvjs.js → location-mutation-5d4cs7v3.js} +10 -10
- package/dist/chunks/{file-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{file-5fmxt4p5.js → location-mutation-5fmxt4p5.js} +1 -1
- package/dist/chunks/{file-w3v7t084.js → location-mutation-5g5dhpwv.js} +29 -29
- package/dist/chunks/{file-aj358c6r.js → location-mutation-5jntx97f.js} +17 -17
- package/dist/chunks/{file-5jvc5tg2.js → location-mutation-5jvc5tg2.js} +1 -1
- package/dist/chunks/{file-pbhkjpds.js → location-mutation-637qq8n2.js} +9 -9
- package/dist/chunks/{file-ge7ds67b.js → location-mutation-63evnryy.js} +2 -2
- package/dist/chunks/{file-65g4zw8b.js → location-mutation-68xdzhvj.js} +18 -18
- package/dist/chunks/{file-wdmsjcnj.js → location-mutation-695tgtrq.js} +11 -11
- package/dist/chunks/{file-049bzhxb.js → location-mutation-6fb56410.js} +9 -9
- package/dist/chunks/{file-rs2df3q6.js → location-mutation-6h4qnp75.js} +9 -9
- package/dist/chunks/{file-zwjsydpj.js → location-mutation-6s66q6ye.js} +9 -9
- package/dist/chunks/{file-711hfp6y.js → location-mutation-711hfp6y.js} +2 -2
- package/dist/chunks/{file-z98ztr55.js → location-mutation-71t2fpqh.js} +7 -7
- package/dist/chunks/{file-72nftnjy.js → location-mutation-72nftnjy.js} +2 -2
- package/dist/chunks/{file-4skn7rc2.js → location-mutation-73j16qsm.js} +30 -59
- package/dist/chunks/{file-7qxyrcbr.js → location-mutation-748fdr5v.js} +11 -11
- package/dist/chunks/{file-3qysrpvj.js → location-mutation-799zcqwb.js} +18 -18
- package/dist/chunks/{file-0kyj2j0j.js → location-mutation-7b0v2y0d.js} +11 -11
- package/dist/chunks/{file-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-2k8khapm.js → location-mutation-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-kt8ej3md.js → location-mutation-7k08vs8b.js} +18 -18
- package/dist/chunks/{file-zmscwvaw.js → location-mutation-7t7t8jv6.js} +13 -13
- package/dist/chunks/{file-kgx56mxq.js → location-mutation-7vmz4e7y.js} +92 -89
- package/dist/chunks/{file-nw7wp838.js → location-mutation-7vqan3q0.js} +4 -4
- package/dist/chunks/{file-39cmf8tc.js → location-mutation-7w3fy9tn.js} +18 -18
- package/dist/chunks/{file-d8ch6z4t.js → location-mutation-7zq9f41z.js} +22 -22
- package/dist/chunks/{file-wt8jf74x.js → location-mutation-8bwp8r5g.js} +15 -15
- package/dist/chunks/{file-sd8ec36g.js → location-mutation-8m0rbw91.js} +6 -6
- package/dist/chunks/{file-f73jprk4.js → location-mutation-8qgytc3b.js} +10 -10
- package/dist/chunks/{file-93a8yfjt.js → location-mutation-93a8yfjt.js} +2 -2
- package/dist/chunks/{file-75yf2d83.js → location-mutation-97f5v037.js} +8 -8
- package/dist/chunks/{file-b01ryz8d.js → location-mutation-9c0wr5p2.js} +12 -25
- package/dist/chunks/{file-qqff7yvw.js → location-mutation-9exw0jng.js} +12 -12
- package/dist/chunks/{file-2yb0w078.js → location-mutation-9gp79knm.js} +3 -3
- package/dist/chunks/{file-eyx7m0wd.js → location-mutation-9kgqjvwx.js} +46 -46
- package/dist/chunks/{file-jee1seff.js → location-mutation-9q0nykm9.js} +8 -8
- package/dist/chunks/location-mutation-9v90f9cc.js +55 -0
- package/dist/chunks/{file-92k45pvj.js → location-mutation-9vtsvkk2.js} +6 -6
- package/dist/chunks/{file-jnv61ywj.js → location-mutation-9yhwza0s.js} +16 -16
- package/dist/chunks/{file-pwphe3rf.js → location-mutation-a1b67f26.js} +9 -9
- package/dist/chunks/{file-9m6tffr9.js → location-mutation-a2zhvqnn.js} +83 -83
- package/dist/chunks/{file-a73hhrgc.js → location-mutation-a809ybt0.js} +10 -10
- package/dist/chunks/{file-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{file-rxkkpkzx.js → location-mutation-ar7xhsq5.js} +9 -9
- package/dist/chunks/{file-p2bhzj9e.js → location-mutation-asrxajhv.js} +9 -9
- package/dist/chunks/{file-xysfxsss.js → location-mutation-aw1ne1gp.js} +24 -24
- package/dist/chunks/{file-veabk5tt.js → location-mutation-awqyf91x.js} +5 -5
- package/dist/chunks/{file-kk3rr3qh.js → location-mutation-azbx08pf.js} +7 -5
- package/dist/chunks/{file-wj16sq0a.js → location-mutation-azhfbxv8.js} +10 -10
- package/dist/chunks/{file-7n7dggr2.js → location-mutation-b0s951gt.js} +8 -8
- package/dist/chunks/{file-rc3fvhed.js → location-mutation-b5ffs7mv.js} +164 -164
- package/dist/chunks/{file-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-b9wsbatv.js → location-mutation-b9wsbatv.js} +1 -1
- package/dist/chunks/{file-xbh233pe.js → location-mutation-bgjb0rnk.js} +6 -6
- package/dist/chunks/{file-xb5gd69p.js → location-mutation-bkpjey77.js} +11 -11
- package/dist/chunks/{file-phke90h3.js → location-mutation-bpd1017f.js} +5 -5
- package/dist/chunks/{file-0gbwq0hg.js → location-mutation-bpynh60y.js} +25 -25
- package/dist/chunks/{file-066kw2xy.js → location-mutation-c0s68pbv.js} +3 -3
- package/dist/chunks/{file-04k4zjse.js → location-mutation-c0w89p9e.js} +16 -16
- package/dist/chunks/{file-kkq7fz0t.js → location-mutation-c76spgvt.js} +8 -8
- package/dist/chunks/{file-rh7y5xh0.js → location-mutation-c9setr9m.js} +1 -1
- package/dist/chunks/{file-bsa9yb1r.js → location-mutation-cbrkgqh6.js} +30 -30
- package/dist/chunks/{file-sgecvmzg.js → location-mutation-cdzen2fp.js} +53 -37
- package/dist/chunks/{file-b29mbqx6.js → location-mutation-ce5fknq2.js} +5 -5
- package/dist/chunks/{file-sxxkfwq9.js → location-mutation-ckfk1z8g.js} +35 -35
- package/dist/chunks/{file-cbq8agb2.js → location-mutation-cz67sxjn.js} +43 -43
- package/dist/chunks/{file-q6ypxst3.js → location-mutation-d2qvdcch.js} +4 -4
- package/dist/chunks/{file-z0xt53t1.js → location-mutation-ddwschm6.js} +11 -11
- package/dist/chunks/{file-c36t02qb.js → location-mutation-dff6ksqg.js} +38 -45
- package/dist/chunks/{file-y71avatq.js → location-mutation-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-dns6mj49.js → location-mutation-e4rp866n.js} +9 -9
- package/dist/chunks/{file-t9s2ckae.js → location-mutation-eb6vrzdm.js} +24 -24
- package/dist/chunks/{file-08abk570.js → location-mutation-ej5745y0.js} +34 -34
- package/dist/chunks/{file-fyvm2v1v.js → location-mutation-esba6vsp.js} +4 -4
- package/dist/chunks/{file-19knqdbs.js → location-mutation-et6stkf1.js} +3 -3
- package/dist/chunks/{file-rzmvvtd3.js → location-mutation-f29br4f3.js} +20 -20
- package/dist/chunks/{file-1zremn8p.js → location-mutation-f2s4jkve.js} +12 -12
- package/dist/chunks/{file-1pdtxp2d.js → location-mutation-f2yebhdz.js} +1 -1
- package/dist/chunks/{file-4z3jhc10.js → location-mutation-f3ffyk20.js} +36 -36
- package/dist/chunks/{file-4rx2ve8e.js → location-mutation-fcjfmm05.js} +33 -33
- package/dist/chunks/{file-64hre8q8.js → location-mutation-fffgckys.js} +21 -21
- package/dist/chunks/{file-kq7ayz9w.js → location-mutation-fp55xymf.js} +11 -11
- package/dist/chunks/{file-x7ynhfcf.js → location-mutation-fxa32nyw.js} +26 -26
- package/dist/chunks/{file-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-fxypknc8.js → location-mutation-fxypknc8.js} +1 -1
- package/dist/chunks/{file-kmcjptjm.js → location-mutation-fzmwc9f1.js} +1 -1
- package/dist/chunks/{file-g2dy4bvs.js → location-mutation-g2dy4bvs.js} +3 -3
- package/dist/chunks/{file-g2gt0w0k.js → location-mutation-g2gt0w0k.js} +2 -2
- package/dist/chunks/{file-qvrpv7pw.js → location-mutation-gac4wd5h.js} +25 -25
- package/dist/chunks/{file-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-5sqy5p9k.js → location-mutation-gewsm2ew.js} +3 -3
- package/dist/chunks/{file-ybjzef57.js → location-mutation-gk3v9xn9.js} +8 -8
- package/dist/chunks/{file-fd12r7gp.js → location-mutation-gwt190dm.js} +6 -6
- package/dist/chunks/{file-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-heyhwy2w.js → location-mutation-heyhwy2w.js} +1 -1
- package/dist/chunks/{file-yqgm3h52.js → location-mutation-hf2z2kry.js} +15 -15
- package/dist/chunks/{file-gst7axd9.js → location-mutation-hn57h045.js} +4 -4
- package/dist/chunks/{file-3k4x7jps.js → location-mutation-hspjz0fp.js} +9 -9
- package/dist/chunks/{file-66hkt5g6.js → location-mutation-ht4enzqw.js} +52 -52
- package/dist/chunks/{file-14ek8s6r.js → location-mutation-hw0vrq4f.js} +15 -15
- package/dist/chunks/{file-428apkw1.js → location-mutation-hyf5hyh1.js} +16 -16
- package/dist/chunks/{file-33j3s859.js → location-mutation-j9pg5mya.js} +26 -3
- package/dist/chunks/{file-xqrgenjs.js → location-mutation-j9x2r4mk.js} +7 -7
- package/dist/chunks/{file-fqrxtbzb.js → location-mutation-ja84rtcf.js} +7 -7
- package/dist/chunks/{file-tag52meg.js → location-mutation-jbpw8vb5.js} +7 -7
- package/dist/chunks/{file-mw9hhfke.js → location-mutation-jk7xm99c.js} +32 -32
- package/dist/chunks/{file-6gg9h021.js → location-mutation-jmww4671.js} +10 -10
- package/dist/chunks/{file-sbnvhk9g.js → location-mutation-jr3tywxk.js} +5 -5
- package/dist/chunks/{file-39hqv1cv.js → location-mutation-jrye6x50.js} +26 -26
- package/dist/chunks/{file-7ntygjpx.js → location-mutation-jsbj9q3j.js} +9 -9
- package/dist/chunks/{file-wgcrfrpe.js → location-mutation-k0zpnkm5.js} +6 -6
- package/dist/chunks/{file-f5n5pagv.js → location-mutation-k3hajes3.js} +13 -9
- package/dist/chunks/{file-k4bwy1x5.js → location-mutation-k4bwy1x5.js} +1 -1
- package/dist/chunks/{file-swhyn6z2.js → location-mutation-k81hrtfb.js} +4 -4
- package/dist/chunks/{file-1mrma768.js → location-mutation-ka1d01ec.js} +5 -5
- package/dist/chunks/{file-at07c4b9.js → location-mutation-ka4xewm7.js} +15 -12
- package/dist/chunks/{file-jkbrzrrv.js → location-mutation-kaxevc9a.js} +30 -30
- package/dist/chunks/{file-8ej6t0kx.js → location-mutation-kbmmvjk9.js} +26 -25
- package/dist/chunks/{file-cek9jpa8.js → location-mutation-kd9jwy8m.js} +22 -22
- package/dist/chunks/{file-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{file-sy2xv61m.js → location-mutation-kkgdx70c.js} +1 -1
- package/dist/chunks/{file-hczx788n.js → location-mutation-knjm772m.js} +7 -7
- package/dist/chunks/{file-p5a9pe6q.js → location-mutation-kpwdvb92.js} +20 -20
- package/dist/chunks/{file-4qjmbshy.js → location-mutation-kvn4jwr8.js} +16 -16
- package/dist/chunks/{file-kvsjn1dr.js → location-mutation-kvsjn1dr.js} +2 -2
- package/dist/chunks/{file-10ac5mb1.js → location-mutation-m1e4fd8e.js} +4 -4
- package/dist/chunks/{file-jdnm8yea.js → location-mutation-m1wt4yw3.js} +8 -8
- package/dist/chunks/{file-bnce5g0a.js → location-mutation-m33qb69d.js} +15 -14
- package/dist/chunks/{file-759pz1a2.js → location-mutation-m4535t75.js} +8 -8
- package/dist/chunks/{file-sb82pmjh.js → location-mutation-m5shh40j.js} +2 -2
- package/dist/chunks/{file-81wsxtk4.js → location-mutation-m78vmq2a.js} +35 -44
- package/dist/chunks/{file-4fv3rmvn.js → location-mutation-m7k42b88.js} +18 -18
- package/dist/chunks/{file-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-hx6eb5yw.js → location-mutation-mgaz471z.js} +1 -1
- package/dist/chunks/{file-m7fncjt1.js → location-mutation-mqvykccq.js} +23 -23
- package/dist/chunks/{file-btr637ng.js → location-mutation-mv7e0man.js} +41 -41
- package/dist/chunks/{file-73tb2d7t.js → location-mutation-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-jfx7w4w0.js → location-mutation-n3qr3rmb.js} +48 -48
- package/dist/chunks/{file-j5208yae.js → location-mutation-n8c291r7.js} +6 -6
- package/dist/chunks/{file-ws7sq7f3.js → location-mutation-n9h62wb7.js} +19 -19
- package/dist/chunks/{file-65dn8j3v.js → location-mutation-n9mfcsdf.js} +12 -12
- package/dist/chunks/{file-6pdxptdt.js → location-mutation-ng39vjdn.js} +2 -2
- package/dist/chunks/{file-hjt4xg1x.js → location-mutation-nhy5jxhy.js} +4 -4
- package/dist/chunks/{file-bwrfg74g.js → location-mutation-nrrren0x.js} +11 -11
- package/dist/chunks/{file-bcezcar3.js → location-mutation-p0agm8mf.js} +22 -6
- package/dist/chunks/{file-p742g7s6.js → location-mutation-p6ncrwfm.js} +24 -24
- package/dist/chunks/{file-cryxk9jx.js → location-mutation-pjg91gph.js} +17 -17
- package/dist/chunks/{file-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{file-b82xwvp7.js → location-mutation-pmddwhyc.js} +6 -6
- package/dist/chunks/{file-8p628rfe.js → location-mutation-q1wnce7s.js} +19 -19
- package/dist/chunks/location-mutation-q509s3k3.js +18 -0
- package/dist/chunks/{file-ampcz2zy.js → location-mutation-qbs0v8xf.js} +26 -26
- package/dist/chunks/{file-tsv3p22z.js → location-mutation-qbxe7mx5.js} +20 -20
- package/dist/chunks/{file-skb9jyq5.js → location-mutation-qcb7wx0s.js} +47 -56
- package/dist/chunks/{file-nknpaanp.js → location-mutation-qj769r8n.js} +11 -11
- package/dist/chunks/{file-j01ht7zb.js → location-mutation-qkdp5fnc.js} +18 -18
- package/dist/chunks/{file-ht963k40.js → location-mutation-qkgxthm5.js} +5 -5
- package/dist/chunks/{file-bj16ny09.js → location-mutation-qmt2dn3e.js} +38 -38
- package/dist/chunks/{file-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{file-qvbcabdc.js → location-mutation-qvbcabdc.js} +2 -2
- package/dist/chunks/location-mutation-qvtmkthx.js +22 -0
- package/dist/chunks/{file-ga7x5g5r.js → location-mutation-qw3ch0ft.js} +15 -15
- package/dist/chunks/{file-9ddpxva0.js → location-mutation-r2kav4az.js} +13 -13
- package/dist/chunks/{file-m6gkbcmq.js → location-mutation-r3tjqq5a.js} +34 -42
- package/dist/chunks/{file-76wr4mq2.js → location-mutation-r5w2ssxe.js} +8 -8
- package/dist/chunks/{file-r8dhm0tv.js → location-mutation-r8dhm0tv.js} +1 -1
- package/dist/chunks/{file-defv84qj.js → location-mutation-r9f0vktm.js} +18 -14
- package/dist/chunks/{file-a9zfrvqc.js → location-mutation-r9hy8h05.js} +5 -5
- package/dist/chunks/{file-sn5ar8h4.js → location-mutation-r9vyccv1.js} +1 -1
- package/dist/chunks/{file-0nv781ed.js → location-mutation-r9ycfsjh.js} +27 -27
- package/dist/chunks/{file-vqv04s3v.js → location-mutation-rrxvfwpe.js} +4 -4
- package/dist/chunks/{file-vhjdrq5e.js → location-mutation-rt66ex88.js} +5 -5
- package/dist/chunks/{file-hht6jkqw.js → location-mutation-s2540qmh.js} +17 -17
- package/dist/chunks/{file-z9bw2vtt.js → location-mutation-s326q968.js} +24 -23
- package/dist/chunks/{file-ebtdd58c.js → location-mutation-s90j9acr.js} +20 -20
- package/dist/chunks/{file-sba4qhjf.js → location-mutation-sba4qhjf.js} +1 -1
- package/dist/chunks/{file-4xx57fsq.js → location-mutation-shcc5cqr.js} +8 -8
- package/dist/chunks/{file-7grmgsg7.js → location-mutation-sxhwk0c0.js} +4 -4
- package/dist/chunks/{file-3ew3pzd4.js → location-mutation-sy6p2gsk.js} +2 -2
- package/dist/chunks/{file-3vtq9f9y.js → location-mutation-t9bfha1v.js} +11 -11
- package/dist/chunks/{file-6m3yr79m.js → location-mutation-t9nma0pe.js} +26 -26
- package/dist/chunks/{file-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → location-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tjykrgmx.js → location-mutation-tjykrgmx.js} +1 -1
- package/dist/chunks/location-mutation-ty1a3g8x.js +114 -0
- package/dist/chunks/{file-yb55v587.js → location-mutation-tzsk1z50.js} +5 -5
- package/dist/chunks/{file-dm7yrpwm.js → location-mutation-v0ppz6dn.js} +8 -8
- package/dist/chunks/{file-4e8crvtb.js → location-mutation-vcexzd7a.js} +10 -10
- package/dist/chunks/{file-z2aqhqx5.js → location-mutation-vfgzh0ae.js} +15 -15
- package/dist/chunks/{file-qp4m35b7.js → location-mutation-vj7t3whg.js} +10 -10
- package/dist/chunks/{file-1fyf70sm.js → location-mutation-vqm9gcn5.js} +6 -6
- package/dist/chunks/{file-35agntz9.js → location-mutation-vyffwbyc.js} +21 -21
- package/dist/chunks/{file-zkj92s1w.js → location-mutation-w18dhe75.js} +6 -6
- package/dist/chunks/{file-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-qyg26a5q.js → location-mutation-w4mk8dh2.js} +70 -65
- package/dist/chunks/{file-3hfq6gnd.js → location-mutation-w8aq7x5e.js} +4 -4
- package/dist/chunks/{file-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{file-303p9w1h.js → location-mutation-wgy2tz6n.js} +8 -5
- package/dist/chunks/{file-3s2nsa7k.js → location-mutation-wkjngxy5.js} +3 -3
- package/dist/chunks/{file-p0fvx2b7.js → location-mutation-wnxzw7ag.js} +9 -9
- package/dist/chunks/{file-x5wdkkrz.js → location-mutation-wrpe40w9.js} +9 -9
- package/dist/chunks/{file-tjjz5xwe.js → location-mutation-x152d5b0.js} +13 -13
- package/dist/chunks/{file-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-rg4vxe4z.js → location-mutation-xjteqga3.js} +11 -11
- package/dist/chunks/{file-y1r8n7hf.js → location-mutation-xq7e5js0.js} +34 -42
- package/dist/chunks/location-mutation-xy05m0bc.js +247 -0
- package/dist/chunks/{file-754np4jn.js → location-mutation-y12sg33x.js} +21 -21
- package/dist/chunks/{file-af4svgqg.js → location-mutation-y15349mw.js} +8 -8
- package/dist/chunks/{file-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-6c94r859.js → location-mutation-y35stt4b.js} +33 -33
- package/dist/chunks/{file-k7ry919m.js → location-mutation-y375pa0k.js} +180 -85
- package/dist/chunks/{file-q06n7zjg.js → location-mutation-y57q34f9.js} +8 -8
- package/dist/chunks/{file-nxrz604p.js → location-mutation-ycv9gdpt.js} +9 -9
- package/dist/chunks/{file-2gtf4gxt.js → location-mutation-yd30tg6k.js} +6 -6
- package/dist/chunks/{file-yg7sb877.js → location-mutation-yg7sb877.js} +2 -2
- package/dist/chunks/{file-yp2x3t23.js → location-mutation-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-v24vjsdb.js → location-mutation-ypzjytvr.js} +52 -52
- package/dist/chunks/{file-17qydk6p.js → location-mutation-yq90rf8j.js} +20 -20
- package/dist/chunks/{file-z1k01bn4.js → location-mutation-z1k01bn4.js} +2 -2
- package/dist/chunks/{file-mtq6xxnx.js → location-mutation-zv0544jz.js} +7 -7
- package/dist/chunks/{file-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-8b48ft5s.js → location-mutation-zzzrwwzt.js} +30 -30
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -206
- package/dist/config/plugin/compaction.js +155 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -96
- package/dist/config/plugin/skill.js +134 -133
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +357 -356
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-access.js +112 -0
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +351 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +127 -126
- package/dist/location-mutation.js +102 -83
- package/dist/location-service-map.js +79 -79
- package/dist/location-services.js +348 -347
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -121
- package/dist/mcp/oauth.js +24 -4
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +95 -94
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +322 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -124
- package/dist/session/context.js +147 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -215
- package/dist/session/execution.js +124 -123
- package/dist/session/generate.js +146 -145
- package/dist/session/history.js +13 -12
- package/dist/session/inbox.js +78 -78
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -99
- package/dist/session/provider-context.js +20 -0
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +88 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -5
- package/dist/session/runner/step.js +121 -120
- package/dist/session/runner/to-llm-message.js +2 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -204
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -150
- package/dist/session/to-session-error.js +107 -106
- package/dist/session/transfer.js +212 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +102 -101
- package/dist/skill.js +105 -104
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -120
- package/dist/tool/plugin/edit.js +115 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -117
- package/dist/tool/plugin/grep.js +120 -119
- package/dist/tool/plugin/opencode.js +4 -2
- package/dist/tool/plugin/patch.js +115 -114
- package/dist/tool/plugin/question.js +98 -97
- package/dist/tool/plugin/read.js +121 -120
- package/dist/tool/plugin/shell.js +210 -209
- package/dist/tool/plugin/skill.js +104 -103
- package/dist/tool/plugin/subagent.js +212 -211
- package/dist/tool/plugin/webfetch.js +103 -102
- package/dist/tool/plugin/websearch.js +105 -104
- package/dist/tool/plugin/write.js +117 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/file-access.d.ts +52 -0
- package/dist/types/file-mutation.d.ts +2 -4
- package/dist/types/instance.d.ts +2 -2
- package/dist/types/location-activity.d.ts +1 -1
- package/dist/types/location-mutation.d.ts +3 -52
- package/dist/types/mcp/oauth.d.ts +10 -1
- package/dist/types/model-resolver.d.ts +25 -3
- package/dist/types/model.d.ts +11 -0
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +3 -3
- package/dist/types/provider.d.ts +11 -0
- package/dist/types/session/compaction.d.ts +11 -2
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/execution.d.ts +1 -1
- package/dist/types/session/generate.d.ts +1 -1
- package/dist/types/session/history.d.ts +59 -4
- package/dist/types/session/provider-context.d.ts +46 -0
- package/dist/types/session/runner/model.d.ts +4 -0
- package/dist/types/session/runner/retry.d.ts +5 -0
- package/dist/types/session/session.d.ts +3 -3
- package/dist/types/session/sql.d.ts +3 -3
- package/dist/types/session/transfer.d.ts +47 -0
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/edit.d.ts +2 -2
- package/dist/types/tool/plugin/glob.d.ts +2 -2
- package/dist/types/tool/plugin/grep.d.ts +2 -2
- package/dist/types/tool/plugin/opencode.d.ts +7 -0
- package/dist/types/tool/plugin/patch.d.ts +2 -2
- package/dist/types/tool/plugin/read.d.ts +2 -3
- package/dist/types/tool/plugin/shell.d.ts +2 -2
- package/dist/types/tool/plugin/websearch.d.ts +1 -1
- package/dist/types/tool/plugin/write.d.ts +2 -2
- package/dist/types/v1/config/agent.d.ts +4 -4
- package/dist/types/v1/config/config.d.ts +46 -46
- package/dist/types/v1/config/migrate.d.ts +19 -7
- package/dist/types/v1/config/permission.d.ts +3 -3
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -7
- package/dist/chunks/file-7zk4hah4.js +0 -4
- package/dist/chunks/file-dtb0ws7g.js +0 -460
- package/dist/chunks/file-g7tb25v3.js +0 -247
- package/dist/chunks/file-q87c86rb.js +0 -84
- package/dist/chunks/file-rap9a73h.js +0 -18
- package/dist/chunks/file-vz1btq9j.js +0 -22
- /package/dist/chunks/{file-0fabt78z.js → location-mutation-0fabt78z.js} +0 -0
- /package/dist/chunks/{file-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3t738kvx.js → location-mutation-3t738kvx.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-41nvscxy.js → location-mutation-41nvscxy.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-982e01ww.js → location-mutation-982e01ww.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a1tpkmh4.js → location-mutation-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-j935v87r.js → location-mutation-j935v87r.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mntxs535.js → location-mutation-mntxs535.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-p8qxwesx.js → location-mutation-p8qxwesx.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-se0s1eqw.js → location-mutation-se0s1eqw.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x1b8g1yb.js → location-mutation-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-gewsm2ew.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./location-mutation-k0zpnkm5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-q509s3k3.js";
|
|
10
|
+
import {
|
|
11
|
+
provenance2
|
|
12
|
+
} from "./location-mutation-9v90f9cc.js";
|
|
10
13
|
import {
|
|
11
14
|
preview2
|
|
12
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-1vs8d3gz.js";
|
|
13
16
|
import {
|
|
14
17
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-2mwhmxmk.js";
|
|
16
19
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
20
|
+
Service15
|
|
21
|
+
} from "./location-mutation-7vmz4e7y.js";
|
|
19
22
|
import {
|
|
20
23
|
__export
|
|
21
|
-
} from "./
|
|
24
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
22
25
|
|
|
23
26
|
// src/session/generate.ts
|
|
24
27
|
var exports_generate = {};
|
|
@@ -29,15 +32,15 @@ __export(exports_generate, {
|
|
|
29
32
|
import { LLMClient, Message } from "@opencode-ai/ai";
|
|
30
33
|
import { Effect } from "effect";
|
|
31
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
32
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service41;
|
|
33
36
|
const database = yield* Service80;
|
|
34
37
|
const llm = yield* LLMClient.Service;
|
|
35
38
|
return yield* Effect.gen(function* () {
|
|
36
39
|
yield* awaitActivation2;
|
|
37
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service15;
|
|
38
41
|
const selection = yield* context.select(input.session.id);
|
|
39
42
|
const model = yield* context.resolveModel(selection.session);
|
|
40
|
-
const history = yield* preview2(database.db, selection.session.id, selection.instructions);
|
|
43
|
+
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
41
44
|
const transcript = baseTranscript2({
|
|
42
45
|
agent: selection.agent.info,
|
|
43
46
|
model,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-mutation-c0w89p9e.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service68,
|
|
10
|
+
node72
|
|
11
|
+
} from "./location-mutation-7k08vs8b.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options7,
|
|
25
|
+
Service: () => Service67,
|
|
26
|
+
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node71,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options7 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service67 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const ripgrep = yield* Service68;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service67.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service76;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service67.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service67.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service76;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured8(options) {
|
|
186
|
+
return makeLocationNode({ service: Service67, layer: layer23(options), deps: [node81, node72] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node71 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options7, Service67, ripgrepLayer2, fffLayer2, layer23, configured8, node71, exports_search };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info30
|
|
5
|
+
} from "./location-mutation-w18dhe75.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info28
|
|
8
|
+
} from "./location-mutation-n9mfcsdf.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-k81hrtfb.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID5,
|
|
18
|
+
Service53,
|
|
19
|
+
node57
|
|
20
|
+
} from "./location-mutation-31jwxfn6.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
|
+
Service: () => Service52,
|
|
31
|
+
node: () => node56
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode-ai/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event8 } from "@opencode-ai/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service52 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service53;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -54,6 +54,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
54
54
|
...model,
|
|
55
55
|
...provider.canonical === undefined ? {} : { canonical: provider.canonical },
|
|
56
56
|
package: model.package ?? provider.package,
|
|
57
|
+
compaction: model.compaction ?? provider.compaction,
|
|
57
58
|
settings: mergeOverlay2(provider.settings, model.settings),
|
|
58
59
|
headers: mergeHeaders2(provider.headers, model.headers),
|
|
59
60
|
body: mergeOverlay2(provider.body, model.body)
|
|
@@ -71,7 +72,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
71
72
|
let current = editor.providers.get(providerID);
|
|
72
73
|
if (!current) {
|
|
73
74
|
current = {
|
|
74
|
-
provider:
|
|
75
|
+
provider: Info30.empty(providerID),
|
|
75
76
|
models: new Map
|
|
76
77
|
};
|
|
77
78
|
editor.providers.set(providerID, current);
|
|
@@ -89,12 +90,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
89
90
|
let record = editor.providers.get(providerID);
|
|
90
91
|
if (!record) {
|
|
91
92
|
record = {
|
|
92
|
-
provider:
|
|
93
|
+
provider: Info30.empty(providerID),
|
|
93
94
|
models: new Map
|
|
94
95
|
};
|
|
95
96
|
editor.providers.set(providerID, record);
|
|
96
97
|
}
|
|
97
|
-
const model = record.models.get(modelID) ??
|
|
98
|
+
const model = record.models.get(modelID) ?? Info28.default(providerID, modelID);
|
|
98
99
|
if (!record.models.has(modelID))
|
|
99
100
|
record.models.set(modelID, model);
|
|
100
101
|
fn(model);
|
|
@@ -128,7 +129,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
128
129
|
}),
|
|
129
130
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
130
131
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
131
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
132
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID5.make(provider.id))));
|
|
132
133
|
})
|
|
133
134
|
},
|
|
134
135
|
model: {
|
|
@@ -183,9 +184,9 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
183
184
|
})
|
|
184
185
|
}
|
|
185
186
|
};
|
|
186
|
-
return
|
|
187
|
+
return Service52.of(result);
|
|
187
188
|
}));
|
|
188
189
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
189
|
-
var
|
|
190
|
+
var node56 = makeLocationNode({ service: Service52, layer, deps: [node84, node57] });
|
|
190
191
|
|
|
191
|
-
export {
|
|
192
|
+
export { Service52, node56, exports_catalog2, Event8 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event17,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options10,
|
|
17
|
+
Service: () => Service72,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured11,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer25,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node77,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event17 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load3());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options10 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service72 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer25 = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service72.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer23 = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service72.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service72).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service72, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured11(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service72, layer: layer25(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node77 = configured11();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event17, hasNativeBinding2, Native3, Options10, Service72, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured11, node77, exports_watcher };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,9 +8,9 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured5,
|
|
11
|
-
layer: () =>
|
|
11
|
+
layer: () => layer19,
|
|
12
12
|
make: () => make19,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node50,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
33
|
-
var
|
|
31
|
+
var layer19 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
|
|
33
|
+
var node50 = configured5();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make19, useragent2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer19, configured5, node50, exports_app };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-k81hrtfb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./location-mutation-c0w89p9e.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-mutation-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-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: () => Service30,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node34
|
|
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-ai/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode-ai/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-ai/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode-ai/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service30 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service21, 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));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
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 }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service30.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node34 = makeLocationNode({
|
|
165
|
+
service: Service30,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service30, node34, exports_vcs };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-k81hrtfb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./location-mutation-vj7t3whg.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID4,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -37,20 +37,20 @@ import { SessionEvent } from "@opencode-ai/schema/session-event";
|
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event7 } from "@opencode-ai/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,7 +58,7 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
@@ -67,7 +67,7 @@ class Service45 extends Context.Service()("@opencode/WebSearch") {
|
|
|
67
67
|
}
|
|
68
68
|
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service79;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service74;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -187,7 +187,7 @@ function cooldownMillis(value, now) {
|
|
|
187
187
|
var node48 = makeLocationNode({
|
|
188
188
|
service: Service45,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node84,
|
|
190
|
+
deps: [node84, node79]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service45, node48, exports_websearch3, Event7 };
|