@opencode/core 0.0.0-dev-20110 → 0.0.0-dev-20111
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 +81 -81
- 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/{bus-t550f9t1.js → state-02nrjc1r.js} +8 -8
- package/dist/chunks/{bus-t03bbx3y.js → state-0420h8y3.js} +12 -12
- package/dist/chunks/{bus-6saf39w2.js → state-0aebgkqc.js} +20 -20
- package/dist/chunks/{bus-ysek36vy.js → state-0cqag20n.js} +17 -17
- package/dist/chunks/{bus-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{bus-qjnxxf51.js → state-0r7yqxbf.js} +5 -5
- package/dist/chunks/{bus-705e2ap1.js → state-0ryd0fps.js} +5 -5
- package/dist/chunks/{bus-ve5t88w0.js → state-0sc7p6dz.js} +13 -13
- package/dist/chunks/{bus-jn2s104y.js → state-0sn5yek2.js} +18 -18
- package/dist/chunks/{bus-agsx0mxp.js → state-0v0cghr8.js} +32 -32
- package/dist/chunks/{bus-tpwaysbs.js → state-0wpacstp.js} +1 -1
- package/dist/chunks/{bus-mfh398z2.js → state-0wv1qnc5.js} +27 -27
- package/dist/chunks/{bus-1hdy0dxq.js → state-15p8vs0j.js} +4 -4
- package/dist/chunks/{bus-dw7fq86s.js → state-1b86pgzt.js} +10 -10
- package/dist/chunks/{bus-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{bus-bemfr8re.js → state-1hy6stnx.js} +22 -22
- package/dist/chunks/state-1x11rq2a.js +18 -0
- package/dist/chunks/{bus-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{bus-fzfr7wj6.js → state-2490deha.js} +13 -13
- package/dist/chunks/{bus-9vs0xtad.js → state-256nx13v.js} +3 -3
- package/dist/chunks/{bus-c19x1jxg.js → state-28gfjavm.js} +37 -37
- package/dist/chunks/{bus-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{bus-ngts6ef0.js → state-2eegacq4.js} +8 -8
- package/dist/chunks/{bus-wwbkxvr0.js → state-2gfneftk.js} +16 -16
- package/dist/chunks/{bus-bbbtseyn.js → state-2mgvx86f.js} +9 -9
- package/dist/chunks/{bus-13np1t9f.js → state-2tbewc66.js} +25 -25
- package/dist/chunks/{bus-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{bus-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-ckjeqqqd.js → state-3jdz0x4z.js} +37 -37
- package/dist/chunks/{bus-t27mf08w.js → state-3k1qem6j.js} +33 -33
- package/dist/chunks/{bus-acqh8fkh.js → state-3kbtcg3v.js} +3 -3
- package/dist/chunks/{bus-vctazb64.js → state-3n6sdpxb.js} +4 -4
- package/dist/chunks/{bus-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{bus-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{bus-xnkaq8n7.js → state-3vgydj9r.js} +8 -8
- package/dist/chunks/{bus-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{bus-8z00fdkb.js → state-44h5tttr.js} +4 -4
- package/dist/chunks/{bus-fz8xh7s4.js → state-47dkewx0.js} +1 -1
- package/dist/chunks/{bus-s29rvfdk.js → state-4he9ab31.js} +22 -22
- package/dist/chunks/{bus-y7w7614s.js → state-4mbzwrkh.js} +24 -24
- package/dist/chunks/{bus-yt0fqk68.js → state-4phm5153.js} +5 -5
- package/dist/chunks/{bus-57ez7d0k.js → state-4sn99hha.js} +7 -7
- package/dist/chunks/{bus-crqhppww.js → state-4vdhrt56.js} +5 -5
- package/dist/chunks/{bus-bncyzpjc.js → state-5041hkzc.js} +15 -15
- package/dist/chunks/{bus-krx1dmeb.js → state-53cvw98s.js} +27 -27
- package/dist/chunks/{bus-33w4ejhs.js → state-56gdpj1q.js} +6 -6
- package/dist/chunks/{bus-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{bus-5ekn9679.js → state-5ekn9679.js} +1 -1
- package/dist/chunks/{bus-4t96yggr.js → state-5jc5mgc2.js} +58 -58
- package/dist/chunks/{bus-4q1fk10p.js → state-5n3fqch9.js} +33 -33
- package/dist/chunks/{bus-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{bus-xe5vrw40.js → state-5vcxbet6.js} +33 -33
- package/dist/chunks/{bus-9cbgz947.js → state-603dhr7g.js} +11 -11
- package/dist/chunks/{bus-7dqw4kz8.js → state-607tc6va.js} +5 -5
- package/dist/chunks/{bus-edx79v5g.js → state-616y4znb.js} +9 -9
- package/dist/chunks/{bus-dw2nfv7s.js → state-61f77bz5.js} +10 -10
- package/dist/chunks/{bus-hba62b7s.js → state-637ve58x.js} +27 -27
- package/dist/chunks/{bus-mgh6dzwn.js → state-65m83bwr.js} +15 -15
- package/dist/chunks/{bus-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{bus-v78f6ems.js → state-66kbxh8a.js} +40 -40
- package/dist/chunks/{bus-0w62qmxp.js → state-6ea2fwcg.js} +6 -6
- package/dist/chunks/{bus-6h73sxmp.js → state-6h73sxmp.js} +1 -1
- package/dist/chunks/{bus-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{bus-rkprpv83.js → state-6pc27hjz.js} +6 -6
- package/dist/chunks/{bus-cqma6xzt.js → state-6tqm5eet.js} +32 -32
- package/dist/chunks/{bus-nehqz7h0.js → state-6zbs0edj.js} +20 -20
- package/dist/chunks/{bus-z1sxxdkt.js → state-71gtvxnv.js} +14 -14
- package/dist/chunks/{bus-p26jvdj2.js → state-7439sjwf.js} +18 -18
- package/dist/chunks/{bus-1q0w2sn5.js → state-74c75w5k.js} +20 -20
- package/dist/chunks/{bus-rgqs5ayd.js → state-78mm5kcz.js} +23 -23
- package/dist/chunks/{bus-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-cewqea6w.js → state-7dvp74te.js} +45 -45
- package/dist/chunks/{bus-85gcv6w1.js → state-7etgy47j.js} +36 -36
- package/dist/chunks/{bus-w2hr9m4n.js → state-7jj4q75w.js} +40 -40
- package/dist/chunks/{bus-cbqwfepe.js → state-7t8jd0x5.js} +32 -32
- package/dist/chunks/{bus-4y8ww5q8.js → state-7vr6z7sd.js} +50 -50
- package/dist/chunks/state-8212ntmz.js +26 -0
- package/dist/chunks/{bus-c9v8rnps.js → state-84hf00xv.js} +7 -7
- package/dist/chunks/{bus-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{bus-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{bus-5xtgfte3.js → state-8v6pyhej.js} +8 -8
- package/dist/chunks/{bus-my33rnxx.js → state-8xfg6125.js} +11 -11
- package/dist/chunks/{bus-hv4r7e9n.js → state-93k0x0x6.js} +12 -12
- package/dist/chunks/{bus-hthdkv0g.js → state-93tv8wdp.js} +17 -17
- package/dist/chunks/{bus-94ek1h2f.js → state-94ek1h2f.js} +2 -2
- package/dist/chunks/{bus-9z4n607n.js → state-97fcjs0c.js} +25 -25
- package/dist/chunks/{bus-hjsym5va.js → state-9at5y6v8.js} +58 -58
- package/dist/chunks/{bus-55w6e72n.js → state-9cymjy68.js} +19 -19
- package/dist/chunks/{bus-rn2ankj9.js → state-9fgjxmjq.js} +3 -3
- package/dist/chunks/{bus-fnyw5ncd.js → state-9q474hct.js} +25 -25
- package/dist/chunks/{bus-8a7w9p3z.js → state-9qxmhsjm.js} +29 -29
- package/dist/chunks/{bus-btbmdjwj.js → state-a2rpfkac.js} +4 -4
- package/dist/chunks/{bus-n90m72ty.js → state-a4b1zkbb.js} +11 -11
- package/dist/chunks/{bus-0xfjjr9h.js → state-a6760ea6.js} +10 -10
- package/dist/chunks/{bus-magykp64.js → state-a8bn8zg0.js} +4 -4
- package/dist/chunks/{bus-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{bus-em9x6te5.js → state-ahmyyct8.js} +16 -16
- package/dist/chunks/{bus-kv4b73hx.js → state-amam8yz4.js} +15 -15
- package/dist/chunks/{bus-7crhk1w3.js → state-amb2kstc.js} +38 -38
- package/dist/chunks/{bus-5xzrn7a4.js → state-awh9tjk9.js} +38 -38
- package/dist/chunks/{bus-gr2bz4pw.js → state-awvdvje0.js} +22 -22
- package/dist/chunks/{bus-fb0tm2s5.js → state-axcvfrsj.js} +87 -87
- package/dist/chunks/{bus-ma15yhyh.js → state-b29mbqx6.js} +5 -5
- package/dist/chunks/{bus-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{bus-6j7pwwg5.js → state-b7k3j85e.js} +21 -21
- package/dist/chunks/{bus-ztn1rgwm.js → state-bm3xcdsh.js} +15 -15
- package/dist/chunks/{bus-4gr756ds.js → state-bqnnf9m9.js} +23 -23
- package/dist/chunks/{bus-ymf35ta8.js → state-bxhm554n.js} +27 -27
- package/dist/chunks/{bus-h79gtdf5.js → state-bye6v823.js} +43 -43
- package/dist/chunks/{bus-vjcr61gx.js → state-bygnyd31.js} +9 -9
- package/dist/chunks/{bus-sed1cph5.js → state-c1fhnwbe.js} +11 -11
- package/dist/chunks/{bus-9kb4pten.js → state-c74c7pzc.js} +17 -17
- package/dist/chunks/{bus-djszqvmq.js → state-c765mh8b.js} +9 -9
- package/dist/chunks/{bus-9x6sfjnn.js → state-c84rynb7.js} +13 -13
- package/dist/chunks/{bus-39ttvfyy.js → state-c8d35e4t.js} +6 -6
- package/dist/chunks/{bus-ns15zm60.js → state-c8xqcx36.js} +6 -6
- package/dist/chunks/{bus-3m588pny.js → state-cb61ev9t.js} +6 -6
- package/dist/chunks/{bus-b9j9k7st.js → state-cfex3ehp.js} +3 -3
- package/dist/chunks/{bus-4g1jr6f0.js → state-cjap92xg.js} +20 -20
- package/dist/chunks/{bus-ckecvw8r.js → state-ckecvw8r.js} +2 -2
- package/dist/chunks/{bus-j1h3byjr.js → state-cv7be8vd.js} +24 -24
- package/dist/chunks/{bus-3ppptnan.js → state-d0k1g5nx.js} +6 -6
- package/dist/chunks/{bus-rrq388m2.js → state-d6qntx8f.js} +28 -28
- package/dist/chunks/{bus-5rzn2h2f.js → state-dbgjbemx.js} +72 -72
- package/dist/chunks/{bus-x5tv5bhz.js → state-dd4arry7.js} +13 -13
- package/dist/chunks/{bus-2rzcjetw.js → state-deedhb64.js} +26 -26
- package/dist/chunks/{bus-g5cd0fse.js → state-dhepbqcv.js} +49 -49
- package/dist/chunks/{bus-r3jekd6w.js → state-djsrw7d1.js} +5 -5
- package/dist/chunks/state-dntw82rz.js +252 -0
- package/dist/chunks/{bus-drwq78ky.js → state-drwq78ky.js} +1 -1
- package/dist/chunks/{bus-qetz3bdr.js → state-ds16kb98.js} +11 -11
- package/dist/chunks/{bus-qxnq8tq5.js → state-dwfbq0zf.js} +18 -18
- package/dist/chunks/{bus-fmpp0jwj.js → state-e1025wz1.js} +10 -10
- package/dist/chunks/{bus-c11gs41e.js → state-e9q2vb15.js} +10 -10
- package/dist/chunks/{bus-yjebqc3c.js → state-ebt2th9r.js} +28 -28
- package/dist/chunks/{bus-d216944b.js → state-edrmdtr5.js} +4 -4
- package/dist/chunks/{bus-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{bus-erw5rpbs.js → state-erw5rpbs.js} +2 -2
- package/dist/chunks/{bus-b5vkr3nq.js → state-esjrfk95.js} +26 -26
- package/dist/chunks/{bus-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{bus-3cfzdc8e.js → state-evbgk2k8.js} +5 -5
- package/dist/chunks/{bus-0dczt24q.js → state-f36kh4r4.js} +11 -11
- package/dist/chunks/{bus-w3bkza1g.js → state-fabg376z.js} +8 -8
- package/dist/chunks/{bus-knda9j04.js → state-fbst39pn.js} +92 -92
- package/dist/chunks/{bus-dxw8e00t.js → state-fcbk657k.js} +4 -4
- package/dist/chunks/{bus-qx04cptv.js → state-ffajfc11.js} +12 -12
- package/dist/chunks/{bus-4ctj6a48.js → state-fhns329a.js} +5 -5
- package/dist/chunks/{bus-nq7qbqzc.js → state-fhs97t90.js} +9 -9
- package/dist/chunks/{bus-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{bus-qg7rv61d.js → state-gj4zkc3e.js} +19 -19
- package/dist/chunks/{bus-ztrjg0dp.js → state-gjqt4qr1.js} +15 -15
- package/dist/chunks/{bus-b109chxf.js → state-grayh0ey.js} +186 -186
- package/dist/chunks/{bus-1yqpms3x.js → state-grep4bve.js} +30 -30
- package/dist/chunks/{bus-bqkn0a2m.js → state-gs2vyb2s.js} +4 -4
- package/dist/chunks/{bus-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{bus-99xay3p1.js → state-h04cqsq0.js} +8 -8
- package/dist/chunks/{bus-6ca1zexh.js → state-h0h24msd.js} +15 -15
- package/dist/chunks/{bus-r11ajgf0.js → state-h5af1y13.js} +6 -6
- package/dist/chunks/{bus-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{bus-nkk0yr9d.js → state-h8djq146.js} +10 -10
- package/dist/chunks/{bus-d2vsh0aj.js → state-hj47bg5q.js} +20 -20
- package/dist/chunks/{bus-en6fzx4z.js → state-htv31ejh.js} +8 -8
- package/dist/chunks/{bus-wk5z6jzv.js → state-j1ndhnpa.js} +9 -9
- package/dist/chunks/{bus-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{bus-5kac4k3t.js → state-j9w0sazs.js} +32 -32
- package/dist/chunks/{bus-bs6e0m84.js → state-jbt75933.js} +22 -22
- package/dist/chunks/{bus-2k1cn353.js → state-jcrq5sez.js} +48 -48
- package/dist/chunks/{bus-a94w1kdh.js → state-jjpprn9z.js} +12 -12
- package/dist/chunks/{bus-y71avatq.js → state-jwcy2c2z.js} +4 -4
- package/dist/chunks/{bus-a4wm5c08.js → state-jwkbnpgz.js} +9 -9
- package/dist/chunks/{bus-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{bus-b1h1c68h.js → state-k5kkqdex.js} +8 -8
- package/dist/chunks/{bus-dg2cj1yd.js → state-k9d40v1y.js} +4 -4
- package/dist/chunks/{bus-nvv7130m.js → state-kcw2zge1.js} +9 -9
- package/dist/chunks/{bus-sqtqbwng.js → state-kdgwstet.js} +6 -6
- package/dist/chunks/{bus-ah2tstk7.js → state-kf4w80xf.js} +27 -27
- package/dist/chunks/{bus-dj68pnee.js → state-kkp8zx71.js} +4 -4
- package/dist/chunks/{bus-f5gy8qwh.js → state-ktpnacfn.js} +8 -8
- package/dist/chunks/{bus-ax3c56fa.js → state-ky8gsdfr.js} +32 -32
- package/dist/chunks/{bus-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{bus-s8qd0pza.js → state-m3k5nkjm.js} +8 -8
- package/dist/chunks/{bus-afed7ext.js → state-m45ax9sm.js} +12 -12
- package/dist/chunks/{bus-v2f6dcv3.js → state-m7va1g8x.js} +2 -2
- package/dist/chunks/{bus-6m26j20e.js → state-m8369v3w.js} +24 -24
- package/dist/chunks/{bus-bqdc39gy.js → state-m8vajxnx.js} +11 -11
- package/dist/chunks/{bus-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-eapqqdsn.js → state-mh5tff5t.js} +28 -28
- package/dist/chunks/{bus-tx92n959.js → state-mhgx8wws.js} +4 -4
- package/dist/chunks/{bus-0dqwd4cc.js → state-mjv5n8tk.js} +8 -8
- package/dist/chunks/{bus-1wkhb3nv.js → state-mr1zhvpj.js} +16 -16
- package/dist/chunks/{bus-eq1pz5kg.js → state-mvfsc1pv.js} +3 -3
- package/dist/chunks/{bus-53r14p43.js → state-mw415x4x.js} +15 -15
- package/dist/chunks/{bus-eks5qx6p.js → state-myd6n2j2.js} +25 -25
- package/dist/chunks/{bus-2qa74q4f.js → state-n828xn6h.js} +14 -14
- package/dist/chunks/{bus-5kw5dw4j.js → state-n87e4tgh.js} +5 -5
- package/dist/chunks/{bus-phypshv1.js → state-nbe7vj25.js} +11 -11
- package/dist/chunks/{bus-mbe8hv09.js → state-nf3zyzex.js} +14 -14
- package/dist/chunks/{bus-cw6ypyqw.js → state-nggt3w8z.js} +3 -3
- package/dist/chunks/{bus-y9199srt.js → state-ngynwwae.js} +3 -3
- package/dist/chunks/{bus-ergadxyj.js → state-ny1ad2m1.js} +13 -13
- package/dist/chunks/{bus-7kdw7ev1.js → state-p2yhhyr5.js} +54 -54
- package/dist/chunks/{bus-60v69n21.js → state-p8r8ve68.js} +21 -21
- package/dist/chunks/{bus-de1bg4a8.js → state-p9avp9ca.js} +24 -24
- package/dist/chunks/{bus-aymtadcw.js → state-pb85prkd.js} +28 -28
- package/dist/chunks/{bus-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{bus-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{bus-26kj7cwz.js → state-pnm0gwqy.js} +10 -10
- package/dist/chunks/{bus-4fg8svfd.js → state-pnqhyn3v.js} +17 -17
- package/dist/chunks/state-qapv375x.js +4 -0
- package/dist/chunks/{bus-efnkg68h.js → state-qgarqns8.js} +22 -22
- package/dist/chunks/{bus-1zqsf2j9.js → state-qm7jrdpz.js} +5 -5
- package/dist/chunks/{bus-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{bus-70gnf0sp.js → state-r3evxqnx.js} +41 -41
- package/dist/chunks/{bus-f2n192rq.js → state-r8xr0va3.js} +4 -4
- package/dist/chunks/{bus-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{bus-7rs6z72e.js → state-reee10jt.js} +17 -17
- package/dist/chunks/{bus-6b8rzn4m.js → state-rn8gya25.js} +11 -11
- package/dist/chunks/{bus-hn57h045.js → state-rpg9c19m.js} +4 -4
- package/dist/chunks/{bus-pf2hb43r.js → state-rph3zd4r.js} +4 -4
- package/dist/chunks/{bus-n1v1j5gm.js → state-rwjbg2zx.js} +3 -3
- package/dist/chunks/{bus-kes3qfzt.js → state-rxstvrrv.js} +330 -330
- package/dist/chunks/{bus-mwfbz0xd.js → state-s1ek718r.js} +19 -19
- package/dist/chunks/{bus-vc6exsj4.js → state-s5hcky19.js} +3 -3
- package/dist/chunks/{bus-d3p9sq2s.js → state-s66pfndk.js} +43 -43
- package/dist/chunks/{bus-yth2f470.js → state-s7wccmgb.js} +5 -5
- package/dist/chunks/{bus-dmjj53sn.js → state-sa4z093x.js} +2 -2
- package/dist/chunks/{bus-tmvszdqk.js → state-sk3sbtp0.js} +4 -4
- package/dist/chunks/{bus-k53npxr2.js → state-sqy4ahhk.js} +1 -1
- package/dist/chunks/{bus-wtg76wjq.js → state-syca5r9y.js} +23 -23
- package/dist/chunks/{bus-krg1ac3c.js → state-t0cw0c9y.js} +11 -11
- package/dist/chunks/{bus-sx1n432n.js → state-t9zs3egg.js} +4 -4
- package/dist/chunks/{bus-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{bus-y7emxscq.js → state-tbym587b.js} +6 -6
- package/dist/chunks/{bus-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{bus-k9p3qqxf.js → state-tmydxb1c.js} +13 -13
- package/dist/chunks/{bus-wnf47mqh.js → state-ttyhffk4.js} +10 -10
- package/dist/chunks/{bus-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{bus-d5xsvz9q.js → state-tzx79ayg.js} +32 -32
- package/dist/chunks/{bus-7k7qabe4.js → state-vdzzqhjr.js} +11 -11
- package/dist/chunks/{bus-2p690edb.js → state-vecx4735.js} +6 -6
- package/dist/chunks/{bus-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-2dzs7ftg.js → state-vg54q6kb.js} +7 -7
- package/dist/chunks/{bus-b0kx20c7.js → state-vky584v3.js} +28 -28
- package/dist/chunks/{bus-wqsgdcqx.js → state-vngdvyz2.js} +44 -44
- package/dist/chunks/{bus-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{bus-tqjbcyfm.js → state-w1ye484s.js} +24 -24
- package/dist/chunks/{bus-r1sqmjnz.js → state-w2g1ktb9.js} +14 -14
- package/dist/chunks/{bus-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-dv2dzdwb.js → state-w4ex03qt.js} +9 -9
- package/dist/chunks/{bus-8z39ygk9.js → state-wb50tz6w.js} +20 -20
- package/dist/chunks/{bus-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
- package/dist/chunks/{bus-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{bus-n1ka8r9d.js → state-wgtcm0m7.js} +4 -4
- package/dist/chunks/{bus-sg2nz0p0.js → state-wsefyt7b.js} +28 -28
- package/dist/chunks/{bus-r8d149e4.js → state-wxdt6jme.js} +6 -6
- package/dist/chunks/{bus-kegj034d.js → state-wz3wwytt.js} +7 -7
- package/dist/chunks/{bus-9zam7283.js → state-wz3z8pyw.js} +5 -5
- package/dist/chunks/{bus-5yeq06a0.js → state-wzg7zq6j.js} +6 -6
- package/dist/chunks/{bus-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{bus-sphdp7rh.js → state-x4gw1wa9.js} +31 -31
- package/dist/chunks/{bus-r0w6vsbq.js → state-xcs63q7q.js} +28 -28
- package/dist/chunks/{bus-bvxxf21n.js → state-xdpsmdge.js} +21 -21
- package/dist/chunks/{bus-3hx80kcb.js → state-xhqa6gky.js} +22 -22
- package/dist/chunks/{bus-dmqcgk4z.js → state-xkntkrq7.js} +5 -5
- package/dist/chunks/{bus-x1wafzv1.js → state-xvf9q0q1.js} +9 -9
- package/dist/chunks/{bus-1nzh38e4.js → state-y15vpdnr.js} +9 -9
- package/dist/chunks/{bus-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{bus-7wtj5x8r.js → state-y76bxftd.js} +5 -5
- package/dist/chunks/{bus-8jfskjsd.js → state-yc0p016c.js} +22 -22
- package/dist/chunks/{bus-b3sw3ybz.js → state-ygbc7n1d.js} +8 -8
- package/dist/chunks/{bus-crwg5b5x.js → state-ynwt6cba.js} +14 -14
- package/dist/chunks/{bus-gf34eqph.js → state-yqa1vtse.js} +32 -32
- package/dist/chunks/{bus-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{bus-yrznvahk.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{bus-hsy2ayrh.js → state-ywftqwgc.js} +11 -11
- package/dist/chunks/{bus-z07pqspn.js → state-z07pqspn.js} +3 -3
- package/dist/chunks/{bus-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-z63w68vq.js → state-z63w68vq.js} +2 -2
- package/dist/chunks/{bus-z2tqpmk8.js → state-z72fcj4r.js} +10 -10
- package/dist/chunks/{bus-z5qf6xj2.js → state-z9dz7899.js} +12 -12
- package/dist/chunks/{bus-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{bus-dphfrw81.js → state-zkf32p28.js} +11 -11
- package/dist/chunks/{bus-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{bus-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{bus-3pqdrcfp.js → state-zxxtytjq.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- 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 +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- 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 +144 -144
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- 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 +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- 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 +91 -91
- 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 +362 -362
- 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 +84 -84
- 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 +359 -359
- package/dist/location.js +87 -87
- 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 +126 -126
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +105 -105
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- 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 +333 -333
- 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 +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 +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 +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 +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- 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 +94 -94
- 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 +95 -95
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- 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 +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- 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 +124 -124
- 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 +73 -73
- package/dist/session/store.js +87 -87
- 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 +154 -154
- 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 +9 -9
- 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 +89 -89
- 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 +125 -125
- 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/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +112 -112
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +105 -105
- 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 +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/bus-0mesazry.js +0 -4
- package/dist/chunks/bus-4v7qdvcn.js +0 -18
- package/dist/chunks/bus-5ww6wnjh.js +0 -252
- package/dist/chunks/bus-mwmnzqyt.js +0 -26
- /package/dist/chunks/{bus-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-44h5tttr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./state-93k0x0x6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./state-5vcxbet6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-grep4bve.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service68
|
|
20
|
+
} from "./state-x4gw1wa9.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./state-3k1qem6j.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-c1fhnwbe.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-e1025wz1.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: ID10.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* Service68;
|
|
161
|
+
const bus = yield* Service81;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,7 +173,7 @@ 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(ID9.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ 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(ID9.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -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(ID9.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID9.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 === ID10.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 !== ID9.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 !== ID9.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: ID9.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID9.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: ID9.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID9.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);
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./state-ahmyyct8.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-syca5r9y.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin42,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin42 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin42, exports_git };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./state-ahmyyct8.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service31
|
|
7
|
+
} from "./state-dhepbqcv.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./state-gjqt4qr1.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make4
|
|
13
|
+
} from "./state-mvfsc1pv.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin21 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service31;
|
|
37
|
+
const formatter = yield* Service39;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service78;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin35 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make4({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin35 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin21, exports_formatter };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event6,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options6,
|
|
17
|
+
Service: () => Service32,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured5,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer15,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node35,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event6 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options6 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service32 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service32.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer23 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service32.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer15().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service32).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service32, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured5(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service32, layer: layer15(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node35 = configured5();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event6, hasNativeBinding2, Native3, Options6, Service32, Test3, layer15, testLayer3, nativeLayer2, nativeNode2, configured5, node35, exports_watcher };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin35 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint3,
|
|
83
|
+
export { endpoint3, Plugin35, exports_exa };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node84
|
|
7
|
+
} from "./state-m45ax9sm.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service84,
|
|
13
13
|
node88
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-ngynwwae.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service81,
|
|
17
|
+
node85
|
|
18
|
+
} from "./state-93k0x0x6.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-wd3x2cqz.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./state-94ek1h2f.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID16,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-amb2kstc.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./state-ahmyyct8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service56,
|
|
34
|
+
node59
|
|
35
|
+
} from "./state-bygnyd31.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./state-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make16
|
|
42
|
+
} from "./state-fabg376z.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service46
|
|
45
|
+
} from "./state-p8r8ve68.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./state-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
@@ -53,19 +53,19 @@ __export(exports_worktree2, {
|
|
|
53
53
|
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event11,
|
|
57
|
+
Info: () => Info17,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service45,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node49
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,11 +79,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
80
|
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info17 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
86
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
86
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -94,18 +94,18 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event11 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service45 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service84;
|
|
104
104
|
const db = database.db;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service81;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service56;
|
|
108
|
+
const gitStrategy = yield* make16;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service46).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event11.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service45.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node49 = Node.makeGlobalNode({
|
|
265
|
+
service: Service45,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node84, node85, node88, AppProcess.node, node59]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info17, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event11, Service45, node49, exports_worktree2, OperationError2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|