@opencode/core 0.0.0-dev-20058 → 0.0.0-dev-20059
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{filesystem-j38rfzw3.js → aisdk-04t848g5.js} +16 -16
- package/dist/chunks/{filesystem-610s35xp.js → aisdk-0bbxgxn7.js} +23 -23
- package/dist/chunks/{filesystem-6a0m4sbe.js → aisdk-0c4bec69.js} +1 -1
- package/dist/chunks/{filesystem-vbj3evna.js → aisdk-0g56z2th.js} +8 -8
- package/dist/chunks/{filesystem-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-cdvs3883.js → aisdk-0ph0c1gb.js} +84 -84
- package/dist/chunks/{filesystem-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-784hb5j4.js → aisdk-1ed2t66p.js} +4 -4
- package/dist/chunks/{filesystem-60btt90r.js → aisdk-1f6ypbxw.js} +7 -7
- package/dist/chunks/{filesystem-x1mxg5wh.js → aisdk-1g4tm2g7.js} +34 -34
- package/dist/chunks/{filesystem-h95k17zz.js → aisdk-1gt61qd4.js} +25 -25
- package/dist/chunks/{filesystem-x2qdxhwm.js → aisdk-1p7f10vm.js} +8 -8
- package/dist/chunks/{filesystem-1z9ym72g.js → aisdk-1rcsqgm2.js} +28 -28
- package/dist/chunks/aisdk-1x9sndgh.js +252 -0
- package/dist/chunks/{filesystem-21r38tys.js → aisdk-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-2402vzrj.js → aisdk-2402vzrj.js} +1 -1
- package/dist/chunks/{filesystem-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-1g96y08y.js → aisdk-2eegacq4.js} +8 -8
- package/dist/chunks/{filesystem-b7e2se5y.js → aisdk-2jdahqny.js} +36 -36
- package/dist/chunks/{filesystem-7dqw4kz8.js → aisdk-2k8khapm.js} +5 -5
- package/dist/chunks/{filesystem-v6h5pe3e.js → aisdk-2pgt13mx.js} +56 -56
- package/dist/chunks/{filesystem-yvav0rms.js → aisdk-2sw6mnsj.js} +19 -19
- package/dist/chunks/{filesystem-w94e8grp.js → aisdk-2wrqanh2.js} +173 -173
- package/dist/chunks/{filesystem-k70hck66.js → aisdk-2y3veaqx.js} +3 -3
- package/dist/chunks/{filesystem-90tesg4p.js → aisdk-3ey9511z.js} +11 -11
- package/dist/chunks/{filesystem-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-8xd21chy.js → aisdk-3pbjq009.js} +11 -11
- package/dist/chunks/{filesystem-ywsxhfz4.js → aisdk-3sgxe5ah.js} +8 -8
- package/dist/chunks/{filesystem-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-z3pw5915.js → aisdk-3w0fmcng.js} +5 -5
- package/dist/chunks/{filesystem-9f6bk4jp.js → aisdk-3w1jy6kx.js} +13 -13
- package/dist/chunks/{filesystem-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-yz0rw8mp.js → aisdk-40yg4m62.js} +20 -20
- package/dist/chunks/{filesystem-dn34nxfz.js → aisdk-431gej2g.js} +15 -15
- package/dist/chunks/{filesystem-b8y1psts.js → aisdk-44dmrwxe.js} +22 -22
- package/dist/chunks/{filesystem-h6r3nrb9.js → aisdk-44h5tttr.js} +4 -4
- package/dist/chunks/{filesystem-em405b3b.js → aisdk-45g512em.js} +27 -27
- package/dist/chunks/{filesystem-zjfek02j.js → aisdk-47sqm5m0.js} +18 -18
- package/dist/chunks/{filesystem-c59jfbam.js → aisdk-48sc52zr.js} +8 -8
- package/dist/chunks/{filesystem-ajdm0393.js → aisdk-4a019qnj.js} +17 -17
- package/dist/chunks/{filesystem-q0h1k0nn.js → aisdk-4c8h7ne4.js} +8 -8
- package/dist/chunks/{filesystem-74z2tjhb.js → aisdk-4d42q6wq.js} +16 -16
- package/dist/chunks/{filesystem-4djaq3bc.js → aisdk-4h16qdav.js} +25 -25
- package/dist/chunks/{filesystem-2ann4zqa.js → aisdk-4npj9gp0.js} +7 -7
- package/dist/chunks/{filesystem-xg2c3t8c.js → aisdk-54fs3f1t.js} +29 -29
- package/dist/chunks/{filesystem-54tcyq79.js → aisdk-54tcyq79.js} +2 -2
- package/dist/chunks/{filesystem-56gdpj1q.js → aisdk-56gdpj1q.js} +2 -2
- package/dist/chunks/{filesystem-57ez7d0k.js → aisdk-57ez7d0k.js} +2 -2
- package/dist/chunks/{filesystem-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-rp5es0vj.js → aisdk-5ehheb5p.js} +4 -4
- package/dist/chunks/{filesystem-5ekn9679.js → aisdk-5ekn9679.js} +1 -1
- package/dist/chunks/{filesystem-c6a58n7z.js → aisdk-5jcr58hb.js} +9 -9
- package/dist/chunks/{filesystem-e3qxr5gk.js → aisdk-5qd3pb7m.js} +2 -2
- package/dist/chunks/{filesystem-59srapy6.js → aisdk-5s70t9v4.js} +27 -27
- package/dist/chunks/{filesystem-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-rzgj8h8z.js → aisdk-5tq5kwpg.js} +10 -10
- package/dist/chunks/{filesystem-gws6d69e.js → aisdk-5wjhr707.js} +11 -11
- package/dist/chunks/{filesystem-2xac8pgk.js → aisdk-65a5v4fq.js} +11 -11
- package/dist/chunks/{filesystem-669tq793.js → aisdk-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-d2z7ptc5.js → aisdk-6ayghty1.js} +11 -11
- package/dist/chunks/aisdk-6kdq0pjd.js +4 -0
- package/dist/chunks/{filesystem-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-dcq7yv4f.js → aisdk-6nzyvpdc.js} +33 -33
- package/dist/chunks/{filesystem-qx3e9gac.js → aisdk-6ty83mf0.js} +3 -3
- package/dist/chunks/{filesystem-c1z6arme.js → aisdk-70rma8he.js} +11 -11
- package/dist/chunks/{filesystem-tqskq33r.js → aisdk-78btfmzf.js} +32 -32
- package/dist/chunks/{filesystem-w16wk7p7.js → aisdk-7a9c30sy.js} +32 -32
- package/dist/chunks/{filesystem-cvpeh336.js → aisdk-7bd5qrpn.js} +11 -11
- package/dist/chunks/{filesystem-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-mkkks4v9.js → aisdk-7etnf7vc.js} +44 -44
- package/dist/chunks/{filesystem-g6nkpj50.js → aisdk-7gb984kd.js} +46 -46
- package/dist/chunks/aisdk-7wnasa3t.js +503 -0
- package/dist/chunks/{filesystem-1nbhwk8c.js → aisdk-7zkc1s90.js} +6 -6
- package/dist/chunks/{filesystem-qpyfagd9.js → aisdk-85e776qr.js} +10 -10
- package/dist/chunks/{filesystem-hdh73vmf.js → aisdk-8bh3p0v7.js} +10 -10
- package/dist/chunks/{filesystem-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-ntnbwdh0.js → aisdk-8mb2f6fn.js} +35 -35
- package/dist/chunks/{filesystem-sjwzrrye.js → aisdk-8rxxwv2n.js} +9 -9
- package/dist/chunks/{filesystem-syrm56xy.js → aisdk-9212ptjn.js} +30 -30
- package/dist/chunks/{filesystem-jkp0d30b.js → aisdk-9ae44cfy.js} +6 -6
- package/dist/chunks/{filesystem-f02ytr6p.js → aisdk-9hdabq9a.js} +13 -13
- package/dist/chunks/{filesystem-kqg1335f.js → aisdk-9ke27tmj.js} +3 -3
- package/dist/chunks/{filesystem-q3vsp035.js → aisdk-9v708w4b.js} +31 -31
- package/dist/chunks/{filesystem-vn7r73nx.js → aisdk-9w4wfgy5.js} +21 -21
- package/dist/chunks/{filesystem-ej964ykn.js → aisdk-a73101r3.js} +6 -6
- package/dist/chunks/{filesystem-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-fs2ge6as.js → aisdk-acs0wan2.js} +4 -4
- package/dist/chunks/{filesystem-y93b664k.js → aisdk-afed7ext.js} +12 -12
- package/dist/chunks/{filesystem-5c3w2q2f.js → aisdk-akkyx3q5.js} +4 -4
- package/dist/chunks/{filesystem-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-fkq4r4ge.js → aisdk-b9rv9a2w.js} +28 -28
- package/dist/chunks/{filesystem-eageaqwr.js → aisdk-bd9yrsny.js} +11 -11
- package/dist/chunks/{filesystem-swm6fqec.js → aisdk-be7gk8w7.js} +22 -22
- package/dist/chunks/{filesystem-bjtzbw4r.js → aisdk-bjtzbw4r.js} +3 -3
- package/dist/chunks/{filesystem-ajy2bq43.js → aisdk-bmccx3ef.js} +2 -2
- package/dist/chunks/{filesystem-jw971jas.js → aisdk-bq3s7xjv.js} +36 -36
- package/dist/chunks/{filesystem-eys57y9b.js → aisdk-br0tr5aq.js} +8 -8
- package/dist/chunks/{filesystem-nbh3kmd5.js → aisdk-bz197ygy.js} +32 -32
- package/dist/chunks/{filesystem-hc9acsgr.js → aisdk-c2c991ad.js} +9 -9
- package/dist/chunks/{filesystem-1ybypp7f.js → aisdk-c2ex003p.js} +18 -18
- package/dist/chunks/{filesystem-vkgtc4qa.js → aisdk-cbbtdf47.js} +15 -15
- package/dist/chunks/{filesystem-cjwramev.js → aisdk-chxat7qs.js} +8 -8
- package/dist/chunks/{filesystem-h5jpta2v.js → aisdk-db7dv58e.js} +14 -14
- package/dist/chunks/{filesystem-g8nw47mr.js → aisdk-dcj5ws7m.js} +26 -26
- package/dist/chunks/{filesystem-50xrc7m8.js → aisdk-dcxh3epe.js} +8 -8
- package/dist/chunks/{filesystem-3zwffgsw.js → aisdk-dff7zhw9.js} +41 -41
- package/dist/chunks/{filesystem-drwq78ky.js → aisdk-drwq78ky.js} +1 -1
- package/dist/chunks/{filesystem-1h2mvt9v.js → aisdk-dsyq40hm.js} +11 -11
- package/dist/chunks/{filesystem-1cdk1anx.js → aisdk-dtygkec3.js} +4 -4
- package/dist/chunks/{filesystem-1txphked.js → aisdk-dxmp4pvz.js} +19 -19
- package/dist/chunks/{filesystem-nehdvjjm.js → aisdk-e1j3zbp9.js} +18 -18
- package/dist/chunks/{filesystem-9n50fjmv.js → aisdk-e2tq4ed5.js} +11 -11
- package/dist/chunks/{filesystem-e6hmchc5.js → aisdk-e6hmchc5.js} +2 -2
- package/dist/chunks/{filesystem-t550f9t1.js → aisdk-eaj1djv9.js} +8 -8
- package/dist/chunks/{filesystem-7z30ydt4.js → aisdk-ebj9bm8a.js} +2 -2
- package/dist/chunks/{filesystem-0ajgz5pc.js → aisdk-edcb3n9e.js} +28 -28
- package/dist/chunks/{filesystem-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-2x6gpqcz.js → aisdk-enn904mg.js} +11 -11
- package/dist/chunks/{filesystem-erw5rpbs.js → aisdk-erw5rpbs.js} +2 -2
- package/dist/chunks/{filesystem-td2f4nae.js → aisdk-es8e3c40.js} +34 -34
- package/dist/chunks/{filesystem-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-c20khjev.js → aisdk-f3ngv102.js} +21 -21
- package/dist/chunks/{filesystem-knb7evpn.js → aisdk-fkjmw100.js} +6 -6
- package/dist/chunks/{filesystem-3838ekre.js → aisdk-fwrss4ad.js} +4 -4
- package/dist/chunks/{filesystem-e0z0cg4q.js → aisdk-g71g1668.js} +17 -17
- package/dist/chunks/{filesystem-wj14njhs.js → aisdk-g93qkh1r.js} +10 -10
- package/dist/chunks/{filesystem-j27v3vkc.js → aisdk-gbx9g38h.js} +10 -10
- package/dist/chunks/{filesystem-t9c7wbd6.js → aisdk-gcge6708.js} +32 -32
- package/dist/chunks/{filesystem-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-gfvb90ym.js → aisdk-gfvb90ym.js} +2 -2
- package/dist/chunks/{filesystem-x2d9qy7d.js → aisdk-gg4dpy88.js} +5 -5
- package/dist/chunks/{filesystem-hp5kccyz.js → aisdk-ghh1z1yz.js} +22 -22
- package/dist/chunks/{filesystem-rw0sa94v.js → aisdk-gjg0tckn.js} +5 -5
- package/dist/chunks/{filesystem-7gp9bv02.js → aisdk-gmjjhz4f.js} +9 -9
- package/dist/chunks/{filesystem-sd0frev4.js → aisdk-gndgmv4j.js} +14 -14
- package/dist/chunks/{filesystem-fhhc6cz0.js → aisdk-gp58by1e.js} +35 -35
- package/dist/chunks/{filesystem-gv6a8nnw.js → aisdk-gv6a8nnw.js} +2 -2
- package/dist/chunks/{filesystem-6ccrc22g.js → aisdk-h20zyt68.js} +20 -20
- package/dist/chunks/{filesystem-3kzn8mmq.js → aisdk-h5fw247w.js} +12 -12
- package/dist/chunks/{filesystem-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-kdq8v965.js → aisdk-h71w788e.js} +9 -9
- package/dist/chunks/{filesystem-r8sc1a4f.js → aisdk-hdrd7jrk.js} +9 -9
- package/dist/chunks/{filesystem-kbr4et4a.js → aisdk-heg2hsbb.js} +22 -22
- package/dist/chunks/{filesystem-hbj9ec79.js → aisdk-hfjj38pm.js} +20 -20
- package/dist/chunks/{filesystem-96jy5zx6.js → aisdk-hkhehbtb.js} +8 -8
- package/dist/chunks/{filesystem-90360v3a.js → aisdk-hnvj1nm6.js} +11 -11
- package/dist/chunks/{filesystem-m2s6sqez.js → aisdk-hqvp1db0.js} +12 -12
- package/dist/chunks/{filesystem-vg66hfa0.js → aisdk-hrn0dmwn.js} +20 -20
- package/dist/chunks/{filesystem-2t3h7cq7.js → aisdk-hww7sddr.js} +12 -12
- package/dist/chunks/{filesystem-d2vc91a2.js → aisdk-hyb7fvbn.js} +1 -1
- package/dist/chunks/{filesystem-yy9w0ct4.js → aisdk-hzgc6sw6.js} +40 -40
- package/dist/chunks/{filesystem-bdep6f7m.js → aisdk-j1aacz73.js} +13 -13
- package/dist/chunks/{filesystem-6hgrtsyk.js → aisdk-j4ynjjf7.js} +9 -9
- package/dist/chunks/{filesystem-ym15bmrz.js → aisdk-j5208yae.js} +7 -7
- package/dist/chunks/{filesystem-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-xgy7gjy2.js → aisdk-j8687dqe.js} +43 -43
- package/dist/chunks/{filesystem-96k0ayb6.js → aisdk-jc2v6bqp.js} +3 -3
- package/dist/chunks/{filesystem-wmfejedg.js → aisdk-jca4demv.js} +2 -2
- package/dist/chunks/{filesystem-7689gsfy.js → aisdk-jck3snkb.js} +13 -13
- package/dist/chunks/{filesystem-wc5qgcrf.js → aisdk-jhtajkva.js} +24 -24
- package/dist/chunks/{filesystem-azev8sc8.js → aisdk-js4b2xd1.js} +5 -5
- package/dist/chunks/{filesystem-jva4mgym.js → aisdk-jva4mgym.js} +1 -1
- package/dist/chunks/{filesystem-azee6x5s.js → aisdk-jyt207sg.js} +8 -8
- package/dist/chunks/{filesystem-sffp4478.js → aisdk-k1e78cr4.js} +9 -9
- package/dist/chunks/{filesystem-j229mh45.js → aisdk-k3582ck7.js} +23 -23
- package/dist/chunks/{filesystem-k3c624dm.js → aisdk-k3c624dm.js} +3 -3
- package/dist/chunks/{filesystem-b0grxa7w.js → aisdk-kbj2dgab.js} +5 -5
- package/dist/chunks/{filesystem-3z2w941y.js → aisdk-khhmxnak.js} +76 -76
- package/dist/chunks/{filesystem-tr1np92s.js → aisdk-kj9bmcx8.js} +27 -27
- package/dist/chunks/{filesystem-c6j7t6he.js → aisdk-kpp32ye6.js} +5 -5
- package/dist/chunks/{filesystem-2m0vf6qg.js → aisdk-kr10dacr.js} +5 -5
- package/dist/chunks/{filesystem-7007jcc0.js → aisdk-ks8q6m23.js} +17 -17
- package/dist/chunks/{filesystem-z7w1k550.js → aisdk-kvc9t43z.js} +48 -48
- package/dist/chunks/{filesystem-pf9pgydg.js → aisdk-kwrf6mrp.js} +4 -4
- package/dist/chunks/{filesystem-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-1fcrsx1q.js → aisdk-mw934p8z.js} +8 -8
- package/dist/chunks/{filesystem-xrm59swn.js → aisdk-mx1h4taz.js} +57 -57
- package/dist/chunks/{filesystem-4bq1ye2s.js → aisdk-mx52g176.js} +30 -30
- package/dist/chunks/{filesystem-gxb1qwhf.js → aisdk-n1vjj20t.js} +6 -6
- package/dist/chunks/{filesystem-j48z016f.js → aisdk-n3rcvph5.js} +32 -32
- package/dist/chunks/{filesystem-9wjadkhm.js → aisdk-n56m9p0x.js} +7 -7
- package/dist/chunks/{filesystem-h9zmv3t9.js → aisdk-n94bagkt.js} +5 -5
- package/dist/chunks/{filesystem-w7vefw1y.js → aisdk-nej3tasb.js} +24 -24
- package/dist/chunks/{filesystem-xvwrn2eq.js → aisdk-nfttncsy.js} +8 -8
- package/dist/chunks/{filesystem-2pdg46mn.js → aisdk-njp0gf2a.js} +11 -11
- package/dist/chunks/{filesystem-cwxmk7ss.js → aisdk-nnt4p6dv.js} +90 -90
- package/dist/chunks/{filesystem-pn0fh19r.js → aisdk-nyd8mmzv.js} +27 -27
- package/dist/chunks/{filesystem-3b1q5j1v.js → aisdk-p0b4ytnr.js} +6 -6
- package/dist/chunks/{filesystem-ead3g9p8.js → aisdk-p44d8wdy.js} +5 -5
- package/dist/chunks/{filesystem-bzbbm4jd.js → aisdk-p805rw4s.js} +14 -14
- package/dist/chunks/{filesystem-6sd83gj0.js → aisdk-pccsbftt.js} +10 -10
- package/dist/chunks/{filesystem-m0gyvzz0.js → aisdk-pdsf3rnd.js} +35 -35
- package/dist/chunks/aisdk-phz3h32g.js +18 -0
- package/dist/chunks/{filesystem-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-psazpmmj.js → aisdk-psazpmmj.js} +2 -2
- package/dist/chunks/{filesystem-jwxewjhz.js → aisdk-ptne5ft2.js} +13 -13
- package/dist/chunks/{filesystem-c0aad6gz.js → aisdk-q2fhye4q.js} +46 -46
- package/dist/chunks/{filesystem-01m43rby.js → aisdk-q3t37ft6.js} +3 -3
- package/dist/chunks/{filesystem-dfvnyc1p.js → aisdk-q8j10mn3.js} +12 -12
- package/dist/chunks/{filesystem-497y6drv.js → aisdk-qb1cgkpv.js} +20 -20
- package/dist/chunks/{filesystem-24dd53tp.js → aisdk-qg0jgkcp.js} +9 -9
- package/dist/chunks/{filesystem-8gt6y3g4.js → aisdk-qhj5b8b5.js} +6 -6
- package/dist/chunks/{filesystem-79qaa2kf.js → aisdk-qmqgtz8f.js} +9 -9
- package/dist/chunks/{filesystem-za5gkgpv.js → aisdk-qqfamm8z.js} +44 -44
- package/dist/chunks/{filesystem-cay919zr.js → aisdk-qs9phf1a.js} +43 -43
- package/dist/chunks/{filesystem-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-ppwz1pgg.js → aisdk-qy51cyre.js} +13 -13
- package/dist/chunks/{filesystem-2bwf3es8.js → aisdk-r02qfb2g.js} +22 -22
- package/dist/chunks/{filesystem-kwjksd0m.js → aisdk-r1jw6b0z.js} +4 -4
- package/dist/chunks/{filesystem-73tb2d7t.js → aisdk-r5x6zcsm.js} +3 -3
- package/dist/chunks/{filesystem-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/aisdk-rj3dv5f0.js +26 -0
- package/dist/chunks/{filesystem-84dmcwyh.js → aisdk-rsq7r3s1.js} +4 -4
- package/dist/chunks/{filesystem-h08an08g.js → aisdk-rt493m05.js} +22 -22
- package/dist/chunks/{filesystem-jwg7jy4z.js → aisdk-s2fpa66b.js} +29 -29
- package/dist/chunks/{filesystem-ccdmqpvf.js → aisdk-s6tnw81q.js} +22 -22
- package/dist/chunks/{filesystem-eed4e4cj.js → aisdk-s9f2fy8d.js} +18 -18
- package/dist/chunks/{filesystem-d63pwp4x.js → aisdk-sccfbh3h.js} +23 -23
- package/dist/chunks/{filesystem-m0rk0w5r.js → aisdk-snnen6xr.js} +11 -11
- package/dist/chunks/{filesystem-6cd6tdvt.js → aisdk-spqcpneg.js} +6 -6
- package/dist/chunks/{filesystem-9v7aa5ew.js → aisdk-sz570kr7.js} +16 -16
- package/dist/chunks/{filesystem-22b0aspk.js → aisdk-szrj5q11.js} +6 -6
- package/dist/chunks/{filesystem-t7n9q6bq.js → aisdk-t2az9yje.js} +4 -4
- package/dist/chunks/{filesystem-dfe8djrf.js → aisdk-t9zs3egg.js} +4 -4
- package/dist/chunks/{filesystem-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-091p10vz.js → aisdk-tbapd7r7.js} +5 -5
- package/dist/chunks/{filesystem-kffdqtsz.js → aisdk-tbedkytf.js} +44 -44
- package/dist/chunks/{filesystem-r4nmwps5.js → aisdk-tbxcvh5r.js} +21 -21
- package/dist/chunks/{filesystem-89znhe33.js → aisdk-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-hbfph430.js → aisdk-tf8fdhr4.js} +32 -32
- package/dist/chunks/{filesystem-mk6azrf3.js → aisdk-thhwr7pp.js} +22 -22
- package/dist/chunks/{filesystem-3zvjefry.js → aisdk-tmbq7myb.js} +15 -15
- package/dist/chunks/{filesystem-9c89p4vt.js → aisdk-tphz3vvs.js} +16 -16
- package/dist/chunks/{filesystem-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-cf4z6env.js → aisdk-tvzykbv0.js} +12 -12
- package/dist/chunks/{filesystem-qvrvrmrf.js → aisdk-v0ntrx5e.js} +11 -11
- package/dist/chunks/{filesystem-spb4zceh.js → aisdk-v0x4e3z1.js} +15 -15
- package/dist/chunks/{filesystem-1ssnhp0v.js → aisdk-v17ykax0.js} +13 -13
- package/dist/chunks/{filesystem-m22m5fz8.js → aisdk-v2kp4wed.js} +5 -5
- package/dist/chunks/{filesystem-mtq6xxnx.js → aisdk-v5dkyp31.js} +7 -7
- package/dist/chunks/{filesystem-aqd63c5t.js → aisdk-vbyft8vg.js} +20 -20
- package/dist/chunks/{filesystem-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-7m5f9412.js → aisdk-vgx6weyf.js} +8 -8
- package/dist/chunks/{filesystem-25b3j9qe.js → aisdk-vn0s00ng.js} +11 -11
- package/dist/chunks/{filesystem-37mwd34b.js → aisdk-vtpkq4qf.js} +1 -1
- package/dist/chunks/{filesystem-vtxr0yy2.js → aisdk-vtxr0yy2.js} +2 -2
- package/dist/chunks/{filesystem-w4wqky9w.js → aisdk-vx9p4h61.js} +4 -4
- package/dist/chunks/{filesystem-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-zwvzg7cw.js → aisdk-w8jj02n0.js} +15 -15
- package/dist/chunks/{filesystem-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-8tsdq50x.js → aisdk-wj76ss2k.js} +4 -4
- package/dist/chunks/{filesystem-rygqb03k.js → aisdk-wny02jks.js} +5 -5
- package/dist/chunks/{filesystem-9ecw7jpn.js → aisdk-wqmc3471.js} +22 -22
- package/dist/chunks/{filesystem-zp91wsr7.js → aisdk-x0bdz8x7.js} +30 -30
- package/dist/chunks/{filesystem-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-z79afe2f.js → aisdk-x25yssks.js} +25 -25
- package/dist/chunks/{filesystem-mebq41rh.js → aisdk-x9kf6dr0.js} +13 -13
- package/dist/chunks/{filesystem-f0vv9etb.js → aisdk-xcv5efht.js} +5 -5
- package/dist/chunks/{filesystem-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-22gdhsjp.js → aisdk-y246x334.js} +28 -28
- package/dist/chunks/{filesystem-dpkg50ah.js → aisdk-y71avatq.js} +4 -4
- package/dist/chunks/{filesystem-gx4q998j.js → aisdk-y8s6a14v.js} +15 -15
- package/dist/chunks/{filesystem-1acjjqhc.js → aisdk-yp2x3t23.js} +4 -4
- package/dist/chunks/{filesystem-g8m5pg2v.js → aisdk-yqh5kdf2.js} +9 -9
- package/dist/chunks/{filesystem-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-s4enseaf.js → aisdk-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-mq7e89ns.js → aisdk-yzt6yyqf.js} +25 -25
- package/dist/chunks/{filesystem-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-ae2wweme.js → aisdk-z115nyeg.js} +6 -6
- package/dist/chunks/{filesystem-29x78va6.js → aisdk-z63w68vq.js} +6 -6
- package/dist/chunks/{filesystem-ctegsqx5.js → aisdk-z7g3eaht.js} +6 -6
- package/dist/chunks/{filesystem-zeh9ct20.js → aisdk-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-naszgs90.js → aisdk-zh42akkt.js} +32 -32
- package/dist/chunks/{filesystem-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-hswr6e8s.js → aisdk-zw18fk8y.js} +19 -19
- package/dist/chunks/{filesystem-n6nnv2a0.js → aisdk-zww8k79s.js} +27 -27
- package/dist/chunks/{filesystem-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-tze1gxc9.js → aisdk-zy892afz.js} +19 -19
- package/dist/chunks/{filesystem-0fek3p1n.js → aisdk-zzdg8wge.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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.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 +370 -370
- 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 +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/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- 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 +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- 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/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- 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 +231 -231
- 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 +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- 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/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/filesystem-07j5dwxg.js +0 -252
- package/dist/chunks/filesystem-gyce5qg1.js +0 -18
- package/dist/chunks/filesystem-mzn0q9qq.js +0 -503
- package/dist/chunks/filesystem-v9c484dc.js +0 -26
- package/dist/chunks/filesystem-xrsqh21y.js +0 -4
- /package/dist/chunks/{filesystem-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → aisdk-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-a73101r3.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-jc2v6bqp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service84,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node88
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service84 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service84, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service84, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service84,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node88 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service84, layer26, layerFromClient2, configured13, configuredClient2, node88, exports_database };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-44h5tttr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./aisdk-04t848g5.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./aisdk-8mb2f6fn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-n3rcvph5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service67
|
|
20
|
+
} from "./aisdk-tf8fdhr4.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./aisdk-9212ptjn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./aisdk-heg2hsbb.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-85e776qr.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID9.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service67;
|
|
161
|
+
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID8.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID8.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID8.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./aisdk-04t848g5.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-ebj9bm8a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID4
|
|
11
|
+
} from "./aisdk-6kdq0pjd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service60,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node63
|
|
16
|
+
} from "./aisdk-cbbtdf47.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event5,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info5,
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service40,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node43
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event5 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info5 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID4
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID4
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service40 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
60
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service83;
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service60;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID4.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service40.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node43 = makeLocationNode({
|
|
274
|
+
service: Service40,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node87, node84, node63]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info5, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service40, node43, exports_pty, Event5 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-ebj9bm8a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./aisdk-hzgc6sw6.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-s2fpa66b.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin25
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin25 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service57;
|
|
35
35
|
const location = yield* Service80;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin25, exports_reference };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./aisdk-04t848g5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node61
|
|
7
|
+
} from "./aisdk-vbyft8vg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service4,
|
|
10
|
+
node6
|
|
11
|
+
} from "./aisdk-nej3tasb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service23
|
|
14
|
+
} from "./aisdk-phz3h32g.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node16,
|
|
17
17
|
ID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-c2ex003p.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service12,
|
|
21
|
+
node14
|
|
22
|
+
} from "./aisdk-br0tr5aq.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-7wnasa3t.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make4,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-jyt207sg.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service5,
|
|
35
|
+
node7
|
|
36
|
+
} from "./aisdk-x9kf6dr0.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service6,
|
|
39
|
+
node8
|
|
40
|
+
} from "./aisdk-h71w788e.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer4,
|
|
50
|
+
node: () => node5
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
pending: [...pending]
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
var
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
134
|
-
const bus = yield*
|
|
135
|
-
const updates = yield*
|
|
128
|
+
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
+
const registry = yield* Service23;
|
|
130
|
+
const sdk = yield* Service5;
|
|
131
|
+
const instance = yield* Service12;
|
|
132
|
+
const sources = yield* Service4;
|
|
133
|
+
const modules = yield* make4();
|
|
134
|
+
const bus = yield* Service83;
|
|
135
|
+
const updates = yield* Service6;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
210
|
+
node16,
|
|
211
|
+
node7,
|
|
212
|
+
node14,
|
|
213
|
+
node6,
|
|
214
|
+
node8,
|
|
215
|
+
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node61,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export {
|
|
227
|
+
export { layer4, node5, exports_supervisor };
|