@opencode/core 0.0.0-dev-19443 → 0.0.0-dev-19444
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{aisdk-native-j5j4zr0n.js → persistent-pty-005h1arw.js} +12 -12
- package/dist/chunks/{aisdk-native-4cnyw18s.js → persistent-pty-01a5qg47.js} +15 -15
- package/dist/chunks/{aisdk-native-azdr1ew2.js → persistent-pty-02bvreen.js} +19 -19
- package/dist/chunks/{aisdk-native-p0x1x402.js → persistent-pty-04a7cva4.js} +8 -8
- package/dist/chunks/{aisdk-native-syvyg8jx.js → persistent-pty-05dmne8k.js} +14 -14
- package/dist/chunks/{aisdk-native-x0511brf.js → persistent-pty-0gr7cw0d.js} +4 -4
- package/dist/chunks/{aisdk-native-8y4y6bqe.js → persistent-pty-0n4wjfgh.js} +7 -7
- package/dist/chunks/{aisdk-native-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{aisdk-native-36sz8rgh.js → persistent-pty-0q7f28vn.js} +22 -22
- package/dist/chunks/{aisdk-native-8e9d62j8.js → persistent-pty-0qv0g3jd.js} +7 -7
- package/dist/chunks/{aisdk-native-jk9a1ysw.js → persistent-pty-0r7yqxbf.js} +5 -5
- package/dist/chunks/{aisdk-native-nrtb1g45.js → persistent-pty-0ta9dxrd.js} +24 -24
- package/dist/chunks/{aisdk-native-qq11w61w.js → persistent-pty-0v53mg2y.js} +4 -4
- package/dist/chunks/{aisdk-native-87k8zj6p.js → persistent-pty-18ty43sg.js} +16 -16
- package/dist/chunks/{aisdk-native-zkqp0xtw.js → persistent-pty-1a9xvnjj.js} +23 -23
- package/dist/chunks/{aisdk-native-2fktr2jd.js → persistent-pty-1c7pak08.js} +5 -5
- package/dist/chunks/{aisdk-native-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-c7aqkwyx.js → persistent-pty-1mx7jt97.js} +11 -11
- package/dist/chunks/{aisdk-native-4dg124c5.js → persistent-pty-1q5awywt.js} +5 -5
- package/dist/chunks/{aisdk-native-69r9223c.js → persistent-pty-1qecm3at.js} +9 -9
- package/dist/chunks/{aisdk-native-1ygqh575.js → persistent-pty-1ygqh575.js} +2 -2
- package/dist/chunks/{aisdk-native-5wbzy8nn.js → persistent-pty-1ymn0wqz.js} +10 -10
- package/dist/chunks/{aisdk-native-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-native-d6eq99k8.js → persistent-pty-25r3kwhs.js} +11 -11
- package/dist/chunks/{aisdk-native-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-q6sd8jqx.js → persistent-pty-2g51tfx8.js} +8 -8
- package/dist/chunks/{aisdk-native-rc7zsjvb.js → persistent-pty-2mgtw022.js} +26 -26
- package/dist/chunks/{aisdk-native-8mr4zjz5.js → persistent-pty-2qq2nh41.js} +23 -23
- package/dist/chunks/{aisdk-native-3yjctv3v.js → persistent-pty-2srq3db3.js} +40 -40
- package/dist/chunks/{aisdk-native-q5j1bp2v.js → persistent-pty-2wyjv582.js} +4 -4
- package/dist/chunks/{aisdk-native-fae6jabp.js → persistent-pty-2yrppz7w.js} +24 -24
- package/dist/chunks/{aisdk-native-qm66azdk.js → persistent-pty-2zcvt653.js} +11 -11
- package/dist/chunks/{aisdk-native-f4mtjk0y.js → persistent-pty-2zma1qrf.js} +9 -9
- package/dist/chunks/{aisdk-native-2qp6y8xf.js → persistent-pty-37s12vcn.js} +5 -5
- package/dist/chunks/{aisdk-native-f8q7mv7a.js → persistent-pty-380vjcmd.js} +1 -1
- package/dist/chunks/{aisdk-native-9b4wwscp.js → persistent-pty-38nhqbm5.js} +3 -3
- package/dist/chunks/{aisdk-native-vsq8jhd6.js → persistent-pty-3fb2xjrz.js} +64 -64
- package/dist/chunks/{aisdk-native-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-3r8ddj3n.js → persistent-pty-3ykbker3.js} +10 -10
- package/dist/chunks/{aisdk-native-w4v2becs.js → persistent-pty-3ynntrmw.js} +10 -10
- package/dist/chunks/{aisdk-native-fgh0kbhd.js → persistent-pty-4b6bntqd.js} +1 -1
- package/dist/chunks/{aisdk-native-414xncdy.js → persistent-pty-4dwv79pw.js} +4 -4
- package/dist/chunks/{aisdk-native-hdzt82x2.js → persistent-pty-4gycnsfp.js} +6 -6
- package/dist/chunks/{aisdk-native-z9g8v05p.js → persistent-pty-4gyf98v7.js} +31 -31
- package/dist/chunks/{aisdk-native-rmgpmqvg.js → persistent-pty-4hv5z3sn.js} +276 -276
- package/dist/chunks/persistent-pty-4v7qdvcn.js +18 -0
- package/dist/chunks/{aisdk-native-rkc71d60.js → persistent-pty-57bvaje9.js} +26 -26
- package/dist/chunks/{aisdk-native-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/{aisdk-native-yzahj7qk.js → persistent-pty-5cvq9r0s.js} +40 -40
- package/dist/chunks/{aisdk-native-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-native-5kptn8c0.js → persistent-pty-5kptn8c0.js} +2 -2
- package/dist/chunks/{aisdk-native-yep2bc9q.js → persistent-pty-5n0t6mpe.js} +11 -11
- package/dist/chunks/{aisdk-native-qa4pd714.js → persistent-pty-5sgymb5p.js} +15 -15
- package/dist/chunks/{aisdk-native-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-yhy3dzz1.js → persistent-pty-5v072v7y.js} +15 -15
- package/dist/chunks/{aisdk-native-w2187ed2.js → persistent-pty-60t5zk3s.js} +24 -24
- package/dist/chunks/{aisdk-native-p0y1ktg0.js → persistent-pty-61e1gdwj.js} +59 -59
- package/dist/chunks/{aisdk-native-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-native-2402vzrj.js → persistent-pty-6h73sxmp.js} +5 -5
- package/dist/chunks/{aisdk-native-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-native-91bz4edj.js → persistent-pty-6pd3eqcb.js} +7 -7
- package/dist/chunks/{aisdk-native-mtx2vye4.js → persistent-pty-6vwr4pa3.js} +25 -25
- package/dist/chunks/{aisdk-native-hzssdtqa.js → persistent-pty-6y31jycr.js} +1 -1
- package/dist/chunks/{aisdk-native-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{aisdk-native-zmz8tvp3.js → persistent-pty-73bckjvz.js} +6 -6
- package/dist/chunks/{aisdk-native-693j9t8q.js → persistent-pty-74031ssw.js} +22 -22
- package/dist/chunks/{aisdk-native-wsk9egft.js → persistent-pty-7561qs2q.js} +11 -11
- package/dist/chunks/{aisdk-native-t7z3zppm.js → persistent-pty-785g2v9c.js} +2 -2
- package/dist/chunks/{aisdk-native-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-7fyjb6zr.js → persistent-pty-7hha6ye0.js} +5 -5
- package/dist/chunks/{aisdk-native-x5tmsv1z.js → persistent-pty-7jhefbjk.js} +23 -23
- package/dist/chunks/{aisdk-native-11c6haq0.js → persistent-pty-7tdmgh4h.js} +19 -19
- package/dist/chunks/{aisdk-native-g9h0cv9w.js → persistent-pty-7th6m6bc.js} +20 -20
- package/dist/chunks/{aisdk-native-fygdb7h7.js → persistent-pty-7ybwwvvx.js} +3 -3
- package/dist/chunks/{aisdk-native-qg6emqy4.js → persistent-pty-81swgkk7.js} +9 -9
- package/dist/chunks/{aisdk-native-bs7hmeg3.js → persistent-pty-82sjhv5t.js} +12 -12
- package/dist/chunks/{aisdk-native-036scx05.js → persistent-pty-83avj3cc.js} +8 -8
- package/dist/chunks/{aisdk-native-2vt4z936.js → persistent-pty-8d1bfgha.js} +10 -10
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-3mn8z65d.js → persistent-pty-8resc561.js} +17 -17
- package/dist/chunks/{aisdk-native-806j49yq.js → persistent-pty-8rqycdgd.js} +7 -7
- package/dist/chunks/{aisdk-native-q56zp3pb.js → persistent-pty-8sghyhzw.js} +8 -8
- package/dist/chunks/{aisdk-native-e9nzppwt.js → persistent-pty-94ppg1m8.js} +19 -19
- package/dist/chunks/{aisdk-native-rgy7ctyq.js → persistent-pty-954vm9zf.js} +6 -6
- package/dist/chunks/{aisdk-native-sx0kmj3h.js → persistent-pty-9bqw9ts7.js} +3 -3
- package/dist/chunks/{aisdk-native-cmaw1yhg.js → persistent-pty-9n9jdqe1.js} +24 -24
- package/dist/chunks/{aisdk-native-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-7yzm6pxz.js → persistent-pty-abnsb7h0.js} +28 -28
- package/dist/chunks/{aisdk-native-e9kjg0vc.js → persistent-pty-acyty1wx.js} +5 -5
- package/dist/chunks/{aisdk-native-tzgha2eb.js → persistent-pty-agfsn1y7.js} +10 -10
- package/dist/chunks/{aisdk-native-p5948bz6.js → persistent-pty-ahjq8v9s.js} +23 -23
- package/dist/chunks/{aisdk-native-mt76ms35.js → persistent-pty-aj01v8qn.js} +23 -23
- package/dist/chunks/{aisdk-native-dfra2488.js → persistent-pty-az8mc2wb.js} +30 -30
- package/dist/chunks/{aisdk-native-b1hwkhhg.js → persistent-pty-b1hwkhhg.js} +2 -2
- package/dist/chunks/{aisdk-native-k16ay38w.js → persistent-pty-b2jx7zxs.js} +1 -1
- package/dist/chunks/{aisdk-native-6t8gs0b1.js → persistent-pty-b3ba0j7k.js} +17 -17
- package/dist/chunks/{aisdk-native-q9d5c5bg.js → persistent-pty-b5qypc0b.js} +25 -25
- package/dist/chunks/{aisdk-native-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-89mk6zq8.js → persistent-pty-bcjrs64p.js} +47 -47
- package/dist/chunks/{aisdk-native-zbpnfvtq.js → persistent-pty-c67p2atg.js} +24 -24
- package/dist/chunks/{aisdk-native-s8j6jbjj.js → persistent-pty-cavr175a.js} +21 -21
- package/dist/chunks/{aisdk-native-69jxqepe.js → persistent-pty-cf9e7x3q.js} +18 -18
- package/dist/chunks/{aisdk-native-r4qygam9.js → persistent-pty-cnemypr9.js} +2 -2
- package/dist/chunks/{aisdk-native-1y1z8jnb.js → persistent-pty-d1x6gan2.js} +11 -11
- package/dist/chunks/{aisdk-native-3n70k9za.js → persistent-pty-d5nw6pbp.js} +5 -5
- package/dist/chunks/{aisdk-native-xfqaw5jk.js → persistent-pty-d88cyh3f.js} +30 -30
- package/dist/chunks/{aisdk-native-v4b36nj3.js → persistent-pty-d9sn21bc.js} +2 -2
- package/dist/chunks/{aisdk-native-hn5yzyh1.js → persistent-pty-dad2c0nf.js} +17 -17
- package/dist/chunks/{aisdk-native-wspyg160.js → persistent-pty-dbp4xrc5.js} +15 -15
- package/dist/chunks/{aisdk-native-2dx5zcey.js → persistent-pty-demce0me.js} +15 -15
- package/dist/chunks/{aisdk-native-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{aisdk-native-dhpx4bgt.js → persistent-pty-djaqjjbd.js} +8 -8
- package/dist/chunks/{aisdk-native-k8zhydtp.js → persistent-pty-dvgsdjgm.js} +34 -34
- package/dist/chunks/{aisdk-native-ppg1r0zn.js → persistent-pty-dwbn7e6b.js} +30 -30
- package/dist/chunks/{aisdk-native-7vypmzqc.js → persistent-pty-dy4g773q.js} +39 -39
- package/dist/chunks/{aisdk-native-e5v436ga.js → persistent-pty-e0zsr1va.js} +24 -24
- package/dist/chunks/persistent-pty-e7v5pkey.js +247 -0
- package/dist/chunks/{aisdk-native-e82z9tr0.js → persistent-pty-e82z9tr0.js} +1 -1
- package/dist/chunks/{aisdk-native-t550f9t1.js → persistent-pty-eaj1djv9.js} +8 -8
- package/dist/chunks/{aisdk-native-734nr2zp.js → persistent-pty-et687rst.js} +15 -15
- package/dist/chunks/{aisdk-native-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-83028rk2.js → persistent-pty-evatnbz9.js} +3 -3
- package/dist/chunks/{aisdk-native-7z99814y.js → persistent-pty-evdf6mqh.js} +12 -12
- package/dist/chunks/{aisdk-native-fdrns0k3.js → persistent-pty-evtvm6ad.js} +15 -15
- package/dist/chunks/{aisdk-native-h3e3s5sa.js → persistent-pty-evzmkbr0.js} +9 -9
- package/dist/chunks/{aisdk-native-qtmhg6c3.js → persistent-pty-f3hkpvhb.js} +31 -31
- package/dist/chunks/{aisdk-native-18j3d1k5.js → persistent-pty-f4vy2wnr.js} +9 -9
- package/dist/chunks/{aisdk-native-9ctd387c.js → persistent-pty-f5ayg8jb.js} +27 -27
- package/dist/chunks/{aisdk-native-rwxhg8cn.js → persistent-pty-ffnm5d7g.js} +23 -23
- package/dist/chunks/{aisdk-native-nfxyqc0v.js → persistent-pty-fkc03k84.js} +9 -9
- package/dist/chunks/{aisdk-native-4p37gy4n.js → persistent-pty-fng9e0je.js} +6 -6
- package/dist/chunks/{aisdk-native-a161dj2k.js → persistent-pty-frwghdhm.js} +4 -4
- package/dist/chunks/{aisdk-native-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{aisdk-native-7cgxkbdr.js → persistent-pty-gamervdr.js} +22 -22
- package/dist/chunks/{aisdk-native-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-gw96jgh3.js → persistent-pty-gmf4816w.js} +21 -21
- package/dist/chunks/{aisdk-native-bajakh74.js → persistent-pty-gnx4ytbv.js} +4 -4
- package/dist/chunks/{aisdk-native-fdgvvs2b.js → persistent-pty-grq3ses6.js} +33 -33
- package/dist/chunks/{aisdk-native-xekzrwwc.js → persistent-pty-gsx0ryk4.js} +9 -9
- package/dist/chunks/{aisdk-native-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{aisdk-native-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{aisdk-native-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-x5f4ydnm.js → persistent-pty-hb9da54z.js} +10 -10
- package/dist/chunks/{aisdk-native-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{aisdk-native-xhh24fr8.js → persistent-pty-hgkznrd4.js} +8 -8
- package/dist/chunks/{aisdk-native-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-dv250zvr.js → persistent-pty-j7wq2tw5.js} +3 -3
- package/dist/chunks/{aisdk-native-p4qt1y8s.js → persistent-pty-j8j8t0xr.js} +12 -12
- package/dist/chunks/{aisdk-native-1e9w7pgh.js → persistent-pty-jefma2gq.js} +10 -10
- package/dist/chunks/{aisdk-native-60fp49e0.js → persistent-pty-jkksjy64.js} +6 -6
- package/dist/chunks/{aisdk-native-2srt5kyc.js → persistent-pty-jmpt8wxb.js} +6 -6
- package/dist/chunks/{aisdk-native-0s5esgd1.js → persistent-pty-jptpv9dn.js} +19 -19
- package/dist/chunks/{aisdk-native-m27pyyd3.js → persistent-pty-jtp7wgq3.js} +8 -8
- package/dist/chunks/{aisdk-native-q3dfwa13.js → persistent-pty-kc733a55.js} +3 -3
- package/dist/chunks/{aisdk-native-96yt6zt0.js → persistent-pty-kcwf74x3.js} +1 -1
- package/dist/chunks/{aisdk-native-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{aisdk-native-fgwez2sf.js → persistent-pty-kwwkrpcc.js} +13 -13
- package/dist/chunks/{aisdk-native-6q02yaaj.js → persistent-pty-kyj4bb94.js} +6 -6
- package/dist/chunks/{aisdk-native-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{aisdk-native-6rffdb5j.js → persistent-pty-m25q4h22.js} +7 -7
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-mhkvc446.js → persistent-pty-mhkvc446.js} +1 -1
- package/dist/chunks/{aisdk-native-mkcjrzeh.js → persistent-pty-mkcjrzeh.js} +1 -1
- package/dist/chunks/{aisdk-native-y4h9daa2.js → persistent-pty-mz9yydp9.js} +32 -32
- package/dist/chunks/{aisdk-native-zrtmhd6x.js → persistent-pty-n3njy178.js} +30 -30
- package/dist/chunks/{aisdk-native-f8m2xdzz.js → persistent-pty-ntb0be4d.js} +15 -15
- package/dist/chunks/{aisdk-native-vvv3thrh.js → persistent-pty-p14yjxpe.js} +14 -14
- package/dist/chunks/{aisdk-native-fgwkmjw7.js → persistent-pty-p4yvam9z.js} +5 -5
- package/dist/chunks/{aisdk-native-bccb6npm.js → persistent-pty-paegk39x.js} +4 -4
- package/dist/chunks/{aisdk-native-j935v87r.js → persistent-pty-paphc93g.js} +2 -2
- package/dist/chunks/{aisdk-native-846a88cc.js → persistent-pty-parf39xm.js} +4 -4
- package/dist/chunks/{aisdk-native-kap7d8ny.js → persistent-pty-pek6bvtj.js} +7 -7
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-h393hsdx.js → persistent-pty-pmdkw4vk.js} +35 -35
- package/dist/chunks/{aisdk-native-ksz0h0wp.js → persistent-pty-q1c4k7jk.js} +1 -1
- package/dist/chunks/{aisdk-native-bh0q3qw2.js → persistent-pty-q2vd4ycm.js} +28 -28
- package/dist/chunks/{aisdk-native-t2w7qj2h.js → persistent-pty-q52v1zkd.js} +11 -11
- package/dist/chunks/{aisdk-native-8gxqpgph.js → persistent-pty-q5asdkn4.js} +4 -4
- package/dist/chunks/{aisdk-native-wgrkr345.js → persistent-pty-q7jk22gt.js} +84 -84
- package/dist/chunks/{aisdk-native-mxncjdsk.js → persistent-pty-q7z1cryp.js} +43 -43
- package/dist/chunks/{aisdk-native-f9ek4kpk.js → persistent-pty-q851ajnw.js} +3 -3
- package/dist/chunks/{aisdk-native-vxwzppst.js → persistent-pty-qba6esk9.js} +9 -9
- package/dist/chunks/{aisdk-native-nrq08cvv.js → persistent-pty-qchhsb8n.js} +28 -28
- package/dist/chunks/{aisdk-native-nzzy63ds.js → persistent-pty-qfhza6js.js} +5 -5
- package/dist/chunks/{aisdk-native-fcrkznn8.js → persistent-pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{aisdk-native-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-3jqe0tdq.js → persistent-pty-qwkytnft.js} +9 -9
- package/dist/chunks/{aisdk-native-er56z9m3.js → persistent-pty-qx1qep3t.js} +4 -4
- package/dist/chunks/{aisdk-native-9yq1xq8h.js → persistent-pty-r70vw89t.js} +30 -30
- package/dist/chunks/{aisdk-native-v4jjqebk.js → persistent-pty-r7t8b8jd.js} +19 -19
- package/dist/chunks/{aisdk-native-1acjjqhc.js → persistent-pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{aisdk-native-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
- package/dist/chunks/{aisdk-native-gpr0mnvy.js → persistent-pty-r9tx91hm.js} +9 -9
- package/dist/chunks/{aisdk-native-pw9v3g6d.js → persistent-pty-rav9e4bf.js} +5 -5
- package/dist/chunks/{aisdk-native-yxq4x6j1.js → persistent-pty-rkqecthd.js} +5 -5
- package/dist/chunks/{aisdk-native-hmb9mprx.js → persistent-pty-rnh8b45z.js} +4 -4
- package/dist/chunks/{aisdk-native-cwcv96xt.js → persistent-pty-rp2majj0.js} +24 -24
- package/dist/chunks/{aisdk-native-r9babyk8.js → persistent-pty-rstnkd3y.js} +1 -1
- package/dist/chunks/{aisdk-native-xbp5vre2.js → persistent-pty-ry642edr.js} +35 -35
- package/dist/chunks/{aisdk-native-h509qmsw.js → persistent-pty-rzx3xp0s.js} +15 -15
- package/dist/chunks/{aisdk-native-mr2e4527.js → persistent-pty-s0cv743x.js} +30 -30
- package/dist/chunks/{aisdk-native-qwt0xknm.js → persistent-pty-s4gntk5x.js} +6 -6
- package/dist/chunks/{aisdk-native-avm8jn6n.js → persistent-pty-s8zy8myc.js} +5 -5
- package/dist/chunks/{aisdk-native-g0tknpy6.js → persistent-pty-sm8ax251.js} +19 -19
- package/dist/chunks/{aisdk-native-a2phgqwc.js → persistent-pty-sn9jxc3m.js} +38 -38
- package/dist/chunks/{aisdk-native-rmdyxgmk.js → persistent-pty-sp5zyyma.js} +8 -8
- package/dist/chunks/{aisdk-native-dkxen2ne.js → persistent-pty-srqqe1ng.js} +18 -18
- package/dist/chunks/{aisdk-native-efy942t1.js → persistent-pty-sx163ae1.js} +13 -13
- package/dist/chunks/{aisdk-native-rw0xhzfz.js → persistent-pty-t2g1zcbf.js} +9 -9
- package/dist/chunks/{aisdk-native-5yxh3d48.js → persistent-pty-t62eftq5.js} +173 -173
- package/dist/chunks/{aisdk-native-z69s9t6b.js → persistent-pty-t8r3ep1g.js} +5 -5
- package/dist/chunks/{aisdk-native-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-qnecgmg3.js → persistent-pty-tn2twcc1.js} +41 -41
- package/dist/chunks/{aisdk-native-x90ekrdb.js → persistent-pty-tqp33yxr.js} +6 -6
- package/dist/chunks/{aisdk-native-aj8kkpvr.js → persistent-pty-tryp60pv.js} +4 -4
- package/dist/chunks/{aisdk-native-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-native-5346cs1n.js → persistent-pty-v32t8jx1.js} +6 -6
- package/dist/chunks/{aisdk-native-7yk2c6c5.js → persistent-pty-vagsfnmd.js} +23 -23
- package/dist/chunks/{aisdk-native-c0wenar5.js → persistent-pty-varrh6ax.js} +16 -16
- package/dist/chunks/{aisdk-native-tm0ysbqm.js → persistent-pty-vas057hg.js} +24 -24
- package/dist/chunks/{aisdk-native-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/persistent-pty-vfnfx4w1.js +22 -0
- package/dist/chunks/{aisdk-native-z2kjg3n2.js → persistent-pty-vmrw21yy.js} +12 -12
- package/dist/chunks/{aisdk-native-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-t23qze4t.js → persistent-pty-w79zsp0s.js} +1 -1
- package/dist/chunks/{aisdk-native-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-qdjwk6et.js → persistent-pty-wfh3xe1h.js} +12 -12
- package/dist/chunks/{aisdk-native-5pkey55m.js → persistent-pty-wh54hqqb.js} +17 -17
- package/dist/chunks/{aisdk-native-e0y88b7s.js → persistent-pty-wjx4ep27.js} +34 -34
- package/dist/chunks/{aisdk-native-zebk3f7x.js → persistent-pty-wwgs2ayd.js} +21 -21
- package/dist/chunks/{aisdk-native-5frevzdr.js → persistent-pty-wxz5zpgv.js} +9 -9
- package/dist/chunks/{aisdk-native-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-native-x3et2xth.js → persistent-pty-x3et2xth.js} +1 -1
- package/dist/chunks/{aisdk-native-fv3xc2ec.js → persistent-pty-x5zz50tg.js} +15 -15
- package/dist/chunks/{aisdk-native-x47ex9qk.js → persistent-pty-x7chxcy7.js} +15 -15
- package/dist/chunks/{aisdk-native-8evvv6w2.js → persistent-pty-xbevy1hz.js} +17 -17
- package/dist/chunks/{aisdk-native-1rbex5rt.js → persistent-pty-xcvfwc99.js} +26 -26
- package/dist/chunks/{aisdk-native-rxmwyzz4.js → persistent-pty-xe3s6cj9.js} +19 -19
- package/dist/chunks/{aisdk-native-xhmq8qgk.js → persistent-pty-xhmq8qgk.js} +2 -2
- package/dist/chunks/{aisdk-native-abzhw57t.js → persistent-pty-xnpf3raf.js} +30 -30
- package/dist/chunks/{aisdk-native-n76fdqym.js → persistent-pty-xsdh20fb.js} +5 -5
- package/dist/chunks/{aisdk-native-k7zvybbz.js → persistent-pty-xvqzhzw3.js} +13 -13
- package/dist/chunks/{aisdk-native-ck004xzv.js → persistent-pty-xxxe2k5h.js} +14 -14
- package/dist/chunks/{aisdk-native-6rv39ce1.js → persistent-pty-xz54ae1b.js} +54 -54
- package/dist/chunks/{aisdk-native-6waq3m7r.js → persistent-pty-y0vyvf4s.js} +46 -46
- package/dist/chunks/{aisdk-native-hm95npdb.js → persistent-pty-y13ybha0.js} +28 -28
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-mwzwsk9n.js → persistent-pty-y36xwgv2.js} +11 -11
- package/dist/chunks/{aisdk-native-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/{aisdk-native-vnxf3xq1.js → persistent-pty-y8hvxyf6.js} +44 -44
- package/dist/chunks/{aisdk-native-t138kpbp.js → persistent-pty-y9mdtrwd.js} +6 -6
- package/dist/chunks/{aisdk-native-cv1ed7e8.js → persistent-pty-ybbr8802.js} +10 -10
- package/dist/chunks/{aisdk-native-yddgxcp4.js → persistent-pty-yddgxcp4.js} +2 -2
- package/dist/chunks/{aisdk-native-ntbmwyv9.js → persistent-pty-yphmshtg.js} +16 -16
- package/dist/chunks/{aisdk-native-4622e55f.js → persistent-pty-yqfhb4y9.js} +29 -29
- package/dist/chunks/{aisdk-native-w3hwtebh.js → persistent-pty-yqgts32m.js} +11 -11
- package/dist/chunks/{aisdk-native-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-native-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{aisdk-native-mw1247dj.js → persistent-pty-yw4qwv7s.js} +4 -4
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-w48scv8w.js → persistent-pty-z2twpmdm.js} +6 -6
- package/dist/chunks/{aisdk-native-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
- package/dist/chunks/{aisdk-native-h7zq2bwb.js → persistent-pty-z8j97m5a.js} +11 -11
- package/dist/chunks/{aisdk-native-bhwxr1kx.js → persistent-pty-z8q6jatt.js} +27 -27
- package/dist/chunks/{aisdk-native-x3hrgzzj.js → persistent-pty-z9nkkxss.js} +18 -18
- package/dist/chunks/{aisdk-native-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-native-t5kb7xrj.js → persistent-pty-zev1jhas.js} +11 -11
- package/dist/chunks/{aisdk-native-fnx83s2r.js → persistent-pty-zmv8fzaa.js} +46 -46
- package/dist/chunks/{aisdk-native-5ak1qtzr.js → persistent-pty-zqtt8gvt.js} +75 -75
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-n7w9w4s7.js → persistent-pty-ztn5y39t.js} +11 -11
- package/dist/chunks/{aisdk-native-w6v733tr.js → persistent-pty-zvd3hp2n.js} +29 -29
- package/dist/chunks/{aisdk-native-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- 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 +115 -115
- package/dist/config/plugin/command.js +207 -207
- 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 +124 -124
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- 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 +113 -113
- 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 +362 -362
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +85 -85
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +95 -95
- 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 +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- 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 +97 -97
- package/dist/plugin/command.js +92 -92
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- 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 +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +68 -68
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +2 -2
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- 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 +7 -7
- 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 +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +5 -5
- 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 +223 -223
- 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 +108 -108
- package/dist/session/runner/step.js +119 -119
- 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 +83 -83
- 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 +145 -145
- 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 +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +84 -84
- 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 +119 -119
- 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 +113 -113
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-befyamhm.js +0 -22
- package/dist/chunks/aisdk-native-q509s3k3.js +0 -18
- package/dist/chunks/aisdk-native-qyzw8b7h.js +0 -247
- /package/dist/chunks/{aisdk-native-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-jtp7wgq3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID10
|
|
8
|
+
} from "./persistent-pty-p14yjxpe.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service79
|
|
11
|
+
} from "./persistent-pty-evdf6mqh.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event14
|
|
15
|
+
} from "./persistent-pty-grq3ses6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID7,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-f3hkpvhb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service61
|
|
22
|
+
} from "./persistent-pty-y13ybha0.js";
|
|
23
23
|
import {
|
|
24
24
|
get2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-zev1jhas.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-1ymn0wqz.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID7.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service61;
|
|
159
|
+
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID11.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID11.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID11.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID10.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID10.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID11.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID11.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-1ymn0wqz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID11,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-jtp7wgq3.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-0n4wjfgh.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID11.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info11 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info11, exports_mcp5 };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-evatnbz9.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node84
|
|
9
|
+
} from "./persistent-pty-evdf6mqh.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-yddgxcp4.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-dj2t23y0.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-5c4hm403.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./persistent-pty-aj01v8qn.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./persistent-pty-gnx4ytbv.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./persistent-pty-5v072v7y.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./persistent-pty-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node31
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -275,7 +275,7 @@ function projectIdle(db, event) {
|
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
277
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
278
|
-
const bus = yield*
|
|
278
|
+
const bus = yield* Service79;
|
|
279
279
|
const db = (yield* Service80).db;
|
|
280
280
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
281
281
|
const stored = yield* db.insert(SessionTable2).values({
|
|
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
455
455
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
456
456
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
457
457
|
}));
|
|
458
|
-
var
|
|
458
|
+
var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
|
|
459
459
|
|
|
460
|
-
export { SessionAlreadyProjected2,
|
|
460
|
+
export { SessionAlreadyProjected2, node31, exports_projector };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./persistent-pty-jefma2gq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID18
|
|
10
|
+
} from "./persistent-pty-81swgkk7.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-evatnbz9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node84
|
|
21
|
+
} from "./persistent-pty-evdf6mqh.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-dj2t23y0.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-m0jqrx5p.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node81
|
|
31
|
+
} from "./persistent-pty-8resc561.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./persistent-pty-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make16
|
|
38
|
+
} from "./persistent-pty-2g51tfx8.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event9,
|
|
53
|
+
Info: () => Info18,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service48,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node53
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info18 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event9 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service48 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service76;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make16;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event9.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service48.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node53 = makeLocationNode({
|
|
273
|
+
service: Service48,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info18, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event9, Service48, node53, exports_worktree2, OperationError2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service39,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node43
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service39 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service39, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service39.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service36, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node43 = makeGlobalNode({ service: Service39, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service39, node43, exports_environment };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-5cvq9r0s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node81
|
|
10
|
+
} from "./persistent-pty-8resc561.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service71,
|
|
13
|
+
node76
|
|
14
|
+
} from "./persistent-pty-3fb2xjrz.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service20,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node23,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service20 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service76;
|
|
61
|
+
const permission = yield* Service71;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service20.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node23 = makeLocationNode({ service: Service20, layer, deps: [FSUtil.node, node81, node76] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service20, resolvePath2, node23, exports_file_access };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service58,
|
|
3
|
+
node63,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-agfsn1y7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service57,
|
|
8
|
+
node62
|
|
9
|
+
} from "./persistent-pty-v32t8jx1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./persistent-pty-1a9xvnjj.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-e7v5pkey.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service58, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
29
29
|
return Effect.void;
|
|
30
30
|
if (Exit.isSuccess(exit)) {
|
|
31
|
-
build.close = Context.get(exit.value,
|
|
31
|
+
build.close = Context.get(exit.value, Service49).close;
|
|
32
32
|
return Effect.void;
|
|
33
33
|
}
|
|
34
34
|
MutableHashMap.remove(builds, ref);
|
|
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
50
50
|
})
|
|
51
51
|
};
|
|
52
52
|
const bindings = [
|
|
53
|
-
|
|
53
|
+
node62.replace(Layer.succeed(Service57, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node63.replace(Layer.succeed(Service58, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|