@opencode/core 0.0.0-beta-19288 → 0.0.0-beta-19289
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +81 -81
- package/dist/chunks/{location-jjmq01nn.js → rpc-04b36cpa.js} +36 -36
- package/dist/chunks/{location-77vyn52g.js → rpc-05hyq7v6.js} +32 -32
- package/dist/chunks/{location-hapt17z5.js → rpc-0c1xkqdk.js} +27 -27
- package/dist/chunks/{location-5892jdtn.js → rpc-0h54jqbs.js} +8 -8
- package/dist/chunks/{location-v4p0vwen.js → rpc-0h7m7rve.js} +11 -11
- package/dist/chunks/{location-1dfhrqqs.js → rpc-0hpxrkyb.js} +5 -5
- package/dist/chunks/{location-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-6y8723ne.js → rpc-0q73gbaw.js} +26 -26
- package/dist/chunks/{location-djxjwwc9.js → rpc-15v2jbpx.js} +12 -12
- package/dist/chunks/{location-p8vbaxe4.js → rpc-160bp6er.js} +26 -26
- package/dist/chunks/{location-bgeh6wn9.js → rpc-1acwhj11.js} +20 -20
- package/dist/chunks/{location-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-w1k39n5e.js → rpc-1hc11dc4.js} +4 -4
- package/dist/chunks/{location-t45krj2e.js → rpc-1p9hnvwm.js} +9 -9
- package/dist/chunks/{location-1x11rq2a.js → rpc-1x11rq2a.js} +1 -1
- package/dist/chunks/{location-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{location-2402vzrj.js → rpc-2402vzrj.js} +1 -1
- package/dist/chunks/{location-t97t2t7r.js → rpc-25yddx8d.js} +12 -12
- package/dist/chunks/{location-cy6spc12.js → rpc-28ysey72.js} +7 -7
- package/dist/chunks/{location-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-yg5x8fk4.js → rpc-2agmps7v.js} +12 -12
- package/dist/chunks/{location-d2412gps.js → rpc-2gzv1x1z.js} +18 -18
- package/dist/chunks/{location-4ycpd48q.js → rpc-2n7n6h49.js} +9 -9
- package/dist/chunks/{location-td52w80p.js → rpc-32ybvsf8.js} +20 -20
- package/dist/chunks/{location-cek2cznd.js → rpc-380vjcmd.js} +1 -1
- package/dist/chunks/{location-tz2p0jnc.js → rpc-392203pj.js} +41 -41
- package/dist/chunks/{location-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-bw60cda1.js → rpc-3g2tz5tg.js} +35 -35
- package/dist/chunks/{location-vqkn863g.js → rpc-3gf7mgb6.js} +18 -18
- package/dist/chunks/{location-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-eb6ejpsy.js → rpc-3p5z01cg.js} +15 -15
- package/dist/chunks/{location-rfnzy394.js → rpc-3q1jyqhd.js} +1 -1
- package/dist/chunks/{location-6cd6tdvt.js → rpc-3qdjr5ym.js} +6 -6
- package/dist/chunks/{location-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-6xkqp8dp.js → rpc-3vfpksxc.js} +8 -8
- package/dist/chunks/{location-jp8bt662.js → rpc-46ea3zw7.js} +20 -20
- package/dist/chunks/{location-9h3amn4q.js → rpc-4b6bntqd.js} +1 -1
- package/dist/chunks/{location-vxp3kcg3.js → rpc-4drgpw32.js} +5 -5
- package/dist/chunks/{location-p2fyd12k.js → rpc-4dw97hmp.js} +17 -17
- package/dist/chunks/{location-th0feps4.js → rpc-4hxqvqxk.js} +11 -11
- package/dist/chunks/{location-fzhxzx5q.js → rpc-4nfkbmq5.js} +24 -24
- package/dist/chunks/{location-34njjamc.js → rpc-4v4y0ay6.js} +10 -10
- package/dist/chunks/rpc-4ya6vrc4.js +22 -0
- package/dist/chunks/{location-x7728wc6.js → rpc-4zxzqmp0.js} +27 -27
- package/dist/chunks/{location-51e3a5p7.js → rpc-51e3a5p7.js} +2 -2
- package/dist/chunks/{location-9g2mmtg8.js → rpc-5a0ch1qz.js} +23 -23
- package/dist/chunks/{location-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{location-ac0cyhm9.js → rpc-5dqwwgx5.js} +41 -41
- package/dist/chunks/{location-t0x5rdq8.js → rpc-5kptn8c0.js} +9 -9
- package/dist/chunks/{location-8pa9qqqg.js → rpc-5qta70ca.js} +18 -18
- package/dist/chunks/{location-nxts4mre.js → rpc-5r1r91je.js} +22 -22
- package/dist/chunks/{location-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-dj7v5w9k.js → rpc-5vs4yzkb.js} +4 -4
- package/dist/chunks/{location-hnbxh1ec.js → rpc-63bt3mag.js} +2 -2
- package/dist/chunks/{location-d6x20h48.js → rpc-6680k98e.js} +34 -34
- package/dist/chunks/{location-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{location-v74jsawt.js → rpc-6dgk4twc.js} +32 -32
- package/dist/chunks/{location-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-4m2pmvxz.js → rpc-6sth7kcr.js} +6 -6
- package/dist/chunks/{location-2n69zwpj.js → rpc-71hg3n7c.js} +23 -23
- package/dist/chunks/{location-71q4at8m.js → rpc-71q4at8m.js} +1 -1
- package/dist/chunks/{location-apys6pqf.js → rpc-78hqr335.js} +4 -4
- package/dist/chunks/{location-q26tgv94.js → rpc-7b15y959.js} +8 -8
- package/dist/chunks/{location-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-qgn6gcr1.js → rpc-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-6h508dp1.js → rpc-7etk2hzb.js} +16 -16
- package/dist/chunks/{location-24xcqkxa.js → rpc-7g61tyhv.js} +13 -13
- package/dist/chunks/{location-6zyexpsp.js → rpc-7mqmxrx0.js} +13 -13
- package/dist/chunks/{location-r6yj4sg3.js → rpc-7rvtqatg.js} +11 -11
- package/dist/chunks/{location-xhg80140.js → rpc-7ryxtne2.js} +20 -20
- package/dist/chunks/{location-3rx2nwvc.js → rpc-7ybwwvvx.js} +3 -3
- package/dist/chunks/{location-9jbrb7s7.js → rpc-812pdnj9.js} +17 -17
- package/dist/chunks/{location-x1aqk77e.js → rpc-81k39a0h.js} +3 -3
- package/dist/chunks/{location-rqay9ghw.js → rpc-82mbhkby.js} +22 -22
- package/dist/chunks/{location-3280sxnm.js → rpc-848g7kq8.js} +3 -3
- package/dist/chunks/{location-zb0kem16.js → rpc-86azpgyb.js} +30 -30
- package/dist/chunks/{location-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-r8a1vay2.js → rpc-8eafbdk1.js} +9 -9
- package/dist/chunks/{location-1hfsjvjf.js → rpc-8kfkccvf.js} +19 -19
- package/dist/chunks/{location-p7tj0pd3.js → rpc-8kndfjmn.js} +17 -17
- package/dist/chunks/{location-8p4f9s12.js → rpc-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-n2qrf0kt.js → rpc-8qexswn4.js} +43 -43
- package/dist/chunks/{location-6wfj5a9a.js → rpc-8rmy5ya5.js} +6 -6
- package/dist/chunks/{location-dc76j9wz.js → rpc-8sghyhzw.js} +8 -8
- package/dist/chunks/{location-w54brc8f.js → rpc-8tjfcq3e.js} +8 -8
- package/dist/chunks/{location-dt587sme.js → rpc-9ej4f3gs.js} +33 -33
- package/dist/chunks/{location-7wpt1821.js → rpc-9ezh3pre.js} +16 -16
- package/dist/chunks/{location-e328z05c.js → rpc-9kgmhgf7.js} +18 -18
- package/dist/chunks/{location-81swgkk7.js → rpc-9pv0dm11.js} +9 -9
- package/dist/chunks/{location-a1bz86dw.js → rpc-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-g8d3gcyj.js → rpc-a2ew8a62.js} +7 -7
- package/dist/chunks/{location-nty3ym86.js → rpc-a5hqaec8.js} +5 -5
- package/dist/chunks/{location-g190xswt.js → rpc-a8bn8zg0.js} +4 -4
- package/dist/chunks/{location-gxr1dr9e.js → rpc-a8zr1srk.js} +8 -8
- package/dist/chunks/{location-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{location-jzx475sk.js → rpc-ad8rjs1d.js} +51 -51
- package/dist/chunks/{location-ap0kd4ae.js → rpc-aeget6rx.js} +15 -15
- package/dist/chunks/{location-g72gjvtz.js → rpc-ajzgx9s2.js} +8 -8
- package/dist/chunks/{location-e46r4s3c.js → rpc-at0srrj9.js} +11 -11
- package/dist/chunks/{location-pg1rtztb.js → rpc-ave7p2tf.js} +50 -50
- package/dist/chunks/{location-d36y1n73.js → rpc-ay95kvxt.js} +12 -12
- package/dist/chunks/{location-gj6r9tb3.js → rpc-aydj3jpn.js} +8 -8
- package/dist/chunks/{location-4ctep4ed.js → rpc-aykm855c.js} +14 -14
- package/dist/chunks/{location-m43qeqsy.js → rpc-b2jx7zxs.js} +1 -1
- package/dist/chunks/{location-y6498y89.js → rpc-b452245p.js} +17 -17
- package/dist/chunks/{location-39gsfx95.js → rpc-b4jtvy14.js} +24 -24
- package/dist/chunks/{location-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-mgcrt4av.js → rpc-bets30rh.js} +38 -38
- package/dist/chunks/{location-q221t5h0.js → rpc-bhm0wwej.js} +9 -9
- package/dist/chunks/{location-4n03wa3j.js → rpc-bnvsd47h.js} +29 -29
- package/dist/chunks/{location-7zmb2mwr.js → rpc-bvx334ga.js} +3 -3
- package/dist/chunks/{location-cfpkc3c9.js → rpc-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-kkedg04s.js → rpc-cknngr8n.js} +11 -11
- package/dist/chunks/{location-ph9kp892.js → rpc-cqyppt87.js} +5 -5
- package/dist/chunks/{location-07cpqq5c.js → rpc-cv3pfd1g.js} +28 -28
- package/dist/chunks/{location-37hegrs4.js → rpc-cy023x00.js} +13 -13
- package/dist/chunks/{location-5h99c1kf.js → rpc-d1gmhgze.js} +6 -6
- package/dist/chunks/rpc-d3edv76n.js +247 -0
- package/dist/chunks/{location-p72z5xx6.js → rpc-d9sn21bc.js} +2 -2
- package/dist/chunks/{location-9tk4atd8.js → rpc-dmky53ph.js} +15 -15
- package/dist/chunks/{location-1xnwpsdb.js → rpc-drf46963.js} +18 -18
- package/dist/chunks/{location-barpv3dv.js → rpc-dyy3hg9v.js} +28 -28
- package/dist/chunks/{location-xtbntpkm.js → rpc-e10pngcb.js} +7 -7
- package/dist/chunks/{location-afdssyjb.js → rpc-e2hjzebn.js} +4 -4
- package/dist/chunks/{location-3cxp5vcp.js → rpc-e6jkap1f.js} +4 -4
- package/dist/chunks/{location-t6dzybgg.js → rpc-efmeagt0.js} +14 -14
- package/dist/chunks/{location-mmx9f08p.js → rpc-ehz7tvfk.js} +40 -40
- package/dist/chunks/{location-81c9b8hz.js → rpc-enjqvhhk.js} +4 -4
- package/dist/chunks/{location-0zzhyfap.js → rpc-ermacy2g.js} +11 -11
- package/dist/chunks/{location-s7pvzq3g.js → rpc-escwhzbq.js} +20 -20
- package/dist/chunks/{location-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-t0fxg8b9.js → rpc-evbgk2k8.js} +5 -5
- package/dist/chunks/{location-f3wm46p4.js → rpc-f1qr80xv.js} +10 -10
- package/dist/chunks/{location-f828m53h.js → rpc-f828m53h.js} +2 -2
- package/dist/chunks/{location-9k0trt10.js → rpc-fd4fwae4.js} +11 -11
- package/dist/chunks/{location-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-8dr2m966.js → rpc-fypygjtf.js} +9 -9
- package/dist/chunks/{location-27xkhkzw.js → rpc-g0xjywn0.js} +22 -22
- package/dist/chunks/{location-61f9xf4r.js → rpc-ga3kzjxn.js} +5 -5
- package/dist/chunks/{location-a1qbdnb3.js → rpc-gaqsv9vz.js} +80 -80
- package/dist/chunks/{location-kqrx6mz9.js → rpc-gcbhdhgt.js} +28 -28
- package/dist/chunks/{location-ztj8pse5.js → rpc-gd1x23dm.js} +9 -9
- package/dist/chunks/{location-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-6qr3rp4k.js → rpc-gkk129yf.js} +6 -6
- package/dist/chunks/{location-2dqf8fez.js → rpc-gpjchng5.js} +4 -4
- package/dist/chunks/{location-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-h03wrkyp.js → rpc-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-yzcb4rs3.js → rpc-h0ddxr27.js} +7 -7
- package/dist/chunks/{location-q636n16a.js → rpc-h196em3s.js} +44 -44
- package/dist/chunks/{location-kkcepbrv.js → rpc-h1n238ac.js} +4 -4
- package/dist/chunks/{location-3v0ddjaj.js → rpc-h2t2tw2n.js} +8 -8
- package/dist/chunks/{location-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-nzwad44m.js → rpc-h8f3xwjj.js} +296 -296
- package/dist/chunks/{location-59m3ejf3.js → rpc-hav6ns8c.js} +11 -11
- package/dist/chunks/{location-95c54xjs.js → rpc-hemec0th.js} +39 -39
- package/dist/chunks/{location-bha4atvq.js → rpc-hfdr1yjj.js} +4 -4
- package/dist/chunks/{location-2ydbzgba.js → rpc-hjhqf936.js} +4 -4
- package/dist/chunks/{location-h9kgsp7e.js → rpc-hn6ar8tx.js} +30 -30
- package/dist/chunks/{location-v3xga481.js → rpc-hpwz0gyy.js} +9 -9
- package/dist/chunks/{location-essgt512.js → rpc-j0ewz58p.js} +87 -87
- package/dist/chunks/{location-zkt8qzze.js → rpc-j36g4ek5.js} +35 -35
- package/dist/chunks/{location-fvz0rdtn.js → rpc-j3xb24h1.js} +12 -12
- package/dist/chunks/{location-dwvzh0g2.js → rpc-j5208yae.js} +6 -6
- package/dist/chunks/{location-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{location-2f04pwep.js → rpc-j7wq2tw5.js} +3 -3
- package/dist/chunks/{location-xywxz97c.js → rpc-jh9q333t.js} +6 -6
- package/dist/chunks/{location-vma08mpn.js → rpc-jt8wkmq3.js} +16 -16
- package/dist/chunks/{location-7ny3kv6n.js → rpc-jtp7wgq3.js} +6 -6
- package/dist/chunks/{location-8t891vs4.js → rpc-jvhgncaf.js} +11 -11
- package/dist/chunks/{location-depwzj9d.js → rpc-jwx4y25k.js} +9 -9
- package/dist/chunks/{location-1kqd8z3g.js → rpc-k4ggf7wz.js} +6 -6
- package/dist/chunks/{location-nc3fjawf.js → rpc-kcwf74x3.js} +1 -1
- package/dist/chunks/{location-xwwz9aqf.js → rpc-keat3kjn.js} +4 -4
- package/dist/chunks/{location-kg06axw8.js → rpc-kg06axw8.js} +1 -1
- package/dist/chunks/{location-k1e9d5er.js → rpc-knpgx9zf.js} +13 -13
- package/dist/chunks/{location-r5paa9gw.js → rpc-kvvjzsre.js} +13 -13
- package/dist/chunks/{location-ejcg2d9c.js → rpc-kyf09390.js} +14 -14
- package/dist/chunks/{location-at3ax2rg.js → rpc-m2shnn4e.js} +24 -24
- package/dist/chunks/{location-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-33w4ejhs.js → rpc-mfqp6xfm.js} +9 -9
- package/dist/chunks/{location-mkcjrzeh.js → rpc-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-mhkvc446.js → rpc-mvfsc1pv.js} +3 -3
- package/dist/chunks/{location-gxbbas38.js → rpc-mwaq9hpm.js} +9 -9
- package/dist/chunks/{location-astwgj0c.js → rpc-mzvapydn.js} +14 -14
- package/dist/chunks/{location-gxq3v17r.js → rpc-n8w2n8mt.js} +15 -15
- package/dist/chunks/{location-jefma2gq.js → rpc-nbddwgy7.js} +10 -10
- package/dist/chunks/{location-nvpsz6mb.js → rpc-nh2r5jdq.js} +1 -1
- package/dist/chunks/{location-nhy5jxhy.js → rpc-nhy5jxhy.js} +1 -1
- package/dist/chunks/{location-vt07bx5r.js → rpc-nngsh4zc.js} +11 -11
- package/dist/chunks/{location-0bzsvv4f.js → rpc-ntefk5q2.js} +8 -8
- package/dist/chunks/{location-d5hy5d1s.js → rpc-nzwv9chv.js} +3 -3
- package/dist/chunks/{location-p44d8wdy.js → rpc-p44d8wdy.js} +2 -2
- package/dist/chunks/{location-qgzeej5c.js → rpc-pe8twcp1.js} +8 -8
- package/dist/chunks/{location-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-t2y4ag3j.js → rpc-pk8pw837.js} +17 -17
- package/dist/chunks/{location-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{location-jwye7syw.js → rpc-pqd1mzxt.js} +5 -5
- package/dist/chunks/{location-3rran09x.js → rpc-q1c4k7jk.js} +1 -1
- package/dist/chunks/{location-5kw0n2ma.js → rpc-q6d53jre.js} +8 -8
- package/dist/chunks/{location-22zgx542.js → rpc-q98kh21b.js} +6 -6
- package/dist/chunks/{location-q3m96704.js → rpc-qn236mkj.js} +30 -30
- package/dist/chunks/{location-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{location-w4arg62q.js → rpc-r33ff4dw.js} +6 -6
- package/dist/chunks/{location-bbd53drz.js → rpc-r4qn2xe9.js} +156 -156
- package/dist/chunks/{location-sx1n432n.js → rpc-r98e92ep.js} +4 -4
- package/dist/chunks/{location-a1z1dycg.js → rpc-rd1v4kcy.js} +23 -23
- package/dist/chunks/{location-r8xr0va3.js → rpc-rhraev7y.js} +4 -4
- package/dist/chunks/{location-wyam1r5m.js → rpc-rstnkd3y.js} +1 -1
- package/dist/chunks/{location-grrcjh3r.js → rpc-s0b2yntt.js} +9 -9
- package/dist/chunks/{location-7ny1t5fr.js → rpc-s2v4v98g.js} +21 -21
- package/dist/chunks/{location-eaj1djv9.js → rpc-s8d7rejh.js} +6 -6
- package/dist/chunks/{location-qa467n4w.js → rpc-s8rzfbyd.js} +3 -3
- package/dist/chunks/{location-vjv4gnc9.js → rpc-sa0a5p27.js} +24 -24
- package/dist/chunks/{location-bbwyhmbr.js → rpc-sf7x1fj7.js} +14 -14
- package/dist/chunks/{location-fw0f0qsw.js → rpc-sn0jzx2p.js} +46 -46
- package/dist/chunks/{location-qy2vc8de.js → rpc-st700yg7.js} +11 -11
- package/dist/chunks/{location-t4a9fvmm.js → rpc-sw4fypgs.js} +22 -22
- package/dist/chunks/{location-xpbp2ggf.js → rpc-t3de4bw4.js} +19 -19
- package/dist/chunks/{location-9enfn6ca.js → rpc-t4g30a11.js} +61 -61
- package/dist/chunks/{location-t21qt4wp.js → rpc-t4yvbv2m.js} +8 -8
- package/dist/chunks/{location-7zfdt07m.js → rpc-t5n4sn49.js} +10 -10
- package/dist/chunks/{location-xvs1sa11.js → rpc-t8r3ep1g.js} +5 -5
- package/dist/chunks/{location-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → rpc-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{location-sm589ezq.js → rpc-tf05515k.js} +30 -30
- package/dist/chunks/{location-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{location-66sq9ze3.js → rpc-twxs2vfq.js} +20 -20
- package/dist/chunks/{location-av62z334.js → rpc-tz3f8yzd.js} +35 -35
- package/dist/chunks/{location-m3g1yjqx.js → rpc-v3a8d439.js} +9 -9
- package/dist/chunks/{location-02hgpx06.js → rpc-v5wzvjc3.js} +7 -7
- package/dist/chunks/{location-41jkd1br.js → rpc-vazxcjns.js} +27 -27
- package/dist/chunks/{location-gwzbkwjt.js → rpc-vczw2nmh.js} +12 -12
- package/dist/chunks/{location-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{location-bjyyddbn.js → rpc-vj8a64wy.js} +11 -11
- package/dist/chunks/{location-nc09bz1g.js → rpc-vj8jh5p3.js} +26 -26
- package/dist/chunks/{location-0dh601sh.js → rpc-vjcp5cnv.js} +9 -9
- package/dist/chunks/{location-9zb490gy.js → rpc-vpzh5kyk.js} +10 -10
- package/dist/chunks/{location-k74qewf5.js → rpc-vwhnhdwa.js} +12 -12
- package/dist/chunks/{location-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-2erkhkk3.js → rpc-w07mqhec.js} +33 -33
- package/dist/chunks/{location-k7d0894y.js → rpc-w12rp218.js} +3 -3
- package/dist/chunks/{location-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-0njzyrny.js → rpc-w7jvtf3d.js} +23 -23
- package/dist/chunks/{location-atdh1fr1.js → rpc-w8gexp6v.js} +30 -30
- package/dist/chunks/{location-yjptyezs.js → rpc-wbkyxrgf.js} +5 -5
- package/dist/chunks/{location-3xt2dn0n.js → rpc-wcc6gayv.js} +14 -14
- package/dist/chunks/{location-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{location-dsd22mfz.js → rpc-wgktjw56.js} +3 -3
- package/dist/chunks/{location-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-x43y2vfs.js → rpc-x43y2vfs.js} +2 -2
- package/dist/chunks/{location-2699pam8.js → rpc-x8jcsx7d.js} +29 -29
- package/dist/chunks/{location-gsx0ryk4.js → rpc-xekzrwwc.js} +9 -9
- package/dist/chunks/{location-dtyxkw1z.js → rpc-xhfcg5z5.js} +27 -27
- package/dist/chunks/{location-akj0j9h5.js → rpc-xp7stfgp.js} +2 -2
- package/dist/chunks/{location-fmxbrafm.js → rpc-xsdh20fb.js} +5 -5
- package/dist/chunks/{location-v75cpdd6.js → rpc-xzda1vkx.js} +15 -15
- package/dist/chunks/{location-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-ydpmm19b.js → rpc-y4ze8nqa.js} +18 -18
- package/dist/chunks/{location-qfrw2mns.js → rpc-y53bff5k.js} +15 -15
- package/dist/chunks/{location-y71avatq.js → rpc-y71avatq.js} +1 -1
- package/dist/chunks/{location-7w1wksne.js → rpc-yk9e0cpf.js} +4 -4
- package/dist/chunks/{location-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{location-nrg6p0d7.js → rpc-z03wer5m.js} +22 -22
- package/dist/chunks/{location-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-7x5129vx.js → rpc-z152v5gf.js} +15 -15
- package/dist/chunks/{location-z63w68vq.js → rpc-z63w68vq.js} +2 -2
- package/dist/chunks/{location-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-x8pfpgt4.js → rpc-zej54b25.js} +9 -9
- package/dist/chunks/{location-xgcvvaqd.js → rpc-zfytcyng.js} +4 -4
- package/dist/chunks/{location-9k1y1b4w.js → rpc-zg0hmsgg.js} +6 -6
- package/dist/chunks/{location-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-5dgmpcyt.js → rpc-zr9h837b.js} +20 -20
- package/dist/chunks/{location-0yq2vxwx.js → rpc-zvrat7w3.js} +26 -26
- package/dist/chunks/{location-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-nmxf6tf3.js → rpc-zymgq775.js} +25 -25
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +84 -84
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +74 -74
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +216 -216
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- 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 +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- 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 +11 -11
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +113 -113
- 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 +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- 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 +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +73 -73
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/location-cbzcwh25.js +0 -22
- package/dist/chunks/location-w6mxp700.js +0 -247
- /package/dist/chunks/{location-0mesazry.js → rpc-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a1tpkmh4.js → rpc-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{location-hrnqkpcd.js → rpc-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-paphc93g.js → rpc-paphc93g.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → rpc-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./rpc-7etk2hzb.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-escwhzbq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin19,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin19 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service75;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin19, exports_hg };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-fd4fwae4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-zfytcyng.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./rpc-w8gexp6v.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-dyy3hg9v.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID11,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-jtp7wgq3.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./rpc-e10pngcb.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID11.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const tokens = new Map;
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID11.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID11.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID11.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(
|
|
170
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
|
-
if (evt.model.providerID !==
|
|
172
|
+
if (evt.model.providerID !== ID11.azure)
|
|
173
173
|
return;
|
|
174
|
-
const connection = yield* ctx.integration.connection.active(
|
|
174
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
175
175
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
})) : undefined;
|
|
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID11.azure });
|
|
188
188
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
189
189
|
if (evt.package !== "@ai-sdk/azure")
|
|
190
190
|
return;
|
|
191
|
-
if (evt.model.providerID ===
|
|
191
|
+
if (evt.model.providerID === ID11.azure) {
|
|
192
192
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
193
193
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
194
194
|
}
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
evt.sdk = mod.createAzure(evt.options);
|
|
198
198
|
}));
|
|
199
199
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
200
|
-
if (evt.model.providerID !==
|
|
200
|
+
if (evt.model.providerID !== ID11.azure)
|
|
201
201
|
return;
|
|
202
202
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
203
203
|
}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./rpc-7etk2hzb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -23,7 +23,7 @@ var names4 = ["opencode.json", "opencode.jsonc"];
|
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service75;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID15,
|
|
3
|
+
Info29,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-j7wq2tw5.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-s8rzfbyd.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service79,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-zfytcyng.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node81
|
|
21
|
+
} from "./rpc-bets30rh.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service59,
|
|
24
|
+
node64
|
|
25
|
+
} from "./rpc-6sth7kcr.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./rpc-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./rpc-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node62
|
|
34
|
+
} from "./rpc-8kfkccvf.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./rpc-hfdr1yjj.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./rpc-dmky53ph.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./rpc-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node23
|
|
47
|
+
} from "./rpc-5qta70ca.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node53
|
|
51
|
+
} from "./rpc-fd4fwae4.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -64,50 +64,50 @@ import {
|
|
|
64
64
|
BusyError2,
|
|
65
65
|
InboxConflictError2,
|
|
66
66
|
SkillNotFoundError2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./rpc-w12rp218.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
69
|
+
ListInput4,
|
|
70
|
+
Service71,
|
|
71
|
+
node76
|
|
72
|
+
} from "./rpc-sf7x1fj7.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service60,
|
|
75
|
+
node65
|
|
76
|
+
} from "./rpc-vczw2nmh.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
78
|
+
Service55,
|
|
79
|
+
node61
|
|
80
|
+
} from "./rpc-6680k98e.js";
|
|
81
81
|
import {
|
|
82
82
|
llmClient2
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./rpc-5t3nmthw.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
85
|
+
Service25,
|
|
86
|
+
node30
|
|
87
|
+
} from "./rpc-cknngr8n.js";
|
|
88
88
|
import {
|
|
89
89
|
generate3
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./rpc-2agmps7v.js";
|
|
91
91
|
import {
|
|
92
92
|
execute2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./rpc-t4yvbv2m.js";
|
|
94
94
|
import {
|
|
95
95
|
DestinationNotFoundError2,
|
|
96
96
|
DestinationNotDirectoryError2,
|
|
97
97
|
DestinationUnavailableError2,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
} from "./
|
|
98
|
+
Service18,
|
|
99
|
+
node22
|
|
100
|
+
} from "./rpc-ad8rjs1d.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
} from "./
|
|
102
|
+
Service40,
|
|
103
|
+
node44
|
|
104
|
+
} from "./rpc-0h54jqbs.js";
|
|
105
105
|
import {
|
|
106
106
|
make12
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./rpc-gcbhdhgt.js";
|
|
108
108
|
import {
|
|
109
109
|
__export
|
|
110
|
-
} from "./
|
|
110
|
+
} from "./rpc-9rqn6x4v.js";
|
|
111
111
|
|
|
112
112
|
// src/session.ts
|
|
113
113
|
var exports_session = {};
|
|
@@ -118,11 +118,11 @@ __export(exports_session, {
|
|
|
118
118
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
119
119
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
120
120
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
121
|
-
ID: () =>
|
|
121
|
+
ID: () => ID15,
|
|
122
122
|
InboxConflictError: () => InboxConflictError2,
|
|
123
|
-
Info: () =>
|
|
123
|
+
Info: () => Info29,
|
|
124
124
|
ListAnchor: () => ListAnchor2,
|
|
125
|
-
ListInput: () =>
|
|
125
|
+
ListInput: () => ListInput2,
|
|
126
126
|
MessageDecodeError: () => MessageDecodeError2,
|
|
127
127
|
MessageIncompleteError: () => MessageIncompleteError2,
|
|
128
128
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
@@ -130,12 +130,12 @@ __export(exports_session, {
|
|
|
130
130
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
131
131
|
NotFoundError: () => NotFoundError9,
|
|
132
132
|
PromptConflictError: () => PromptConflictError2,
|
|
133
|
-
Service: () =>
|
|
133
|
+
Service: () => Service17,
|
|
134
134
|
Session: () => exports_session,
|
|
135
135
|
SessionSchema: () => SessionSchema2,
|
|
136
136
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
137
137
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
138
|
-
node: () =>
|
|
138
|
+
node: () => node21
|
|
139
139
|
});
|
|
140
140
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
141
141
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -145,26 +145,26 @@ import { Model } from "@opencode/schema/model";
|
|
|
145
145
|
import path from "path";
|
|
146
146
|
import { Node } from "@opencode/util/effect/app-node";
|
|
147
147
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
148
|
-
var
|
|
149
|
-
class
|
|
148
|
+
var ListInput2 = ListInput4;
|
|
149
|
+
class Service17 extends Context.Service()("@opencode/Session") {
|
|
150
150
|
}
|
|
151
|
-
var layer = Layer.effect(
|
|
151
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
152
152
|
const app = yield* Metadata2;
|
|
153
153
|
const database = yield* Service80;
|
|
154
154
|
const db = database.db;
|
|
155
155
|
const bus = yield* Service79;
|
|
156
|
-
const projects = yield*
|
|
157
|
-
const execution = yield*
|
|
156
|
+
const projects = yield* Service76;
|
|
157
|
+
const execution = yield* Service55;
|
|
158
158
|
const llm = yield* LLMClient.Service;
|
|
159
|
-
const transport = yield*
|
|
160
|
-
const store = yield*
|
|
161
|
-
const instances = yield*
|
|
162
|
-
const moves = yield*
|
|
163
|
-
const jobs = yield*
|
|
164
|
-
const environments = yield*
|
|
159
|
+
const transport = yield* Service25;
|
|
160
|
+
const store = yield* Service71;
|
|
161
|
+
const instances = yield* Service59;
|
|
162
|
+
const moves = yield* Service18;
|
|
163
|
+
const jobs = yield* Service60;
|
|
164
|
+
const environments = yield* Service40;
|
|
165
165
|
const sessions = yield* make12();
|
|
166
166
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
167
|
-
const result =
|
|
167
|
+
const result = Service17.of({
|
|
168
168
|
create: Effect.fn("Session.create")(function* (input) {
|
|
169
169
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
170
170
|
const recorded = yield* store.get(sessionID);
|
|
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
266
266
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
267
267
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
268
268
|
const session = yield* result.get(input.sessionID);
|
|
269
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
269
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
|
|
270
270
|
}),
|
|
271
271
|
command: Effect.fn("Session.command")(function* (input) {
|
|
272
272
|
const session = yield* result.get(input.sessionID);
|
|
273
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
273
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service59, instances));
|
|
274
274
|
}),
|
|
275
275
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
276
276
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
310
310
|
});
|
|
311
311
|
return result;
|
|
312
312
|
}));
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node21 = Node.makeGlobalNode({
|
|
314
|
+
service: Service17,
|
|
315
315
|
layer,
|
|
316
316
|
deps: [
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
node65,
|
|
318
|
+
node44,
|
|
319
319
|
node85,
|
|
320
320
|
node84,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
321
|
+
node81,
|
|
322
|
+
node61,
|
|
323
|
+
node30,
|
|
324
324
|
llmClient2,
|
|
325
|
-
|
|
326
|
-
node65,
|
|
325
|
+
node76,
|
|
327
326
|
node64,
|
|
328
|
-
|
|
329
|
-
|
|
327
|
+
node62,
|
|
328
|
+
node22,
|
|
329
|
+
node23,
|
|
330
330
|
FSUtil.node,
|
|
331
|
-
|
|
331
|
+
node53
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { ListAnchor2,
|
|
335
|
+
export { ListAnchor2, ListInput2, Service17, node21, exports_session };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-s8rzfbyd.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-zfytcyng.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./rpc-6sth7kcr.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
MessageNotFoundError2,
|
|
@@ -24,38 +24,38 @@ import {
|
|
|
24
24
|
CompactionConflictError2,
|
|
25
25
|
BusyError2,
|
|
26
26
|
InboxConflictError2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./rpc-w12rp218.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionEvent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-ec1grn59.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service71
|
|
33
|
+
} from "./rpc-sf7x1fj7.js";
|
|
34
34
|
import {
|
|
35
35
|
Delivery2,
|
|
36
36
|
SyntheticPayload2,
|
|
37
|
-
Service59
|
|
38
|
-
} from "./location-1hfsjvjf.js";
|
|
39
|
-
import {
|
|
40
37
|
Service57
|
|
41
|
-
} from "./
|
|
38
|
+
} from "./rpc-8kfkccvf.js";
|
|
39
|
+
import {
|
|
40
|
+
Service55
|
|
41
|
+
} from "./rpc-6680k98e.js";
|
|
42
42
|
import {
|
|
43
43
|
prepare2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./rpc-aykm855c.js";
|
|
45
45
|
import {
|
|
46
46
|
stage2,
|
|
47
47
|
clear2,
|
|
48
48
|
commit2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./rpc-46ea3zw7.js";
|
|
50
50
|
import {
|
|
51
51
|
start2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./rpc-vjcp5cnv.js";
|
|
53
53
|
import {
|
|
54
54
|
get4
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./rpc-bhm0wwej.js";
|
|
56
56
|
import {
|
|
57
57
|
__export
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./rpc-9rqn6x4v.js";
|
|
59
59
|
|
|
60
60
|
// src/session/session.ts
|
|
61
61
|
var exports_session2 = {};
|
|
@@ -69,10 +69,10 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
69
69
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
70
70
|
const bus = yield* Service79;
|
|
71
71
|
const database = yield* Service80;
|
|
72
|
-
const store = yield*
|
|
73
|
-
const instances = yield*
|
|
74
|
-
const execution = yield*
|
|
75
|
-
const admission = yield*
|
|
72
|
+
const store = yield* Service71;
|
|
73
|
+
const instances = yield* Service59;
|
|
74
|
+
const execution = yield* Service55;
|
|
75
|
+
const admission = yield* Service57;
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
77
77
|
const scope = yield* Scope.Scope;
|
|
78
78
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -154,7 +154,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
154
154
|
});
|
|
155
155
|
if (existing)
|
|
156
156
|
return existing;
|
|
157
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
157
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service59, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
158
158
|
if (session.revert)
|
|
159
159
|
yield* commit2(bus, session);
|
|
160
160
|
return yield* admission.admit({
|
|
@@ -170,7 +170,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
170
170
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
171
171
|
const session = yield* get(sessionID);
|
|
172
172
|
const running = yield* Effect.gen(function* () {
|
|
173
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
173
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service59, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
174
174
|
text: `User shell command failed to start:
|
|
175
175
|
${input.command}
|
|
176
176
|
|
|
@@ -199,7 +199,7 @@ ${error.message}`,
|
|
|
199
199
|
});
|
|
200
200
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
201
201
|
const session = yield* get(sessionID);
|
|
202
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
202
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service59, instances));
|
|
203
203
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
204
204
|
sessionID,
|
|
205
205
|
id: skill.id,
|
|
@@ -256,13 +256,13 @@ ${error.message}`,
|
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
259
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
|
|
260
260
|
});
|
|
261
261
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
262
262
|
const session = yield* get(sessionID);
|
|
263
263
|
if (yield* execution.isActive(sessionID))
|
|
264
264
|
return yield* new BusyError2({ sessionID });
|
|
265
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
265
|
+
yield* clear2(session).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service79, bus));
|
|
266
266
|
return yield* execution.wake(sessionID);
|
|
267
267
|
});
|
|
268
268
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-s8rzfbyd.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
17
|
Info: () => Info27,
|
|
18
|
-
ListInput: () =>
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
20
|
Service: () => Service72,
|
|
21
21
|
node: () => node77
|
|
@@ -25,9 +25,9 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
29
|
var Info27 = PermissionSaved.Info;
|
|
30
|
-
var
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID13.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -66,4 +66,4 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
66
66
|
}));
|
|
67
67
|
var node77 = makeGlobalNode({ service: Service72, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID13, Info27, ListInput5, AddInput2, Service72, node77, exports_saved };
|