@opencode/core 0.0.0-dev-20963 → 0.0.0-dev-20965
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{shell-10wd51gp.js → variant-0821qp31.js} +46 -46
- package/dist/chunks/{shell-t0vjqmv0.js → variant-08axjxgx.js} +15 -15
- package/dist/chunks/{shell-ss358qx3.js → variant-08rawchj.js} +3 -3
- package/dist/chunks/{shell-35nypx3d.js → variant-0aqkm3bj.js} +14 -14
- package/dist/chunks/{shell-7behcjme.js → variant-0e6afmah.js} +32 -32
- package/dist/chunks/{shell-0vbcp93d.js → variant-0emb60td.js} +2 -2
- package/dist/chunks/{shell-q0xm7vwc.js → variant-0j77ygfz.js} +6 -6
- package/dist/chunks/variant-0wrjkmeb.js +26 -0
- package/dist/chunks/{shell-vbbqdsb5.js → variant-0x6tm39e.js} +33 -33
- package/dist/chunks/{shell-e7ydkzjj.js → variant-0z9vq3n9.js} +7 -7
- package/dist/chunks/variant-10rgf74w.js +253 -0
- package/dist/chunks/{shell-0ma0nq8c.js → variant-16ce7mxz.js} +15 -15
- package/dist/chunks/{shell-7e4t0x2w.js → variant-184e73e7.js} +5 -5
- package/dist/chunks/{shell-7v6tfra1.js → variant-1b1vcbyp.js} +45 -45
- package/dist/chunks/{shell-jcj1bmag.js → variant-1dgd40yc.js} +4 -4
- package/dist/chunks/{shell-ywt8jp22.js → variant-1ffvrpkg.js} +6 -6
- package/dist/chunks/{shell-3qsetew1.js → variant-1g2tzbqy.js} +33 -33
- package/dist/chunks/{shell-v5dkyp31.js → variant-1g7epwpd.js} +7 -7
- package/dist/chunks/{shell-85hrc257.js → variant-1j8hy33p.js} +8 -8
- package/dist/chunks/{shell-45pdesb8.js → variant-1jg8srde.js} +17 -17
- package/dist/chunks/{shell-f2mw6jyj.js → variant-1shzte8w.js} +11 -11
- package/dist/chunks/{shell-vxrv5hh3.js → variant-1sne15z1.js} +16 -16
- package/dist/chunks/{shell-hsktkk0f.js → variant-1wqbhyhn.js} +16 -16
- package/dist/chunks/variant-1x11rq2a.js +18 -0
- package/dist/chunks/{shell-nf7ndftz.js → variant-1zqh2xam.js} +13 -13
- package/dist/chunks/{shell-hyw1cebe.js → variant-215yrs1m.js} +10 -10
- package/dist/chunks/{shell-gbqksffw.js → variant-22dae4yx.js} +14 -14
- package/dist/chunks/{shell-x27mxbrv.js → variant-2k05yhhs.js} +4 -4
- package/dist/chunks/{shell-qgn6gcr1.js → variant-2k8khapm.js} +5 -5
- package/dist/chunks/{shell-nnaw3fcy.js → variant-2kzdwg0n.js} +26 -26
- package/dist/chunks/{shell-f1vyadhg.js → variant-2s7cj1a3.js} +9 -9
- package/dist/chunks/{shell-cwa6csj7.js → variant-2sejkfem.js} +9 -9
- package/dist/chunks/{shell-y4xcjaps.js → variant-30f50eyj.js} +33 -33
- package/dist/chunks/{shell-mkzhp1bm.js → variant-318ps4mw.js} +26 -26
- package/dist/chunks/{shell-3v7889rv.js → variant-31ccf081.js} +24 -24
- package/dist/chunks/{shell-31xfzrxg.js → variant-31xfzrxg.js} +2 -2
- package/dist/chunks/{shell-ay0ekvpz.js → variant-3esz0pk7.js} +29 -29
- package/dist/chunks/{shell-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3hwn7j4h.js → variant-3hwn7j4h.js} +2 -2
- package/dist/chunks/{shell-kdg9j66c.js → variant-3jys3s1h.js} +9 -9
- package/dist/chunks/{shell-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
- package/dist/chunks/{shell-scpphhc2.js → variant-45emh9sw.js} +12 -12
- package/dist/chunks/{shell-27c30v4z.js → variant-49a8ke3b.js} +1 -1
- package/dist/chunks/{shell-9hwaqfsw.js → variant-4f1b800q.js} +5 -5
- package/dist/chunks/{shell-tkh3fds9.js → variant-4ghc2kqd.js} +5 -5
- package/dist/chunks/{shell-a6gaz7hm.js → variant-4ptrhz46.js} +16 -16
- package/dist/chunks/{shell-8she8qcx.js → variant-4qbhtwgs.js} +187 -187
- package/dist/chunks/{shell-5r60h0nw.js → variant-4r580w2s.js} +20 -20
- package/dist/chunks/{shell-9m3vrp61.js → variant-4tvnehfx.js} +13 -13
- package/dist/chunks/{shell-54ma36ye.js → variant-54ma36ye.js} +1 -1
- package/dist/chunks/{shell-85f8cexg.js → variant-5c7zhz82.js} +6 -6
- package/dist/chunks/{shell-a844rf5t.js → variant-5k19yq9w.js} +27 -27
- package/dist/chunks/{shell-5m9w47nd.js → variant-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-8jr8q571.js → variant-5q5yxa5j.js} +11 -11
- package/dist/chunks/{shell-d22s4b17.js → variant-5vsvabpe.js} +14 -14
- package/dist/chunks/{shell-b2yrfxs6.js → variant-5xdxnttq.js} +87 -87
- package/dist/chunks/{shell-4h9dcm6c.js → variant-675h9k08.js} +33 -33
- package/dist/chunks/{shell-efqe6sj8.js → variant-690t7gnv.js} +4 -4
- package/dist/chunks/{shell-b65nhnwn.js → variant-6b4mrnbq.js} +32 -32
- package/dist/chunks/{shell-hztpe0eh.js → variant-6cb5bya6.js} +43 -43
- package/dist/chunks/{shell-jk540des.js → variant-6g107h22.js} +2 -2
- package/dist/chunks/{shell-400wmb2h.js → variant-6h8epbhc.js} +5 -5
- package/dist/chunks/{shell-6xb47vfp.js → variant-6xb47vfp.js} +1 -1
- package/dist/chunks/{shell-391cfmew.js → variant-6xw72zbe.js} +22 -22
- package/dist/chunks/{shell-775gj3j1.js → variant-775gj3j1.js} +2 -2
- package/dist/chunks/{shell-0z8m0m4h.js → variant-79c12bt7.js} +19 -19
- package/dist/chunks/{shell-rnb1qrc6.js → variant-7bcehx3h.js} +9 -9
- package/dist/chunks/{shell-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-jadf9tmz.js → variant-7f5dsppb.js} +30 -30
- package/dist/chunks/{shell-26yabc0c.js → variant-7jbtvk67.js} +22 -22
- package/dist/chunks/{shell-wj85kac7.js → variant-7qdqhac4.js} +11 -11
- package/dist/chunks/{shell-kjnabd3m.js → variant-7tqnqen3.js} +25 -25
- package/dist/chunks/{shell-wmc7nyv0.js → variant-7ycwyhsn.js} +22 -22
- package/dist/chunks/{shell-84txncab.js → variant-84txncab.js} +1 -1
- package/dist/chunks/{shell-dys7k0s0.js → variant-8b0kp1c1.js} +11 -11
- package/dist/chunks/{shell-8m6m0r52.js → variant-8m6m0r52.js} +1 -1
- package/dist/chunks/{shell-w3gpx58x.js → variant-8mta8yrw.js} +9 -9
- package/dist/chunks/{shell-4f51v5sg.js → variant-8nx44vyg.js} +17 -17
- package/dist/chunks/{shell-6c6ws8b5.js → variant-8ryt04pb.js} +13 -13
- package/dist/chunks/{shell-tsw7ksqw.js → variant-8t6tsgff.js} +60 -60
- package/dist/chunks/{shell-wg81ww38.js → variant-94cmvxd3.js} +4 -4
- package/dist/chunks/{shell-tyw8kzck.js → variant-95e562ab.js} +13 -13
- package/dist/chunks/{shell-kz59s07d.js → variant-98pn6x6y.js} +53 -53
- package/dist/chunks/{shell-qjx1ax0j.js → variant-9bbnj2zh.js} +5 -5
- package/dist/chunks/{shell-t52226va.js → variant-9vq825kb.js} +17 -17
- package/dist/chunks/{shell-qpr3rbpg.js → variant-9x7n08av.js} +21 -21
- package/dist/chunks/{shell-8y31xnqm.js → variant-a694798e.js} +5 -5
- package/dist/chunks/{shell-bxd16f08.js → variant-a8w6dpt8.js} +5 -5
- package/dist/chunks/{shell-9r91ygdr.js → variant-acp27cb6.js} +6 -6
- package/dist/chunks/{shell-581vpqv4.js → variant-aed4v31e.js} +16 -16
- package/dist/chunks/{shell-9e1k0p0p.js → variant-awqjysbz.js} +19 -19
- package/dist/chunks/{shell-rsx40xcc.js → variant-b2p40mva.js} +45 -45
- package/dist/chunks/{shell-eh6bjn4d.js → variant-b2yx5ehf.js} +9 -9
- package/dist/chunks/{shell-b3f8fkhc.js → variant-b3f8fkhc.js} +2 -2
- package/dist/chunks/{shell-yfyt8pq3.js → variant-b46qy5jj.js} +17 -17
- package/dist/chunks/{shell-g686f6pq.js → variant-bcwmtc9z.js} +9 -9
- package/dist/chunks/{shell-4q3ypj72.js → variant-bd2rbarm.js} +65 -65
- package/dist/chunks/{shell-qxbyczs9.js → variant-bffezq42.js} +19 -19
- package/dist/chunks/{shell-djhktcme.js → variant-bg7accr8.js} +1 -1
- package/dist/chunks/{shell-thm71zfy.js → variant-bn0vkb08.js} +27 -27
- package/dist/chunks/{shell-xfprvm58.js → variant-byv8jegc.js} +15 -15
- package/dist/chunks/{shell-rya5831r.js → variant-c172tty2.js} +3 -3
- package/dist/chunks/{shell-2ktf0ed2.js → variant-c27esgm9.js} +8 -8
- package/dist/chunks/{shell-rj3eygr5.js → variant-c41wscbt.js} +2 -2
- package/dist/chunks/{shell-sa8ekw3f.js → variant-c8ax2afj.js} +2 -2
- package/dist/chunks/{shell-a2v9h5m6.js → variant-cdbvc206.js} +11 -11
- package/dist/chunks/{shell-4jk4aq57.js → variant-chymrsmw.js} +32 -32
- package/dist/chunks/{shell-g0445xdp.js → variant-czfptnv9.js} +8 -8
- package/dist/chunks/{shell-v1m17hdy.js → variant-d1d75ewh.js} +28 -28
- package/dist/chunks/{shell-71m8tjwq.js → variant-d5f4dshd.js} +24 -24
- package/dist/chunks/{shell-0taqq77a.js → variant-dhpfcrwc.js} +333 -333
- package/dist/chunks/{shell-b0d6v0n3.js → variant-dm4mj2b8.js} +21 -21
- package/dist/chunks/{shell-rcyemfe8.js → variant-dp9b5y2c.js} +27 -27
- package/dist/chunks/{shell-y71avatq.js → variant-dpkg50ah.js} +4 -4
- package/dist/chunks/{shell-dqxsqydv.js → variant-dqxsqydv.js} +1 -1
- package/dist/chunks/{shell-ctb4gfyw.js → variant-drc9xvqh.js} +4 -4
- package/dist/chunks/{shell-5qd3pb7m.js → variant-e3qxr5gk.js} +2 -2
- package/dist/chunks/{shell-nvc3dar1.js → variant-e74fnb4d.js} +19 -19
- package/dist/chunks/{shell-eaj1djv9.js → variant-eaj1djv9.js} +1 -1
- package/dist/chunks/{shell-eej6y6fw.js → variant-eej6y6fw.js} +2 -2
- package/dist/chunks/{shell-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-fpx4scaj.js → variant-ekg16795.js} +20 -20
- package/dist/chunks/{shell-3vbe8drf.js → variant-em36464r.js} +20 -20
- package/dist/chunks/{shell-5zht2kc9.js → variant-eqxt343f.js} +26 -26
- package/dist/chunks/{shell-c1fqxshp.js → variant-es1vcfrp.js} +3 -3
- package/dist/chunks/{shell-ysg6tmpd.js → variant-eyect2y9.js} +19 -19
- package/dist/chunks/{shell-e4pfvawk.js → variant-eyw1jkg7.js} +11 -11
- package/dist/chunks/{shell-v9qnex70.js → variant-f1y6kd9g.js} +14 -14
- package/dist/chunks/{shell-cnysgr4d.js → variant-f6mz2wx2.js} +23 -23
- package/dist/chunks/{shell-k78pesf8.js → variant-f9fjk1ah.js} +14 -14
- package/dist/chunks/{shell-syyseabp.js → variant-fc42s903.js} +11 -11
- package/dist/chunks/{shell-jn0tk1mz.js → variant-fqhbsnr5.js} +8 -8
- package/dist/chunks/{shell-mxf5phsa.js → variant-fvgwmm0r.js} +8 -8
- package/dist/chunks/{shell-tc11merm.js → variant-fww2ha2b.js} +10 -10
- package/dist/chunks/{shell-ysgsvzag.js → variant-fxjmfkq7.js} +89 -89
- package/dist/chunks/{shell-aqqsezw7.js → variant-g0xp0fjm.js} +14 -14
- package/dist/chunks/{shell-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-1m9wmnwz.js → variant-gr2j2chh.js} +9 -9
- package/dist/chunks/{shell-3par9n16.js → variant-gtve8185.js} +20 -20
- package/dist/chunks/{shell-fgqh1qmr.js → variant-gv3e09km.js} +26 -26
- package/dist/chunks/{shell-vxq2jpwc.js → variant-h3bs1kek.js} +11 -11
- package/dist/chunks/{shell-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-gw7cjrad.js → variant-h9wp8z5w.js} +4 -4
- package/dist/chunks/{shell-hgz4x7wa.js → variant-hgz4x7wa.js} +1 -1
- package/dist/chunks/{shell-n5z9s4t6.js → variant-hhfn0ecg.js} +9 -9
- package/dist/chunks/{shell-h0e6ckft.js → variant-hqd5ftkx.js} +11 -11
- package/dist/chunks/{shell-707fqczt.js → variant-hshhh1g0.js} +8 -8
- package/dist/chunks/{shell-91qna3x0.js → variant-j09zfasm.js} +3 -3
- package/dist/chunks/{shell-7mt5vk4q.js → variant-j1m8k7tk.js} +4 -4
- package/dist/chunks/{shell-jvx5q19z.js → variant-j2x94qfn.js} +11 -11
- package/dist/chunks/{shell-tqxsz11v.js → variant-j3v4v25z.js} +46 -46
- package/dist/chunks/{shell-x4y1kf2t.js → variant-j5ck4p1e.js} +33 -33
- package/dist/chunks/{shell-kear05v1.js → variant-j864549w.js} +7 -7
- package/dist/chunks/{shell-1s8yq1pa.js → variant-jg41skm4.js} +33 -33
- package/dist/chunks/{shell-j5w2yx54.js → variant-jhf3jymm.js} +6 -6
- package/dist/chunks/{shell-ms2s8vsz.js → variant-jk6kbnxq.js} +9 -9
- package/dist/chunks/{shell-8tfctm8b.js → variant-jnfn5ex1.js} +1 -1
- package/dist/chunks/{shell-4s7t0d7n.js → variant-jqax3vrk.js} +32 -32
- package/dist/chunks/{shell-hjc1ceqg.js → variant-jxg7hd8r.js} +23 -23
- package/dist/chunks/{shell-cq1305b6.js → variant-k0qnz40c.js} +5 -5
- package/dist/chunks/{shell-e8vwfchq.js → variant-k185drda.js} +9 -9
- package/dist/chunks/{shell-pzjjnj3p.js → variant-k2wbs1f6.js} +20 -20
- package/dist/chunks/{shell-3q0fsfmr.js → variant-k9r9jvvd.js} +18 -18
- package/dist/chunks/{shell-y2krtm0y.js → variant-ka4dahqf.js} +32 -32
- package/dist/chunks/{shell-waskdk5r.js → variant-kqv3x6rj.js} +9 -9
- package/dist/chunks/{shell-yxas0qqg.js → variant-kr7grvbm.js} +41 -41
- package/dist/chunks/{shell-afpfqmz0.js → variant-krcrny4k.js} +10 -10
- package/dist/chunks/{shell-3wn9yz2z.js → variant-m1xvcqhf.js} +50 -50
- package/dist/chunks/{shell-ecehawjj.js → variant-m4cdjvks.js} +21 -21
- package/dist/chunks/{shell-2r93mh4x.js → variant-m935wjbx.js} +12 -12
- package/dist/chunks/{shell-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-maspj1v3.js → variant-maspj1v3.js} +1 -1
- package/dist/chunks/{shell-aq536rhp.js → variant-mk8df6ba.js} +13 -13
- package/dist/chunks/{shell-qm4dc04g.js → variant-mnx1xs56.js} +13 -13
- package/dist/chunks/{shell-v0es1rhs.js → variant-mq92c6sz.js} +9 -9
- package/dist/chunks/{shell-3qk9t3x6.js → variant-mwqr473v.js} +11 -11
- package/dist/chunks/{shell-4901z81j.js → variant-n4bazptv.js} +20 -20
- package/dist/chunks/{shell-73eqt8rc.js → variant-n9093sh7.js} +36 -36
- package/dist/chunks/{shell-sn3c8r3b.js → variant-n9kvdjtp.js} +18 -18
- package/dist/chunks/{shell-2ybg1hpp.js → variant-nazaqr6z.js} +11 -11
- package/dist/chunks/{shell-3mmbhv3p.js → variant-nd2xbyf5.js} +4 -4
- package/dist/chunks/{shell-k18ytf7m.js → variant-nd37ta7v.js} +6 -6
- package/dist/chunks/{shell-g3dscn4m.js → variant-ne3cddwz.js} +20 -20
- package/dist/chunks/{shell-rs2ws33g.js → variant-nkxhsnc1.js} +5 -5
- package/dist/chunks/{shell-0zese7xv.js → variant-nq17181k.js} +5 -5
- package/dist/chunks/{shell-dewtd1t5.js → variant-nssgk41k.js} +15 -15
- package/dist/chunks/{shell-khmqacep.js → variant-ny8edt06.js} +4 -4
- package/dist/chunks/{shell-p54fbf41.js → variant-nz324evw.js} +44 -44
- package/dist/chunks/{shell-whgyx68z.js → variant-p0km4v4v.js} +7 -7
- package/dist/chunks/{shell-g7m968y7.js → variant-p8899s55.js} +4 -4
- package/dist/chunks/{shell-pt9gxkrz.js → variant-pdbfs7q8.js} +13 -13
- package/dist/chunks/{shell-9v00wf8w.js → variant-pde076hx.js} +3 -3
- package/dist/chunks/{shell-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{shell-rkprpv83.js → variant-py3kkmfq.js} +2 -2
- package/dist/chunks/{shell-51qfnm8m.js → variant-q1tr0dsa.js} +8 -8
- package/dist/chunks/{shell-363vj7mg.js → variant-qh6vqrx5.js} +26 -26
- package/dist/chunks/{shell-3bmbvt4t.js → variant-qkdyhz0j.js} +24 -24
- package/dist/chunks/{shell-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
- package/dist/chunks/{shell-ve88pny4.js → variant-qptva5a0.js} +8 -8
- package/dist/chunks/{shell-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-1djtherc.js → variant-r2pt7hb6.js} +21 -21
- package/dist/chunks/{shell-sxcaecc0.js → variant-r2z489rp.js} +3 -3
- package/dist/chunks/{shell-kwrrngyp.js → variant-r4k54wer.js} +15 -15
- package/dist/chunks/{shell-0jq9fyba.js → variant-r9w3djhf.js} +9 -9
- package/dist/chunks/{shell-ty36jfe3.js → variant-rb93vns4.js} +3 -3
- package/dist/chunks/{shell-4556yem3.js → variant-rc73xy04.js} +2 -2
- package/dist/chunks/{shell-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-nq3k23th.js → variant-rfb6rgvz.js} +32 -32
- package/dist/chunks/{shell-10sz6pap.js → variant-rmzxz103.js} +3 -3
- package/dist/chunks/{shell-bz1yjczd.js → variant-s8y96gq9.js} +20 -20
- package/dist/chunks/{shell-sbmvftyn.js → variant-safknyzz.js} +37 -37
- package/dist/chunks/{shell-tmheqabc.js → variant-sd60ydk4.js} +36 -36
- package/dist/chunks/{shell-vgfz6n1v.js → variant-spzkthk3.js} +17 -17
- package/dist/chunks/{shell-78tt1mra.js → variant-sqead0rj.js} +27 -27
- package/dist/chunks/{shell-1dc5khew.js → variant-sw0mphdh.js} +36 -36
- package/dist/chunks/{shell-syv4x271.js → variant-syv4x271.js} +1 -1
- package/dist/chunks/{shell-4hefcvh1.js → variant-t1exkcnj.js} +21 -21
- package/dist/chunks/{shell-e9976c3q.js → variant-t5hq3fbq.js} +5 -5
- package/dist/chunks/{shell-57dhfqk6.js → variant-t7aaar7j.js} +18 -18
- package/dist/chunks/{shell-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{shell-5ktfwzc4.js → variant-th3vkxge.js} +6 -6
- package/dist/chunks/{shell-rert0e01.js → variant-tkb22qbm.js} +2 -2
- package/dist/chunks/{shell-tm0kqsz3.js → variant-tm0kqsz3.js} +1 -1
- package/dist/chunks/{shell-g8cahxem.js → variant-tntqxh8d.js} +16 -16
- package/dist/chunks/{shell-y7cpgp7g.js → variant-ttffcv7z.js} +11 -11
- package/dist/chunks/{shell-7q4a5kz0.js → variant-ttp06fyh.js} +6 -6
- package/dist/chunks/{shell-tyytaxap.js → variant-tyytaxap.js} +1 -1
- package/dist/chunks/{shell-ca7w653e.js → variant-tz4n1mmd.js} +4 -4
- package/dist/chunks/{shell-e27kdmva.js → variant-v53tbymh.js} +19 -19
- package/dist/chunks/{shell-v7p4zvkq.js → variant-v7p4zvkq.js} +2 -2
- package/dist/chunks/{shell-pgtf3vy0.js → variant-v99btfp6.js} +50 -50
- package/dist/chunks/{shell-1pxz8ven.js → variant-v9tezfc4.js} +5 -5
- package/dist/chunks/{shell-jnp9hjdf.js → variant-vadaeqkc.js} +22 -22
- package/dist/chunks/{shell-3e182vtd.js → variant-vav9rtzz.js} +11 -11
- package/dist/chunks/{shell-rgk41p4k.js → variant-vcc19h8c.js} +10 -10
- package/dist/chunks/{shell-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-6wm1hp0a.js → variant-vgr0ew10.js} +26 -26
- package/dist/chunks/{shell-0p5336y4.js → variant-vhsnpknp.js} +45 -45
- package/dist/chunks/{shell-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
- package/dist/chunks/{shell-0nbt10ra.js → variant-w2ftr1wp.js} +32 -32
- package/dist/chunks/{shell-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-04byth4q.js → variant-w5wmpqxq.js} +7 -7
- package/dist/chunks/{shell-8k6wbd9c.js → variant-wa343y42.js} +24 -24
- package/dist/chunks/{shell-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{shell-8gt23cqe.js → variant-wfmeqxnt.js} +9 -9
- package/dist/chunks/{shell-2yw8nqee.js → variant-wpdrjqr0.js} +26 -26
- package/dist/chunks/{shell-wr25njaj.js → variant-wtc59aw9.js} +10 -10
- package/dist/chunks/{shell-e85yb5dh.js → variant-wvrxhfbz.js} +14 -14
- package/dist/chunks/{shell-ej3rmm9y.js → variant-wxvzvkhz.js} +5 -5
- package/dist/chunks/{shell-52m64jpm.js → variant-x4jmhkba.js} +15 -15
- package/dist/chunks/{shell-zw2hpfmh.js → variant-x661k3y3.js} +4 -4
- package/dist/chunks/{shell-t79s17n5.js → variant-xdx7acry.js} +9 -9
- package/dist/chunks/{shell-drwq78ky.js → variant-xfkkasph.js} +4 -4
- package/dist/chunks/{shell-nevcxnwb.js → variant-xgcr0maa.js} +33 -33
- package/dist/chunks/{shell-rgjqxtx5.js → variant-xvfcqebw.js} +13 -13
- package/dist/chunks/{shell-ga2cfdh6.js → variant-xw25t1zq.js} +46 -46
- package/dist/chunks/{shell-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-gbbztpf6.js → variant-y23whk6n.js} +17 -17
- package/dist/chunks/{shell-64cf81kt.js → variant-y79ba3ty.js} +1 -1
- package/dist/chunks/{shell-f2n192rq.js → variant-yp2x3t23.js} +4 -4
- package/dist/chunks/{shell-7zt5x37y.js → variant-yqc6bamn.js} +1 -1
- package/dist/chunks/{shell-madaqa6m.js → variant-yskhjpp6.js} +28 -28
- package/dist/chunks/{shell-c3tx72rc.js → variant-yxxy4j45.js} +13 -13
- package/dist/chunks/{shell-4bm5ja14.js → variant-z0aj456m.js} +4 -4
- package/dist/chunks/{shell-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-63db42yp.js → variant-zfme70y8.js} +2 -2
- package/dist/chunks/{shell-q3ggeavs.js → variant-zhb76p7m.js} +18 -18
- package/dist/chunks/{shell-xbmfcccm.js → variant-zq6n8p55.js} +13 -13
- package/dist/chunks/{shell-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/chunks/{shell-rk7s9xkn.js → variant-zy43x3f1.js} +4 -4
- package/dist/chunks/{shell-ywm7vzgw.js → variant-zztrcv6s.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- 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 +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/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 +368 -368
- 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 +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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- 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 +100 -100
- 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 +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- 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 +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- 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 +124 -124
- 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 +99 -99
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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 +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- 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 +95 -95
- 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 +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/shell-ej0mtf17.js +0 -253
- package/dist/chunks/shell-jq1dp0qh.js +0 -26
- package/dist/chunks/shell-pf31ssb9.js +0 -18
- /package/dist/chunks/{shell-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → variant-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t0ybcrp.js → variant-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → variant-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → variant-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → variant-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jze0r7bz.js → variant-jze0r7bz.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → variant-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-pkyv6v7h.js → variant-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{shell-pyv0edze.js → variant-pyv0edze.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → variant-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wjj7prxr.js → variant-wjj7prxr.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID13,
|
|
3
|
+
Service74,
|
|
4
|
+
node78
|
|
5
|
+
} from "./variant-wpdrjqr0.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node77
|
|
20
|
+
} from "./variant-chymrsmw.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service71,
|
|
23
|
+
node75
|
|
24
|
+
} from "./variant-fc42s903.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID11,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service72,
|
|
30
|
+
node76,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./variant-7f5dsppb.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./variant-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service70,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node74,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID12,
|
|
63
|
+
modelID: ID11,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID12,
|
|
73
|
+
modelID: ID11,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID12,
|
|
84
|
+
modelID: ID11,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID12,
|
|
95
|
+
modelID: ID11,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID12,
|
|
107
|
+
modelID: ID11,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID12,
|
|
117
|
+
modelID: ID11,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service70 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
236
236
|
return tokenSettings(specifier, credential.access);
|
|
237
237
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
238
238
|
return { auth: "sigv4" };
|
|
239
|
-
if (model.providerID ===
|
|
239
|
+
if (model.providerID === ID12.azure)
|
|
240
240
|
return tokenSettings(specifier, "azure-cli");
|
|
241
241
|
return {};
|
|
242
242
|
};
|
|
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
275
|
-
const providers = yield*
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
274
|
+
var layer24 = Layer.effect(Service70, Effect.gen(function* () {
|
|
275
|
+
const providers = yield* Service73;
|
|
276
|
+
const models = yield* Service72;
|
|
277
|
+
const integrations = yield* Service74;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service71;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
282
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
|
|
283
283
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
284
284
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
285
285
|
const runtimeInfo = {
|
|
@@ -306,7 +306,7 @@ var layer20 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service70.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [
|
|
326
|
+
var node74 = makeLocationNode({
|
|
327
|
+
service: Service70,
|
|
328
|
+
layer: layer24,
|
|
329
|
+
deps: [node77, node76, node78, Npm.node, node75]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service70, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node74, exports_model_resolver };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-rb93vns4.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES3, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node70
|
|
5
|
+
} from "./variant-cdbvc206.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-h9wp8z5w.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service61,
|
|
12
|
+
node64
|
|
13
|
+
} from "./variant-c27esgm9.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-8t6tsgff.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-j864549w.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error3
|
|
22
|
+
} from "./variant-7tqnqen3.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./variant-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service32,
|
|
28
|
+
node35
|
|
29
|
+
} from "./variant-mwqr473v.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make15
|
|
32
|
+
} from "./variant-xfkkasph.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./variant-yqc6bamn.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./variant-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service31,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer13,
|
|
48
|
+
node: () => node34,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -155,11 +155,11 @@ var boundImages2 = (messages) => {
|
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
class
|
|
158
|
+
class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
159
159
|
}
|
|
160
|
-
var
|
|
161
|
-
const hooks = yield*
|
|
162
|
-
const transport = yield*
|
|
160
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
161
|
+
const hooks = yield* Service61;
|
|
162
|
+
const transport = yield* Service32;
|
|
163
163
|
const app = yield* Metadata2;
|
|
164
164
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
165
165
|
const session = input.session;
|
|
@@ -167,7 +167,7 @@ var layer14 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
167
167
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
168
168
|
const tools = input.tools ?? {
|
|
169
169
|
definitions: [],
|
|
170
|
-
execute: () => new
|
|
170
|
+
execute: () => new Error3({ message: "Tools are not available for this request" })
|
|
171
171
|
};
|
|
172
172
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
173
173
|
const shaped = yield* shape({
|
|
@@ -264,17 +264,17 @@ var layer14 = Layer.effect(Service22, 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 Service31.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: [
|
|
274
|
+
var node34 = makeLocationNode({
|
|
275
|
+
service: Service31,
|
|
276
|
+
layer: layer13,
|
|
277
|
+
deps: [node64, node35, node70]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service31, layer13, node34, exports_model_request };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info16
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info16 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info16, exports_command4 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-chymrsmw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./variant-7f5dsppb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin21,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin21 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service72;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin21, exports_verbosity };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./variant-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service51,
|
|
8
|
+
node53
|
|
9
|
+
} from "./variant-wa343y42.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./variant-w2ftr1wp.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./variant-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./variant-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service3,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node4,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service3 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service51;
|
|
335
|
+
return Service3.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node4 = makeLocationNode({ service: Service3, layer, deps: [node53] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node4, exports_read_filesystem };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service44,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node46
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service44 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service44.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node46 = makeLocationNode({
|
|
137
|
+
service: Service44,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service44, node46, exports_tool_output2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./variant-xdx7acry.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./variant-jhf3jymm.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-1x11rq2a.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service61
|
|
15
|
+
} from "./variant-c27esgm9.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-k185drda.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service33
|
|
23
|
+
} from "./variant-2kzdwg0n.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./variant-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service37;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service61;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service33;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service54;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|