@opencode/core 0.0.0-dev-20503 → 0.0.0-dev-20520
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{file-mutation-y72zmemf.js → integration-00x4qneg.js} +8 -8
- package/dist/chunks/{file-mutation-qx387k8b.js → integration-0hgbqp8h.js} +25 -25
- package/dist/chunks/{file-mutation-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-7b8rsjb2.js → integration-0pkcqgb8.js} +16 -16
- package/dist/chunks/{file-mutation-v1evr0zq.js → integration-0sswf8p0.js} +42 -42
- package/dist/chunks/{file-mutation-0vbcp93d.js → integration-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-mutation-bwqxw6t0.js → integration-182qsfc7.js} +18 -18
- package/dist/chunks/{file-mutation-5apd6674.js → integration-1csxs597.js} +10 -10
- package/dist/chunks/{file-mutation-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-84h8c373.js → integration-1dvck2a7.js} +2 -2
- package/dist/chunks/{file-mutation-f5qq0z73.js → integration-1gpb38yh.js} +3 -3
- package/dist/chunks/{file-mutation-g2d7gbby.js → integration-1kwk3g6a.js} +27 -27
- package/dist/chunks/integration-1x11rq2a.js +18 -0
- package/dist/chunks/{file-mutation-bvb1wd89.js → integration-23t06hy9.js} +11 -11
- package/dist/chunks/{file-mutation-5t8k9hbq.js → integration-25km1bq0.js} +8 -8
- package/dist/chunks/{file-mutation-9dsxywjb.js → integration-27qvbgt5.js} +9 -9
- package/dist/chunks/{file-mutation-1vcx5agm.js → integration-284r4ye9.js} +41 -41
- package/dist/chunks/{file-mutation-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-53ryxxkw.js → integration-2k15r9jf.js} +16 -16
- package/dist/chunks/{file-mutation-djszqvmq.js → integration-2mq1h16s.js} +9 -9
- package/dist/chunks/{file-mutation-jd31x3zp.js → integration-2r0bvek1.js} +25 -25
- package/dist/chunks/{file-mutation-3f7cc1vb.js → integration-2tbf8h14.js} +10 -10
- package/dist/chunks/{file-mutation-4whbrktx.js → integration-33ac6h8x.js} +18 -18
- package/dist/chunks/{file-mutation-km6n45td.js → integration-36geq38g.js} +13 -13
- package/dist/chunks/{file-mutation-aearsdrc.js → integration-3e8h9192.js} +11 -11
- package/dist/chunks/{file-mutation-s3cbap25.js → integration-3f4ha1nn.js} +66 -66
- package/dist/chunks/{file-mutation-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-61tnqj9c.js → integration-3s0mphe3.js} +9 -9
- package/dist/chunks/{file-mutation-0bh8r4qe.js → integration-3s5sjgej.js} +29 -29
- package/dist/chunks/{file-mutation-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-p99m56c0.js → integration-3w13bgcb.js} +85 -85
- package/dist/chunks/{file-mutation-3zsf4n22.js → integration-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-mutation-5sktg2nb.js → integration-437d4mrk.js} +13 -13
- package/dist/chunks/{file-mutation-fd1yny8f.js → integration-4a7499rx.js} +1 -1
- package/dist/chunks/{file-mutation-j9qk85cx.js → integration-4aysm09v.js} +11 -11
- package/dist/chunks/{file-mutation-mjjtmnz0.js → integration-4m2mj6tb.js} +16 -16
- package/dist/chunks/{file-mutation-4ts7tf6z.js → integration-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-mutation-mjymc32g.js → integration-50mzsvk4.js} +4 -4
- package/dist/chunks/{file-mutation-54ma36ye.js → integration-54ma36ye.js} +1 -1
- package/dist/chunks/{file-mutation-56gdpj1q.js → integration-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-mutation-4ghg5v1p.js → integration-5as938m0.js} +23 -23
- package/dist/chunks/{file-mutation-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-2krkkzng.js → integration-5fktt7ft.js} +25 -25
- package/dist/chunks/integration-5ntfjfqf.js +507 -0
- package/dist/chunks/{file-mutation-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-b8r216kk.js → integration-5wewtars.js} +8 -8
- package/dist/chunks/{file-mutation-szq02q56.js → integration-61xdzb82.js} +36 -36
- package/dist/chunks/{file-mutation-669tq793.js → integration-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-q69z4fst.js → integration-68mjn5gt.js} +3 -3
- package/dist/chunks/{file-mutation-7dfd4tpy.js → integration-6axkqqzx.js} +23 -23
- package/dist/chunks/{file-mutation-ctg52dyk.js → integration-6ckdw25a.js} +7 -7
- package/dist/chunks/{file-mutation-hbz1qbx4.js → integration-6edpwf42.js} +11 -11
- package/dist/chunks/{file-mutation-xdyz12rq.js → integration-6kce7tyw.js} +3 -3
- package/dist/chunks/{file-mutation-03xyy9gs.js → integration-6kgskxtw.js} +8 -8
- package/dist/chunks/{file-mutation-2ftrkget.js → integration-6thvw283.js} +12 -12
- package/dist/chunks/{file-mutation-5j7yc26e.js → integration-6v9mkcsa.js} +33 -33
- package/dist/chunks/{file-mutation-pjrca08j.js → integration-6vbh882f.js} +15 -15
- package/dist/chunks/{file-mutation-f75zav2x.js → integration-71az546q.js} +2 -2
- package/dist/chunks/{file-mutation-yw99dmwz.js → integration-78q6c2fx.js} +2 -2
- package/dist/chunks/{file-mutation-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-r3ymmbwh.js → integration-7k3tsvew.js} +22 -22
- package/dist/chunks/{file-mutation-6fj7rg4c.js → integration-82rg620m.js} +39 -39
- package/dist/chunks/{file-mutation-84txncab.js → integration-84txncab.js} +1 -1
- package/dist/chunks/{file-mutation-dbv05mm3.js → integration-8b6wz1s2.js} +4 -4
- package/dist/chunks/{file-mutation-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-x5jxhyye.js → integration-8fgrxegt.js} +80 -80
- package/dist/chunks/{file-mutation-dz2srxaj.js → integration-8j0yvb1a.js} +13 -13
- package/dist/chunks/{file-mutation-c55h9b9c.js → integration-8p26sdpw.js} +14 -14
- package/dist/chunks/{file-mutation-7hx94mfk.js → integration-8qqgwnwa.js} +8 -8
- package/dist/chunks/{file-mutation-8sze2n9a.js → integration-8sze2n9a.js} +2 -2
- package/dist/chunks/{file-mutation-1y283654.js → integration-8tsdq50x.js} +4 -4
- package/dist/chunks/{file-mutation-d1mtykxg.js → integration-93ygb5af.js} +6 -6
- package/dist/chunks/{file-mutation-ttkjqnsm.js → integration-94bdwtsf.js} +8 -8
- package/dist/chunks/{file-mutation-kb9j3d72.js → integration-9e5bzkjp.js} +3 -3
- package/dist/chunks/integration-9ehpfep6.js +253 -0
- package/dist/chunks/{file-mutation-gfeycrp9.js → integration-9yb5hbzy.js} +15 -15
- package/dist/chunks/{file-mutation-mktej9kf.js → integration-a5cd7ghd.js} +11 -11
- package/dist/chunks/{file-mutation-bck2gesn.js → integration-a7z81mvp.js} +1 -1
- package/dist/chunks/{file-mutation-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-e94kbae8.js → integration-aaxz4sa2.js} +13 -13
- package/dist/chunks/{file-mutation-ajzsbz6h.js → integration-ajzsbz6h.js} +3 -3
- package/dist/chunks/{file-mutation-1gpac7dd.js → integration-ay20sdf5.js} +9 -9
- package/dist/chunks/{file-mutation-ygz1yfbt.js → integration-b1xr1x42.js} +11 -11
- package/dist/chunks/{file-mutation-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-j9kjg828.js → integration-baf0qrbw.js} +24 -24
- package/dist/chunks/{file-mutation-954vm9zf.js → integration-bcdn9ttk.js} +6 -6
- package/dist/chunks/{file-mutation-hmrtp4nr.js → integration-bd2pdjeb.js} +9 -9
- package/dist/chunks/{file-mutation-s3drh7ax.js → integration-bjbjv5bj.js} +24 -24
- package/dist/chunks/{file-mutation-cj33ffch.js → integration-bt92xvqv.js} +20 -20
- package/dist/chunks/{file-mutation-n77a2t5y.js → integration-bxnytb7a.js} +11 -11
- package/dist/chunks/{file-mutation-3tads3hq.js → integration-c1rf6c5j.js} +26 -26
- package/dist/chunks/{file-mutation-4krkq3fv.js → integration-c1yn6x5s.js} +6 -6
- package/dist/chunks/{file-mutation-a5nkqtq4.js → integration-c4nsxm9m.js} +20 -20
- package/dist/chunks/{file-mutation-40hhf25d.js → integration-ceg73a5t.js} +11 -11
- package/dist/chunks/{file-mutation-wcmsdx6c.js → integration-cfyww68m.js} +14 -14
- package/dist/chunks/{file-mutation-ex7a17jg.js → integration-ck8npcm5.js} +10 -10
- package/dist/chunks/{file-mutation-gthcz8z2.js → integration-cn5tr2q8.js} +7 -7
- package/dist/chunks/{file-mutation-6483dnt3.js → integration-cx9dmp5e.js} +20 -20
- package/dist/chunks/{file-mutation-eaac52dn.js → integration-cyc0aq1c.js} +3 -3
- package/dist/chunks/{file-mutation-p0swatq2.js → integration-d3jdz3qj.js} +6 -6
- package/dist/chunks/{file-mutation-rcp5zreg.js → integration-dg4ngxd7.js} +1 -1
- package/dist/chunks/{file-mutation-dpkg50ah.js → integration-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-mutation-kvycfk4x.js → integration-drnf6xwf.js} +2 -2
- package/dist/chunks/{file-mutation-rtathh62.js → integration-drz29mpb.js} +8 -8
- package/dist/chunks/{file-mutation-621hzgfh.js → integration-ds4gqgxy.js} +22 -22
- package/dist/chunks/{file-mutation-hf3dma57.js → integration-ds57wn6b.js} +24 -24
- package/dist/chunks/{file-mutation-0wn236jq.js → integration-dsrwhwg8.js} +12 -12
- package/dist/chunks/{file-mutation-dktq002j.js → integration-dv0zd9fg.js} +13 -13
- package/dist/chunks/{file-mutation-xsw82w62.js → integration-dynn18yc.js} +9 -9
- package/dist/chunks/{file-mutation-zvn3dagb.js → integration-e6be23c0.js} +3 -3
- package/dist/chunks/{file-mutation-34mqxceb.js → integration-e9f2mhvv.js} +18 -18
- package/dist/chunks/{file-mutation-gnz26a86.js → integration-ea8j33ed.js} +17 -17
- package/dist/chunks/{file-mutation-3wyjcsxj.js → integration-eak4wr82.js} +4 -4
- package/dist/chunks/{file-mutation-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-jfcrxy8b.js → integration-ejfbh51d.js} +16 -16
- package/dist/chunks/{file-mutation-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-9cj6v09y.js → integration-etrgmgez.js} +8 -8
- package/dist/chunks/{file-mutation-ah6xfmj6.js → integration-ewgaz5v5.js} +48 -48
- package/dist/chunks/{file-mutation-1p0f53xs.js → integration-ez3qazxn.js} +139 -139
- package/dist/chunks/{file-mutation-j4gfp1rq.js → integration-f2mew536.js} +17 -17
- package/dist/chunks/{file-mutation-ddt2bs9e.js → integration-f73rjn58.js} +4 -4
- package/dist/chunks/{file-mutation-e4r65b0s.js → integration-f9z4a71b.js} +15 -15
- package/dist/chunks/{file-mutation-nemrx4g2.js → integration-fb2ye723.js} +4 -4
- package/dist/chunks/{file-mutation-7sga5tfj.js → integration-fbp1djyv.js} +6 -6
- package/dist/chunks/{file-mutation-h23k3th1.js → integration-fbyhdvdx.js} +5 -5
- package/dist/chunks/{file-mutation-rfc8ewqs.js → integration-fmmtyww9.js} +9 -9
- package/dist/chunks/{file-mutation-bdeycrex.js → integration-fq7y2gy8.js} +20 -20
- package/dist/chunks/{file-mutation-5c7jdcqd.js → integration-frazdwem.js} +20 -20
- package/dist/chunks/{file-mutation-pnygdsj8.js → integration-ftbjc7m9.js} +3 -3
- package/dist/chunks/{file-mutation-14cybr47.js → integration-ftpymj1c.js} +3 -3
- package/dist/chunks/{file-mutation-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-zesh45jt.js → integration-gegsb6e2.js} +4 -4
- package/dist/chunks/{file-mutation-32j3tk0m.js → integration-gf6ymv0v.js} +21 -21
- package/dist/chunks/{file-mutation-e5th8n74.js → integration-ggezr3nz.js} +24 -24
- package/dist/chunks/{file-mutation-ygdna4kr.js → integration-gj71zhbs.js} +5 -5
- package/dist/chunks/{file-mutation-gs3s1a1g.js → integration-gs3s1a1g.js} +1 -1
- package/dist/chunks/{file-mutation-f9jr4tkt.js → integration-gsyvhc7r.js} +13 -13
- package/dist/chunks/{file-mutation-y9zwf0zg.js → integration-h08dmcw2.js} +28 -28
- package/dist/chunks/{file-mutation-3cegwx68.js → integration-h2b79v29.js} +2 -2
- package/dist/chunks/{file-mutation-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-283vt565.js → integration-h7h46c44.js} +11 -11
- package/dist/chunks/{file-mutation-vtrymep9.js → integration-h839y2mj.js} +1 -1
- package/dist/chunks/{file-mutation-cn6yq4zj.js → integration-h8t6bp02.js} +25 -25
- package/dist/chunks/{file-mutation-khp7n7hd.js → integration-h9xpsmrq.js} +36 -36
- package/dist/chunks/{file-mutation-mysr5091.js → integration-hcjvc488.js} +17 -17
- package/dist/chunks/{file-mutation-rghjtt8s.js → integration-hes1j7ga.js} +9 -9
- package/dist/chunks/{file-mutation-dqbbafza.js → integration-hn59rpgc.js} +9 -9
- package/dist/chunks/{file-mutation-rvqbftg0.js → integration-hnj51aqb.js} +5 -5
- package/dist/chunks/{file-mutation-pjdpct4h.js → integration-hs99w951.js} +30 -30
- package/dist/chunks/{file-mutation-j56e64zr.js → integration-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-x3gqap9d.js → integration-j8m1p4p1.js} +4 -4
- package/dist/chunks/{file-mutation-rbwyh6bm.js → integration-jeeg5a9e.js} +7 -7
- package/dist/chunks/{file-mutation-qp4ctbap.js → integration-jhdj1qmh.js} +8 -8
- package/dist/chunks/{file-mutation-wexnxbcm.js → integration-jjj5yck6.js} +11 -11
- package/dist/chunks/{file-mutation-y5hhygam.js → integration-jjrmnxqj.js} +11 -11
- package/dist/chunks/{file-mutation-5b2p38c7.js → integration-jp245xjc.js} +21 -21
- package/dist/chunks/{file-mutation-4kdaq46n.js → integration-jvm9t07m.js} +48 -48
- package/dist/chunks/{file-mutation-qjcmz760.js → integration-jwpqm9ac.js} +21 -21
- package/dist/chunks/{file-mutation-sbe9zx21.js → integration-jwwxx5qh.js} +54 -54
- package/dist/chunks/{file-mutation-6yg01ps7.js → integration-jzbsq3yg.js} +41 -41
- package/dist/chunks/{file-mutation-6ysrkrkr.js → integration-k1qrnqst.js} +8 -8
- package/dist/chunks/{file-mutation-2y83zbxy.js → integration-k65ws0vd.js} +20 -20
- package/dist/chunks/{file-mutation-srq8z0b0.js → integration-k70p9jzb.js} +9 -9
- package/dist/chunks/{file-mutation-3d8bxjve.js → integration-k8p5y4yf.js} +23 -23
- package/dist/chunks/{file-mutation-48p0xart.js → integration-khwhyny7.js} +22 -22
- package/dist/chunks/{file-mutation-z7frznw9.js → integration-kq5wt11y.js} +2 -2
- package/dist/chunks/{file-mutation-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-8zecg49j.js → integration-m8fvep8n.js} +2 -2
- package/dist/chunks/{file-mutation-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-r5x6zcsm.js → integration-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-mutation-8n9x2wf6.js → integration-my4zabxr.js} +2 -2
- package/dist/chunks/{file-mutation-3wd534dz.js → integration-mz0batb7.js} +25 -25
- package/dist/chunks/{file-mutation-n1n192bv.js → integration-n1n192bv.js} +1 -1
- package/dist/chunks/{file-mutation-6kg1vfnr.js → integration-n57qrn3a.js} +8 -8
- package/dist/chunks/{file-mutation-76r92777.js → integration-nb71avvx.js} +22 -22
- package/dist/chunks/{file-mutation-9pms28ae.js → integration-nqmp4pk4.js} +32 -32
- package/dist/chunks/{file-mutation-ns3eape4.js → integration-ns3eape4.js} +1 -1
- package/dist/chunks/{file-mutation-rkmze0np.js → integration-nz2fg41a.js} +1 -1
- package/dist/chunks/{file-mutation-mvpaz0h1.js → integration-p07pq68v.js} +30 -30
- package/dist/chunks/{file-mutation-kmnvca5z.js → integration-p78j95yr.js} +26 -26
- package/dist/chunks/{file-mutation-cmwkp3r5.js → integration-phstrbs2.js} +8 -8
- package/dist/chunks/{file-mutation-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-rdr2vy9c.js → integration-pm9081m8.js} +8 -8
- package/dist/chunks/{file-mutation-bpc56001.js → integration-pwfe1v1x.js} +15 -15
- package/dist/chunks/{file-mutation-q0xm7vwc.js → integration-q0xm7vwc.js} +2 -2
- package/dist/chunks/{file-mutation-b7v4cx43.js → integration-q17z9dx8.js} +5 -5
- package/dist/chunks/{file-mutation-dtv13hc7.js → integration-q69yx3b6.js} +12 -12
- package/dist/chunks/{file-mutation-qjg9a86k.js → integration-qbewakhy.js} +39 -39
- package/dist/chunks/{file-mutation-qgn6gcr1.js → integration-qgn6gcr1.js} +1 -1
- package/dist/chunks/{file-mutation-qnc92qwc.js → integration-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-mutation-cbvtcr2c.js → integration-qq29j3a7.js} +5 -5
- package/dist/chunks/{file-mutation-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-1a0w67hg.js → integration-qsj7t19j.js} +10 -10
- package/dist/chunks/{file-mutation-qxjc9qry.js → integration-qxjc9qry.js} +3 -3
- package/dist/chunks/{file-mutation-ndxqta2r.js → integration-qycjd338.js} +29 -29
- package/dist/chunks/{file-mutation-8kr2nk9s.js → integration-qywqasch.js} +13 -13
- package/dist/chunks/{file-mutation-cqrykep0.js → integration-r1k096zv.js} +30 -30
- package/dist/chunks/{file-mutation-yp2x3t23.js → integration-r8xr0va3.js} +4 -4
- package/dist/chunks/{file-mutation-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-qyp0jhqn.js → integration-rha8zqt8.js} +4 -4
- package/dist/chunks/{file-mutation-n8k9q2ek.js → integration-rqstre12.js} +43 -43
- package/dist/chunks/{file-mutation-r44petzp.js → integration-rrpq0de9.js} +12 -12
- package/dist/chunks/{file-mutation-eb6by5fw.js → integration-rrwdhx61.js} +13 -13
- package/dist/chunks/{file-mutation-qm0v3jhh.js → integration-ryr25ayn.js} +7 -7
- package/dist/chunks/{file-mutation-z72z4m5h.js → integration-s736qrhc.js} +33 -33
- package/dist/chunks/{file-mutation-03b168as.js → integration-s73zzv6w.js} +9 -9
- package/dist/chunks/{file-mutation-s8d7rejh.js → integration-s8d7rejh.js} +1 -1
- package/dist/chunks/{file-mutation-384cp3nk.js → integration-s9ezrb6y.js} +9 -9
- package/dist/chunks/{file-mutation-nhsw2qbx.js → integration-scfms9bn.js} +13 -13
- package/dist/chunks/{file-mutation-x1z5qghx.js → integration-sg8r3yze.js} +29 -29
- package/dist/chunks/{file-mutation-zds900bd.js → integration-skpqbr6r.js} +16 -16
- package/dist/chunks/{file-mutation-hjwd21e5.js → integration-sn1q1sys.js} +4 -4
- package/dist/chunks/{file-mutation-pv7hrw8h.js → integration-sqfj9mt8.js} +29 -29
- package/dist/chunks/{file-mutation-c4gkmjjm.js → integration-ss9v618a.js} +15 -15
- package/dist/chunks/{file-mutation-dg4kzjgv.js → integration-t074mwkm.js} +21 -21
- package/dist/chunks/{file-mutation-5eqgw8nb.js → integration-t2rdrwa0.js} +8 -8
- package/dist/chunks/{file-mutation-hhkvz8ms.js → integration-t2zpj6vx.js} +8 -8
- package/dist/chunks/{file-mutation-nr1r0tpc.js → integration-t4dvjeab.js} +1 -1
- package/dist/chunks/{file-mutation-p0s7m4kr.js → integration-t99any5x.js} +14 -14
- package/dist/chunks/{file-mutation-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-mg9035r8.js → integration-ty4cs4jg.js} +28 -28
- package/dist/chunks/{file-mutation-v0es1rhs.js → integration-v0es1rhs.js} +2 -2
- package/dist/chunks/{file-mutation-gmcpagzm.js → integration-v1sp7eaj.js} +9 -9
- package/dist/chunks/{file-mutation-gxd5h73n.js → integration-v37ww4g2.js} +19 -19
- package/dist/chunks/{file-mutation-9vepgddq.js → integration-v3m4xybn.js} +13 -13
- package/dist/chunks/{file-mutation-d49kn6zd.js → integration-vc82pena.js} +17 -17
- package/dist/chunks/{file-mutation-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-a0m6mwa9.js → integration-vj6hah5w.js} +17 -17
- package/dist/chunks/{file-mutation-zks4r0br.js → integration-vq5a1ab3.js} +16 -16
- package/dist/chunks/{file-mutation-cshtx1th.js → integration-vrf4npet.js} +12 -12
- package/dist/chunks/{file-mutation-q1a5cy3r.js → integration-vv6jsb26.js} +19 -19
- package/dist/chunks/{file-mutation-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-vzs5sf6e.js → integration-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-wh6zw745.js → integration-wh6zw745.js} +2 -2
- package/dist/chunks/{file-mutation-5x058zpe.js → integration-wt0rmmkw.js} +32 -32
- package/dist/chunks/{file-mutation-tageetvg.js → integration-wtntn80s.js} +24 -24
- package/dist/chunks/{file-mutation-vn3q6yb7.js → integration-wxj8d1rd.js} +3 -3
- package/dist/chunks/{file-mutation-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-awp6wegc.js → integration-x2y5a49a.js} +18 -18
- package/dist/chunks/{file-mutation-tj9q9rgv.js → integration-x3581jvd.js} +12 -12
- package/dist/chunks/{file-mutation-xyq6fg0j.js → integration-x4dkw4gs.js} +5 -5
- package/dist/chunks/{file-mutation-hvpsxrjc.js → integration-x51w2gt4.js} +28 -28
- package/dist/chunks/{file-mutation-addxnjmp.js → integration-x661k3y3.js} +4 -4
- package/dist/chunks/{file-mutation-6s6aqmb9.js → integration-xbjhgf2n.js} +11 -11
- package/dist/chunks/{file-mutation-fqcgpcra.js → integration-xf8yqmad.js} +9 -9
- package/dist/chunks/{file-mutation-datbym9p.js → integration-xfjpj0ww.js} +32 -32
- package/dist/chunks/{file-mutation-xfkkasph.js → integration-xfkkasph.js} +1 -1
- package/dist/chunks/{file-mutation-xkntkrq7.js → integration-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-mutation-2yx7qcbq.js → integration-xmq2cvs3.js} +14 -14
- package/dist/chunks/{file-mutation-vnnfhr52.js → integration-xwzs6fm8.js} +16 -16
- package/dist/chunks/{file-mutation-fj2avv8b.js → integration-xybsyq03.js} +8 -8
- package/dist/chunks/{file-mutation-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-tg9gdv00.js → integration-y6x6gez8.js} +21 -21
- package/dist/chunks/{file-mutation-6e4t62aa.js → integration-yecz5we7.js} +32 -32
- package/dist/chunks/{file-mutation-xca691zd.js → integration-ykyx1s30.js} +8 -8
- package/dist/chunks/{file-mutation-vm6ygyff.js → integration-ynna86gr.js} +35 -35
- package/dist/chunks/{file-mutation-aj7qh7fj.js → integration-yqpq5w24.js} +36 -36
- package/dist/chunks/{file-mutation-yrhqyw5v.js → integration-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-ezex4zz3.js → integration-yrszt0ge.js} +15 -15
- package/dist/chunks/{file-mutation-axs6pdy0.js → integration-yt3hy1g9.js} +5 -5
- package/dist/chunks/{file-mutation-tbk44sx2.js → integration-yt97vzcs.js} +33 -33
- package/dist/chunks/{file-mutation-akm47gtx.js → integration-yty8fp0f.js} +19 -19
- package/dist/chunks/{file-mutation-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-g7cq406x.js → integration-z79y7vgq.js} +22 -22
- package/dist/chunks/{file-mutation-mttyh05y.js → integration-z81jx04r.js} +30 -30
- package/dist/chunks/{file-mutation-pzkaeccr.js → integration-z8q7fxxw.js} +20 -20
- package/dist/chunks/{file-mutation-rx9ava5n.js → integration-zfs8ae4p.js} +4 -4
- package/dist/chunks/{file-mutation-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-wecqtg5s.js → integration-zyk1yjk8.js} +5 -5
- package/dist/chunks/integration-zzmvmaer.js +26 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +203 -203
- package/dist/config/plugin/compaction.js +154 -154
- 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 +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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 +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- 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/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- 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 +2 -2
- 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 +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- 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 +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- 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 +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- 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 +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/file-mutation-9sh4wc5j.js +0 -18
- package/dist/chunks/file-mutation-dwvyxmfd.js +0 -253
- package/dist/chunks/file-mutation-e4jqjrdf.js +0 -507
- package/dist/chunks/file-mutation-zwthxbkp.js +0 -26
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-34c7v6d4.js → integration-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3t0ybcrp.js → integration-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5qd3pb7m.js → integration-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./integration-0pkcqgb8.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service46,
|
|
17
|
+
node50
|
|
18
|
+
} from "./integration-k65ws0vd.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./integration-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./integration-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event10,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service45,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node49
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event10 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service83;
|
|
53
|
+
const cache = yield* Service46;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node49 = makeLocationNode({
|
|
116
|
+
service: Service45,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node87, node50]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info9, Service45, node49, exports_reference2, Event10 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-a5cd7ghd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./integration-0pkcqgb8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID15,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
10
|
+
Event20,
|
|
11
11
|
Service76
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-2r0bvek1.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
17
|
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-nb71avvx.js";
|
|
20
20
|
import {
|
|
21
21
|
ID12,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-5fktt7ft.js";
|
|
24
24
|
import {
|
|
25
25
|
ID11,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info20
|
|
28
|
+
} from "./integration-p78j95yr.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./integration-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -171,7 +171,7 @@ function listen(server) {
|
|
|
171
171
|
var ChatGPTPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.chatgpt",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const bus = yield*
|
|
174
|
+
const bus = yield* Service83;
|
|
175
175
|
const credentials = yield* Service76;
|
|
176
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
177
177
|
let chatgpt;
|
|
@@ -259,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
259
259
|
});
|
|
260
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
261
261
|
const connection = source;
|
|
262
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID15.make(connection.id)))?.value : undefined;
|
|
263
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
264
264
|
return;
|
|
265
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -279,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
279
279
|
}));
|
|
280
280
|
});
|
|
281
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
282
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
283
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
284
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
285
285
|
})
|
|
@@ -338,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
338
338
|
const found = byID.get(model.modelID);
|
|
339
339
|
return found ? [deriveModel(found, model)] : [];
|
|
340
340
|
}),
|
|
341
|
-
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model,
|
|
341
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID12.openai, ID11.make(model.slug))))
|
|
342
342
|
];
|
|
343
343
|
}
|
|
344
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-q17z9dx8.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./integration-baf0qrbw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service77,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./integration-aaxz4sa2.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service55
|
|
11
|
+
} from "./integration-9yb5hbzy.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service65
|
|
14
|
+
} from "./integration-wt0rmmkw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service44
|
|
17
|
+
} from "./integration-33ac6h8x.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input3,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin21,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name3,
|
|
33
33
|
toModelContent: () => toModelContent3
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name3 = "write";
|
|
39
|
+
var Input3 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin21 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service44;
|
|
56
|
+
const fileMutation = yield* Service77;
|
|
57
|
+
const environment = yield* Service78;
|
|
58
|
+
const formatter = yield* Service55;
|
|
59
|
+
const permission = yield* Service65;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name3,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input3,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name3, Input3, Output2, toModelContent3, Plugin21, exports_write };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./integration-xmq2cvs3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./integration-0sswf8p0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./integration-jwpqm9ac.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin13
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin13 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service49;
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service42;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin14 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin13, exports_worktree };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./integration-0pkcqgb8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service71,
|
|
7
|
+
node74
|
|
8
|
+
} from "./integration-gsyvhc7r.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
21
|
ID: () => ID3,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
@@ -28,16 +28,16 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service17,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node20
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event5 } from "@opencode/schema/websearch";
|
|
41
41
|
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service17 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service83;
|
|
70
|
+
const kv = yield* Service71;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service17.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node20 = makeLocationNode({
|
|
188
|
+
service: Service17,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node87, node74]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2,
|
|
193
|
+
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service17, node20, exports_websearch3, Event5 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./integration-rrpq0de9.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make17
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make17 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service82;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make19 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make17, exports_git2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-p78j95yr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./integration-0sswf8p0.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-d3jdz3qj.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make10(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service49;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make10();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make10, VLLMPlugin2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./integration-4aysm09v.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./integration-9e5bzkjp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service23,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node27,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service23 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service23.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node27 = makeLocationNode({ service: Service23, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service23, node27, exports_instruction_entry };
|