@opencode/core 0.0.0-dev-20955 → 0.0.0-dev-20958
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{generate-cwdksr8n.js → agent-076ygycp.js} +25 -25
- package/dist/chunks/{generate-7dqw4kz8.js → agent-0jwsre1p.js} +5 -5
- package/dist/chunks/{generate-w16k0wzf.js → agent-0k12ygpv.js} +6 -6
- package/dist/chunks/{generate-nfsm5mmz.js → agent-0m77ysc4.js} +9 -9
- package/dist/chunks/{generate-91p1v22t.js → agent-0t9wd588.js} +8 -8
- package/dist/chunks/{generate-0vbcp93d.js → agent-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-4wqhejgp.js → agent-0yjx2tqn.js} +15 -15
- package/dist/chunks/{generate-k3bh1kct.js → agent-0ytnbz4y.js} +12 -12
- package/dist/chunks/{generate-tjbwbx5p.js → agent-0z54bg9x.js} +40 -40
- package/dist/chunks/{generate-tjjvxdpy.js → agent-0zh4dper.js} +50 -50
- package/dist/chunks/{generate-vwz8vhph.js → agent-1609qj8w.js} +17 -17
- package/dist/chunks/{generate-g7x3whcf.js → agent-1agemg3z.js} +4 -4
- package/dist/chunks/{generate-hv879400.js → agent-1bmjn0qh.js} +11 -11
- package/dist/chunks/agent-1f212xf4.js +253 -0
- package/dist/chunks/{generate-h6degvvb.js → agent-1gpb38yh.js} +9 -9
- package/dist/chunks/{generate-h784rw89.js → agent-1j1122ka.js} +28 -28
- package/dist/chunks/{generate-azrg85nq.js → agent-1z2t3sd1.js} +57 -57
- package/dist/chunks/{generate-hc9bykrx.js → agent-20jknadr.js} +13 -13
- package/dist/chunks/{generate-qxc7eem4.js → agent-229tzr2x.js} +13 -13
- package/dist/chunks/{generate-aexvrqsg.js → agent-2a7p1gyt.js} +9 -9
- package/dist/chunks/{generate-dzyqpy57.js → agent-2bkpye9j.js} +11 -11
- package/dist/chunks/{generate-hnepv2pm.js → agent-2mhkbbfb.js} +30 -30
- package/dist/chunks/{generate-52ccxbw0.js → agent-2qetk9d6.js} +25 -25
- package/dist/chunks/{generate-j8w73jpj.js → agent-2qp32f0v.js} +4 -4
- package/dist/chunks/{generate-007gt5h3.js → agent-2v1pzyq0.js} +9 -9
- package/dist/chunks/{generate-wrjhv8ep.js → agent-31820djj.js} +94 -94
- package/dist/chunks/{generate-sfas9ggz.js → agent-328j3ef3.js} +10 -10
- package/dist/chunks/{generate-v2w00eb9.js → agent-336bg453.js} +48 -48
- package/dist/chunks/{generate-v2vqt7ja.js → agent-3913b8rm.js} +21 -21
- package/dist/chunks/{generate-ahytbjxw.js → agent-3cy54vvk.js} +13 -13
- package/dist/chunks/{generate-19hfexd2.js → agent-3ef040mj.js} +45 -45
- package/dist/chunks/{generate-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-jhdf29st.js → agent-3g8j9he4.js} +1 -1
- package/dist/chunks/{generate-2ecc8kjr.js → agent-3gt6es9n.js} +14 -14
- package/dist/chunks/{generate-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
- package/dist/chunks/{generate-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-pynaa69q.js → agent-3v8y4w79.js} +5 -5
- package/dist/chunks/{generate-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-r42rn07b.js → agent-46hxsw4n.js} +26 -26
- package/dist/chunks/{generate-8nbsy07e.js → agent-49ctvpxp.js} +5 -5
- package/dist/chunks/{generate-e9t82wt6.js → agent-4a1s5xyh.js} +11 -11
- package/dist/chunks/{generate-gjwksjz5.js → agent-4rxtb5vq.js} +16 -16
- package/dist/chunks/{generate-jkf2f16v.js → agent-50ea6c2f.js} +50 -50
- package/dist/chunks/{generate-fsay702y.js → agent-50z0a1gb.js} +32 -32
- package/dist/chunks/{generate-54ma36ye.js → agent-54ma36ye.js} +1 -1
- package/dist/chunks/{generate-kg7tw7af.js → agent-5cg0xhj4.js} +11 -11
- package/dist/chunks/{generate-nthsq1c9.js → agent-5kxpfrb8.js} +9 -9
- package/dist/chunks/{generate-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
- package/dist/chunks/{generate-gs3khzew.js → agent-631jgtsf.js} +14 -14
- package/dist/chunks/{generate-ygr9627z.js → agent-6je4cm4t.js} +5 -5
- package/dist/chunks/{generate-n8vdnqrc.js → agent-6kzp9tjq.js} +5 -5
- package/dist/chunks/{generate-gqb29rq1.js → agent-6mp983td.js} +38 -38
- package/dist/chunks/{generate-87tbyhg2.js → agent-6nydggxm.js} +8 -8
- package/dist/chunks/{generate-3f8w4jbq.js → agent-6rctkjjb.js} +33 -33
- package/dist/chunks/{generate-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
- package/dist/chunks/{generate-a6awq7tx.js → agent-70sfpb74.js} +11 -11
- package/dist/chunks/{generate-775gj3j1.js → agent-775gj3j1.js} +2 -2
- package/dist/chunks/{generate-wxd1amzp.js → agent-7abtwhpm.js} +334 -334
- package/dist/chunks/{generate-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-w92k2e0p.js → agent-7fkffz83.js} +6 -6
- package/dist/chunks/{generate-tgty86k3.js → agent-7j7ddnk0.js} +12 -12
- package/dist/chunks/{generate-z9k480np.js → agent-7nmmn82v.js} +5 -5
- package/dist/chunks/{generate-z7bx7nj5.js → agent-7v8d6x1k.js} +7 -7
- package/dist/chunks/{generate-egja09jm.js → agent-816nw50c.js} +13 -13
- package/dist/chunks/{generate-84txncab.js → agent-84txncab.js} +1 -1
- package/dist/chunks/{generate-986mq3g4.js → agent-84v535vz.js} +29 -29
- package/dist/chunks/{generate-4bm5ja14.js → agent-86qzxe6p.js} +4 -4
- package/dist/chunks/{generate-ccf0qaaq.js → agent-8f0r14n7.js} +27 -27
- package/dist/chunks/{generate-ph1hy9gm.js → agent-8f7svxab.js} +20 -20
- package/dist/chunks/{generate-j2jpnhmm.js → agent-8kbf19c9.js} +20 -20
- package/dist/chunks/{generate-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
- package/dist/chunks/{generate-j09zfasm.js → agent-91qna3x0.js} +3 -3
- package/dist/chunks/{generate-8fzym08n.js → agent-9bx876pj.js} +11 -11
- package/dist/chunks/{generate-3hx241vc.js → agent-9ng5jy3p.js} +9 -9
- package/dist/chunks/{generate-ajrp0zcc.js → agent-a37v51ty.js} +19 -19
- package/dist/chunks/{generate-fx09zbwx.js → agent-a60tcv91.js} +11 -11
- package/dist/chunks/{generate-y16p1w2y.js → agent-a7bcxdzj.js} +9 -9
- package/dist/chunks/{generate-28n4pc0c.js → agent-acqwrbht.js} +25 -25
- package/dist/chunks/{generate-mxvxcxwy.js → agent-addxnjmp.js} +4 -4
- package/dist/chunks/{generate-8gxqpgph.js → agent-afdssyjb.js} +4 -4
- package/dist/chunks/{generate-jg7szpbk.js → agent-aftyskxv.js} +25 -25
- package/dist/chunks/{generate-pt1jpjcb.js → agent-avk7egrj.js} +18 -18
- package/dist/chunks/{generate-sgd1fqjm.js → agent-aw43jf4k.js} +13 -13
- package/dist/chunks/{generate-hdkng2sj.js → agent-b3f8fkhc.js} +5 -5
- package/dist/chunks/{generate-yj2ncqs1.js → agent-b4y73578.js} +46 -46
- package/dist/chunks/{generate-d5jrddrm.js → agent-b6aa29h5.js} +36 -36
- package/dist/chunks/{generate-f7mmnwn2.js → agent-bb6cbn1x.js} +97 -97
- package/dist/chunks/{generate-adm7m3rs.js → agent-bhgc3dzs.js} +14 -14
- package/dist/chunks/{generate-ywt8jp22.js → agent-bjx1sjef.js} +9 -9
- package/dist/chunks/{generate-3nw6a24a.js → agent-bqgyyk6d.js} +23 -23
- package/dist/chunks/{generate-jcegsay8.js → agent-btxh7gek.js} +18 -18
- package/dist/chunks/{generate-es1vcfrp.js → agent-c1fqxshp.js} +3 -3
- package/dist/chunks/{generate-r3ynj49d.js → agent-c56508zd.js} +188 -188
- package/dist/chunks/{generate-1wcdeef4.js → agent-c9x8k2kr.js} +18 -18
- package/dist/chunks/{generate-3q2zmd79.js → agent-csb7xzkw.js} +27 -27
- package/dist/chunks/{generate-ect48nsn.js → agent-d40bcff0.js} +61 -61
- package/dist/chunks/{generate-r70na3yp.js → agent-d7x0sh0y.js} +9 -9
- package/dist/chunks/{generate-nydzyyh3.js → agent-dm3nnk5j.js} +29 -29
- package/dist/chunks/{generate-dqxsqydv.js → agent-dqxsqydv.js} +1 -1
- package/dist/chunks/{generate-mb14aw74.js → agent-drnf6xwf.js} +2 -2
- package/dist/chunks/{generate-cmwkp3r5.js → agent-dv1qgsyq.js} +8 -8
- package/dist/chunks/{generate-y0nbp6f8.js → agent-dvn8h3hj.js} +19 -19
- package/dist/chunks/{generate-gdq0r6pz.js → agent-dz5zw78w.js} +26 -26
- package/dist/chunks/{generate-6zk226fd.js → agent-dzgd3nzk.js} +8 -8
- package/dist/chunks/{generate-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-86qjnnqk.js → agent-efxe2svv.js} +11 -11
- package/dist/chunks/{generate-9yaq9fmg.js → agent-egzgxsyx.js} +32 -32
- package/dist/chunks/{generate-se975k4p.js → agent-ehapxwsb.js} +37 -37
- package/dist/chunks/{generate-4br13kzk.js → agent-exe77665.js} +36 -36
- package/dist/chunks/{generate-583x01kt.js → agent-fbmc2kmv.js} +24 -24
- package/dist/chunks/{generate-93146j55.js → agent-ffwe724q.js} +24 -24
- package/dist/chunks/{generate-73kdj4zj.js → agent-fgem0d3n.js} +8 -8
- package/dist/chunks/{generate-m0ecvezt.js → agent-fnmy9sw4.js} +20 -20
- package/dist/chunks/{generate-ftjs4a6p.js → agent-fp3zmvgv.js} +23 -23
- package/dist/chunks/{generate-9m7bnam6.js → agent-fpzj7rn3.js} +77 -77
- package/dist/chunks/{generate-tckds7f3.js → agent-fs2ks0ah.js} +33 -33
- package/dist/chunks/{generate-qmqgtz8f.js → agent-ft3hqk2c.js} +9 -9
- package/dist/chunks/{generate-7f45822d.js → agent-fve7hrpz.js} +18 -18
- package/dist/chunks/{generate-r5czv6vh.js → agent-fww2ha2b.js} +10 -10
- package/dist/chunks/{generate-khmqacep.js → agent-fxaymqdw.js} +4 -4
- package/dist/chunks/{generate-4v166rgp.js → agent-fz67f08d.js} +22 -22
- package/dist/chunks/{generate-w2h15q85.js → agent-g6yfr6ja.js} +5 -5
- package/dist/chunks/{generate-ejderhnd.js → agent-g8wr7j18.js} +5 -5
- package/dist/chunks/{generate-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/agent-gyce5qg1.js +18 -0
- package/dist/chunks/agent-h2s4xrnp.js +26 -0
- package/dist/chunks/{generate-sh51cmbp.js → agent-h36gg2tn.js} +4 -4
- package/dist/chunks/{generate-3sytbhw4.js → agent-h3wb0rf0.js} +5 -5
- package/dist/chunks/{generate-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-h7s7r6s9.js → agent-h7s7r6s9.js} +2 -2
- package/dist/chunks/{generate-k2xyfnfp.js → agent-hcs07a1d.js} +13 -13
- package/dist/chunks/{generate-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
- package/dist/chunks/{generate-xfkrhj36.js → agent-hhmdxq56.js} +3 -3
- package/dist/chunks/{generate-hqhp0zxs.js → agent-hkffa77z.js} +4 -4
- package/dist/chunks/{generate-fvphec8c.js → agent-hkttkzqp.js} +15 -15
- package/dist/chunks/{generate-353e70w1.js → agent-hpxsmcpf.js} +16 -16
- package/dist/chunks/{generate-vjvmdf82.js → agent-hqf1mv2f.js} +19 -19
- package/dist/chunks/{generate-espax8zg.js → agent-j34bs4nz.js} +4 -4
- package/dist/chunks/{generate-3zg54vq3.js → agent-jbnebdpg.js} +8 -8
- package/dist/chunks/{generate-226jkg9e.js → agent-jfvkz881.js} +16 -16
- package/dist/chunks/{generate-mf3tk837.js → agent-jhfkefc8.js} +15 -15
- package/dist/chunks/{generate-trshtzzb.js → agent-jhxa4x6v.js} +11 -11
- package/dist/chunks/{generate-6g107h22.js → agent-jk540des.js} +2 -2
- package/dist/chunks/{generate-bvn9nnns.js → agent-jrcfabzf.js} +4 -4
- package/dist/chunks/{generate-agzhgt0s.js → agent-js4pbrmc.js} +30 -30
- package/dist/chunks/{generate-4hd4yrbq.js → agent-jt6f8k8z.js} +28 -28
- package/dist/chunks/{generate-kdm0xk8y.js → agent-jvkv54gr.js} +3 -3
- package/dist/chunks/{generate-nhttw11w.js → agent-jy6v70g9.js} +21 -21
- package/dist/chunks/{generate-tqhwrjj1.js → agent-jzbfat1a.js} +14 -14
- package/dist/chunks/{generate-yxv48c46.js → agent-k3xewbbn.js} +22 -22
- package/dist/chunks/{generate-es2491wy.js → agent-k72nqehm.js} +33 -33
- package/dist/chunks/{generate-87wvz1aq.js → agent-kvnmdx0p.js} +15 -15
- package/dist/chunks/{generate-0sawxzss.js → agent-kxy5hpjs.js} +27 -27
- package/dist/chunks/{generate-jwv7ab79.js → agent-ky7xv0tv.js} +6 -6
- package/dist/chunks/{generate-8yhdxqmw.js → agent-m2tp2zy4.js} +30 -30
- package/dist/chunks/{generate-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-maspj1v3.js → agent-maspj1v3.js} +1 -1
- package/dist/chunks/{generate-045nn9pc.js → agent-mv3hx7wz.js} +9 -9
- package/dist/chunks/{generate-c2sed5cq.js → agent-my4zabxr.js} +2 -2
- package/dist/chunks/{generate-5dkn69vz.js → agent-n1n192bv.js} +4 -4
- package/dist/chunks/{generate-vrsjek29.js → agent-n3z6xa89.js} +2 -2
- package/dist/chunks/{generate-95tm7t3r.js → agent-n69wn4k7.js} +14 -14
- package/dist/chunks/{generate-q3xjw1w0.js → agent-n6mse5q2.js} +6 -6
- package/dist/chunks/{generate-6va2hmq8.js → agent-n7gja7eh.js} +33 -33
- package/dist/chunks/{generate-5cw9rgh0.js → agent-nehy47qm.js} +21 -21
- package/dist/chunks/{generate-ssfpbmz4.js → agent-nf8gtwm3.js} +28 -28
- package/dist/chunks/{generate-pv0ywq10.js → agent-nnbhsd2s.js} +9 -9
- package/dist/chunks/{generate-w64wyqh3.js → agent-pfqf91wk.js} +18 -18
- package/dist/chunks/{generate-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-9cjpt02s.js → agent-pk8q3hep.js} +34 -34
- package/dist/chunks/{generate-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{generate-zd7c0wbn.js → agent-pmcwe568.js} +20 -20
- package/dist/chunks/{generate-0j77ygfz.js → agent-q0xm7vwc.js} +6 -6
- package/dist/chunks/{generate-3ev3b5b8.js → agent-q1bfw64a.js} +16 -16
- package/dist/chunks/{generate-efsjwg4m.js → agent-q761sv46.js} +14 -14
- package/dist/chunks/{generate-cb7hbdgq.js → agent-q8p7dk20.js} +28 -28
- package/dist/chunks/{generate-f68pm4a7.js → agent-q91f3t0x.js} +27 -27
- package/dist/chunks/{generate-basbsbfx.js → agent-qfx0t4ke.js} +11 -11
- package/dist/chunks/{generate-e78mjzb8.js → agent-qk0qxrtr.js} +34 -34
- package/dist/chunks/{generate-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-4pgz46s9.js → agent-qq4j7qt6.js} +34 -34
- package/dist/chunks/{generate-57b9ws8p.js → agent-qqeeq2t9.js} +4 -4
- package/dist/chunks/{generate-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-29sdvvc3.js → agent-qvazqvvc.js} +8 -8
- package/dist/chunks/{generate-gqv3phke.js → agent-qzkhffvs.js} +30 -30
- package/dist/chunks/{generate-ed1g29hy.js → agent-r2z489rp.js} +3 -3
- package/dist/chunks/{generate-zqxc0bxc.js → agent-rabj4zv4.js} +9 -9
- package/dist/chunks/{generate-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-tkb22qbm.js → agent-rert0e01.js} +2 -2
- package/dist/chunks/{generate-yp2x3t23.js → agent-rhraev7y.js} +4 -4
- package/dist/chunks/{generate-c41wscbt.js → agent-rj3eygr5.js} +2 -2
- package/dist/chunks/{generate-yxj30fw6.js → agent-rksbsveg.js} +24 -24
- package/dist/chunks/{generate-6gv93bxn.js → agent-rzhk0pxw.js} +29 -29
- package/dist/chunks/{generate-mvh6hcdn.js → agent-rzmamy72.js} +48 -48
- package/dist/chunks/{generate-ce6mw5w9.js → agent-s57b5eh9.js} +5 -5
- package/dist/chunks/{generate-p9ntvqt0.js → agent-s777yeyn.js} +32 -32
- package/dist/chunks/{generate-t550f9t1.js → agent-s8d7rejh.js} +4 -4
- package/dist/chunks/{generate-c8ax2afj.js → agent-sa8ekw3f.js} +2 -2
- package/dist/chunks/{generate-4yd5fbph.js → agent-sbn7pzv1.js} +8 -8
- package/dist/chunks/{generate-nsm5jq39.js → agent-sd36kcjb.js} +13 -13
- package/dist/chunks/{generate-gdzh3mgb.js → agent-se59bpe2.js} +5 -5
- package/dist/chunks/{generate-n7cqf3h2.js → agent-shcqsdwj.js} +11 -11
- package/dist/chunks/{generate-t1j722vw.js → agent-snr1631k.js} +4 -4
- package/dist/chunks/{generate-jk72k5yt.js → agent-sr657sp7.js} +5 -5
- package/dist/chunks/{generate-wy0e5ct7.js → agent-ssvc2v8g.js} +18 -18
- package/dist/chunks/{generate-8k409zfd.js → agent-sx205xp2.js} +4 -4
- package/dist/chunks/{generate-fnp4h3kf.js → agent-sytrzq88.js} +18 -18
- package/dist/chunks/{generate-syv4x271.js → agent-syv4x271.js} +1 -1
- package/dist/chunks/{generate-ratrq7cm.js → agent-t2fc4mz5.js} +4 -4
- package/dist/chunks/{generate-jnem059t.js → agent-t6xdkxwv.js} +18 -18
- package/dist/chunks/{generate-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-48aqjxkx.js → agent-tcxg1jmc.js} +22 -22
- package/dist/chunks/{generate-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/{generate-xcd0eash.js → agent-tegs1ycp.js} +6 -6
- package/dist/chunks/{generate-85x58gzh.js → agent-tkw33k9w.js} +30 -30
- package/dist/chunks/{generate-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
- package/dist/chunks/{generate-tyytaxap.js → agent-tyytaxap.js} +1 -1
- package/dist/chunks/{generate-w919w76e.js → agent-tz35mf6x.js} +8 -8
- package/dist/chunks/{generate-v0es1rhs.js → agent-v0es1rhs.js} +2 -2
- package/dist/chunks/{generate-18845wm5.js → agent-v3dtcwjz.js} +15 -15
- package/dist/chunks/{generate-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
- package/dist/chunks/{generate-xqhar19x.js → agent-v9yt08hw.js} +16 -16
- package/dist/chunks/{generate-d72m3w4m.js → agent-vch9y4vj.js} +20 -20
- package/dist/chunks/{generate-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-ds2qfcyy.js → agent-vfy0p931.js} +6 -6
- package/dist/chunks/{generate-6yqf2094.js → agent-vk9vgbh1.js} +19 -19
- package/dist/chunks/{generate-fkjn3fdb.js → agent-vqhana6f.js} +21 -21
- package/dist/chunks/{generate-v4v0br85.js → agent-vwtghmt7.js} +12 -12
- package/dist/chunks/{generate-2ag2k7fv.js → agent-vy0s0sr4.js} +32 -32
- package/dist/chunks/{generate-8y991780.js → agent-vz2qmdjd.js} +42 -42
- package/dist/chunks/{generate-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-q41ybjg5.js → agent-w693ecfj.js} +10 -10
- package/dist/chunks/{generate-xs6tnz78.js → agent-w6htd7zh.js} +13 -13
- package/dist/chunks/{generate-kvk9zhmn.js → agent-w86b5zna.js} +21 -21
- package/dist/chunks/{generate-htf6sggk.js → agent-wa0x4va4.js} +4 -4
- package/dist/chunks/{generate-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{generate-gejnwnva.js → agent-wdpmkj9t.js} +11 -11
- package/dist/chunks/{generate-nj9bcvzn.js → agent-wetbxm0p.js} +9 -9
- package/dist/chunks/{generate-ang39x71.js → agent-wh82kep3.js} +3 -3
- package/dist/chunks/{generate-jm74df8m.js → agent-wha9pdbd.js} +15 -15
- package/dist/chunks/{generate-dq37mrqa.js → agent-wk28cg8h.js} +11 -11
- package/dist/chunks/{generate-fwwk8vbp.js → agent-wk5z6jzv.js} +9 -9
- package/dist/chunks/{generate-sfda3pmv.js → agent-wm327jek.js} +24 -24
- package/dist/chunks/{generate-bexysgkj.js → agent-wnjv9xrx.js} +7 -7
- package/dist/chunks/{generate-605983wd.js → agent-wqddz62t.js} +6 -6
- package/dist/chunks/{generate-h0js04z9.js → agent-wsrve659.js} +18 -18
- package/dist/chunks/{generate-jrckhh2g.js → agent-wxyjxjzj.js} +10 -10
- package/dist/chunks/{generate-dxb92a41.js → agent-wzhp1wyq.js} +11 -11
- package/dist/chunks/{generate-7tx5wnjn.js → agent-wzvjhsfb.js} +20 -20
- package/dist/chunks/{generate-qxc89awc.js → agent-x26hza9p.js} +13 -13
- package/dist/chunks/{generate-dvn0pkbj.js → agent-x3f89s44.js} +14 -14
- package/dist/chunks/{generate-had4kgfk.js → agent-xa3qyksy.js} +8 -8
- package/dist/chunks/{generate-7rfyzhr4.js → agent-xa8dcf8m.js} +11 -11
- package/dist/chunks/{generate-wrry1r48.js → agent-xaafse7q.js} +4 -4
- package/dist/chunks/{generate-21149sed.js → agent-xbzcmspy.js} +28 -28
- package/dist/chunks/{generate-j55hjvtx.js → agent-xq456m14.js} +1 -1
- package/dist/chunks/{generate-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-d9ts7e30.js → agent-y5hc63tf.js} +24 -24
- package/dist/chunks/{generate-dpkg50ah.js → agent-y71avatq.js} +4 -4
- package/dist/chunks/{generate-kj5e6n13.js → agent-y878v9rt.js} +52 -52
- package/dist/chunks/{generate-rt768fr5.js → agent-ya23ecyg.js} +42 -42
- package/dist/chunks/{generate-qjx1ax0j.js → agent-yd4bzqjj.js} +5 -5
- package/dist/chunks/{generate-03d3gpge.js → agent-ydp8h3rh.js} +27 -27
- package/dist/chunks/{generate-vsxaf637.js → agent-yfwvs8z7.js} +28 -28
- package/dist/chunks/{generate-gp62719s.js → agent-ym3sw0s1.js} +1 -1
- package/dist/chunks/{generate-sst3xwvk.js → agent-ynj5s4jx.js} +17 -17
- package/dist/chunks/{generate-4a50zq9s.js → agent-yzdd1q42.js} +45 -45
- package/dist/chunks/{generate-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-7d2a7xbs.js → agent-z2qbjhyn.js} +5 -5
- package/dist/chunks/{generate-6jfn6z1e.js → agent-ze38rjkb.js} +11 -11
- package/dist/chunks/{generate-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- 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 +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- 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 +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +91 -91
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/generate-7fj5dwt0.js +0 -18
- package/dist/chunks/generate-7rkfa3ca.js +0 -26
- package/dist/chunks/generate-s7fpnt2j.js +0 -253
- /package/dist/chunks/{generate-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{generate-pyv0edze.js → agent-pyv0edze.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-wxyjxjzj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./agent-v9yt08hw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service76
|
|
11
|
+
} from "./agent-dz5zw78w.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-kxy5hpjs.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-84v535vz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info21
|
|
24
|
+
} from "./agent-dm3nnk5j.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./agent-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./agent-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-0k12ygpv.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID13.openai;
|
|
47
|
+
var integrationID = ID14.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -179,8 +179,8 @@ function listen(server) {
|
|
|
179
179
|
var ChatGPTPlugin2 = define({
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
|
-
const bus = yield*
|
|
183
|
-
const credentials = yield*
|
|
182
|
+
const bus = yield* Service81;
|
|
183
|
+
const credentials = yield* Service76;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-fnmy9sw4.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-my4zabxr.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-1gpb38yh.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-s8d7rejh.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-hkffa77z.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./agent-n1n192bv.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./agent-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load5,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./agent-v9yt08hw.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-dm3nnk5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service16,
|
|
9
|
+
Event3
|
|
10
|
+
} from "./agent-0z54bg9x.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,8 +32,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
36
|
-
const bus = yield*
|
|
35
|
+
const modelsDev = yield* Service16;
|
|
36
|
+
const bus = yield* Service81;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
39
39
|
for (const provider of loaded.data) {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-0zh4dper.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./agent-3gt6es9n.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service39,
|
|
17
|
+
node: () => node42
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service39 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service78;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service39.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node42 = makeLocationNode({
|
|
91
|
+
service: Service39,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node82, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service39, node42, exports_formatter2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service31
|
|
7
|
+
} from "./agent-wm327jek.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-my4zabxr.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-1gpb38yh.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service31;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node7, exports_update };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./agent-0ytnbz4y.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service78,
|
|
13
|
+
node82
|
|
14
|
+
} from "./agent-3gt6es9n.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error2,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service31,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service31 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID4.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -147,14 +147,14 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service31.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node34 = makeLocationNode({
|
|
153
|
+
service: Service31,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer2 = Layer.succeed(
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -172,4 +172,4 @@ function failure(operation, cause) {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID4, Error2, Service31, node34, noopLayer2, exports_snapshot2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service40
|
|
4
|
+
} from "./agent-336bg453.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin14,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin14 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service40;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin40 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin14, exports_warming };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-7v8d6x1k.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-ym3sw0s1.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./agent-v9yt08hw.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./agent-3gt6es9n.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node71
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service67 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service81;
|
|
44
|
+
const location = yield* Service78;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service67.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node71 = makeLocationNode({ service: Service67, layer, deps: [node85, node82] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service67, node71, exports_rpc, define2 };
|