@opencode/core 0.0.0-dev-21603 → 0.0.0-dev-21612
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 +77 -77
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{filesystem-034tev2y.js → aisdk-native-034tev2y.js} +2 -2
- package/dist/chunks/{filesystem-fznmdakp.js → aisdk-native-0h8y3ex8.js} +4 -4
- package/dist/chunks/{filesystem-d5rem3a1.js → aisdk-native-0mvvgekb.js} +11 -11
- package/dist/chunks/{filesystem-zkgq49d1.js → aisdk-native-0p88zpcm.js} +4 -4
- package/dist/chunks/{filesystem-jzckctm7.js → aisdk-native-13bbzwy7.js} +24 -24
- package/dist/chunks/{filesystem-pmr385ej.js → aisdk-native-198d4dj8.js} +11 -11
- package/dist/chunks/aisdk-native-1cckp2fn.js +523 -0
- package/dist/chunks/{filesystem-s4s6vne1.js → aisdk-native-1cyb1m4w.js} +7 -7
- package/dist/chunks/{filesystem-1ep2p91f.js → aisdk-native-1ep2p91f.js} +2 -2
- package/dist/chunks/{filesystem-axbw4nz1.js → aisdk-native-1fkpw8gt.js} +21 -21
- package/dist/chunks/{filesystem-hj2jsaw9.js → aisdk-native-1gg4q76m.js} +16 -16
- package/dist/chunks/{filesystem-2q14gge3.js → aisdk-native-1m4rqshn.js} +25 -25
- package/dist/chunks/{filesystem-yznjjmbw.js → aisdk-native-1mm2v6mc.js} +131 -131
- package/dist/chunks/{filesystem-ndfn0p5e.js → aisdk-native-1rjrm2sv.js} +22 -22
- package/dist/chunks/{filesystem-q45ckesn.js → aisdk-native-1rt3r85y.js} +33 -33
- package/dist/chunks/{filesystem-s0jq7590.js → aisdk-native-1s5gppce.js} +18 -18
- package/dist/chunks/{filesystem-1x2knyw4.js → aisdk-native-1x2knyw4.js} +1 -1
- package/dist/chunks/{filesystem-ps833y8c.js → aisdk-native-2196w46z.js} +6 -6
- package/dist/chunks/{filesystem-65k60evq.js → aisdk-native-27fatwet.js} +3 -3
- package/dist/chunks/{filesystem-5ajak8ts.js → aisdk-native-27fd18et.js} +40 -40
- package/dist/chunks/{filesystem-ewt411c3.js → aisdk-native-2bxyfep6.js} +18 -18
- package/dist/chunks/{filesystem-zjbp7710.js → aisdk-native-2dneksdx.js} +39 -39
- package/dist/chunks/{filesystem-be4y46ka.js → aisdk-native-2h3kfxqf.js} +18 -18
- package/dist/chunks/{filesystem-an558sqv.js → aisdk-native-2jq4ff38.js} +4 -4
- package/dist/chunks/{filesystem-bcrvt9qa.js → aisdk-native-2ra4cbhs.js} +68 -68
- package/dist/chunks/{filesystem-8p2axgtb.js → aisdk-native-2rvp97kp.js} +8 -8
- package/dist/chunks/{filesystem-a0pqy3jv.js → aisdk-native-2vbt6wdx.js} +11 -11
- package/dist/chunks/{filesystem-2z1j29yd.js → aisdk-native-2z1j29yd.js} +1 -1
- package/dist/chunks/{filesystem-0kew33c2.js → aisdk-native-34x5nqhx.js} +7 -7
- package/dist/chunks/{filesystem-nzhn8ym0.js → aisdk-native-3aekr6j7.js} +20 -20
- package/dist/chunks/{filesystem-spa8vgy8.js → aisdk-native-3dcm03ph.js} +8 -8
- package/dist/chunks/{filesystem-v6ssz0w4.js → aisdk-native-3gh72xqr.js} +4 -4
- package/dist/chunks/{filesystem-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-zmwx25fz.js → aisdk-native-3j92816q.js} +2 -2
- package/dist/chunks/{filesystem-qmhe942t.js → aisdk-native-3jy448d0.js} +4 -4
- package/dist/chunks/{filesystem-t2wr9q9z.js → aisdk-native-3kr60y6h.js} +13 -13
- package/dist/chunks/{filesystem-3nnrz6f6.js → aisdk-native-3nnrz6f6.js} +1 -1
- package/dist/chunks/{filesystem-hw3tvpxd.js → aisdk-native-3pa2rjde.js} +12 -12
- package/dist/chunks/{filesystem-rfytqs76.js → aisdk-native-3vdp866e.js} +79 -79
- package/dist/chunks/{filesystem-r7bm2ta5.js → aisdk-native-3z4b5d3m.js} +10 -10
- package/dist/chunks/{filesystem-b6kqqew2.js → aisdk-native-4ak0krvy.js} +3 -3
- package/dist/chunks/{filesystem-f2de68n6.js → aisdk-native-4dcms3k7.js} +3 -3
- package/dist/chunks/{filesystem-ggm2jm67.js → aisdk-native-4t3x74b2.js} +11 -11
- package/dist/chunks/{filesystem-mgd76wh1.js → aisdk-native-4te27j6d.js} +15 -15
- package/dist/chunks/{filesystem-4v008n1t.js → aisdk-native-4v008n1t.js} +1 -1
- package/dist/chunks/{filesystem-4xvmh7wp.js → aisdk-native-4xvmh7wp.js} +3 -3
- package/dist/chunks/{filesystem-kybr559y.js → aisdk-native-52cv33bm.js} +16 -16
- package/dist/chunks/{filesystem-xxecem69.js → aisdk-native-5fdsmgyt.js} +28 -28
- package/dist/chunks/{filesystem-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-r2skbm8f.js → aisdk-native-5v23njyw.js} +9 -9
- package/dist/chunks/{filesystem-8wxy6m1c.js → aisdk-native-6b82316f.js} +10 -10
- package/dist/chunks/{filesystem-2j6zzxrf.js → aisdk-native-6bz4jnmt.js} +1 -1
- package/dist/chunks/{filesystem-6esdw8yj.js → aisdk-native-6esdw8yj.js} +1 -1
- package/dist/chunks/{filesystem-81852ppe.js → aisdk-native-6fb985w0.js} +5 -5
- package/dist/chunks/{filesystem-jx3jy26a.js → aisdk-native-6hzcf0p5.js} +14 -14
- package/dist/chunks/{filesystem-k0rz3mv5.js → aisdk-native-6kbqf6en.js} +20 -20
- package/dist/chunks/{filesystem-6pjqjmy2.js → aisdk-native-6pjqjmy2.js} +1 -1
- package/dist/chunks/{filesystem-ya1e3r6x.js → aisdk-native-6vy2rpk2.js} +18 -18
- package/dist/chunks/{filesystem-7zaqb5eb.js → aisdk-native-6ymqbjrh.js} +11 -11
- package/dist/chunks/{filesystem-ggdzy5vb.js → aisdk-native-6yrbmtw5.js} +11 -11
- package/dist/chunks/{filesystem-p6brcwvv.js → aisdk-native-76axf8nz.js} +5 -5
- package/dist/chunks/{filesystem-1byvm3vx.js → aisdk-native-78abqzx4.js} +9 -9
- package/dist/chunks/{filesystem-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-6825m99s.js → aisdk-native-7ddnskd4.js} +17 -17
- package/dist/chunks/{filesystem-nt6ka9fm.js → aisdk-native-7ewmxdvt.js} +11 -11
- package/dist/chunks/{filesystem-7fvw33xg.js → aisdk-native-7fvw33xg.js} +5 -5
- package/dist/chunks/{filesystem-6xsqtwm9.js → aisdk-native-7ty15rsh.js} +32 -32
- package/dist/chunks/{filesystem-rhkbbz1f.js → aisdk-native-7ve3eegy.js} +6 -6
- package/dist/chunks/{filesystem-7w2ypzdf.js → aisdk-native-7w2ypzdf.js} +1 -1
- package/dist/chunks/{filesystem-wh56f0xg.js → aisdk-native-7x78a7k1.js} +14 -14
- package/dist/chunks/{filesystem-nv7qnqx3.js → aisdk-native-808cah4d.js} +11 -11
- package/dist/chunks/{filesystem-033a0jkt.js → aisdk-native-8bc2ahr8.js} +3 -3
- package/dist/chunks/{filesystem-7csthhj8.js → aisdk-native-8ewa8gh4.js} +4 -4
- package/dist/chunks/{filesystem-ek8mq45z.js → aisdk-native-8nnpfx33.js} +16 -16
- package/dist/chunks/{filesystem-8wtp7s3z.js → aisdk-native-8wtp7s3z.js} +1 -1
- package/dist/chunks/aisdk-native-8x060fmy.js +18 -0
- package/dist/chunks/{filesystem-91rj84md.js → aisdk-native-91rj84md.js} +1 -1
- package/dist/chunks/{filesystem-ma48de29.js → aisdk-native-92azg307.js} +5 -5
- package/dist/chunks/{filesystem-b55rpsr5.js → aisdk-native-946kykk0.js} +4 -4
- package/dist/chunks/{filesystem-v11fj23z.js → aisdk-native-963r0pdn.js} +11 -11
- package/dist/chunks/{filesystem-r6wgv8c9.js → aisdk-native-997dsrmm.js} +8 -8
- package/dist/chunks/{filesystem-998yhzzq.js → aisdk-native-998yhzzq.js} +3 -3
- package/dist/chunks/{filesystem-ea8rv3yk.js → aisdk-native-99dbxh5z.js} +19 -19
- package/dist/chunks/{filesystem-w3hdzqmq.js → aisdk-native-9g96bbv2.js} +9 -9
- package/dist/chunks/{filesystem-m07e8bkf.js → aisdk-native-9hh4ayqn.js} +15 -15
- package/dist/chunks/{filesystem-vck145x8.js → aisdk-native-9jgp2d11.js} +9 -9
- package/dist/chunks/{filesystem-5s0q14pj.js → aisdk-native-9kwea3cx.js} +8 -8
- package/dist/chunks/{filesystem-w4ey5q3y.js → aisdk-native-9rb7qd2f.js} +14 -14
- package/dist/chunks/{filesystem-7ag3s6hb.js → aisdk-native-9tvpxs1q.js} +4 -4
- package/dist/chunks/{filesystem-7he63rq2.js → aisdk-native-a01aghsd.js} +3 -3
- package/dist/chunks/{filesystem-t7e7c0ah.js → aisdk-native-a4ww6fpm.js} +6 -6
- package/dist/chunks/{filesystem-9dzxay90.js → aisdk-native-a72d1evn.js} +20 -20
- package/dist/chunks/{filesystem-ze4vdf9h.js → aisdk-native-a8faq3v6.js} +1 -1
- package/dist/chunks/{filesystem-szcgc7h4.js → aisdk-native-afmnpta1.js} +5 -5
- package/dist/chunks/{filesystem-r5q168xg.js → aisdk-native-ama0fday.js} +46 -46
- package/dist/chunks/{filesystem-zqe6np9v.js → aisdk-native-arg2k2r6.js} +36 -36
- package/dist/chunks/{filesystem-my4zabxr.js → aisdk-native-axe3mf62.js} +3 -3
- package/dist/chunks/{filesystem-ayjs7tqn.js → aisdk-native-ayjs7tqn.js} +2 -2
- package/dist/chunks/{filesystem-b0mv4wxm.js → aisdk-native-b0mv4wxm.js} +2 -2
- package/dist/chunks/{filesystem-b6vsg801.js → aisdk-native-b6vsg801.js} +2 -2
- package/dist/chunks/{filesystem-jhe7xhev.js → aisdk-native-b8pny83v.js} +30 -30
- package/dist/chunks/{filesystem-32tacxf9.js → aisdk-native-b8r3qk2t.js} +4 -4
- package/dist/chunks/{filesystem-c3mghmzq.js → aisdk-native-badbtyep.js} +17 -17
- package/dist/chunks/{filesystem-nad4mkqt.js → aisdk-native-bk7xq8bh.js} +7 -7
- package/dist/chunks/{filesystem-pvg6n8yd.js → aisdk-native-bk9jwwb2.js} +25 -25
- package/dist/chunks/{filesystem-xrd94v26.js → aisdk-native-bpgfja34.js} +11 -11
- package/dist/chunks/{filesystem-wxf6pp3z.js → aisdk-native-bq6pg2b7.js} +29 -29
- package/dist/chunks/{filesystem-3v1362xg.js → aisdk-native-bs5hxq2j.js} +28 -28
- package/dist/chunks/{filesystem-bstexjd6.js → aisdk-native-bstexjd6.js} +1 -1
- package/dist/chunks/{filesystem-azwwy65a.js → aisdk-native-btnzg8nv.js} +18 -18
- package/dist/chunks/{filesystem-ntshrafh.js → aisdk-native-c27hftk9.js} +19 -19
- package/dist/chunks/{filesystem-p53t1m50.js → aisdk-native-c4qm83ve.js} +30 -30
- package/dist/chunks/{filesystem-qxd0vyyx.js → aisdk-native-c7t97er9.js} +7 -7
- package/dist/chunks/{filesystem-mtkfycnh.js → aisdk-native-c9t2ty9q.js} +4 -4
- package/dist/chunks/{filesystem-79yxn91x.js → aisdk-native-cn4abzy4.js} +15 -15
- package/dist/chunks/{filesystem-hx2kfbk2.js → aisdk-native-cx3naz87.js} +7 -7
- package/dist/chunks/{filesystem-942936k7.js → aisdk-native-d0zqqd9m.js} +48 -48
- package/dist/chunks/{filesystem-d4v9tmah.js → aisdk-native-d4v9tmah.js} +2 -2
- package/dist/chunks/{filesystem-2xm0hnd3.js → aisdk-native-d9pj6dwt.js} +6 -6
- package/dist/chunks/{filesystem-0s34gk3x.js → aisdk-native-dat1nafg.js} +6 -6
- package/dist/chunks/{filesystem-s1w5fnqx.js → aisdk-native-ddjt8fza.js} +16 -16
- package/dist/chunks/{filesystem-kmzgegqq.js → aisdk-native-ddvn7d3w.js} +8 -8
- package/dist/chunks/{filesystem-4k0n4aqd.js → aisdk-native-djhhcztn.js} +17 -17
- package/dist/chunks/{filesystem-bps13hr4.js → aisdk-native-dknea8rz.js} +11 -11
- package/dist/chunks/{filesystem-xw9sjbq7.js → aisdk-native-dmegvyd8.js} +23 -23
- package/dist/chunks/{filesystem-22qxr633.js → aisdk-native-dytnec17.js} +21 -21
- package/dist/chunks/{filesystem-1c8e1z5t.js → aisdk-native-e2egfevp.js} +5 -5
- package/dist/chunks/{filesystem-jneg3k74.js → aisdk-native-e5dqjz6v.js} +4 -4
- package/dist/chunks/{filesystem-cash41ab.js → aisdk-native-e5gp69z8.js} +14 -14
- package/dist/chunks/{filesystem-9d47vacw.js → aisdk-native-e5kftryj.js} +17 -17
- package/dist/chunks/{filesystem-gkkwf9ek.js → aisdk-native-e6mmdzve.js} +23 -23
- package/dist/chunks/{filesystem-e834z07m.js → aisdk-native-e834z07m.js} +1 -1
- package/dist/chunks/{filesystem-116ca35p.js → aisdk-native-ea1r856e.js} +21 -21
- package/dist/chunks/{filesystem-7k3s3q4g.js → aisdk-native-ed7mvkyj.js} +34 -34
- package/dist/chunks/{filesystem-dvebtgfn.js → aisdk-native-eej83p3g.js} +18 -18
- package/dist/chunks/{filesystem-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-3k4jc8v0.js → aisdk-native-egmw08v6.js} +5 -5
- package/dist/chunks/{filesystem-z2g46f5b.js → aisdk-native-ekbcyck4.js} +4 -4
- package/dist/chunks/{filesystem-7n2s0hvn.js → aisdk-native-epw1zg9a.js} +5 -5
- package/dist/chunks/aisdk-native-f3rcc13h.js +26 -0
- package/dist/chunks/{filesystem-nftmt6w7.js → aisdk-native-faeh2f3m.js} +17 -17
- package/dist/chunks/{filesystem-cd9vvngm.js → aisdk-native-fcaeknbn.js} +2 -2
- package/dist/chunks/{filesystem-fffv3p7h.js → aisdk-native-fffv3p7h.js} +1 -1
- package/dist/chunks/{filesystem-8fg642az.js → aisdk-native-ffz3tc9v.js} +5 -5
- package/dist/chunks/{filesystem-exnmcfra.js → aisdk-native-fg4tf10z.js} +16 -16
- package/dist/chunks/{filesystem-d0adv3wn.js → aisdk-native-fmdf6w7w.js} +4 -4
- package/dist/chunks/{filesystem-pyeqa8z9.js → aisdk-native-fpxx0csr.js} +13 -13
- package/dist/chunks/{filesystem-3af2h6f6.js → aisdk-native-fs41n15a.js} +11 -11
- package/dist/chunks/{filesystem-rbj8gs5v.js → aisdk-native-fvx2cc1y.js} +3 -3
- package/dist/chunks/{filesystem-8k7htary.js → aisdk-native-g3b4v13r.js} +7 -7
- package/dist/chunks/{filesystem-g5h9c0rr.js → aisdk-native-g5h9c0rr.js} +2 -2
- package/dist/chunks/{filesystem-vmfhgzt5.js → aisdk-native-g7esga4v.js} +5 -5
- package/dist/chunks/{filesystem-vrcsa8qx.js → aisdk-native-gcjdgkn2.js} +9 -9
- package/dist/chunks/{filesystem-2qc03bdv.js → aisdk-native-gx1gk8hj.js} +12 -12
- package/dist/chunks/{filesystem-b4rme3tx.js → aisdk-native-h3trcs2a.js} +6 -6
- package/dist/chunks/{filesystem-xh3hzw7q.js → aisdk-native-h97zv2aj.js} +8 -8
- package/dist/chunks/{filesystem-2bxs16p1.js → aisdk-native-hgpd6zzq.js} +41 -41
- package/dist/chunks/{filesystem-7h2wc5qt.js → aisdk-native-hgpg76ms.js} +16 -16
- package/dist/chunks/{filesystem-7f5nwzj1.js → aisdk-native-hht7mzva.js} +26 -26
- package/dist/chunks/{filesystem-yyn8wt6y.js → aisdk-native-hqdrhf4v.js} +6 -6
- package/dist/chunks/{filesystem-tasvem1v.js → aisdk-native-hskrfeat.js} +6 -6
- package/dist/chunks/{filesystem-ty2sm10g.js → aisdk-native-hteqp9yr.js} +2 -2
- package/dist/chunks/{filesystem-j113cymg.js → aisdk-native-j113cymg.js} +1 -1
- package/dist/chunks/{filesystem-jgmj0zrj.js → aisdk-native-j5028axy.js} +37 -37
- package/dist/chunks/{filesystem-5wkrvrk3.js → aisdk-native-j97vpnw1.js} +21 -21
- package/dist/chunks/{filesystem-v714my2j.js → aisdk-native-jkecy7kk.js} +31 -31
- package/dist/chunks/{filesystem-t0861qrz.js → aisdk-native-jv4gvf4e.js} +14 -14
- package/dist/chunks/{filesystem-ed5h55sq.js → aisdk-native-jw3pqxff.js} +14 -14
- package/dist/chunks/{filesystem-w6e33p3k.js → aisdk-native-k42xhr73.js} +16 -16
- package/dist/chunks/{filesystem-k814nvkf.js → aisdk-native-k814nvkf.js} +1 -1
- package/dist/chunks/{filesystem-kmx603z6.js → aisdk-native-kp26b1yf.js} +50 -50
- package/dist/chunks/{filesystem-8xs7txxn.js → aisdk-native-ky46g3rt.js} +1 -1
- package/dist/chunks/{filesystem-m1714858.js → aisdk-native-m1714858.js} +1 -1
- package/dist/chunks/{filesystem-nh58hc9m.js → aisdk-native-m24prk5k.js} +81 -81
- package/dist/chunks/{filesystem-gmxp0tf2.js → aisdk-native-m375s6yx.js} +29 -29
- package/dist/chunks/{filesystem-mqqgcg93.js → aisdk-native-m4ewa1ea.js} +4 -4
- package/dist/chunks/{filesystem-4ap0d51q.js → aisdk-native-m4qmadmz.js} +3 -3
- package/dist/chunks/{filesystem-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-maspj1v3.js → aisdk-native-maspj1v3.js} +1 -1
- package/dist/chunks/{filesystem-k2swmk98.js → aisdk-native-mdnsa350.js} +14 -14
- package/dist/chunks/{filesystem-xxwqbg00.js → aisdk-native-mkh8e5qb.js} +22 -22
- package/dist/chunks/{filesystem-zj8h54zn.js → aisdk-native-mkhavqvz.js} +7 -7
- package/dist/chunks/{filesystem-mmkbt6v3.js → aisdk-native-mmkbt6v3.js} +2 -2
- package/dist/chunks/{filesystem-xcspg1bc.js → aisdk-native-mqth84vw.js} +21 -21
- package/dist/chunks/{filesystem-6w1z0afp.js → aisdk-native-mrwvncc0.js} +32 -32
- package/dist/chunks/{filesystem-7e5ts14b.js → aisdk-native-mw897n8n.js} +26 -21
- package/dist/chunks/{filesystem-vq1p6kkc.js → aisdk-native-n0j9rxme.js} +21 -21
- package/dist/chunks/{filesystem-n0p0277s.js → aisdk-native-n0p0277s.js} +1 -1
- package/dist/chunks/{filesystem-6je74zf0.js → aisdk-native-n3qeft5s.js} +13 -13
- package/dist/chunks/{filesystem-770pw0s1.js → aisdk-native-nah043kf.js} +4 -4
- package/dist/chunks/{filesystem-qnm4ee5f.js → aisdk-native-nbw9vdm7.js} +6 -6
- package/dist/chunks/{filesystem-jghabtcw.js → aisdk-native-nff5tryj.js} +24 -24
- package/dist/chunks/{filesystem-yjzq9vex.js → aisdk-native-nsz4hqpa.js} +27 -27
- package/dist/chunks/{filesystem-p015t6z3.js → aisdk-native-p015t6z3.js} +2 -2
- package/dist/chunks/{filesystem-6cxhfye1.js → aisdk-native-p13d239b.js} +22 -22
- package/dist/chunks/{filesystem-5zrxpy3q.js → aisdk-native-p7vhpwh8.js} +5 -5
- package/dist/chunks/{filesystem-eq3fc1qc.js → aisdk-native-pacbbjc0.js} +5 -5
- package/dist/chunks/{filesystem-3dedk1s0.js → aisdk-native-pb0pb4ja.js} +6 -6
- package/dist/chunks/{filesystem-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-w0ng8sb4.js → aisdk-native-pkq6cy3t.js} +14 -14
- package/dist/chunks/{filesystem-g1sdaffb.js → aisdk-native-ps6e1jcm.js} +27 -27
- package/dist/chunks/{filesystem-edvrbgb7.js → aisdk-native-qehpsavp.js} +9 -9
- package/dist/chunks/{filesystem-f17hsh48.js → aisdk-native-qfpreq8q.js} +12 -12
- package/dist/chunks/{filesystem-qjgzc4b4.js → aisdk-native-qjgzc4b4.js} +1 -1
- package/dist/chunks/{filesystem-1y0wdj51.js → aisdk-native-qv7y9773.js} +4 -4
- package/dist/chunks/{filesystem-4y366mta.js → aisdk-native-r0an0rnq.js} +4 -4
- package/dist/chunks/{filesystem-r0yr0wbs.js → aisdk-native-r0yr0wbs.js} +1 -1
- package/dist/chunks/{filesystem-rb9dy4dg.js → aisdk-native-rb9dy4dg.js} +1 -1
- package/dist/chunks/{filesystem-r66x192s.js → aisdk-native-rf1mqepq.js} +30 -30
- package/dist/chunks/{filesystem-57r3w4mg.js → aisdk-native-rq2mk7m1.js} +23 -23
- package/dist/chunks/{filesystem-rrad2nt9.js → aisdk-native-rrad2nt9.js} +1 -1
- package/dist/chunks/{filesystem-rt5dr6hb.js → aisdk-native-rt5dr6hb.js} +1 -1
- package/dist/chunks/{filesystem-z5hhap5m.js → aisdk-native-rwjwmpkv.js} +7 -7
- package/dist/chunks/{filesystem-bmz6t6pq.js → aisdk-native-s8r2r9mm.js} +16 -16
- package/dist/chunks/{filesystem-vzmjdaw1.js → aisdk-native-sah69mkr.js} +9 -9
- package/dist/chunks/{filesystem-1tpn6myv.js → aisdk-native-sj0d3ba2.js} +35 -35
- package/dist/chunks/{filesystem-sqjzf8x2.js → aisdk-native-sqjzf8x2.js} +1 -1
- package/dist/chunks/aisdk-native-sy4np8yw.js +257 -0
- package/dist/chunks/{filesystem-xs9f9c89.js → aisdk-native-t7b9tzs2.js} +26 -26
- package/dist/chunks/{filesystem-rs61zdpp.js → aisdk-native-t86qegv6.js} +11 -11
- package/dist/chunks/{filesystem-9e4mvsvc.js → aisdk-native-tbewet40.js} +8 -8
- package/dist/chunks/{filesystem-f5pe5xbd.js → aisdk-native-tc862km1.js} +11 -11
- package/dist/chunks/{filesystem-tczq8hjw.js → aisdk-native-tczq8hjw.js} +1 -1
- package/dist/chunks/{filesystem-fx5d1n8y.js → aisdk-native-th0xcwad.js} +2 -2
- package/dist/chunks/{filesystem-edpv0694.js → aisdk-native-tj370d4h.js} +4 -4
- package/dist/chunks/{filesystem-q0d1t4r8.js → aisdk-native-tnbqwktc.js} +21 -21
- package/dist/chunks/{filesystem-ypxm9172.js → aisdk-native-tpkmspg8.js} +4 -4
- package/dist/chunks/{filesystem-vgk61ywp.js → aisdk-native-tpm1qpxt.js} +9 -9
- package/dist/chunks/{filesystem-cp6v88n8.js → aisdk-native-tqews0g9.js} +26 -26
- package/dist/chunks/{filesystem-61g7nd3s.js → aisdk-native-tsbtk4gr.js} +5 -5
- package/dist/chunks/{filesystem-tw8zr1ps.js → aisdk-native-tw8zr1ps.js} +1 -1
- package/dist/chunks/{filesystem-twv2r8f4.js → aisdk-native-twv2r8f4.js} +2 -2
- package/dist/chunks/{filesystem-1w51vxkz.js → aisdk-native-txbesbjy.js} +13 -13
- package/dist/chunks/{filesystem-a9mr4pbf.js → aisdk-native-v01g48v0.js} +27 -27
- package/dist/chunks/{filesystem-v2r1d0zg.js → aisdk-native-v2r1d0zg.js} +1 -1
- package/dist/chunks/{filesystem-pe681sea.js → aisdk-native-v3pxprwd.js} +23 -23
- package/dist/chunks/{filesystem-esjx5599.js → aisdk-native-v4cav44x.js} +13 -13
- package/dist/chunks/{filesystem-pta84ypa.js → aisdk-native-v5gy4fh6.js} +8 -8
- package/dist/chunks/{filesystem-4b4zxyy8.js → aisdk-native-v5prxdmf.js} +9 -9
- package/dist/chunks/{filesystem-vd3b3yk9.js → aisdk-native-vd3b3yk9.js} +1 -1
- package/dist/chunks/{filesystem-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-jr7k77qs.js → aisdk-native-vgk0b1nh.js} +3 -3
- package/dist/chunks/{filesystem-p1qvkr9d.js → aisdk-native-vhefzks2.js} +30 -30
- package/dist/chunks/{filesystem-fartem3k.js → aisdk-native-vqc1vww2.js} +2 -2
- package/dist/chunks/{filesystem-0t2efqex.js → aisdk-native-vrggebkz.js} +38 -38
- package/dist/chunks/{filesystem-rntrk4q6.js → aisdk-native-vszjvnhm.js} +12 -12
- package/dist/chunks/{filesystem-qjhdweq9.js → aisdk-native-vycsk1c7.js} +8 -8
- package/dist/chunks/{filesystem-r41sfy63.js → aisdk-native-w2eysc6j.js} +6 -6
- package/dist/chunks/{filesystem-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-epqb75p6.js → aisdk-native-w85kb978.js} +8 -8
- package/dist/chunks/{filesystem-w8qtt4th.js → aisdk-native-w8qtt4th.js} +1 -1
- package/dist/chunks/{filesystem-wakvkjy4.js → aisdk-native-wakvkjy4.js} +1 -1
- package/dist/chunks/{filesystem-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-8j62s4y7.js → aisdk-native-we7sy1aw.js} +30 -30
- package/dist/chunks/{filesystem-d4r2kcv6.js → aisdk-native-wnk4xn6v.js} +40 -40
- package/dist/chunks/{filesystem-y6v2r02b.js → aisdk-native-ws0h9cy0.js} +39 -39
- package/dist/chunks/{filesystem-c1xd845s.js → aisdk-native-wwypt0gw.js} +11 -11
- package/dist/chunks/{filesystem-2n0h6mem.js → aisdk-native-wyx7r0f4.js} +8 -8
- package/dist/chunks/{filesystem-v7ecd1j3.js → aisdk-native-x39k7gnq.js} +17 -17
- package/dist/chunks/{filesystem-bhk5af8b.js → aisdk-native-x8m5w31w.js} +11 -11
- package/dist/chunks/{filesystem-c3rhye5x.js → aisdk-native-xnhgbs6g.js} +20 -20
- package/dist/chunks/{filesystem-fjqbqs01.js → aisdk-native-xnvhvay3.js} +15 -15
- package/dist/chunks/{filesystem-3trpca19.js → aisdk-native-xqw5086y.js} +12 -12
- package/dist/chunks/{filesystem-4ef8bwn9.js → aisdk-native-y0qbtkbs.js} +12 -12
- package/dist/chunks/{filesystem-yb20nhc3.js → aisdk-native-yb20nhc3.js} +1 -1
- package/dist/chunks/{filesystem-7kvsvhsr.js → aisdk-native-ydnbvr86.js} +8 -8
- package/dist/chunks/{filesystem-w65kmk12.js → aisdk-native-yh1ya1qp.js} +11 -11
- package/dist/chunks/{filesystem-shzcewxt.js → aisdk-native-yhj9rsww.js} +14 -14
- package/dist/chunks/{filesystem-y9xrhqjb.js → aisdk-native-yq70x34n.js} +6 -6
- package/dist/chunks/{filesystem-gc4rcfsx.js → aisdk-native-yqveydy6.js} +4 -4
- package/dist/chunks/{filesystem-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-z38nccrw.js → aisdk-native-z38nccrw.js} +1 -1
- package/dist/chunks/{filesystem-kw88awxx.js → aisdk-native-z3gh5pwf.js} +22 -22
- package/dist/chunks/{filesystem-93cw99tk.js → aisdk-native-z4hn5n7m.js} +43 -43
- package/dist/chunks/{filesystem-43jry69q.js → aisdk-native-z7cwb6b4.js} +15 -15
- package/dist/chunks/{filesystem-cc5x4asw.js → aisdk-native-za1z5wrh.js} +23 -23
- package/dist/chunks/{filesystem-k4p9vzj4.js → aisdk-native-zb67htfs.js} +6 -6
- package/dist/chunks/{filesystem-zkg84ctx.js → aisdk-native-zkg84ctx.js} +1 -1
- package/dist/chunks/{filesystem-dt3jkxpv.js → aisdk-native-zypqc34r.js} +15 -15
- package/dist/chunks/{filesystem-bmk2h0av.js → aisdk-native-zzyt3g67.js} +10 -10
- 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 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +75 -75
- package/dist/database/database.js +68 -68
- 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 +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +72 -72
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +154 -154
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +4 -4
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +11 -4
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +220 -220
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/pty/ticket.d.ts +7 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/filesystem-2f3z3cr8.js +0 -523
- package/dist/chunks/filesystem-87sqwm80.js +0 -18
- package/dist/chunks/filesystem-9jjtdp7g.js +0 -26
- package/dist/chunks/filesystem-h15n1nxh.js +0 -257
- /package/dist/chunks/{filesystem-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → aisdk-native-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5fjb7ams.js → aisdk-native-5fjb7ams.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → aisdk-native-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → aisdk-native-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a058387c.js → aisdk-native-a058387c.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → aisdk-native-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → aisdk-native-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → aisdk-native-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → aisdk-native-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → aisdk-native-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wjj7prxr.js → aisdk-native-wjj7prxr.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service11,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service11.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service11, node13, exports_location_watcher_policy };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-6ymqbjrh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-tj370d4h.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-6fb985w0.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-rrad2nt9.js";
|
|
14
14
|
import {
|
|
15
15
|
ID16,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-pb0pb4ja.js";
|
|
19
19
|
import {
|
|
20
20
|
Service14
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-tsbtk4gr.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-native-mkh8e5qb.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-native-vhefzks2.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
resolve2
|
|
33
|
+
} from "./aisdk-native-2196w46z.js";
|
|
34
34
|
import {
|
|
35
35
|
InvalidRequestError2,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
UnavailableError3,
|
|
37
|
+
Service19
|
|
38
|
+
} from "./aisdk-native-1s5gppce.js";
|
|
39
39
|
import {
|
|
40
40
|
ID4,
|
|
41
|
-
|
|
41
|
+
Input14,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./aisdk-native-xnhgbs6g.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import {
|
|
@@ -205,7 +205,7 @@ var OpencodePlugin2 = define({
|
|
|
205
205
|
const client = yield* HttpClient.HttpClient;
|
|
206
206
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
207
207
|
const managed = yield* Service14;
|
|
208
|
-
const voice = yield*
|
|
208
|
+
const voice = yield* Service19;
|
|
209
209
|
const scope = yield* Scope.Scope;
|
|
210
210
|
const loading = Semaphore.makeUnsafe(1);
|
|
211
211
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -257,22 +257,22 @@ var OpencodePlugin2 = define({
|
|
|
257
257
|
}).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "error" }), Effect.scoped, Effect.timeoutOrElse({
|
|
258
258
|
duration: Duration.seconds(20),
|
|
259
259
|
orElse: () => Effect.fail(new Error("OpenCode Console didn't answer in time"))
|
|
260
|
-
}), Effect.mapError((cause) => new
|
|
260
|
+
}), Effect.mapError((cause) => new UnavailableError3({
|
|
261
261
|
service: "opencode",
|
|
262
262
|
message: cause instanceof Error ? cause.message : String(cause)
|
|
263
263
|
})), Effect.flatMap((reply) => {
|
|
264
264
|
if (reply.status >= 200 && reply.status < 300)
|
|
265
265
|
return Effect.succeed(reply.text);
|
|
266
266
|
if (reply.status === 401)
|
|
267
|
-
return Effect.fail(new
|
|
267
|
+
return Effect.fail(new UnavailableError3({ service: "opencode", message: `${signedOutMessage}.` }));
|
|
268
268
|
const message = Option.getOrUndefined(Schema.decodeUnknownOption(InferenceError)(reply.text))?.error.message ?? `OpenCode Console refused the voice request (HTTP ${reply.status})`;
|
|
269
|
-
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new
|
|
269
|
+
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new UnavailableError3({ service: "opencode", message }));
|
|
270
270
|
}));
|
|
271
271
|
return {
|
|
272
272
|
integration: "opencode",
|
|
273
273
|
models: offer.models,
|
|
274
274
|
workspace: offer.workspace,
|
|
275
|
-
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new
|
|
275
|
+
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new UnavailableError3({
|
|
276
276
|
service: "opencode",
|
|
277
277
|
message: "OpenCode Console returned an invalid voice session"
|
|
278
278
|
})))), Effect.map((created) => ({
|
|
@@ -344,7 +344,7 @@ var OpencodePlugin2 = define({
|
|
|
344
344
|
providers.models.update(providerID, modelID, (model) => {
|
|
345
345
|
if (config.capabilities?.reasoning !== undefined)
|
|
346
346
|
model.variants = [
|
|
347
|
-
...
|
|
347
|
+
...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
348
348
|
];
|
|
349
349
|
for (const variant of config.variants ?? []) {
|
|
350
350
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -380,7 +380,7 @@ var OpencodePlugin2 = define({
|
|
|
380
380
|
sourceConnection: snapshot.connection
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
const item = providers.get(
|
|
383
|
+
const item = providers.get(ID8.opencode);
|
|
384
384
|
if (!item)
|
|
385
385
|
return;
|
|
386
386
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -392,7 +392,7 @@ var OpencodePlugin2 = define({
|
|
|
392
392
|
});
|
|
393
393
|
});
|
|
394
394
|
yield* ctx.model.transform((models) => {
|
|
395
|
-
const item = models.provider.get(
|
|
395
|
+
const item = models.provider.get(ID8.opencode);
|
|
396
396
|
if (!item)
|
|
397
397
|
return;
|
|
398
398
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -420,7 +420,7 @@ var OpencodePlugin2 = define({
|
|
|
420
420
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
421
421
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
422
422
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
423
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
423
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
424
424
|
query: input.query,
|
|
425
425
|
providerID: descriptor.providerID
|
|
426
426
|
}));
|
|
@@ -481,7 +481,7 @@ var OpencodePlugin2 = define({
|
|
|
481
481
|
});
|
|
482
482
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
483
483
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
484
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
484
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID8.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
485
485
|
});
|
|
486
486
|
yield* guard(snapshot);
|
|
487
487
|
const polling = yield* FiberHandle.make();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-z38nccrw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_managed_policy, {
|
|
|
12
12
|
Service: () => Service14,
|
|
13
13
|
decision: () => decision2,
|
|
14
14
|
layer: () => layer9,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node17,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -36,7 +36,7 @@ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node17 = makeGlobalNode({ service: Service14, layer: layer9, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export { Service14, layer9,
|
|
53
|
+
export { Service14, layer9, node17, statements2, decision2, exports_managed_policy };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./aisdk-native-arg2k2r6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./aisdk-native-mrwvncc0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin15,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin15 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service54;
|
|
28
|
+
const mcp = yield* Service37;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin15, register2, exports_mcp };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node60
|
|
5
|
+
} from "./aisdk-native-6ymqbjrh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Service72,
|
|
8
8
|
node75
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-bk7xq8bh.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-j5028axy.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-qehpsavp.js";
|
|
16
16
|
import {
|
|
17
17
|
Error3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-ea1r856e.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-3nnrz6f6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service35,
|
|
24
|
+
node38
|
|
25
|
+
} from "./aisdk-native-0mvvgekb.js";
|
|
26
26
|
import {
|
|
27
27
|
make14
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-native-g7esga4v.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-native-th0xcwad.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service34,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer16,
|
|
44
|
+
node: () => node37,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
|
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const transport = yield*
|
|
163
|
+
var layer16 = Layer.effect(Service34, Effect.gen(function* () {
|
|
164
|
+
const hooks = yield* Service72;
|
|
165
|
+
const transport = yield* Service35;
|
|
166
166
|
const app = yield* Metadata2;
|
|
167
167
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
168
168
|
const session = input.session;
|
|
@@ -264,17 +264,17 @@ var layer14 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service34.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [node75,
|
|
274
|
+
var node37 = makeLocationNode({
|
|
275
|
+
service: Service34,
|
|
276
|
+
layer: layer16,
|
|
277
|
+
deps: [node75, node38, node60]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service34, layer16, node37, exports_model_request };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-tj370d4h.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-hteqp9yr.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-tbewet40.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref3,
|
|
15
15
|
Service79,
|
|
16
16
|
node83
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-vqc1vww2.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-wyx7r0f4.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
Service68,
|
|
26
26
|
node71
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-j5028axy.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service21,
|
|
30
|
+
node24
|
|
31
|
+
} from "./aisdk-native-fs41n15a.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service20,
|
|
41
|
+
node: () => node23
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service20 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service85;
|
|
52
52
|
const location = yield* Service79;
|
|
53
|
-
const permission = yield*
|
|
53
|
+
const permission = yield* Service68;
|
|
54
54
|
const forms = yield* Service84;
|
|
55
|
-
const rpc = yield*
|
|
55
|
+
const rpc = yield* Service21;
|
|
56
56
|
const project = yield* Service80;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service20.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node23 = makeLocationNode({
|
|
89
|
+
service: Service20,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node89, node83, node71, node84, node88,
|
|
91
|
+
deps: [node89, node83, node71, node84, node88, node24]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service20, node23, exports_location_lifecycle };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-qjgzc4b4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node80
|
|
7
|
+
} from "./aisdk-native-tnbqwktc.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service13,
|
|
17
|
+
node: () => node15,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service13 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service77;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service13.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [node80] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-w2eysc6j.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin37,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin37 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin20 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin37, exports_exa };
|