@opencode/core 0.0.0-dev-19442 → 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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{formatter-0t7gmehk.js → persistent-pty-005h1arw.js} +12 -12
- package/dist/chunks/{formatter-xx38zygr.js → persistent-pty-01a5qg47.js} +15 -15
- package/dist/chunks/{formatter-pys7r5ft.js → persistent-pty-02bvreen.js} +22 -22
- package/dist/chunks/{formatter-ya3pk50a.js → persistent-pty-04a7cva4.js} +6 -6
- package/dist/chunks/{formatter-tjv8j3ty.js → persistent-pty-05dmne8k.js} +18 -18
- package/dist/chunks/{formatter-3ythc6yv.js → persistent-pty-0gr7cw0d.js} +4 -4
- package/dist/chunks/{formatter-27cvmr0a.js → persistent-pty-0n4wjfgh.js} +7 -7
- package/dist/chunks/{formatter-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{formatter-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{formatter-tvejcd1c.js → persistent-pty-0q7f28vn.js} +22 -22
- package/dist/chunks/{formatter-ebk5sng0.js → persistent-pty-0qv0g3jd.js} +10 -10
- package/dist/chunks/{formatter-eq23s0y6.js → persistent-pty-0r7yqxbf.js} +5 -5
- package/dist/chunks/{formatter-z5249fh5.js → persistent-pty-0ta9dxrd.js} +20 -20
- package/dist/chunks/{formatter-pmr4s4kc.js → persistent-pty-0v53mg2y.js} +4 -4
- package/dist/chunks/{formatter-zm73fw82.js → persistent-pty-18ty43sg.js} +14 -14
- package/dist/chunks/{formatter-0gegznas.js → persistent-pty-1a9xvnjj.js} +20 -20
- package/dist/chunks/{formatter-eecr541e.js → persistent-pty-1c7pak08.js} +5 -5
- package/dist/chunks/{formatter-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{formatter-vfbvz2sn.js → persistent-pty-1mx7jt97.js} +11 -11
- package/dist/chunks/{formatter-wr7ps67x.js → persistent-pty-1q5awywt.js} +5 -5
- package/dist/chunks/{formatter-p688bkc5.js → persistent-pty-1qecm3at.js} +9 -9
- package/dist/chunks/{formatter-1ygqh575.js → persistent-pty-1ygqh575.js} +2 -2
- package/dist/chunks/{formatter-3sztcym1.js → persistent-pty-1ymn0wqz.js} +10 -10
- package/dist/chunks/{formatter-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{formatter-qfnbjkve.js → persistent-pty-25r3kwhs.js} +11 -11
- package/dist/chunks/{formatter-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{formatter-vak1nh3a.js → persistent-pty-2g51tfx8.js} +5 -5
- package/dist/chunks/{formatter-4gyv9dcq.js → persistent-pty-2mgtw022.js} +12 -12
- package/dist/chunks/{formatter-tcent856.js → persistent-pty-2qq2nh41.js} +23 -23
- package/dist/chunks/{formatter-kfw23kb1.js → persistent-pty-2srq3db3.js} +37 -37
- package/dist/chunks/{formatter-77nagcj1.js → persistent-pty-2wyjv582.js} +4 -4
- package/dist/chunks/{formatter-wvx822mk.js → persistent-pty-2yrppz7w.js} +32 -32
- package/dist/chunks/{formatter-qyj995fp.js → persistent-pty-2zcvt653.js} +9 -9
- package/dist/chunks/{formatter-5mpmxcn3.js → persistent-pty-2zma1qrf.js} +9 -9
- package/dist/chunks/{formatter-78v47nsk.js → persistent-pty-37s12vcn.js} +5 -5
- package/dist/chunks/{formatter-n5zjdcc0.js → persistent-pty-380vjcmd.js} +1 -1
- package/dist/chunks/{formatter-x4j2hrja.js → persistent-pty-38nhqbm5.js} +3 -3
- package/dist/chunks/{formatter-rtfynwzt.js → persistent-pty-3fb2xjrz.js} +54 -54
- package/dist/chunks/{formatter-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{formatter-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-bwatdc02.js → persistent-pty-3ykbker3.js} +11 -11
- package/dist/chunks/{formatter-z8vercf0.js → persistent-pty-3ynntrmw.js} +10 -10
- package/dist/chunks/{formatter-1fa9ans5.js → persistent-pty-4b6bntqd.js} +1 -1
- package/dist/chunks/{formatter-y20mwvjq.js → persistent-pty-4dwv79pw.js} +4 -4
- package/dist/chunks/{formatter-b0awdqvx.js → persistent-pty-4gycnsfp.js} +8 -8
- package/dist/chunks/{formatter-8gbdh1kt.js → persistent-pty-4gyf98v7.js} +26 -26
- package/dist/chunks/{formatter-jm6wy66x.js → persistent-pty-4hv5z3sn.js} +278 -278
- package/dist/chunks/persistent-pty-4v7qdvcn.js +18 -0
- package/dist/chunks/{formatter-66gmdr70.js → persistent-pty-57bvaje9.js} +26 -26
- package/dist/chunks/{formatter-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/{formatter-xejpdtff.js → persistent-pty-5cvq9r0s.js} +41 -41
- package/dist/chunks/{formatter-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{formatter-6ck2t1rv.js → persistent-pty-5kptn8c0.js} +9 -9
- package/dist/chunks/{formatter-1e1eh5br.js → persistent-pty-5n0t6mpe.js} +11 -11
- package/dist/chunks/{formatter-amm4215g.js → persistent-pty-5sgymb5p.js} +13 -13
- package/dist/chunks/{formatter-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{formatter-2xp9zh4w.js → persistent-pty-5v072v7y.js} +15 -15
- package/dist/chunks/{formatter-zetmaeve.js → persistent-pty-60t5zk3s.js} +24 -24
- package/dist/chunks/{formatter-kq1kcxwx.js → persistent-pty-61e1gdwj.js} +55 -55
- package/dist/chunks/{formatter-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{formatter-2402vzrj.js → persistent-pty-6h73sxmp.js} +5 -5
- package/dist/chunks/{formatter-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{formatter-5686k794.js → persistent-pty-6pd3eqcb.js} +7 -7
- package/dist/chunks/{formatter-35ybfb31.js → persistent-pty-6vwr4pa3.js} +23 -23
- package/dist/chunks/{formatter-kgwny488.js → persistent-pty-6y31jycr.js} +1 -1
- package/dist/chunks/{formatter-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{formatter-tmr90kjh.js → persistent-pty-73bckjvz.js} +8 -8
- package/dist/chunks/{formatter-n3me71ma.js → persistent-pty-74031ssw.js} +20 -20
- package/dist/chunks/{formatter-n07qvca3.js → persistent-pty-7561qs2q.js} +11 -11
- package/dist/chunks/{formatter-hv4dbmz4.js → persistent-pty-785g2v9c.js} +2 -2
- package/dist/chunks/{formatter-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-zae39fg2.js → persistent-pty-7hha6ye0.js} +10 -10
- package/dist/chunks/{formatter-d8vv29gg.js → persistent-pty-7jhefbjk.js} +21 -21
- package/dist/chunks/{formatter-7zph4ccs.js → persistent-pty-7tdmgh4h.js} +26 -26
- package/dist/chunks/{formatter-wkkxymjz.js → persistent-pty-7th6m6bc.js} +20 -20
- package/dist/chunks/{formatter-fmmn8x74.js → persistent-pty-7ybwwvvx.js} +3 -3
- package/dist/chunks/{formatter-rk0rec3h.js → persistent-pty-81swgkk7.js} +9 -9
- package/dist/chunks/{formatter-gxr5v7wk.js → persistent-pty-82sjhv5t.js} +18 -18
- package/dist/chunks/{formatter-07770t2t.js → persistent-pty-83avj3cc.js} +8 -8
- package/dist/chunks/{formatter-9tjnx8ba.js → persistent-pty-8d1bfgha.js} +10 -10
- package/dist/chunks/{formatter-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{formatter-fy5dbkry.js → persistent-pty-8resc561.js} +17 -17
- package/dist/chunks/{formatter-fdv30zvt.js → persistent-pty-8rqycdgd.js} +4 -4
- package/dist/chunks/{formatter-zwwmew6a.js → persistent-pty-8sghyhzw.js} +8 -8
- package/dist/chunks/{formatter-ran1x3dp.js → persistent-pty-94ppg1m8.js} +20 -20
- package/dist/chunks/{formatter-g97k7hqe.js → persistent-pty-954vm9zf.js} +6 -6
- package/dist/chunks/{formatter-xypf59mt.js → persistent-pty-9bqw9ts7.js} +3 -3
- package/dist/chunks/{formatter-rbp9pwyt.js → persistent-pty-9n9jdqe1.js} +24 -24
- package/dist/chunks/{formatter-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{formatter-86cj3c8h.js → persistent-pty-abnsb7h0.js} +22 -22
- package/dist/chunks/{formatter-j5hcmc17.js → persistent-pty-acyty1wx.js} +5 -5
- package/dist/chunks/{formatter-4a4wm3fd.js → persistent-pty-agfsn1y7.js} +10 -10
- package/dist/chunks/{formatter-cn9ts38g.js → persistent-pty-ahjq8v9s.js} +20 -20
- package/dist/chunks/{formatter-bmb9q18h.js → persistent-pty-aj01v8qn.js} +20 -20
- package/dist/chunks/{formatter-3a3nm9ck.js → persistent-pty-az8mc2wb.js} +25 -25
- package/dist/chunks/{formatter-kyrbgmgz.js → persistent-pty-b1hwkhhg.js} +4 -4
- package/dist/chunks/{formatter-qssq5wvh.js → persistent-pty-b2jx7zxs.js} +1 -1
- package/dist/chunks/{formatter-r78rzmsw.js → persistent-pty-b3ba0j7k.js} +17 -17
- package/dist/chunks/{formatter-m31d5xjk.js → persistent-pty-b5qypc0b.js} +25 -25
- package/dist/chunks/{formatter-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{formatter-pypsba0w.js → persistent-pty-bcjrs64p.js} +42 -42
- package/dist/chunks/{formatter-17exey95.js → persistent-pty-c67p2atg.js} +22 -22
- package/dist/chunks/{formatter-mjymc32g.js → persistent-pty-cavr175a.js} +4 -4
- package/dist/chunks/{formatter-nbcf758j.js → persistent-pty-cf9e7x3q.js} +18 -18
- package/dist/chunks/{formatter-szy17rma.js → persistent-pty-cnemypr9.js} +2 -2
- package/dist/chunks/{formatter-tdhe5xga.js → persistent-pty-d1x6gan2.js} +8 -8
- package/dist/chunks/{formatter-1z802faq.js → persistent-pty-d5nw6pbp.js} +5 -5
- package/dist/chunks/{formatter-w19rq0qz.js → persistent-pty-d88cyh3f.js} +29 -29
- package/dist/chunks/{formatter-jfkc9b5n.js → persistent-pty-d9sn21bc.js} +2 -2
- package/dist/chunks/{formatter-x0wwt8km.js → persistent-pty-dad2c0nf.js} +15 -15
- package/dist/chunks/{formatter-yvxd7hem.js → persistent-pty-dbp4xrc5.js} +15 -15
- package/dist/chunks/{formatter-ymyxwevk.js → persistent-pty-demce0me.js} +15 -15
- package/dist/chunks/{formatter-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{formatter-wndmtb1p.js → persistent-pty-djaqjjbd.js} +8 -8
- package/dist/chunks/{formatter-68mqsjbx.js → persistent-pty-dvgsdjgm.js} +39 -39
- package/dist/chunks/{formatter-9yp3h48g.js → persistent-pty-dwbn7e6b.js} +33 -33
- package/dist/chunks/{formatter-yjgtw0qv.js → persistent-pty-dy4g773q.js} +41 -41
- package/dist/chunks/{formatter-14s5dwzm.js → persistent-pty-e0zsr1va.js} +17 -17
- package/dist/chunks/persistent-pty-e7v5pkey.js +247 -0
- package/dist/chunks/{formatter-nhy5jxhy.js → persistent-pty-e82z9tr0.js} +7 -7
- package/dist/chunks/{formatter-t550f9t1.js → persistent-pty-eaj1djv9.js} +8 -8
- package/dist/chunks/{formatter-4k602d3g.js → persistent-pty-et687rst.js} +20 -20
- package/dist/chunks/{formatter-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{formatter-bfajmyfy.js → persistent-pty-evatnbz9.js} +3 -3
- package/dist/chunks/{formatter-1g7m4r41.js → persistent-pty-evdf6mqh.js} +4 -4
- package/dist/chunks/{formatter-rra39r6b.js → persistent-pty-evtvm6ad.js} +18 -18
- package/dist/chunks/{formatter-knaweb83.js → persistent-pty-evzmkbr0.js} +11 -11
- package/dist/chunks/{formatter-24g3tesp.js → persistent-pty-f3hkpvhb.js} +30 -30
- package/dist/chunks/{formatter-f2rbzmx2.js → persistent-pty-f4vy2wnr.js} +12 -12
- package/dist/chunks/{formatter-efcedsnh.js → persistent-pty-f5ayg8jb.js} +21 -21
- package/dist/chunks/{formatter-tyq6zn03.js → persistent-pty-ffnm5d7g.js} +37 -37
- package/dist/chunks/{formatter-z7nszk6n.js → persistent-pty-fkc03k84.js} +9 -9
- package/dist/chunks/{formatter-3k6sfp50.js → persistent-pty-fng9e0je.js} +5 -5
- package/dist/chunks/{formatter-v9btxpfp.js → persistent-pty-frwghdhm.js} +4 -4
- package/dist/chunks/{formatter-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{formatter-4r64zwvk.js → persistent-pty-gamervdr.js} +22 -22
- package/dist/chunks/{formatter-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-dg40m71b.js → persistent-pty-gmf4816w.js} +20 -20
- package/dist/chunks/{formatter-bajakh74.js → persistent-pty-gnx4ytbv.js} +4 -4
- package/dist/chunks/{formatter-2jxkcfxh.js → persistent-pty-grq3ses6.js} +30 -30
- package/dist/chunks/{formatter-fhs97t90.js → persistent-pty-gsx0ryk4.js} +5 -5
- package/dist/chunks/{formatter-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{formatter-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{formatter-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-2j72yz8b.js → persistent-pty-hb9da54z.js} +10 -10
- package/dist/chunks/{formatter-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{formatter-tkd28t9z.js → persistent-pty-hgkznrd4.js} +8 -8
- package/dist/chunks/{formatter-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{formatter-y6f0p4jw.js → persistent-pty-j7wq2tw5.js} +3 -3
- package/dist/chunks/{formatter-743vzpe1.js → persistent-pty-j8j8t0xr.js} +12 -12
- package/dist/chunks/{formatter-9fwp41vh.js → persistent-pty-jefma2gq.js} +10 -10
- package/dist/chunks/{formatter-n7epfj1e.js → persistent-pty-jkksjy64.js} +6 -6
- package/dist/chunks/{formatter-51pnjp32.js → persistent-pty-jmpt8wxb.js} +9 -9
- package/dist/chunks/{formatter-dge3x2p3.js → persistent-pty-jptpv9dn.js} +17 -17
- package/dist/chunks/{formatter-dt849bc4.js → persistent-pty-jtp7wgq3.js} +8 -8
- package/dist/chunks/{formatter-2ye3w4c6.js → persistent-pty-kc733a55.js} +3 -3
- package/dist/chunks/{formatter-t1bhcjx3.js → persistent-pty-kcwf74x3.js} +1 -1
- package/dist/chunks/{formatter-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{formatter-hp5e6fgb.js → persistent-pty-kwwkrpcc.js} +13 -13
- package/dist/chunks/{formatter-4nc4g32g.js → persistent-pty-kyj4bb94.js} +10 -10
- package/dist/chunks/{formatter-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{formatter-jtbqtm0k.js → persistent-pty-m25q4h22.js} +7 -7
- package/dist/chunks/{formatter-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-mhkvc446.js → persistent-pty-mhkvc446.js} +1 -1
- package/dist/chunks/{formatter-mkcjrzeh.js → persistent-pty-mkcjrzeh.js} +1 -1
- package/dist/chunks/{formatter-2fepy6kp.js → persistent-pty-mz9yydp9.js} +30 -30
- package/dist/chunks/{formatter-nt0xtg2m.js → persistent-pty-n3njy178.js} +22 -22
- package/dist/chunks/{formatter-hef2fv9c.js → persistent-pty-ntb0be4d.js} +12 -12
- package/dist/chunks/{formatter-fban3jjy.js → persistent-pty-p14yjxpe.js} +12 -12
- package/dist/chunks/{formatter-phhzch1s.js → persistent-pty-p4yvam9z.js} +5 -5
- package/dist/chunks/{formatter-msq0jde0.js → persistent-pty-paegk39x.js} +4 -4
- package/dist/chunks/{formatter-cyqm2h3q.js → persistent-pty-parf39xm.js} +4 -4
- package/dist/chunks/{formatter-2qbzv385.js → persistent-pty-pek6bvtj.js} +13 -13
- package/dist/chunks/{formatter-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-83jsjxge.js → persistent-pty-pmdkw4vk.js} +34 -34
- package/dist/chunks/{formatter-hf8cnsjw.js → persistent-pty-q1c4k7jk.js} +1 -1
- package/dist/chunks/{formatter-5zn8m59m.js → persistent-pty-q2vd4ycm.js} +27 -27
- package/dist/chunks/{formatter-hrmdcqyf.js → persistent-pty-q52v1zkd.js} +20 -20
- package/dist/chunks/{formatter-zav06jzw.js → persistent-pty-q5asdkn4.js} +4 -4
- package/dist/chunks/{formatter-gzbxtshv.js → persistent-pty-q7jk22gt.js} +86 -86
- package/dist/chunks/{formatter-8014eh36.js → persistent-pty-q7z1cryp.js} +39 -39
- package/dist/chunks/{formatter-9cetqcc0.js → persistent-pty-q851ajnw.js} +3 -3
- package/dist/chunks/{formatter-qba6esk9.js → persistent-pty-qba6esk9.js} +2 -2
- package/dist/chunks/{formatter-cfdfryy5.js → persistent-pty-qchhsb8n.js} +32 -32
- package/dist/chunks/{formatter-41f61ev5.js → persistent-pty-qfhza6js.js} +9 -9
- package/dist/chunks/{formatter-0jwsre1p.js → persistent-pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{formatter-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-3x8gcmrs.js → persistent-pty-qwkytnft.js} +6 -6
- package/dist/chunks/{formatter-v6kh18tr.js → persistent-pty-qx1qep3t.js} +4 -4
- package/dist/chunks/{formatter-b42np7pe.js → persistent-pty-r70vw89t.js} +32 -32
- package/dist/chunks/{formatter-wf6rfhw9.js → persistent-pty-r7t8b8jd.js} +19 -19
- package/dist/chunks/{formatter-1acjjqhc.js → persistent-pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{formatter-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
- package/dist/chunks/{formatter-5730y88m.js → persistent-pty-r9tx91hm.js} +9 -9
- package/dist/chunks/{formatter-g2y161wv.js → persistent-pty-rav9e4bf.js} +8 -8
- package/dist/chunks/{formatter-xz9wm8d3.js → persistent-pty-rkqecthd.js} +8 -8
- package/dist/chunks/{formatter-mjxbdjmk.js → persistent-pty-rnh8b45z.js} +4 -4
- package/dist/chunks/{formatter-b6r1f5rm.js → persistent-pty-rp2majj0.js} +22 -22
- package/dist/chunks/{formatter-7s02b6me.js → persistent-pty-rstnkd3y.js} +1 -1
- package/dist/chunks/{formatter-2p4d45ss.js → persistent-pty-ry642edr.js} +25 -25
- package/dist/chunks/{formatter-mzzxvvcj.js → persistent-pty-rzx3xp0s.js} +18 -18
- package/dist/chunks/{formatter-76n9k95k.js → persistent-pty-s0cv743x.js} +30 -30
- package/dist/chunks/{formatter-acsnj85b.js → persistent-pty-s4gntk5x.js} +6 -6
- package/dist/chunks/{formatter-cr07tj7n.js → persistent-pty-s8zy8myc.js} +5 -5
- package/dist/chunks/{formatter-9v9evep5.js → persistent-pty-sm8ax251.js} +18 -18
- package/dist/chunks/{formatter-63bkm2xc.js → persistent-pty-sn9jxc3m.js} +33 -33
- package/dist/chunks/{formatter-8ppq07x6.js → persistent-pty-sp5zyyma.js} +8 -8
- package/dist/chunks/{formatter-z9bbcn2s.js → persistent-pty-srqqe1ng.js} +18 -18
- package/dist/chunks/{formatter-vwc53vnk.js → persistent-pty-sx163ae1.js} +13 -13
- package/dist/chunks/{formatter-7stj2g6t.js → persistent-pty-t2g1zcbf.js} +9 -9
- package/dist/chunks/{formatter-0z4ganrk.js → persistent-pty-t62eftq5.js} +170 -170
- package/dist/chunks/{formatter-2ee8pmxs.js → persistent-pty-t8r3ep1g.js} +5 -5
- package/dist/chunks/{formatter-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-89znhe33.js → persistent-pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{formatter-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{formatter-mq24hmwn.js → persistent-pty-tn2twcc1.js} +39 -39
- package/dist/chunks/{formatter-cj7ef3kd.js → persistent-pty-tqp33yxr.js} +6 -6
- package/dist/chunks/{formatter-dghgjkkt.js → persistent-pty-tryp60pv.js} +4 -4
- package/dist/chunks/{formatter-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{formatter-w9nng7hv.js → persistent-pty-v32t8jx1.js} +6 -6
- package/dist/chunks/{formatter-n5jxhyy6.js → persistent-pty-vagsfnmd.js} +20 -20
- package/dist/chunks/{formatter-npfjnfyw.js → persistent-pty-varrh6ax.js} +14 -14
- package/dist/chunks/{formatter-rx5z47at.js → persistent-pty-vas057hg.js} +30 -30
- package/dist/chunks/{formatter-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/persistent-pty-vfnfx4w1.js +22 -0
- package/dist/chunks/{formatter-zcjdhcyr.js → persistent-pty-vmrw21yy.js} +12 -12
- package/dist/chunks/{formatter-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{formatter-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-p33ejz0k.js → persistent-pty-w79zsp0s.js} +1 -1
- package/dist/chunks/{formatter-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-844q5q2y.js → persistent-pty-wfh3xe1h.js} +10 -10
- package/dist/chunks/{formatter-syd2ek2m.js → persistent-pty-wh54hqqb.js} +20 -20
- package/dist/chunks/{formatter-vjtcf3cg.js → persistent-pty-wjx4ep27.js} +34 -34
- package/dist/chunks/{formatter-8d321qp1.js → persistent-pty-wwgs2ayd.js} +27 -27
- package/dist/chunks/{formatter-r1p8h42q.js → persistent-pty-wxz5zpgv.js} +9 -9
- package/dist/chunks/{formatter-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{formatter-dv1qgsyq.js → persistent-pty-x3et2xth.js} +8 -8
- package/dist/chunks/{formatter-d07z2d7y.js → persistent-pty-x5zz50tg.js} +15 -15
- package/dist/chunks/{formatter-phasdpa1.js → persistent-pty-x7chxcy7.js} +17 -17
- package/dist/chunks/{formatter-07g5132y.js → persistent-pty-xbevy1hz.js} +20 -20
- package/dist/chunks/{formatter-jbtsx043.js → persistent-pty-xcvfwc99.js} +21 -21
- package/dist/chunks/{formatter-9e77hs8e.js → persistent-pty-xe3s6cj9.js} +19 -19
- package/dist/chunks/{formatter-0996nyz8.js → persistent-pty-xhmq8qgk.js} +9 -9
- package/dist/chunks/{formatter-pd900gms.js → persistent-pty-xnpf3raf.js} +26 -26
- package/dist/chunks/{formatter-6jex2xta.js → persistent-pty-xsdh20fb.js} +5 -5
- package/dist/chunks/{formatter-dr3wacvp.js → persistent-pty-xvqzhzw3.js} +13 -13
- package/dist/chunks/{formatter-m3ts4v0j.js → persistent-pty-xxxe2k5h.js} +12 -12
- package/dist/chunks/{formatter-8zy8t8gf.js → persistent-pty-xz54ae1b.js} +62 -62
- package/dist/chunks/{formatter-aefq2yfw.js → persistent-pty-y0vyvf4s.js} +45 -45
- package/dist/chunks/{formatter-hdgeqy3n.js → persistent-pty-y13ybha0.js} +25 -25
- package/dist/chunks/{formatter-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-xz285jew.js → persistent-pty-y36xwgv2.js} +8 -8
- package/dist/chunks/{formatter-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
- package/dist/chunks/{formatter-1ga0n8k4.js → persistent-pty-y8hvxyf6.js} +47 -47
- package/dist/chunks/{formatter-0hc60vqt.js → persistent-pty-y9mdtrwd.js} +6 -6
- package/dist/chunks/{formatter-q542kxb4.js → persistent-pty-ybbr8802.js} +10 -10
- package/dist/chunks/{formatter-r1wdcgzk.js → persistent-pty-yddgxcp4.js} +5 -5
- package/dist/chunks/{formatter-nf8etk0h.js → persistent-pty-yphmshtg.js} +14 -14
- package/dist/chunks/{formatter-xh0q5d19.js → persistent-pty-yqfhb4y9.js} +33 -33
- package/dist/chunks/{formatter-vh2brwev.js → persistent-pty-yqgts32m.js} +11 -11
- package/dist/chunks/{formatter-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{formatter-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{formatter-79renbpq.js → persistent-pty-yw4qwv7s.js} +4 -4
- package/dist/chunks/{formatter-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-dkfqzx94.js → persistent-pty-z2twpmdm.js} +7 -7
- package/dist/chunks/{formatter-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{formatter-b95h3j77.js → persistent-pty-z8j97m5a.js} +11 -11
- package/dist/chunks/{formatter-gwf61436.js → persistent-pty-z8q6jatt.js} +25 -25
- package/dist/chunks/{formatter-jnjr1yzt.js → persistent-pty-z9nkkxss.js} +33 -33
- package/dist/chunks/{formatter-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{formatter-j6qbcxka.js → persistent-pty-zev1jhas.js} +17 -17
- package/dist/chunks/{formatter-kwk5x0cs.js → persistent-pty-zmv8fzaa.js} +46 -46
- package/dist/chunks/{formatter-22mjh9ty.js → persistent-pty-zqtt8gvt.js} +81 -81
- package/dist/chunks/{formatter-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-d8sdrn5j.js → persistent-pty-ztn5y39t.js} +7 -7
- package/dist/chunks/{formatter-x93xphn0.js → persistent-pty-zvd3hp2n.js} +26 -26
- package/dist/chunks/{formatter-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- 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 +205 -205
- 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 +115 -115
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- 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 +7 -7
- 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 +2 -2
- 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 +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- 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 +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +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 +117 -117
- 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 +74 -74
- 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 +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- 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 +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- 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 +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +4 -4
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +112 -112
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +99 -99
- package/dist/tool/plugin/write.js +115 -115
- 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 +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +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 +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/formatter-1x11rq2a.js +0 -18
- package/dist/chunks/formatter-2ma3xmgy.js +0 -247
- package/dist/chunks/formatter-gkc9xmpb.js +0 -22
- /package/dist/chunks/{formatter-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
- /package/dist/chunks/{formatter-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-paphc93g.js → persistent-pty-paphc93g.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./persistent-pty-8resc561.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service40
|
|
9
|
+
} from "./persistent-pty-y0vyvf4s.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./persistent-pty-sn9jxc3m.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin22
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin22 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service40;
|
|
34
|
+
const location = yield* Service76;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service48;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin27 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin22, exports_worktree };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-evatnbz9.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info28,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service73,
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info28 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service73 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID14.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service73.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node78 = makeGlobalNode({ service: Service73, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID14, Info28, ListInput5, AddInput2, Service73, node78, exports_saved };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-evdf6mqh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./persistent-pty-qchhsb8n.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./persistent-pty-0q7f28vn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./persistent-pty-j8j8t0xr.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-qwkytnft.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-rnh8b45z.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-q851ajnw.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service46;
|
|
58
|
+
const toolOutput = yield* Service45;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make7 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-evdf6mqh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./persistent-pty-8resc561.js";
|
|
9
9
|
import {
|
|
10
10
|
ID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service51,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node57
|
|
16
|
+
} from "./persistent-pty-xe3s6cj9.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_pty, {
|
|
|
30
30
|
Info: () => Info2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service13,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node16
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service76;
|
|
63
|
+
const shell = yield* Service51;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node16 = makeLocationNode({
|
|
274
|
+
service: Service13,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node81, node57]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2,
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node16, exports_pty, Event2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-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: () => Options9,
|
|
15
|
+
Service: () => Service51,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured10,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node57,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options9 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service51 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list3(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(Service51, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service51.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured10(options) {
|
|
209
|
+
return makeLocationNode({ service: Service51, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node57 = configured10();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options9, Service51, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list3, configured10, node57, exports_select };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node8 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node8, exports_update };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-evdf6mqh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event16,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options10,
|
|
30
|
+
Service: () => Service69,
|
|
31
|
+
configured: () => configured11,
|
|
32
|
+
layer: () => layer25,
|
|
33
|
+
node: () => node74
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event16 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options10 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service69 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer25 = (options) => Layer.effect(Service69, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event16.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service69.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer19 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured11(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service69,
|
|
110
|
+
layer: layer25(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node74 = configured11();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event16, Options10, Service69, layer25, configured11, node74, exports_instruction_discovery };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-jtp7wgq3.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.provider.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID11.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID11.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
89
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
90
|
-
if (evt.model.providerID !==
|
|
90
|
+
if (evt.model.providerID !== ID11.googleVertex)
|
|
91
91
|
return;
|
|
92
92
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
93
93
|
}));
|