@opencode/core 0.0.0-dev-19939 → 0.0.0-dev-19959
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{agent-vhvn8xxs.js → worktree-00npq5hg.js} +42 -42
- package/dist/chunks/{agent-c0mr470r.js → worktree-03513dpk.js} +13 -13
- package/dist/chunks/{agent-348gb89b.js → worktree-0ahhqjdx.js} +22 -22
- package/dist/chunks/{agent-6hvxcsy0.js → worktree-0edr8emb.js} +8 -8
- package/dist/chunks/{agent-2d57kztd.js → worktree-0ft9cg2j.js} +4 -4
- package/dist/chunks/{agent-rhjbct0v.js → worktree-0gdmqesm.js} +4 -4
- package/dist/chunks/worktree-0mesazry.js +4 -0
- package/dist/chunks/{agent-vfyx1xy1.js → worktree-0mkssq3p.js} +24 -24
- package/dist/chunks/{agent-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{agent-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{agent-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{agent-zqq6ndec.js → worktree-1mq78cxw.js} +38 -38
- package/dist/chunks/{agent-edf18fwt.js → worktree-1nd760hn.js} +23 -23
- package/dist/chunks/{agent-3y8yawqa.js → worktree-1p2ds4p0.js} +11 -11
- package/dist/chunks/{agent-81eajdsq.js → worktree-1qsv2vsq.js} +21 -21
- package/dist/chunks/{agent-yhykjk6q.js → worktree-1r0y6anp.js} +25 -25
- package/dist/chunks/{agent-w9rjmhg2.js → worktree-1sfwps64.js} +15 -15
- package/dist/chunks/{agent-5e7r050g.js → worktree-21cb4yfq.js} +1 -1
- package/dist/chunks/{agent-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{agent-zwmb00wq.js → worktree-22da35st.js} +17 -17
- package/dist/chunks/{agent-1qyqkqe4.js → worktree-27w3txew.js} +14 -14
- package/dist/chunks/{agent-8qvkbm9p.js → worktree-28d8znnm.js} +4 -4
- package/dist/chunks/{agent-k8awv4zh.js → worktree-2993mdqz.js} +5 -5
- package/dist/chunks/{agent-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{agent-d4sp9rf7.js → worktree-2hz0qpna.js} +12 -14
- package/dist/chunks/{agent-rvs7jmzp.js → worktree-2k92p94a.js} +50 -50
- package/dist/chunks/{agent-zh9a0jmt.js → worktree-2w250fb9.js} +9 -9
- package/dist/chunks/{agent-zryg9yjn.js → worktree-2yyeacqq.js} +18 -18
- package/dist/chunks/{agent-afbgadfc.js → worktree-2zj1evwc.js} +28 -28
- package/dist/chunks/{agent-eqfk2yd1.js → worktree-32g4c5x7.js} +8 -8
- package/dist/chunks/{agent-03heh432.js → worktree-33gh8jtn.js} +37 -37
- package/dist/chunks/{agent-1ygqh575.js → worktree-33w4ejhs.js} +6 -6
- package/dist/chunks/{agent-3g2nmk79.js → worktree-36g34y2m.js} +28 -28
- package/dist/chunks/{agent-5sqqcv2m.js → worktree-3885gykz.js} +24 -24
- package/dist/chunks/{agent-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{agent-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/worktree-3p652h0e.js +26 -0
- package/dist/chunks/{agent-2e96adxv.js → worktree-3s810fg1.js} +6 -6
- package/dist/chunks/{agent-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{agent-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{agent-y5df08dr.js → worktree-421r5d5v.js} +12 -12
- package/dist/chunks/{agent-v452jk09.js → worktree-45hwf2ve.js} +16 -16
- package/dist/chunks/{agent-x9s20f53.js → worktree-46dahfew.js} +47 -47
- package/dist/chunks/{agent-cwp77bqy.js → worktree-486a1zpr.js} +15 -15
- package/dist/chunks/{agent-5544h6er.js → worktree-4947sgj4.js} +10 -10
- package/dist/chunks/{agent-wyx8ky32.js → worktree-4wx50nne.js} +12 -12
- package/dist/chunks/{agent-5taftw3n.js → worktree-51a1jr9z.js} +9 -9
- package/dist/chunks/{agent-q06j225y.js → worktree-54h1gy1n.js} +32 -32
- package/dist/chunks/{agent-ggcsatw5.js → worktree-58rxp6d3.js} +5 -5
- package/dist/chunks/{agent-5c4hm403.js → worktree-5c4hm403.js} +3 -3
- package/dist/chunks/{agent-ymf79dpk.js → worktree-5ca5497x.js} +4 -4
- package/dist/chunks/{agent-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{agent-q2q7z127.js → worktree-5dmcr3b1.js} +27 -27
- package/dist/chunks/{agent-qby9dwvd.js → worktree-5eer2xf9.js} +4 -4
- package/dist/chunks/{agent-nng2ktcm.js → worktree-5frpvc34.js} +2 -2
- package/dist/chunks/{agent-bp4eqg1s.js → worktree-5gq0j8y6.js} +40 -40
- package/dist/chunks/{agent-g3dvzzsn.js → worktree-5gvw5jwx.js} +17 -17
- package/dist/chunks/{agent-dv98y0zm.js → worktree-5kq5qec8.js} +30 -30
- package/dist/chunks/{agent-h6r3nrb9.js → worktree-5mtzsd3b.js} +4 -4
- package/dist/chunks/{agent-p3gycn8b.js → worktree-5pdqrmgg.js} +13 -13
- package/dist/chunks/{agent-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{agent-bcwpxhz1.js → worktree-5w1b7248.js} +5 -5
- package/dist/chunks/worktree-619r8v3y.js +18 -0
- package/dist/chunks/{agent-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{agent-mjq5y8n2.js → worktree-6f8fr4j0.js} +5 -5
- package/dist/chunks/{agent-5h6kfehj.js → worktree-6ggbzja4.js} +5 -5
- package/dist/chunks/{agent-2402vzrj.js → worktree-6h73sxmp.js} +5 -5
- package/dist/chunks/{agent-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{agent-7z7az0f5.js → worktree-6rjq4ad6.js} +4 -4
- package/dist/chunks/{agent-gsdsh762.js → worktree-6rywya1e.js} +9 -9
- package/dist/chunks/{agent-4ns3h2re.js → worktree-6wg7wrda.js} +6 -6
- package/dist/chunks/{agent-57ez7d0k.js → worktree-6x0h2hvg.js} +9 -9
- package/dist/chunks/{agent-ykcyj6g6.js → worktree-6xtgx1bn.js} +3 -3
- package/dist/chunks/worktree-6ysrkrkr.js +28 -0
- package/dist/chunks/{agent-36x1j5qv.js → worktree-77aa2ptm.js} +8 -8
- package/dist/chunks/{agent-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-2k8khapm.js → worktree-7dqw4kz8.js} +5 -5
- package/dist/chunks/{agent-fex5691d.js → worktree-7jx0v3wz.js} +11 -11
- package/dist/chunks/{agent-d6jhtwvw.js → worktree-7k8hwkm4.js} +20 -20
- package/dist/chunks/{agent-py6xadtm.js → worktree-7x8vr9wx.js} +31 -31
- package/dist/chunks/{agent-pb1eahw5.js → worktree-818pfwc9.js} +8 -8
- package/dist/chunks/{agent-hvge4a7b.js → worktree-83da929p.js} +29 -29
- package/dist/chunks/{agent-h6b8nah8.js → worktree-87tqv0m9.js} +4 -4
- package/dist/chunks/{agent-85xfn293.js → worktree-899bmpw2.js} +6 -6
- package/dist/chunks/{agent-00x4qneg.js → worktree-8aaqm6qj.js} +4 -4
- package/dist/chunks/{agent-vk3p7bbt.js → worktree-8c88k4y9.js} +11 -11
- package/dist/chunks/{agent-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{agent-ynx1zemv.js → worktree-8dged86n.js} +23 -23
- package/dist/chunks/{agent-7w99qc9d.js → worktree-8q7cq0y1.js} +3 -3
- package/dist/chunks/{agent-9kz8gdr8.js → worktree-940d36ge.js} +12 -12
- package/dist/chunks/{agent-rbbtr4pm.js → worktree-97qjdx9c.js} +39 -22
- package/dist/chunks/{agent-geknskw0.js → worktree-9aeamryp.js} +26 -26
- package/dist/chunks/{agent-r8d6a4tf.js → worktree-9ftphk66.js} +18 -18
- package/dist/chunks/{agent-m0cf690c.js → worktree-9vmxtf8m.js} +17 -17
- package/dist/chunks/{agent-kcjc17br.js → worktree-9wg8f7rp.js} +16 -16
- package/dist/chunks/{agent-gf7f2369.js → worktree-9yk5tkmn.js} +8 -8
- package/dist/chunks/{agent-1t7nvzsm.js → worktree-a3w3ek2p.js} +10 -10
- package/dist/chunks/{agent-xryzejns.js → worktree-a70dqpwr.js} +5 -5
- package/dist/chunks/{agent-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{agent-c85qzh5t.js → worktree-ab5e65y7.js} +18 -18
- package/dist/chunks/{agent-nxnb0v57.js → worktree-adrjdcdv.js} +5 -5
- package/dist/chunks/{agent-xydn9a3q.js → worktree-ae05hxc9.js} +54 -54
- package/dist/chunks/{agent-8r83crvb.js → worktree-ag8e42mr.js} +26 -26
- package/dist/chunks/{agent-xgec815d.js → worktree-akvwcqv3.js} +27 -27
- package/dist/chunks/{agent-dxk73e61.js → worktree-anv5cbp8.js} +8 -8
- package/dist/chunks/{agent-43zyxgq8.js → worktree-asqy4pdp.js} +1 -1
- package/dist/chunks/{agent-sv3vsz9b.js → worktree-awaee7qt.js} +6 -6
- package/dist/chunks/{agent-5758n57s.js → worktree-az11wfvr.js} +14 -14
- package/dist/chunks/{agent-ww76mnf4.js → worktree-b04n12yt.js} +37 -37
- package/dist/chunks/{agent-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{agent-k7myrtme.js → worktree-b6xy6jda.js} +9 -9
- package/dist/chunks/{agent-xy5p8xg6.js → worktree-bc773w9a.js} +23 -23
- package/dist/chunks/{agent-fab8hzt3.js → worktree-bg2gq5qa.js} +4 -4
- package/dist/chunks/{agent-40ttqsg0.js → worktree-bw8gdwks.js} +8 -8
- package/dist/chunks/{agent-1jqm4hqw.js → worktree-c282yhkm.js} +41 -41
- package/dist/chunks/{agent-wh950sxe.js → worktree-ccenzmm6.js} +10 -10
- package/dist/chunks/{agent-d2aac7k2.js → worktree-cr07tj7n.js} +5 -5
- package/dist/chunks/{agent-phr2avsp.js → worktree-d5z19hk1.js} +10 -10
- package/dist/chunks/{agent-qyjnxv1z.js → worktree-d96qny3q.js} +5 -5
- package/dist/chunks/{agent-5pvas20d.js → worktree-depwh34e.js} +9 -9
- package/dist/chunks/{agent-e4q8186z.js → worktree-dg6kkwqt.js} +3 -3
- package/dist/chunks/{agent-dj2t23y0.js → worktree-dj2t23y0.js} +2 -2
- package/dist/chunks/{agent-6hft2jmv.js → worktree-dn7365jx.js} +4 -4
- package/dist/chunks/{agent-g71wmdzk.js → worktree-dnjvrtng.js} +178 -178
- package/dist/chunks/{agent-y71avatq.js → worktree-dpkg50ah.js} +4 -4
- package/dist/chunks/{agent-xfkkasph.js → worktree-drwq78ky.js} +4 -4
- package/dist/chunks/{agent-bd3mgvaw.js → worktree-dvxrp605.js} +8 -8
- package/dist/chunks/{agent-5dr2wz0s.js → worktree-e01ptnw8.js} +4 -4
- package/dist/chunks/{agent-fkf189j2.js → worktree-e47wcd5s.js} +7 -7
- package/dist/chunks/{agent-vg3tvwdk.js → worktree-ebmcp6jg.js} +20 -20
- package/dist/chunks/{agent-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-r23bba5b.js → worktree-efqd9j5j.js} +30 -30
- package/dist/chunks/{agent-z24rsk7e.js → worktree-epqzss3m.js} +37 -37
- package/dist/chunks/{agent-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
- package/dist/chunks/{agent-1qsp6rhw.js → worktree-esh8snah.js} +43 -43
- package/dist/chunks/{agent-xr4jxd3n.js → worktree-etkky4xb.js} +21 -21
- package/dist/chunks/{agent-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{agent-3w2b2yj4.js → worktree-evbgk2k8.js} +5 -5
- package/dist/chunks/{agent-y68y97fv.js → worktree-evq1m25b.js} +11 -11
- package/dist/chunks/{agent-psw0wqrt.js → worktree-ex22b358.js} +24 -24
- package/dist/chunks/{agent-7t7d5q2p.js → worktree-f7ehr1hv.js} +6 -6
- package/dist/chunks/{agent-pstg3rfm.js → worktree-fch79rh9.js} +1 -1
- package/dist/chunks/{agent-sr79cq9d.js → worktree-fd7j5y5t.js} +11 -11
- package/dist/chunks/{agent-k9kj6xed.js → worktree-fkjmw100.js} +2 -2
- package/dist/chunks/{agent-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{agent-na3cbkd8.js → worktree-g0jbnnkv.js} +30 -30
- package/dist/chunks/{agent-magykp64.js → worktree-g190xswt.js} +4 -4
- package/dist/chunks/{agent-ercet7pm.js → worktree-g2swn6b7.js} +23 -23
- package/dist/chunks/{agent-ak1tpw6q.js → worktree-g2xawn2z.js} +2 -2
- package/dist/chunks/{agent-abxv7css.js → worktree-g3jdw4qe.js} +11 -11
- package/dist/chunks/{agent-75hzh59n.js → worktree-g91wcgpj.js} +4 -4
- package/dist/chunks/{agent-178916dd.js → worktree-g9p6zv33.js} +8 -8
- package/dist/chunks/{agent-cpvt4mkc.js → worktree-ganm2r9k.js} +3 -3
- package/dist/chunks/{agent-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{agent-nrm6eza0.js → worktree-gdexxn2e.js} +6 -6
- package/dist/chunks/{agent-vwpw6jr3.js → worktree-gsnqjxmg.js} +31 -31
- package/dist/chunks/{agent-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{agent-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{agent-hdnk95c8.js → worktree-hdnk95c8.js} +2 -2
- package/dist/chunks/{agent-273f65v8.js → worktree-hepbeetm.js} +33 -33
- package/dist/chunks/{agent-vgmb0hzp.js → worktree-hjxmeyjq.js} +21 -21
- package/dist/chunks/{agent-dv7xn15p.js → worktree-hmcspfjz.js} +19 -19
- package/dist/chunks/{agent-2ajemesj.js → worktree-hxmf60ar.js} +25 -25
- package/dist/chunks/{agent-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{agent-9gfem6tc.js → worktree-j6fv3d6x.js} +3 -3
- package/dist/chunks/{agent-1mhtqdf9.js → worktree-j6q6f4de.js} +38 -37
- package/dist/chunks/{agent-xxcf9j2r.js → worktree-j7fts5t0.js} +8 -8
- package/dist/chunks/{agent-t9zs3egg.js → worktree-j83byb14.js} +4 -4
- package/dist/chunks/{agent-y8zr9mrm.js → worktree-jc7s5yzp.js} +11 -11
- package/dist/chunks/{agent-2yc73x9z.js → worktree-jpz4t714.js} +13 -13
- package/dist/chunks/{agent-m85h0kfj.js → worktree-jqjs9tcv.js} +4 -4
- package/dist/chunks/{agent-wk5z6jzv.js → worktree-jzzy94zk.js} +9 -9
- package/dist/chunks/worktree-k75g3hfp.js +60 -0
- package/dist/chunks/{agent-mhh2wvta.js → worktree-k7xvw3dw.js} +15 -15
- package/dist/chunks/{agent-ckf8nxjz.js → worktree-kne8f3cn.js} +4 -4
- package/dist/chunks/{agent-vx884nfc.js → worktree-kqhyc4a5.js} +24 -24
- package/dist/chunks/{agent-wrrgj8p2.js → worktree-kw4nys0v.js} +30 -30
- package/dist/chunks/{agent-m0jqrx5p.js → worktree-m0jqrx5p.js} +2 -2
- package/dist/chunks/{agent-s2jjmt0q.js → worktree-m2ma7v7h.js} +3 -3
- package/dist/chunks/{agent-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{agent-x9hcbvs5.js → worktree-m3qcd0gh.js} +14 -14
- package/dist/chunks/{agent-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-bv2m8j2f.js → worktree-mc0tbgbx.js} +10 -10
- package/dist/chunks/{agent-fhsfb5wx.js → worktree-mdk3y3z1.js} +11 -11
- package/dist/chunks/{agent-msq0jde0.js → worktree-mfhfdr54.js} +4 -4
- package/dist/chunks/{agent-mhkvc446.js → worktree-mhkvc446.js} +1 -1
- package/dist/chunks/{agent-wmvgvm9g.js → worktree-mps7kt98.js} +10 -10
- package/dist/chunks/{agent-eqkxs06z.js → worktree-mx9vqzsb.js} +6 -6
- package/dist/chunks/{agent-5zs99abn.js → worktree-n2k8kfr2.js} +10 -10
- package/dist/chunks/{agent-pj88hhxz.js → worktree-nbhvjqq0.js} +16 -16
- package/dist/chunks/{agent-ptadzx8h.js → worktree-nce5244k.js} +23 -23
- package/dist/chunks/{agent-4h52jw7j.js → worktree-njzmkv4t.js} +16 -16
- package/dist/chunks/{agent-qg0jgkcp.js → worktree-nq7qbqzc.js} +9 -9
- package/dist/chunks/{agent-0m0tvs7x.js → worktree-nqyhrfcc.js} +4 -4
- package/dist/chunks/{agent-k3c624dm.js → worktree-nzks3jc8.js} +3 -3
- package/dist/chunks/{agent-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
- package/dist/chunks/{agent-34gj4vpn.js → worktree-pgd96ws3.js} +25 -25
- package/dist/chunks/{agent-c9rn2ffm.js → worktree-phvc5gz1.js} +31 -31
- package/dist/chunks/{agent-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{agent-f7xr7q4y.js → worktree-pk05hrqc.js} +23 -23
- package/dist/chunks/{agent-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{agent-fwgtty9p.js → worktree-pnbzcb80.js} +11 -11
- package/dist/chunks/{agent-27s8bqjz.js → worktree-q3brf889.js} +7 -7
- package/dist/chunks/{agent-6nfzt672.js → worktree-q7b8tk1j.js} +15 -15
- package/dist/chunks/{agent-nv0zfvs3.js → worktree-q9em23va.js} +57 -57
- package/dist/chunks/{agent-b27vhd2z.js → worktree-qm0v3jhh.js} +7 -7
- package/dist/chunks/{agent-2sejkfem.js → worktree-qmqgtz8f.js} +9 -9
- package/dist/chunks/{agent-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{agent-esjpzfqh.js → worktree-qtp3z5jz.js} +15 -15
- package/dist/chunks/{agent-3801kdgp.js → worktree-qvreyy9g.js} +5 -5
- package/dist/chunks/{agent-dfmg44zt.js → worktree-qy3x5fkw.js} +28 -28
- package/dist/chunks/{agent-hra2zf6w.js → worktree-qzj3p1a8.js} +15 -15
- package/dist/chunks/{agent-408rqjm7.js → worktree-r4xk7wzn.js} +11 -11
- package/dist/chunks/{agent-eyxhp5jq.js → worktree-r9dtcy7v.js} +14 -14
- package/dist/chunks/{agent-s0agc963.js → worktree-rbykwf8h.js} +8 -8
- package/dist/chunks/{agent-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{agent-2dd34nca.js → worktree-rfw8gvq9.js} +7 -7
- package/dist/chunks/{agent-bkyn6bwe.js → worktree-rr0tph7c.js} +42 -42
- package/dist/chunks/{agent-6f2v6d3h.js → worktree-rr5qrs97.js} +10 -10
- package/dist/chunks/{agent-fpx40r7k.js → worktree-rw0j17jy.js} +14 -14
- package/dist/chunks/{agent-2421mgk7.js → worktree-ryvvaahd.js} +11 -11
- package/dist/chunks/{agent-2gbsvbx5.js → worktree-rzt5b11j.js} +12 -12
- package/dist/chunks/{agent-kfgkb3w8.js → worktree-s003wxah.js} +3 -3
- package/dist/chunks/{agent-q5qvysx4.js → worktree-s4m6wqxh.js} +7 -7
- package/dist/chunks/worktree-s58zdxfq.js +503 -0
- package/dist/chunks/{agent-d72aarx9.js → worktree-sa6gj9bw.js} +15 -15
- package/dist/chunks/{agent-wavy99wc.js → worktree-sbwttkaf.js} +11 -11
- package/dist/chunks/{agent-0qths4nn.js → worktree-spdrvks9.js} +20 -20
- package/dist/chunks/{agent-h5wn60w9.js → worktree-stz8t2v6.js} +4 -4
- package/dist/chunks/{agent-mf1nywb3.js → worktree-swxr5sk9.js} +20 -20
- package/dist/chunks/{agent-fb6r9czn.js → worktree-t1np0tqc.js} +17 -17
- package/dist/chunks/{agent-z1gnkr1t.js → worktree-t2ebar3s.js} +3 -3
- package/dist/chunks/{agent-a3n0gq8j.js → worktree-t3m7g1te.js} +7 -7
- package/dist/chunks/{agent-7fqa2d9w.js → worktree-t6191ead.js} +30 -30
- package/dist/chunks/{agent-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{agent-89znhe33.js → worktree-tcezcvh9.js} +4 -4
- package/dist/chunks/{agent-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{agent-wavj6ccy.js → worktree-tpj75mzy.js} +17 -17
- package/dist/chunks/{agent-pa8pe2x7.js → worktree-tpw6cwsb.js} +8 -8
- package/dist/chunks/{agent-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{agent-036j9pep.js → worktree-twn8y427.js} +12 -12
- package/dist/chunks/{agent-xm6kpq0w.js → worktree-v1szefp9.js} +21 -21
- package/dist/chunks/{agent-w28840qy.js → worktree-v731dxt6.js} +13 -13
- package/dist/chunks/{agent-stv5gz7c.js → worktree-v7j76yb7.js} +13 -13
- package/dist/chunks/{agent-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-6h3wybc7.js → worktree-vfnexndp.js} +6 -6
- package/dist/chunks/{agent-kbsfj81n.js → worktree-vrd7bw94.js} +18 -18
- package/dist/chunks/{agent-d858xzj7.js → worktree-vycw7md4.js} +4 -4
- package/dist/chunks/{agent-0nde5ztd.js → worktree-vykevjvn.js} +5 -5
- package/dist/chunks/{agent-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{agent-35zpsenw.js → worktree-w049avsm.js} +12 -12
- package/dist/chunks/{agent-b7b1bvw5.js → worktree-w2a0me0w.js} +84 -84
- package/dist/chunks/{agent-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-ddjv2rf1.js → worktree-wb2290kd.js} +38 -38
- package/dist/chunks/{agent-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{agent-hrekjq5z.js → worktree-wg3ah9vk.js} +15 -15
- package/dist/chunks/{agent-5akn35ws.js → worktree-wt3fns9r.js} +8 -8
- package/dist/chunks/{agent-d7b96y43.js → worktree-wzhchsdw.js} +21 -21
- package/dist/chunks/{agent-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{agent-s2v47wsv.js → worktree-x2bnk29x.js} +9 -9
- package/dist/chunks/{agent-np2d4m60.js → worktree-x2r5cysr.js} +15 -15
- package/dist/chunks/worktree-x9psk7ht.js +252 -0
- package/dist/chunks/{agent-1h68bbz1.js → worktree-xrhwvysg.js} +90 -90
- package/dist/chunks/{agent-gxzbat11.js → worktree-y0fk3wmz.js} +31 -31
- package/dist/chunks/{agent-m2k0n4kz.js → worktree-y19g1g3c.js} +24 -24
- package/dist/chunks/{agent-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{agent-9aaedtqt.js → worktree-yaf95dqt.js} +11 -11
- package/dist/chunks/{agent-sm46077v.js → worktree-yd28dp38.js} +26 -26
- package/dist/chunks/{agent-as7cad1b.js → worktree-ydcyakjt.js} +9 -9
- package/dist/chunks/{agent-yp1ctj3c.js → worktree-yhc2vnw0.js} +7 -7
- package/dist/chunks/{agent-qn4ba14w.js → worktree-yjptyezs.js} +5 -5
- package/dist/chunks/{agent-r8xr0va3.js → worktree-yp2x3t23.js} +4 -4
- package/dist/chunks/{agent-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{agent-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{agent-gw84rn5c.js → worktree-yxy08kjz.js} +30 -30
- package/dist/chunks/{agent-60ng53x8.js → worktree-yyk09s5y.js} +9 -9
- package/dist/chunks/{agent-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{agent-7gvs7gck.js → worktree-z6s2ptjh.js} +23 -23
- package/dist/chunks/{agent-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{agent-mjhmz48d.js → worktree-zfjnvatg.js} +27 -27
- package/dist/chunks/{agent-cqtv3ntd.js → worktree-zqerkhaz.js} +32 -32
- package/dist/chunks/{agent-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{agent-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +102 -102
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -356
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +10 -0
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +93 -93
- package/dist/model.js +99 -99
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +4 -4
- 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 +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- 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 +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/config/plugin/policy.d.ts +2 -1
- package/dist/types/managed-policy.d.ts +19 -0
- package/dist/types/plugin/internal.d.ts +4 -2
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/agent-6kdq0pjd.js +0 -4
- package/dist/chunks/agent-6x899grp.js +0 -49
- package/dist/chunks/agent-eceerw08.js +0 -252
- package/dist/chunks/agent-rap9a73h.js +0 -18
- package/dist/chunks/agent-rz1656kd.js +0 -492
- package/dist/chunks/agent-wgj0x3s5.js +0 -26
- /package/dist/chunks/{agent-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Info19,
|
|
6
6
|
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-9ftphk66.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service49
|
|
11
|
+
} from "./worktree-rr0tph7c.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin28,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,19 +425,19 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin28 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
433
|
+
editor.add(Info19.make({
|
|
434
434
|
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
440
|
+
editor.add(Info19.make({
|
|
441
441
|
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service49;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin28, exports_skill2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service69,
|
|
6
|
+
node73
|
|
7
|
+
} from "./worktree-4947sgj4.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-8q7cq0y1.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service53,
|
|
23
|
+
make: () => make17,
|
|
24
|
+
node: () => node55
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service53 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make17 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service69;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service53.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service53, make17);
|
|
362
|
+
var node55 = makeGlobalNode({ service: Service53, layer, deps: [node73] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service53, make17, node55, exports_job };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service55,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured9,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
24
|
node: () => node57,
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service55 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve4.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service55.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured9(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service55, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
212
|
var node57 = configured9();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options10, Service55, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured9, node57, exports_select };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./worktree-0mkssq3p.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service67;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./worktree-t6191ead.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID12.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,37 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make18,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-0gdmqesm.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions4 = {};
|
|
18
18
|
__export(exports_instructions4, {
|
|
19
19
|
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
-
make: () =>
|
|
20
|
+
make: () => make13,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
26
|
-
var prompt = (hasMoreTools) =>
|
|
26
|
+
var prompt = (hasMoreTools) => `# Code Mode
|
|
27
27
|
|
|
28
|
-
${hasMoreTools ? "
|
|
28
|
+
Use the \`execute\` tool to call the tools listed below. They cannot be called directly${hasMoreTools ? ", and neither can `search`. Both" : ". They"} only work inside code you pass to \`execute\`.
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\` to find a tool, then call it by the \`path\` in the result. \`search\` is synchronous. Call it without \`await\`; it does not return a Promise. Do not guess tool names.
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
- ${searchSignature}` : ""}
|
|
32
|
+
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
35
33
|
|
|
36
34
|
## Available tools`;
|
|
37
35
|
function render2(catalog) {
|
|
@@ -113,9 +111,9 @@ ${render2(current)}`;
|
|
|
113
111
|
}
|
|
114
112
|
var key = Key3.make("core/codemode");
|
|
115
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
114
|
+
var make13 = (inventory) => {
|
|
117
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
116
|
+
return make18({
|
|
119
117
|
key,
|
|
120
118
|
codec,
|
|
121
119
|
read: Effect.succeed(catalog),
|
|
@@ -127,4 +125,4 @@ var make14 = (inventory) => {
|
|
|
127
125
|
});
|
|
128
126
|
};
|
|
129
127
|
|
|
130
|
-
export { render2, update3,
|
|
128
|
+
export { render2, update3, make13, exports_instructions4 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-e01ptnw8.js";
|
|
8
|
+
import {
|
|
9
|
+
Event17,
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./worktree-qy3x5fkw.js";
|
|
8
13
|
import {
|
|
9
|
-
Event19,
|
|
10
14
|
Service77,
|
|
11
15
|
node81
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service79,
|
|
15
|
-
node83
|
|
16
|
-
} from "./agent-pj88hhxz.js";
|
|
16
|
+
} from "./worktree-nbhvjqq0.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node69
|
|
20
|
+
} from "./worktree-0mkssq3p.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service81,
|
|
24
|
+
node85
|
|
25
|
+
} from "./worktree-nce5244k.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service72,
|
|
34
|
+
node76
|
|
35
|
+
} from "./worktree-pgd96ws3.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./worktree-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service36,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured5,
|
|
57
|
+
layer: () => layer14,
|
|
58
|
+
node: () => node39
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service36 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options5 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service77;
|
|
106
|
+
const environment = yield* Service67;
|
|
107
107
|
const bus = yield* Service82;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service81;
|
|
109
|
+
const integration = yield* Service72;
|
|
110
|
+
const credentials = yield* Service73;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID13.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service73, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service73, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID18.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service67, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service36.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer15 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured5(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
515
|
+
service: Service36,
|
|
516
|
+
layer: layer14(options),
|
|
517
|
+
deps: [node81, node69, node86, node85, node76, node77]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node39 = configured5();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service36, Options5, layer14, configured5, node39, exports_mcp4 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./worktree-nbhvjqq0.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-swxr5sk9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-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: () => Plugin16,
|
|
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 Plugin16 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service77;
|
|
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 { Plugin16, exports_hg };
|