@opencode/core 0.0.0-dev-21108 → 0.0.0-dev-21109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{vcs-cjmfqnq2.js → models-dev-018fz2md.js} +32 -32
- package/dist/chunks/models-dev-02hhvmqy.js +257 -0
- package/dist/chunks/{vcs-gqmeawtn.js → models-dev-04a9k7zc.js} +20 -20
- package/dist/chunks/{vcs-8vkwsqvz.js → models-dev-08h9zhev.js} +19 -19
- package/dist/chunks/{vcs-kqx1b4hy.js → models-dev-0b5g1ynf.js} +4 -4
- package/dist/chunks/{vcs-6fh64ftw.js → models-dev-0txbw99a.js} +18 -18
- package/dist/chunks/{vcs-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-w7xw82wb.js → models-dev-0x6j275b.js} +11 -11
- package/dist/chunks/models-dev-13wj90a4.js +26 -0
- package/dist/chunks/{vcs-kbgg0xp7.js → models-dev-14zctcmx.js} +23 -23
- package/dist/chunks/{vcs-c44mjgcb.js → models-dev-1fqrv75a.js} +24 -24
- package/dist/chunks/{vcs-abwx4fz1.js → models-dev-1h80wfj2.js} +11 -11
- package/dist/chunks/{vcs-xa1ekjr5.js → models-dev-1mt90trw.js} +21 -21
- package/dist/chunks/{vcs-cqwdbp8s.js → models-dev-1n61k2j4.js} +20 -20
- package/dist/chunks/{vcs-az977ysh.js → models-dev-1nxkmdr2.js} +30 -30
- package/dist/chunks/{vcs-tcdv4xxx.js → models-dev-1q4ekm1s.js} +1 -1
- package/dist/chunks/{vcs-j9s0qvjv.js → models-dev-1qaejmwp.js} +4 -4
- package/dist/chunks/{vcs-xset6v8e.js → models-dev-1x09take.js} +24 -24
- package/dist/chunks/{vcs-2kz8np98.js → models-dev-25dpty04.js} +34 -34
- package/dist/chunks/{vcs-fn9t717r.js → models-dev-25yddszk.js} +6 -6
- package/dist/chunks/{vcs-9dawpgdd.js → models-dev-29wrk7cw.js} +6 -6
- package/dist/chunks/{vcs-3febqyrh.js → models-dev-2cm368az.js} +15 -15
- package/dist/chunks/{vcs-ewcy99y7.js → models-dev-2fh35bp5.js} +25 -25
- package/dist/chunks/{vcs-qgn6gcr1.js → models-dev-2k8khapm.js} +5 -5
- package/dist/chunks/{vcs-my4qtva3.js → models-dev-2rh1mj1j.js} +19 -19
- package/dist/chunks/{vcs-gz9sjfgx.js → models-dev-37cqxn50.js} +6 -6
- package/dist/chunks/{vcs-apbzx1qy.js → models-dev-3b50v19g.js} +1 -1
- package/dist/chunks/{vcs-stwte7t7.js → models-dev-3d30t3xk.js} +24 -24
- package/dist/chunks/{vcs-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3hwn7j4h.js → models-dev-3hwn7j4h.js} +2 -2
- package/dist/chunks/{vcs-7ar02ars.js → models-dev-3jmrzwyy.js} +20 -20
- package/dist/chunks/{vcs-z0c53cnc.js → models-dev-3p3bq4k7.js} +17 -17
- package/dist/chunks/{vcs-jhf3jymm.js → models-dev-3ppptnan.js} +6 -6
- package/dist/chunks/{vcs-jypkjyjj.js → models-dev-3q7r66tp.js} +172 -172
- package/dist/chunks/{vcs-mq3zggt6.js → models-dev-3s4aw0kp.js} +17 -17
- package/dist/chunks/{vcs-aqab6bvk.js → models-dev-3s4mbjk1.js} +4 -4
- package/dist/chunks/{vcs-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-mxvxcxwy.js → models-dev-3y377wv9.js} +4 -4
- package/dist/chunks/{vcs-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-kr3za5q8.js → models-dev-429fcsen.js} +38 -38
- package/dist/chunks/{vcs-v0es1rhs.js → models-dev-4434d9q2.js} +9 -9
- package/dist/chunks/{vcs-gzx41zxb.js → models-dev-4572g32s.js} +26 -26
- package/dist/chunks/{vcs-pn9m0qmr.js → models-dev-4867c7tx.js} +2 -2
- package/dist/chunks/{vcs-gdvrp62c.js → models-dev-48cw6fh0.js} +13 -13
- package/dist/chunks/{vcs-jxg22agt.js → models-dev-4djjp8w2.js} +14 -14
- package/dist/chunks/{vcs-qzawr4c0.js → models-dev-4dt8p5gd.js} +46 -46
- package/dist/chunks/{vcs-3xxwenrj.js → models-dev-4q529qz9.js} +9 -9
- package/dist/chunks/{vcs-k80zjrbm.js → models-dev-4shbge4a.js} +26 -26
- package/dist/chunks/models-dev-4v7qdvcn.js +18 -0
- package/dist/chunks/{vcs-t7nkm7zy.js → models-dev-4vvz6d59.js} +11 -11
- package/dist/chunks/{vcs-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-74g3bhj7.js → models-dev-5ey37cyz.js} +8 -8
- package/dist/chunks/{vcs-kbvzwwv7.js → models-dev-5gwsadgq.js} +14 -14
- package/dist/chunks/{vcs-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-y1kqc1p7.js → models-dev-5nke03s7.js} +28 -28
- package/dist/chunks/{vcs-bf12m7kx.js → models-dev-64w4nbgf.js} +11 -11
- package/dist/chunks/{vcs-g72yd4k4.js → models-dev-6kgydgrk.js} +12 -12
- package/dist/chunks/{vcs-8mnysrst.js → models-dev-6mgmbzeg.js} +5 -5
- package/dist/chunks/{vcs-t08z9s5h.js → models-dev-6rrewwnv.js} +8 -8
- package/dist/chunks/{vcs-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-wqffb857.js → models-dev-6z2jnbav.js} +15 -15
- package/dist/chunks/{vcs-775gj3j1.js → models-dev-775gj3j1.js} +2 -2
- package/dist/chunks/{vcs-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-m27qakrx.js → models-dev-7n61w1pq.js} +15 -15
- package/dist/chunks/{vcs-wbzy543d.js → models-dev-7q3x8t4f.js} +19 -19
- package/dist/chunks/{vcs-wdk0efzn.js → models-dev-7r5rc0px.js} +27 -27
- package/dist/chunks/{vcs-q6cvmfpv.js → models-dev-7xe1rbj0.js} +13 -13
- package/dist/chunks/{vcs-sesj2hvf.js → models-dev-7z683adc.js} +55 -55
- package/dist/chunks/{vcs-kwztdq7h.js → models-dev-80fab04m.js} +17 -17
- package/dist/chunks/{vcs-84txncab.js → models-dev-84txncab.js} +1 -1
- package/dist/chunks/{vcs-kzc3h1h3.js → models-dev-86qzxe6p.js} +4 -4
- package/dist/chunks/{vcs-gcr4j17e.js → models-dev-88ntk3wd.js} +36 -36
- package/dist/chunks/{vcs-fkyvq0kx.js → models-dev-88x17rpf.js} +21 -21
- package/dist/chunks/{vcs-yh2wrcre.js → models-dev-8ejeq2b5.js} +19 -19
- package/dist/chunks/{vcs-9zm0mfan.js → models-dev-8jwbh1w5.js} +3 -3
- package/dist/chunks/{vcs-8m6m0r52.js → models-dev-8m6m0r52.js} +1 -1
- package/dist/chunks/{vcs-bsegt2fq.js → models-dev-91ggt2dm.js} +5 -5
- package/dist/chunks/{vcs-91qna3x0.js → models-dev-91qna3x0.js} +3 -3
- package/dist/chunks/{vcs-tre5yt63.js → models-dev-94drmy7f.js} +8 -8
- package/dist/chunks/{vcs-xbarvga5.js → models-dev-99hcjxde.js} +48 -48
- package/dist/chunks/{vcs-gj71zhbs.js → models-dev-9hwaqfsw.js} +5 -5
- package/dist/chunks/{vcs-yw1yd8am.js → models-dev-9nh53x3n.js} +11 -11
- package/dist/chunks/{vcs-t1n56gek.js → models-dev-9nk08j85.js} +65 -65
- package/dist/chunks/{vcs-2hcv2g42.js → models-dev-9qe767rg.js} +9 -9
- package/dist/chunks/{vcs-mm8g4k7x.js → models-dev-9v8j2wcp.js} +37 -37
- package/dist/chunks/{vcs-5z6fkxtw.js → models-dev-9x1w8y0r.js} +7 -7
- package/dist/chunks/{vcs-bcq6ngff.js → models-dev-a0d2fhz5.js} +89 -89
- package/dist/chunks/{vcs-8wpwcw2c.js → models-dev-a4nhb8xp.js} +30 -30
- package/dist/chunks/{vcs-57mezkvj.js → models-dev-aagxtpba.js} +26 -26
- package/dist/chunks/{vcs-sdkx3pjx.js → models-dev-an5spve5.js} +45 -45
- package/dist/chunks/{vcs-5ywzfb3j.js → models-dev-at37vfd1.js} +9 -9
- package/dist/chunks/{vcs-6e6k9ee1.js → models-dev-b28mnwwt.js} +6 -6
- package/dist/chunks/{vcs-zrq8kphx.js → models-dev-bjmt3h04.js} +7 -7
- package/dist/chunks/{vcs-1ffvrpkg.js → models-dev-bjx1sjef.js} +6 -6
- package/dist/chunks/{vcs-z3nay82g.js → models-dev-bkxyw0dr.js} +9 -9
- package/dist/chunks/{vcs-d1pkjdrj.js → models-dev-brp2h1yk.js} +22 -22
- package/dist/chunks/{vcs-at768xak.js → models-dev-bybvw7jw.js} +18 -18
- package/dist/chunks/{vcs-py94f0e0.js → models-dev-c0w1yt3d.js} +21 -21
- package/dist/chunks/{vcs-c1dxt66b.js → models-dev-c1ebjx9s.js} +11 -11
- package/dist/chunks/{vcs-c1fqxshp.js → models-dev-c1fqxshp.js} +3 -3
- package/dist/chunks/{vcs-c8zwaxmp.js → models-dev-c2sed5cq.js} +3 -3
- package/dist/chunks/{vcs-a72zk5vh.js → models-dev-c7gefaxx.js} +2 -2
- package/dist/chunks/{vcs-cv00cvbs.js → models-dev-cjcd0dx4.js} +44 -44
- package/dist/chunks/{vcs-b3xja3vs.js → models-dev-cjtnjdfr.js} +11 -11
- package/dist/chunks/{vcs-e7w08kap.js → models-dev-crap2ys2.js} +32 -32
- package/dist/chunks/{vcs-w6xajd1d.js → models-dev-cs1bbd5r.js} +17 -17
- package/dist/chunks/{vcs-qkfkzs5q.js → models-dev-cv485zaq.js} +20 -20
- package/dist/chunks/{vcs-pymsrck8.js → models-dev-cx6xa6px.js} +16 -16
- package/dist/chunks/{vcs-vrja8bfg.js → models-dev-cy2k9m9k.js} +1 -1
- package/dist/chunks/{vcs-f00h63f7.js → models-dev-d1bwbx6h.js} +25 -25
- package/dist/chunks/{vcs-ecja6gpk.js → models-dev-d43w6w8d.js} +5 -5
- package/dist/chunks/{vcs-3bz86aqc.js → models-dev-d8zhqnqd.js} +10 -10
- package/dist/chunks/{vcs-y71avatq.js → models-dev-dpkg50ah.js} +4 -4
- package/dist/chunks/{vcs-dqxsqydv.js → models-dev-dqxsqydv.js} +1 -1
- package/dist/chunks/{vcs-drwq78ky.js → models-dev-drwq78ky.js} +1 -1
- package/dist/chunks/{vcs-23fmqdqn.js → models-dev-ds14744m.js} +10 -10
- package/dist/chunks/{vcs-9jvzcmy4.js → models-dev-dsw8mzy0.js} +1 -1
- package/dist/chunks/{vcs-ec487xam.js → models-dev-dvm4dasd.js} +16 -16
- package/dist/chunks/{vcs-bh74vh5r.js → models-dev-dx52c3tb.js} +13 -13
- package/dist/chunks/{vcs-1bmjn0qh.js → models-dev-dys7k0s0.js} +8 -8
- package/dist/chunks/{vcs-wt2f84b9.js → models-dev-e198z0mp.js} +4 -4
- package/dist/chunks/{vcs-0p6hghjm.js → models-dev-e424n3e7.js} +11 -11
- package/dist/chunks/{vcs-rqds5wzt.js → models-dev-e6n82m9d.js} +14 -14
- package/dist/chunks/{vcs-ksqkdsfg.js → models-dev-ebrw6ces.js} +28 -28
- package/dist/chunks/{vcs-eej6y6fw.js → models-dev-eej6y6fw.js} +2 -2
- package/dist/chunks/{vcs-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-29m6mk6w.js → models-dev-eg678sd6.js} +5 -5
- package/dist/chunks/{vcs-8chrd1c9.js → models-dev-eh5454n1.js} +10 -10
- package/dist/chunks/{vcs-zbzfepeb.js → models-dev-ep7maze5.js} +4 -4
- package/dist/chunks/{vcs-x1bbg2xd.js → models-dev-esb6nxn8.js} +13 -13
- package/dist/chunks/{vcs-1a430sh5.js → models-dev-ev9s2k0h.js} +15 -15
- package/dist/chunks/{vcs-nrkkc40d.js → models-dev-ewcyzw42.js} +75 -75
- package/dist/chunks/{vcs-ah9qjh8p.js → models-dev-ewjhws0n.js} +11 -11
- package/dist/chunks/{vcs-rnn4727b.js → models-dev-f32ybve0.js} +13 -13
- package/dist/chunks/{vcs-kbs69a2x.js → models-dev-f8ee66y8.js} +3 -3
- package/dist/chunks/{vcs-n1f7gktn.js → models-dev-f9vqewha.js} +32 -32
- package/dist/chunks/{vcs-qf76qvkk.js → models-dev-fced994e.js} +5 -5
- package/dist/chunks/{vcs-fcy631f0.js → models-dev-fcy631f0.js} +1 -1
- package/dist/chunks/{vcs-6kbcj5hv.js → models-dev-ftrqhxzm.js} +10 -10
- package/dist/chunks/{vcs-3k043h5p.js → models-dev-fxksqsfg.js} +14 -14
- package/dist/chunks/{vcs-jf22arnf.js → models-dev-ga2k9c5r.js} +6 -6
- package/dist/chunks/{vcs-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-eyn1arby.js → models-dev-gda0ts7c.js} +47 -47
- package/dist/chunks/{vcs-mwpybj7y.js → models-dev-ggsdx269.js} +12 -12
- package/dist/chunks/{vcs-t0pyhqcw.js → models-dev-ghz6dcrw.js} +11 -11
- package/dist/chunks/{vcs-kw0erqyq.js → models-dev-gmf8cn46.js} +14 -14
- package/dist/chunks/{vcs-bbpptzmy.js → models-dev-gp476xk8.js} +32 -32
- package/dist/chunks/{vcs-tz4n1mmd.js → models-dev-gst7axd9.js} +4 -4
- package/dist/chunks/{vcs-a8r1ndjr.js → models-dev-gwe042x5.js} +13 -13
- package/dist/chunks/{vcs-6xnzn5r9.js → models-dev-h2knq904.js} +15 -15
- package/dist/chunks/{vcs-zz2r6mts.js → models-dev-h6hp0kt1.js} +24 -24
- package/dist/chunks/{vcs-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-31xfzrxg.js → models-dev-h7s7r6s9.js} +5 -5
- package/dist/chunks/{vcs-7h4aqy0s.js → models-dev-hfbyhya8.js} +10 -10
- package/dist/chunks/{vcs-hgz4x7wa.js → models-dev-hgz4x7wa.js} +1 -1
- package/dist/chunks/{vcs-fxaymqdw.js → models-dev-hq3c8me3.js} +4 -4
- package/dist/chunks/{vcs-0pnx5nh0.js → models-dev-j0whrta5.js} +10 -10
- package/dist/chunks/{vcs-gxv64e4w.js → models-dev-j1vf9jgh.js} +19 -19
- package/dist/chunks/{vcs-9s83jr1p.js → models-dev-jby4v498.js} +9 -9
- package/dist/chunks/{vcs-81ncqz2m.js → models-dev-jdvnpeh9.js} +17 -17
- package/dist/chunks/{vcs-q0qjy1zt.js → models-dev-jetgc7z7.js} +24 -24
- package/dist/chunks/{vcs-5bvwnfz3.js → models-dev-jevaq2sf.js} +9 -9
- package/dist/chunks/{vcs-j2s852az.js → models-dev-jh51r71r.js} +31 -31
- package/dist/chunks/{vcs-98v90pwc.js → models-dev-jn3ecnfv.js} +23 -23
- package/dist/chunks/{vcs-j758eka2.js → models-dev-jrq45ekn.js} +9 -9
- package/dist/chunks/{vcs-7hvkf8ba.js → models-dev-k33z6p3z.js} +33 -33
- package/dist/chunks/{vcs-5ryha89e.js → models-dev-kgv9g9m4.js} +19 -19
- package/dist/chunks/{vcs-e497y9d1.js → models-dev-khh7p1y8.js} +9 -9
- package/dist/chunks/{vcs-jj5ks10b.js → models-dev-kpspzzpt.js} +2 -2
- package/dist/chunks/{vcs-kwb1v3vj.js → models-dev-kwb1v3vj.js} +1 -1
- package/dist/chunks/{vcs-zae46mp4.js → models-dev-m44sf8vb.js} +5 -5
- package/dist/chunks/{vcs-0aqfmf5v.js → models-dev-m8yschaf.js} +32 -32
- package/dist/chunks/{vcs-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-maspj1v3.js → models-dev-maspj1v3.js} +1 -1
- package/dist/chunks/{vcs-2cybgqhz.js → models-dev-mb14aw74.js} +2 -2
- package/dist/chunks/{vcs-b6770wny.js → models-dev-mvbr08xd.js} +42 -42
- package/dist/chunks/{vcs-84msw036.js → models-dev-naag4epy.js} +11 -11
- package/dist/chunks/{vcs-0xqyf95c.js → models-dev-ngyhb3xw.js} +4 -4
- package/dist/chunks/{vcs-3wvege5j.js → models-dev-nm6fqd4m.js} +5 -5
- package/dist/chunks/{vcs-e80seqcp.js → models-dev-nma959mg.js} +3 -3
- package/dist/chunks/{vcs-tx5fk5pn.js → models-dev-npkv4pb4.js} +4 -4
- package/dist/chunks/{vcs-6jn4zywt.js → models-dev-nqfd0r50.js} +25 -25
- package/dist/chunks/{vcs-70n7ee7d.js → models-dev-p0hsc1b3.js} +28 -28
- package/dist/chunks/{vcs-1xwjxjf0.js → models-dev-p12c6vr7.js} +42 -42
- package/dist/chunks/{vcs-tprpskj3.js → models-dev-p2taazqe.js} +3 -3
- package/dist/chunks/{vcs-de3tz8ce.js → models-dev-p32s5qak.js} +6 -6
- package/dist/chunks/{vcs-mp6m6hpj.js → models-dev-p33ckn3v.js} +11 -11
- package/dist/chunks/{vcs-pa8pe2x7.js → models-dev-p37cw4rj.js} +8 -8
- package/dist/chunks/{vcs-ssprmpe5.js → models-dev-p5z45nn9.js} +46 -46
- package/dist/chunks/{vcs-st8atvy4.js → models-dev-pj3deymp.js} +17 -17
- package/dist/chunks/{vcs-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-6xcvt31d.js → models-dev-pnzf6mjf.js} +1 -1
- package/dist/chunks/{vcs-7jsc1qpe.js → models-dev-prgtw01z.js} +3 -3
- package/dist/chunks/{vcs-82rhge12.js → models-dev-prq7hedt.js} +9 -9
- package/dist/chunks/{vcs-694900vg.js → models-dev-psmzd26b.js} +17 -17
- package/dist/chunks/{vcs-278dshqs.js → models-dev-q2famck6.js} +11 -11
- package/dist/chunks/{vcs-vh1d1c6z.js → models-dev-qc3eb908.js} +18 -18
- package/dist/chunks/{vcs-15fn43ap.js → models-dev-qkqsjsba.js} +10 -10
- package/dist/chunks/{vcs-z4rktwb2.js → models-dev-qmrcfj17.js} +17 -17
- package/dist/chunks/{vcs-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-r5tp3nbh.js → models-dev-qqhgytfg.js} +4 -4
- package/dist/chunks/{vcs-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-snhrfy7w.js → models-dev-qv8n7gxq.js} +32 -32
- package/dist/chunks/{vcs-cwa6csj7.js → models-dev-r2m716tb.js} +9 -9
- package/dist/chunks/{vcs-ps6734b0.js → models-dev-r3453g7b.js} +17 -17
- package/dist/chunks/{vcs-2x84g0hg.js → models-dev-r4fjq33x.js} +16 -16
- package/dist/chunks/{vcs-q4rtw0sm.js → models-dev-r790j5dn.js} +50 -50
- package/dist/chunks/{vcs-trt0dew0.js → models-dev-r9dgaffw.js} +21 -21
- package/dist/chunks/{vcs-sswp2h42.js → models-dev-r9myb6mq.js} +11 -11
- package/dist/chunks/{vcs-r70na3yp.js → models-dev-ra67jj04.js} +5 -5
- package/dist/chunks/{vcs-z1z60s25.js → models-dev-rd9g82ww.js} +4 -4
- package/dist/chunks/{vcs-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-rert0e01.js → models-dev-rert0e01.js} +2 -2
- package/dist/chunks/{vcs-rj3eygr5.js → models-dev-rj3eygr5.js} +2 -2
- package/dist/chunks/{vcs-rd3e5ygt.js → models-dev-rkmtmhsy.js} +7 -7
- package/dist/chunks/{vcs-rkprpv83.js → models-dev-rkprpv83.js} +2 -2
- package/dist/chunks/{vcs-n8rrra3a.js → models-dev-rn41q46b.js} +10 -10
- package/dist/chunks/{vcs-pa2b1817.js → models-dev-rqn1e5t9.js} +41 -41
- package/dist/chunks/{vcs-j0bxzt0p.js → models-dev-rrk228c4.js} +4 -4
- package/dist/chunks/{vcs-cqbghwqx.js → models-dev-s3sw9wzj.js} +20 -20
- package/dist/chunks/{vcs-sa8ekw3f.js → models-dev-sa8ekw3f.js} +2 -2
- package/dist/chunks/{vcs-v9cgcx37.js → models-dev-se49g0hz.js} +28 -28
- package/dist/chunks/{vcs-p1j52kwe.js → models-dev-sgnt8r5w.js} +8 -8
- package/dist/chunks/{vcs-syv4x271.js → models-dev-syv4x271.js} +1 -1
- package/dist/chunks/{vcs-8034592z.js → models-dev-sz9gegs6.js} +20 -20
- package/dist/chunks/{vcs-d216944b.js → models-dev-t2fc4mz5.js} +7 -7
- package/dist/chunks/{vcs-p9p9s22a.js → models-dev-t40m281k.js} +11 -11
- package/dist/chunks/{vcs-rhjbct0v.js → models-dev-t550f9t1.js} +4 -4
- package/dist/chunks/{vcs-02e36gs3.js → models-dev-t9ebbrej.js} +11 -11
- package/dist/chunks/{vcs-regzcayk.js → models-dev-ta12ejh7.js} +9 -9
- package/dist/chunks/{vcs-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-89znhe33.js → models-dev-tcezcvh9.js} +4 -4
- package/dist/chunks/{vcs-tdstcens.js → models-dev-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-tm0kqsz3.js → models-dev-tm0kqsz3.js} +1 -1
- package/dist/chunks/{vcs-7evj5wva.js → models-dev-tsdxsxn8.js} +3 -3
- package/dist/chunks/{vcs-a2wv01vg.js → models-dev-tsyxp5w9.js} +15 -15
- package/dist/chunks/{vcs-tyytaxap.js → models-dev-tyytaxap.js} +1 -1
- package/dist/chunks/{vcs-5wzb8f99.js → models-dev-tz4rnvt3.js} +20 -20
- package/dist/chunks/{vcs-v7p4zvkq.js → models-dev-v7p4zvkq.js} +2 -2
- package/dist/chunks/{vcs-g1kppfdc.js → models-dev-vce41d5d.js} +24 -24
- package/dist/chunks/{vcs-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-2cmv458r.js → models-dev-vnwmzs4a.js} +5 -5
- package/dist/chunks/{vcs-1vayj7pv.js → models-dev-vpnmpst2.js} +7 -7
- package/dist/chunks/{vcs-pgcq6gba.js → models-dev-vsg1s5gy.js} +10 -10
- package/dist/chunks/{vcs-ppbmqrvr.js → models-dev-vwpcpzep.js} +8 -8
- package/dist/chunks/{vcs-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-yx0rmv9r.js → models-dev-w4axh9wz.js} +4 -4
- package/dist/chunks/{vcs-5hpssq55.js → models-dev-wan3f8ty.js} +32 -32
- package/dist/chunks/{vcs-mv3hx7wz.js → models-dev-waskdk5r.js} +4 -4
- package/dist/chunks/{vcs-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-5fykfdj7.js → models-dev-wh6zw745.js} +5 -5
- package/dist/chunks/{vcs-y4v5ah6d.js → models-dev-wttkh064.js} +20 -20
- package/dist/chunks/{vcs-ev6xeesc.js → models-dev-x230ck08.js} +8 -8
- package/dist/chunks/{vcs-zsaystjn.js → models-dev-x525dgj0.js} +15 -15
- package/dist/chunks/{vcs-jwrbm3d8.js → models-dev-x5f9nxxw.js} +16 -16
- package/dist/chunks/{vcs-80vk4pbp.js → models-dev-x5h44zm2.js} +12 -12
- package/dist/chunks/{vcs-b4gkm0yn.js → models-dev-xp5djccy.js} +17 -17
- package/dist/chunks/{vcs-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-tb2eav5j.js → models-dev-y8qa0wgt.js} +27 -27
- package/dist/chunks/{vcs-e7x5qhf1.js → models-dev-y8rqn1sx.js} +320 -320
- package/dist/chunks/{vcs-7em5ghts.js → models-dev-ymtzxja7.js} +20 -20
- package/dist/chunks/{vcs-f2n192rq.js → models-dev-yp2x3t23.js} +4 -4
- package/dist/chunks/{vcs-my0tytnd.js → models-dev-yq5ncrpt.js} +24 -24
- package/dist/chunks/{vcs-nxe4pcap.js → models-dev-yrcj3v3g.js} +4 -4
- package/dist/chunks/{vcs-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-tf57n56z.js → models-dev-z3xee66j.js} +14 -14
- package/dist/chunks/{vcs-9h5geed1.js → models-dev-z56ekth6.js} +17 -17
- package/dist/chunks/{vcs-0qke7b7v.js → models-dev-zdkjbeg6.js} +18 -18
- package/dist/chunks/{vcs-yyjjzvwv.js → models-dev-zqn9n131.js} +30 -30
- package/dist/chunks/{vcs-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-wtv33j88.js → models-dev-zt64k235.js} +28 -28
- package/dist/chunks/{vcs-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
- package/dist/chunks/{vcs-4ztejm5p.js → models-dev-zxxyq1zs.js} +24 -24
- package/dist/chunks/{vcs-749m9j3c.js → models-dev-zy19vr0v.js} +7 -7
- 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 +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +134 -134
- 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 +123 -123
- 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.js +137 -137
- 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 +119 -119
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- 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 +107 -107
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- 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-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- 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 +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 +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 +114 -114
- 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 +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +168 -168
- 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 +349 -349
- 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 +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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- 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 +87 -87
- 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 +86 -86
- 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 +153 -153
- 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 +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- 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 +4 -4
- 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 +225 -225
- 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 +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- 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 +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- 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 +93 -93
- 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 +3 -3
- 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/vcs-ht5y0zrb.js +0 -18
- package/dist/chunks/vcs-jwkxpzhb.js +0 -257
- package/dist/chunks/vcs-xb6h6tjx.js +0 -26
- /package/dist/chunks/{vcs-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → models-dev-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → models-dev-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → models-dev-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → models-dev-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → models-dev-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-pkyv6v7h.js → models-dev-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{vcs-pyv0edze.js → models-dev-pyv0edze.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wjj7prxr.js → models-dev-wjj7prxr.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → models-dev-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./models-dev-syv4x271.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-bjx1sjef.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-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: () => Plugin8,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
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 endpoint4 = "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 Plugin8 = 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 Plugin18 = 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(endpoint4);
|
|
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 { endpoint4, Plugin8, exports_exa };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-1qaejmwp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service83,
|
|
11
|
+
node87
|
|
12
|
+
} from "./models-dev-ebrw6ces.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node82
|
|
16
|
+
} from "./models-dev-pj3deymp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node79
|
|
20
|
+
} from "./models-dev-1fqrv75a.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service84,
|
|
24
|
+
node88
|
|
25
|
+
} from "./models-dev-1x09take.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./models-dev-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID16,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service82,
|
|
34
|
+
node86
|
|
35
|
+
} from "./models-dev-p0hsc1b3.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError3,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service26,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured2,
|
|
56
|
+
layer: () => layer12,
|
|
57
|
+
node: () => node30
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service26 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options2 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer12 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const environment = yield* Service76;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service84;
|
|
119
|
+
const integration = yield* Service82;
|
|
120
|
+
const credentials = yield* Service83;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID16.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service83, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service83, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID18.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service76, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer15 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service26.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured2(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service26,
|
|
536
|
+
layer: layer12(options),
|
|
537
|
+
deps: [node82, node79, node89, node88, node86, node87]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node30 = configured2();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service26, Options2, layer12, configured2, node30, exports_mcp4 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info11 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info10 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info11, exports_provider2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service54
|
|
4
|
+
} from "./models-dev-gda0ts7c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./models-dev-ghz6dcrw.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin19
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin19 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service54;
|
|
27
|
+
const output = yield* Service52;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin38 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin19, exports_tool_output };
|
|
@@ -1,108 +1,108 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-prgtw01z.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./models-dev-1qaejmwp.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./models-dev-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./models-dev-37cqxn50.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./models-dev-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-c1fqxshp.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./models-dev-0b5g1ynf.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./models-dev-yrcj3v3g.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./models-dev-x230ck08.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service63,
|
|
33
|
+
node65
|
|
34
|
+
} from "./models-dev-e6n82m9d.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
36
|
+
Service59,
|
|
37
37
|
node61
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./models-dev-jh51r71r.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./models-dev-775gj3j1.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service28,
|
|
44
|
+
node32
|
|
45
|
+
} from "./models-dev-p33ckn3v.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./models-dev-a4nhb8xp.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make10
|
|
51
|
+
} from "./models-dev-25yddszk.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./models-dev-91ggt2dm.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service12,
|
|
57
|
+
node14,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./models-dev-rqn1e5t9.js";
|
|
60
60
|
import {
|
|
61
61
|
Service20,
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
node24
|
|
63
|
+
} from "./models-dev-ewcyzw42.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./models-dev-wttkh064.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service10,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node12
|
|
73
|
+
} from "./models-dev-zxxyq1zs.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service37
|
|
77
|
+
} from "./models-dev-gst7axd9.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node23
|
|
80
|
+
} from "./models-dev-k33z6p3z.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
node54
|
|
83
|
+
} from "./models-dev-ghz6dcrw.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
make9
|
|
87
|
+
} from "./models-dev-ymtzxja7.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
Service29
|
|
90
|
+
} from "./models-dev-4v7qdvcn.js";
|
|
91
91
|
import {
|
|
92
92
|
node19
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./models-dev-cs1bbd5r.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./models-dev-y44na4kk.js";
|
|
97
97
|
import {
|
|
98
98
|
__export
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
100
100
|
|
|
101
101
|
// src/session/runner/llm.ts
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node11
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, inArray, sql } from "drizzle-orm";
|
|
@@ -110,17 +110,17 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
112
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
113
|
-
var layer = Layer.effect(
|
|
113
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
114
114
|
const bus = yield* Service85;
|
|
115
|
-
const lifecycle = yield*
|
|
116
|
-
const store = yield*
|
|
115
|
+
const lifecycle = yield* Service59;
|
|
116
|
+
const store = yield* Service63;
|
|
117
117
|
const context = yield* Service20;
|
|
118
|
-
const modelTransport = yield*
|
|
118
|
+
const modelTransport = yield* Service28;
|
|
119
119
|
const db = (yield* Service86).db;
|
|
120
|
-
const compaction = yield*
|
|
121
|
-
const plugins = yield*
|
|
122
|
-
const title = yield*
|
|
123
|
-
const steps = yield*
|
|
120
|
+
const compaction = yield* Service12;
|
|
121
|
+
const plugins = yield* Service29;
|
|
122
|
+
const title = yield* Service10;
|
|
123
|
+
const steps = yield* make9;
|
|
124
124
|
const titles = yield* FiberMap.make();
|
|
125
125
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
126
126
|
const sessionID = input.sessionID;
|
|
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
241
241
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
242
242
|
const sessionID = first.session.id;
|
|
243
243
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
244
|
-
const retry = yield*
|
|
244
|
+
const retry = yield* make10(bus, sessionID);
|
|
245
245
|
let initial = first;
|
|
246
246
|
let recoverOverflow = true;
|
|
247
247
|
let recoverContinuation = true;
|
|
@@ -373,25 +373,25 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
|
-
return
|
|
376
|
+
return Service37.of({ drain });
|
|
377
377
|
}));
|
|
378
|
-
var
|
|
379
|
-
service:
|
|
378
|
+
var node11 = makeLocationNode({
|
|
379
|
+
service: Service37,
|
|
380
380
|
layer,
|
|
381
381
|
deps: [
|
|
382
382
|
node89,
|
|
383
383
|
node61,
|
|
384
384
|
llmClient2,
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
385
|
+
node24,
|
|
386
|
+
node32,
|
|
387
|
+
node65,
|
|
388
|
+
node14,
|
|
389
389
|
node19,
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
390
|
+
node12,
|
|
391
|
+
node23,
|
|
392
|
+
node54,
|
|
393
393
|
node90
|
|
394
394
|
]
|
|
395
395
|
});
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { node11, exports_llm };
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-zt64k235.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service73,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node76
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service73 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service73, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service73.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node76 = makeLocationNode({ service: Service73, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service73, locationLayer2, node76, exports_aisdk };
|