@opencode-ai/core 0.0.0-dev-19172 → 0.0.0-dev-19173
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 +5 -5
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{file-retention-bf0ztrs3.js → pty-00z3vp5f.js} +4 -4
- package/dist/chunks/{file-retention-d1a1bt21.js → pty-034xe7ps.js} +5 -5
- package/dist/chunks/{file-retention-4w149egh.js → pty-05rkf16m.js} +10 -10
- package/dist/chunks/pty-06sgeqe0.js +22 -0
- package/dist/chunks/{file-retention-768z0hjh.js → pty-0e01nj6k.js} +1 -1
- package/dist/chunks/{file-retention-0e0xafbb.js → pty-0e0xafbb.js} +2 -2
- package/dist/chunks/{file-retention-1hy241bm.js → pty-0e772669.js} +3 -3
- package/dist/chunks/{file-retention-2sjnsy3c.js → pty-0g1jdj53.js} +28 -28
- package/dist/chunks/{file-retention-pz2n2jx2.js → pty-0hvb2nf8.js} +16 -16
- package/dist/chunks/{file-retention-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-dm4jmc1z.js → pty-0qpy8c3h.js} +6 -6
- package/dist/chunks/{file-retention-48ev9q21.js → pty-0s2shbjn.js} +3 -3
- package/dist/chunks/{file-retention-0s9ayhjt.js → pty-0s9ayhjt.js} +1 -1
- package/dist/chunks/{file-retention-09ywgxwg.js → pty-16r38w9g.js} +4 -4
- package/dist/chunks/{file-retention-1ct4r87x.js → pty-1ct4r87x.js} +1 -1
- package/dist/chunks/{file-retention-mcv9pgkp.js → pty-1f7ccf2p.js} +6 -6
- package/dist/chunks/{file-retention-yh7xbh7w.js → pty-1kqw4rdd.js} +31 -31
- package/dist/chunks/{file-retention-637qq8n2.js → pty-1n116cmy.js} +9 -9
- package/dist/chunks/{file-retention-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-qm3e3s36.js → pty-229n223y.js} +28 -28
- package/dist/chunks/{file-retention-v5afwe7f.js → pty-27cy7znn.js} +6 -6
- package/dist/chunks/{file-retention-kq2xfdb5.js → pty-27rbv8e3.js} +25 -25
- package/dist/chunks/{file-retention-jk2f9dpk.js → pty-28f1y114.js} +13 -13
- package/dist/chunks/{file-retention-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-549wn4nn.js → pty-2e2d6q87.js} +25 -25
- package/dist/chunks/{file-retention-vbdwr9gf.js → pty-2e5bqtpa.js} +34 -34
- package/dist/chunks/{file-retention-2ht70gj7.js → pty-2ht70gj7.js} +1 -1
- package/dist/chunks/{file-retention-zw4pk1bw.js → pty-2xwkyk0m.js} +5 -5
- package/dist/chunks/{file-retention-0kahwk4p.js → pty-30jr7zz1.js} +16 -16
- package/dist/chunks/{file-retention-dyz4rdvp.js → pty-39hnsdnv.js} +39 -39
- package/dist/chunks/{file-retention-e1tm9aav.js → pty-39zpmefd.js} +26 -26
- package/dist/chunks/{file-retention-7aq2fs8e.js → pty-3bdhpy4d.js} +21 -21
- package/dist/chunks/{file-retention-tw0mb86q.js → pty-3bk28qgk.js} +10 -10
- package/dist/chunks/{file-retention-gdvy8fx6.js → pty-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-retention-qwr8sv5a.js → pty-3gq0vy0h.js} +2 -2
- package/dist/chunks/{file-retention-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-vg6xpb0x.js → pty-3k79xy7t.js} +9 -9
- package/dist/chunks/{file-retention-wfpv7nq4.js → pty-3kv6khp1.js} +5 -5
- package/dist/chunks/{file-retention-3qzbfqsy.js → pty-3qzbfqsy.js} +2 -2
- package/dist/chunks/{file-retention-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-vdgak15q.js → pty-42fxgygn.js} +6 -6
- package/dist/chunks/{file-retention-024e4rjz.js → pty-42tkewwq.js} +4 -4
- package/dist/chunks/{file-retention-tzmrq1hj.js → pty-43nyxw14.js} +16 -16
- package/dist/chunks/{file-retention-xb5d9ad8.js → pty-44zne82a.js} +8 -8
- package/dist/chunks/{file-retention-454k5vzh.js → pty-454k5vzh.js} +1 -1
- package/dist/chunks/{file-retention-mawa6aat.js → pty-45rge8j9.js} +15 -15
- package/dist/chunks/{file-retention-rntd5zhx.js → pty-47k6q3bb.js} +6 -6
- package/dist/chunks/{file-retention-zajwd6at.js → pty-4bszfkn1.js} +5 -5
- package/dist/chunks/{file-retention-qwr8y3n7.js → pty-4cv9f4xd.js} +18 -18
- package/dist/chunks/{file-retention-1c7r0953.js → pty-4gnp7s9d.js} +11 -11
- package/dist/chunks/{file-retention-4r2nyarf.js → pty-4r2nyarf.js} +1 -1
- package/dist/chunks/{file-retention-yhyk0etm.js → pty-4xah2tk6.js} +19 -19
- package/dist/chunks/{file-retention-2w6bfmvf.js → pty-50sdxj4q.js} +1 -1
- package/dist/chunks/{file-retention-376701a1.js → pty-584xbtr7.js} +25 -25
- package/dist/chunks/{file-retention-5m3fjy3v.js → pty-59fxchxt.js} +52 -52
- package/dist/chunks/{file-retention-s4ph2d63.js → pty-5bhgc7xv.js} +15 -15
- package/dist/chunks/{file-retention-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-5fmxt4p5.js → pty-5fmxt4p5.js} +1 -1
- package/dist/chunks/{file-retention-0b89de78.js → pty-5fnfwqar.js} +5 -5
- package/dist/chunks/{file-retention-2h2vdh1n.js → pty-5jh1sprz.js} +159 -159
- package/dist/chunks/{file-retention-5jvc5tg2.js → pty-5jvc5tg2.js} +1 -1
- package/dist/chunks/{file-retention-fcrkznn8.js → pty-607tc6va.js} +5 -5
- package/dist/chunks/{file-retention-6h5vvsan.js → pty-60njtda4.js} +31 -31
- package/dist/chunks/{file-retention-1epsx5vc.js → pty-6dj4wchm.js} +29 -29
- package/dist/chunks/{file-retention-y86ghdgz.js → pty-6fvx7cth.js} +3 -3
- package/dist/chunks/{file-retention-2402vzrj.js → pty-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-retention-pah7pk43.js → pty-6k404gxp.js} +4 -4
- package/dist/chunks/{file-retention-f4cf0bsx.js → pty-6pa79em5.js} +45 -45
- package/dist/chunks/{file-retention-1mrma768.js → pty-6pvvrh2h.js} +5 -5
- package/dist/chunks/{file-retention-hfwh170d.js → pty-6vbgb2w8.js} +8 -8
- package/dist/chunks/pty-6wpcenx3.js +247 -0
- package/dist/chunks/{file-retention-a8135xa2.js → pty-6wv9sdr8.js} +32 -32
- package/dist/chunks/{file-retention-6z5bwd8g.js → pty-6z5bwd8g.js} +2 -2
- package/dist/chunks/{file-retention-3m34twvx.js → pty-708tkjkz.js} +25 -25
- package/dist/chunks/{file-retention-711hfp6y.js → pty-711hfp6y.js} +2 -2
- package/dist/chunks/{file-retention-72nftnjy.js → pty-72nftnjy.js} +2 -2
- package/dist/chunks/{file-retention-2jp4bbqb.js → pty-795x97jf.js} +9 -9
- package/dist/chunks/{file-retention-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-99vjr10t.js → pty-7ec5mhmx.js} +15 -15
- package/dist/chunks/{file-retention-wsddr4d2.js → pty-7ngn7mvv.js} +4 -4
- package/dist/chunks/{file-retention-ns4erenn.js → pty-7vtvr31n.js} +37 -37
- package/dist/chunks/{file-retention-qcdx5q9z.js → pty-7zv350dg.js} +19 -19
- package/dist/chunks/{file-retention-7b5mmf1f.js → pty-885bgk82.js} +11 -11
- package/dist/chunks/{file-retention-nf2cw6d6.js → pty-88nptzkr.js} +20 -20
- package/dist/chunks/{file-retention-tcezcvh9.js → pty-89znhe33.js} +4 -4
- package/dist/chunks/{file-retention-amvr6g9m.js → pty-8ewp3a8x.js} +1 -1
- package/dist/chunks/{file-retention-qpfqqsnr.js → pty-8q711cp6.js} +28 -28
- package/dist/chunks/{file-retention-byfshvwt.js → pty-920gn045.js} +8 -8
- package/dist/chunks/{file-retention-y2cqme3r.js → pty-93a8yfjt.js} +5 -5
- package/dist/chunks/{file-retention-ss0qxjqq.js → pty-95zhbw9r.js} +15 -15
- package/dist/chunks/{file-retention-c7cvy1rv.js → pty-9p5wwx95.js} +37 -37
- package/dist/chunks/{file-retention-9qm9egsn.js → pty-9qm9egsn.js} +2 -2
- package/dist/chunks/{file-retention-x2mj0xny.js → pty-9srbvtnp.js} +18 -18
- package/dist/chunks/{file-retention-he7mv26x.js → pty-9tv260m8.js} +13 -13
- package/dist/chunks/{file-retention-jnmmvqjs.js → pty-9xvgy1m6.js} +1 -1
- package/dist/chunks/{file-retention-8w931syc.js → pty-9yc3kf06.js} +4 -4
- package/dist/chunks/{file-retention-6c7c909b.js → pty-9yz748bb.js} +58 -58
- package/dist/chunks/pty-9zwhrd2p.js +4 -0
- package/dist/chunks/{file-retention-205rsrbm.js → pty-a92fabfr.js} +6 -6
- package/dist/chunks/{file-retention-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-3kdc12ra.js → pty-adq4trrh.js} +20 -20
- package/dist/chunks/{file-retention-8jq7hkfv.js → pty-afhjd4jv.js} +10 -10
- package/dist/chunks/{file-retention-bbrq8e4h.js → pty-agqvteqs.js} +25 -25
- package/dist/chunks/{file-retention-ajtjthsy.js → pty-ajtjthsy.js} +2 -2
- package/dist/chunks/{file-retention-104gr47b.js → pty-ak1pjm22.js} +20 -20
- package/dist/chunks/{file-retention-vkfv6j0y.js → pty-anbsaymy.js} +12 -12
- package/dist/chunks/{file-retention-q913b2bh.js → pty-at2ecxq3.js} +11 -11
- package/dist/chunks/{file-retention-hn0tf0a0.js → pty-b3qm0p9n.js} +26 -26
- package/dist/chunks/{file-retention-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-dyy50z5j.js → pty-b6xrda6h.js} +20 -20
- package/dist/chunks/{file-retention-1rm0drdm.js → pty-b7d3s2yt.js} +2 -2
- package/dist/chunks/{file-retention-b9wsbatv.js → pty-b9wsbatv.js} +1 -1
- package/dist/chunks/{file-retention-h3at1h9w.js → pty-bbpqbves.js} +24 -24
- package/dist/chunks/{file-retention-bphmvjfp.js → pty-bcezcar3.js} +5 -5
- package/dist/chunks/{file-retention-6a2fap2g.js → pty-br3wnqmy.js} +16 -16
- package/dist/chunks/{file-retention-48m75tza.js → pty-btc4hvws.js} +5 -5
- package/dist/chunks/{file-retention-yq2htxd9.js → pty-c0w37k4q.js} +24 -24
- package/dist/chunks/{file-retention-kdsxv0j6.js → pty-c2bqpta2.js} +38 -38
- package/dist/chunks/{file-retention-rvb2zp0m.js → pty-c2s86k7e.js} +6 -6
- package/dist/chunks/{file-retention-aydeeq46.js → pty-c7tgvdzj.js} +33 -33
- package/dist/chunks/{file-retention-v9p73nbe.js → pty-ccfsy1h3.js} +11 -11
- package/dist/chunks/{file-retention-aet6n25v.js → pty-ckat2zwp.js} +9 -9
- package/dist/chunks/{file-retention-g0fndb66.js → pty-csm7mmwy.js} +85 -85
- package/dist/chunks/{file-retention-my560zn8.js → pty-czptf2ey.js} +11 -11
- package/dist/chunks/{file-retention-ch1mbcxn.js → pty-d3mwe7xz.js} +6 -6
- package/dist/chunks/{file-retention-1twmeren.js → pty-d6kfye11.js} +17 -17
- package/dist/chunks/{file-retention-d72308c8.js → pty-d72308c8.js} +2 -2
- package/dist/chunks/{file-retention-z3xgatyd.js → pty-djtdz80w.js} +4 -4
- package/dist/chunks/{file-retention-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-retention-rcbdex51.js → pty-dsa3zh6h.js} +12 -12
- package/dist/chunks/{file-retention-yk6fpedc.js → pty-dx29x28q.js} +17 -17
- package/dist/chunks/{file-retention-4c8rvwe6.js → pty-e1yeq7kc.js} +7 -7
- package/dist/chunks/{file-retention-bf4tcw57.js → pty-e38w1s41.js} +8 -8
- package/dist/chunks/{file-retention-0p0zxxmq.js → pty-e5w0frp6.js} +11 -11
- package/dist/chunks/{file-retention-sw4p0vc7.js → pty-e9dn8ye0.js} +6 -6
- package/dist/chunks/{file-retention-n8c291r7.js → pty-eekp03xz.js} +9 -9
- package/dist/chunks/{file-retention-dsdh720h.js → pty-ewr8avhk.js} +19 -19
- package/dist/chunks/{file-retention-rmhappp8.js → pty-f2vpb3bg.js} +11 -11
- package/dist/chunks/{file-retention-r82grff9.js → pty-fa23b81s.js} +5 -5
- package/dist/chunks/{file-retention-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-fxypknc8.js → pty-fxypknc8.js} +1 -1
- package/dist/chunks/{file-retention-ch60wd2z.js → pty-g2fgb7sn.js} +4 -4
- package/dist/chunks/{file-retention-g585tkj2.js → pty-g3m9axkp.js} +4 -4
- package/dist/chunks/{file-retention-7zjtv6nt.js → pty-g3wwtpwc.js} +8 -8
- package/dist/chunks/{file-retention-402r2v51.js → pty-g75wm5bg.js} +26 -26
- package/dist/chunks/{file-retention-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-1wtypr3q.js → pty-ghjew0fg.js} +9 -9
- package/dist/chunks/{file-retention-gz64hf7x.js → pty-gw4mnhe1.js} +23 -23
- package/dist/chunks/{file-retention-kbj0c16s.js → pty-h2g666ee.js} +11 -11
- package/dist/chunks/{file-retention-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-mqqcxy20.js → pty-hc93tgr1.js} +43 -43
- package/dist/chunks/{file-retention-e63vekzn.js → pty-hc9rwb2s.js} +16 -16
- package/dist/chunks/{file-retention-g4wkbvr8.js → pty-hcj2ya9p.js} +16 -16
- package/dist/chunks/{file-retention-heyhwy2w.js → pty-heyhwy2w.js} +1 -1
- package/dist/chunks/{file-retention-hrvm11jt.js → pty-hrvm11jt.js} +3 -3
- package/dist/chunks/{file-retention-8enene87.js → pty-hv1w3vyq.js} +9 -9
- package/dist/chunks/{file-retention-kvsjn1dr.js → pty-hw4pv20g.js} +2 -2
- package/dist/chunks/{file-retention-4w7zm36c.js → pty-hy45d0wx.js} +11 -11
- package/dist/chunks/{file-retention-83gby3am.js → pty-hydvtqtc.js} +34 -34
- package/dist/chunks/{file-retention-re380472.js → pty-j18aeme6.js} +15 -15
- package/dist/chunks/{file-retention-hcdssky2.js → pty-j4bwgw4b.js} +14 -14
- package/dist/chunks/{file-retention-4f8s46ta.js → pty-j4v8sn08.js} +22 -22
- package/dist/chunks/{file-retention-t26mc4v5.js → pty-j7hcs84d.js} +11 -11
- package/dist/chunks/{file-retention-m5n300jn.js → pty-j7ped6hz.js} +20 -20
- package/dist/chunks/{file-retention-k0wp4d9t.js → pty-jaxg81k6.js} +16 -16
- package/dist/chunks/{file-retention-qkqkrz6w.js → pty-jfbxega8.js} +27 -27
- package/dist/chunks/{file-retention-xd7hh38v.js → pty-jp51vptf.js} +43 -43
- package/dist/chunks/{file-retention-s0n5ntn1.js → pty-jrpapbxf.js} +14 -14
- package/dist/chunks/{file-retention-gxrht0qn.js → pty-js4d4dxf.js} +2 -2
- package/dist/chunks/{file-retention-hv0dr4wn.js → pty-k2rh24n9.js} +7 -7
- package/dist/chunks/{file-retention-k4bwy1x5.js → pty-k4bwy1x5.js} +1 -1
- package/dist/chunks/{file-retention-pjvnwgyc.js → pty-k58vdtz8.js} +23 -23
- package/dist/chunks/{file-retention-bqa77dn1.js → pty-kehgt38c.js} +32 -32
- package/dist/chunks/{file-retention-84b4417c.js → pty-kfv3m3yk.js} +30 -30
- package/dist/chunks/{file-retention-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{file-retention-2jmaghvr.js → pty-kxpygcw9.js} +4 -4
- package/dist/chunks/{file-retention-tq75tfgs.js → pty-kxq1x6r5.js} +54 -54
- package/dist/chunks/{file-retention-10dh1exf.js → pty-m1q1d0y4.js} +84 -84
- package/dist/chunks/{file-retention-tppvcy65.js → pty-m686xbyy.js} +7 -7
- package/dist/chunks/{file-retention-ajphwd6y.js → pty-m75mcjf9.js} +8 -8
- package/dist/chunks/{file-retention-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-ek8k105k.js → pty-mhk6k3g8.js} +4 -4
- package/dist/chunks/{file-retention-eq1pz5kg.js → pty-mhkvc446.js} +3 -3
- package/dist/chunks/{file-retention-ptsfk80f.js → pty-mjz8v7j0.js} +4 -4
- package/dist/chunks/{file-retention-cb4795z8.js → pty-mkyvm1mp.js} +6 -6
- package/dist/chunks/{file-retention-28pcbh69.js → pty-mtcjf44p.js} +4 -4
- package/dist/chunks/{file-retention-r5k1hnjc.js → pty-mw3zcnx5.js} +3 -3
- package/dist/chunks/pty-n09fkg1f.js +460 -0
- package/dist/chunks/{file-retention-yfpt1t1p.js → pty-n2dx2xaf.js} +10 -10
- package/dist/chunks/{file-retention-3zec4kwx.js → pty-n2hm0s76.js} +27 -27
- package/dist/chunks/{file-retention-4x0nmcjx.js → pty-n38qs1ar.js} +9 -9
- package/dist/chunks/{file-retention-kce1rcej.js → pty-n5e0mvgx.js} +18 -18
- package/dist/chunks/{file-retention-637933n9.js → pty-nbmnd9cx.js} +15 -15
- package/dist/chunks/{file-retention-ya7s7xtx.js → pty-nez52ejm.js} +9 -9
- package/dist/chunks/{file-retention-3qy3ajen.js → pty-ngxtnptd.js} +8 -8
- package/dist/chunks/{file-retention-2vmasjgj.js → pty-njfgd6ze.js} +9 -9
- package/dist/chunks/{file-retention-z9rwsdjd.js → pty-nnp2759g.js} +10 -10
- package/dist/chunks/{file-retention-jpg38yrs.js → pty-npy4s4aj.js} +6 -6
- package/dist/chunks/{file-retention-3rfnhdhv.js → pty-nsb2bjtz.js} +9 -9
- package/dist/chunks/{file-retention-kqqnddrj.js → pty-nx46162a.js} +24 -24
- package/dist/chunks/{file-retention-atz03w0q.js → pty-p32d7zzt.js} +5 -5
- package/dist/chunks/{file-retention-fve27tvk.js → pty-pa8g9c14.js} +35 -35
- package/dist/chunks/{file-retention-j935v87r.js → pty-paphc93g.js} +2 -2
- package/dist/chunks/{file-retention-kpv66tzn.js → pty-pcvxjvjj.js} +22 -22
- package/dist/chunks/{file-retention-2s1zz7jz.js → pty-pdvxz7zn.js} +47 -47
- package/dist/chunks/{file-retention-yj3e99fm.js → pty-pgqf2fs8.js} +1 -1
- package/dist/chunks/{file-retention-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-wj5n32w8.js → pty-pjzvknbe.js} +46 -46
- package/dist/chunks/{file-retention-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-xgjy9czn.js → pty-pn7b7v58.js} +9 -9
- package/dist/chunks/{file-retention-1wk28q4y.js → pty-q4mk538t.js} +7 -7
- package/dist/chunks/{file-retention-eg4pr325.js → pty-q6affv31.js} +10 -10
- package/dist/chunks/{file-retention-wfkfyy92.js → pty-q98e8ctt.js} +18 -18
- package/dist/chunks/{file-retention-gzwcbpkz.js → pty-qba7ejvk.js} +13 -13
- package/dist/chunks/{file-retention-zgrvrmg3.js → pty-qfs8az97.js} +11 -11
- package/dist/chunks/{file-retention-bq1y9h9w.js → pty-qhpqdgv6.js} +34 -34
- package/dist/chunks/{file-retention-rsqwdw7v.js → pty-qk456gnd.js} +22 -22
- package/dist/chunks/{file-retention-a2ew8a62.js → pty-qm0v3jhh.js} +7 -7
- package/dist/chunks/{file-retention-8njmz93d.js → pty-qsbb4ejq.js} +37 -37
- package/dist/chunks/{file-retention-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-bzjv94tm.js → pty-qx4mzfcc.js} +17 -17
- package/dist/chunks/{file-retention-nv4hhw20.js → pty-r0f40ks0.js} +24 -24
- package/dist/chunks/{file-retention-r8dhm0tv.js → pty-r8dhm0tv.js} +1 -1
- package/dist/chunks/{file-retention-em9v63s6.js → pty-rb27xt0t.js} +7 -7
- package/dist/chunks/{file-retention-9je5tgfh.js → pty-rhk22a8q.js} +11 -11
- package/dist/chunks/{file-retention-44z5w399.js → pty-rktjfj3k.js} +20 -20
- package/dist/chunks/{file-retention-8jng17b7.js → pty-rt5xed8c.js} +22 -22
- package/dist/chunks/{file-retention-hq7cfhbs.js → pty-rt7tws36.js} +24 -24
- package/dist/chunks/{file-retention-spqcpneg.js → pty-s6ymxyzv.js} +6 -6
- package/dist/chunks/{file-retention-azy6xqf9.js → pty-sa79eh7w.js} +24 -24
- package/dist/chunks/{file-retention-sba4qhjf.js → pty-sba4qhjf.js} +1 -1
- package/dist/chunks/{file-retention-f70g29mr.js → pty-snc6smv8.js} +13 -13
- package/dist/chunks/{file-retention-jhg236cd.js → pty-sp4bteyd.js} +6 -6
- package/dist/chunks/{file-retention-h0xakedw.js → pty-sx5qmy0w.js} +19 -19
- package/dist/chunks/{file-retention-vx7tzmvz.js → pty-t15q1rjz.js} +20 -20
- package/dist/chunks/{file-retention-f9jp4s2y.js → pty-t54hfqtt.js} +4 -4
- package/dist/chunks/{file-retention-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tjykrgmx.js → pty-tjykrgmx.js} +1 -1
- package/dist/chunks/{file-retention-q5m5resc.js → pty-tmr8q769.js} +11 -11
- package/dist/chunks/{file-retention-34kkasa2.js → pty-tstrzs8j.js} +36 -36
- package/dist/chunks/{file-retention-7x20s5dd.js → pty-twhbvx3p.js} +3 -3
- package/dist/chunks/{file-retention-42gstqmc.js → pty-v5v99x5c.js} +4 -4
- package/dist/chunks/{file-retention-pt7wq7x0.js → pty-v79494tb.js} +1 -1
- package/dist/chunks/{file-retention-fx4s78ev.js → pty-v794b4ar.js} +9 -9
- package/dist/chunks/{file-retention-qs4avvkb.js → pty-v86v6hh1.js} +1 -1
- package/dist/chunks/{file-retention-6tp6t4rz.js → pty-vbv643qx.js} +9 -9
- package/dist/chunks/{file-retention-n1zgngz1.js → pty-vgtfkpzm.js} +26 -26
- package/dist/chunks/{file-retention-ere7nfp9.js → pty-vnhhhj0r.js} +11 -11
- package/dist/chunks/pty-vnkjks7b.js +18 -0
- package/dist/chunks/{file-retention-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-cc90a9w8.js → pty-w420m8em.js} +17 -17
- package/dist/chunks/{file-retention-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-jp48954f.js → pty-wftjy6b7.js} +6 -6
- package/dist/chunks/{file-retention-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-b729swae.js → pty-x227sajd.js} +7 -7
- package/dist/chunks/{file-retention-qkq8j0kd.js → pty-x2bc45f6.js} +2 -2
- package/dist/chunks/{file-retention-zjwga192.js → pty-x5n4q9yc.js} +21 -21
- package/dist/chunks/{file-retention-vefwj8vq.js → pty-xahd2mgy.js} +31 -31
- package/dist/chunks/{file-retention-qezejtch.js → pty-xd6am0g0.js} +4 -4
- package/dist/chunks/{file-retention-zy2xxryr.js → pty-xtm2ympe.js} +6 -6
- package/dist/chunks/{file-retention-agwvegtk.js → pty-xv6rm4x2.js} +11 -11
- package/dist/chunks/{file-retention-prkc2mhz.js → pty-xza2q296.js} +11 -11
- package/dist/chunks/{file-retention-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-8zfntaab.js → pty-y8ztchkp.js} +7 -7
- package/dist/chunks/{file-retention-se7rt37b.js → pty-yc4s7c8p.js} +14 -14
- package/dist/chunks/{file-retention-phazpyca.js → pty-ydjwxjd3.js} +50 -50
- package/dist/chunks/{file-retention-yfbd16n1.js → pty-yfbd16n1.js} +2 -2
- package/dist/chunks/{file-retention-nw80mg4a.js → pty-yjk1z796.js} +4 -4
- package/dist/chunks/{file-retention-frptnsh5.js → pty-yqr5arb9.js} +18 -18
- package/dist/chunks/{file-retention-h0wh91yw.js → pty-yt5m2mw4.js} +10 -10
- package/dist/chunks/{file-retention-z1k01bn4.js → pty-z1k01bn4.js} +2 -2
- package/dist/chunks/{file-retention-29x78va6.js → pty-z63w68vq.js} +6 -6
- package/dist/chunks/{file-retention-xh36sb1y.js → pty-zfyvq2j7.js} +6 -6
- package/dist/chunks/{file-retention-jjtcncep.js → pty-zpgaey8y.js} +10 -10
- package/dist/chunks/{file-retention-97ex6grt.js → pty-zsky2and.js} +13 -13
- package/dist/chunks/{file-retention-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +151 -151
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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-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 +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +88 -88
- 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 +349 -349
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- 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 +85 -85
- package/dist/model.js +10 -10
- 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 +107 -107
- 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 +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- 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/plan.js +94 -94
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +4 -4
- 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 +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +214 -214
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- 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 +123 -123
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- 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 +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +202 -202
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +110 -110
- 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 +13 -13
- 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 +7 -7
- 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 +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 +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/file-retention-1bw6255h.js +0 -22
- package/dist/chunks/file-retention-619r8v3y.js +0 -18
- package/dist/chunks/file-retention-ge8qzb8n.js +0 -460
- package/dist/chunks/file-retention-rrnmj2kt.js +0 -247
- package/dist/chunks/file-retention-w3vb4krt.js +0 -4
- /package/dist/chunks/{file-retention-0fabt78z.js → pty-0fabt78z.js} +0 -0
- /package/dist/chunks/{file-retention-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3t738kvx.js → pty-3t738kvx.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-41nvscxy.js → pty-41nvscxy.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-982e01ww.js → pty-982e01ww.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mntxs535.js → pty-mntxs535.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-p8qxwesx.js → pty-p8qxwesx.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-se0s1eqw.js → pty-se0s1eqw.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x1b8g1yb.js → pty-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{file-retention-zbjnn3ac.js → pty-zbjnn3ac.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./pty-r0f40ks0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./pty-59fxchxt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service56;
|
|
57
|
+
const permission = yield* Service41;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name14, description6,
|
|
118
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-xd6am0g0.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event15
|
|
7
|
+
} from "./pty-jfbxega8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID11,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./pty-b3qm0p9n.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID10,
|
|
14
14
|
aisdk2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-c2s86k7e.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/provider/opencode.ts
|
|
20
20
|
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
44
44
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
45
45
|
function oauth(http) {
|
|
46
46
|
return {
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID11.make("opencode"),
|
|
48
48
|
method: {
|
|
49
49
|
id: methodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
|
|
|
112
112
|
catalog.provider.update(providerID, (provider) => {
|
|
113
113
|
if (source && source.provider !== provider)
|
|
114
114
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
115
|
-
provider.integrationID =
|
|
115
|
+
provider.integrationID = ID11.make("opencode");
|
|
116
116
|
if (item.canonical !== undefined)
|
|
117
117
|
provider.canonical = item.canonical;
|
|
118
118
|
if (item.name !== undefined)
|
|
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
|
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
const item = catalog.provider.get(
|
|
178
|
+
const item = catalog.provider.get(ID10.opencode);
|
|
179
179
|
if (!item)
|
|
180
180
|
return;
|
|
181
181
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
|
|
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
|
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
202
|
function fetchProviders(http, value) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-c2s86k7e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./pty-2e2d6q87.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service35
|
|
9
|
+
} from "./pty-6pa79em5.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service53;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service35);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID8
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-yqr5arb9.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info10
|
|
9
|
+
} from "./pty-e5w0frp6.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-v5v99x5c.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service35
|
|
16
|
+
} from "./pty-6pa79em5.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./pty-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin42
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode-ai/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info10);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin42 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service35;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -160,4 +160,4 @@ function decode(file, content) {
|
|
|
160
160
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
export {
|
|
163
|
+
export { Plugin42, exports_agent2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-xd6am0g0.js";
|
|
8
|
+
import {
|
|
9
|
+
Event15,
|
|
10
|
+
Service57,
|
|
11
|
+
node61
|
|
12
|
+
} from "./pty-jfbxega8.js";
|
|
8
13
|
import {
|
|
9
|
-
Event19,
|
|
10
14
|
Service74,
|
|
11
15
|
node79
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service76,
|
|
15
|
-
node81
|
|
16
|
-
} from "./file-retention-s0n5ntn1.js";
|
|
16
|
+
} from "./pty-jrpapbxf.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service62,
|
|
19
|
+
node66
|
|
20
|
+
} from "./pty-c0w37k4q.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID12,
|
|
23
|
+
Service56,
|
|
24
|
+
node60
|
|
25
|
+
} from "./pty-r0f40ks0.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID11,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service55,
|
|
34
|
+
node59
|
|
35
|
+
} from "./pty-b3qm0p9n.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./pty-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service30,
|
|
60
60
|
Status: () => Status2,
|
|
61
|
-
Tool: () =>
|
|
61
|
+
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
65
|
+
configured: () => configured2,
|
|
66
66
|
layer: () => layer14,
|
|
67
|
-
node: () =>
|
|
67
|
+
node: () => node33
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID11.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ class ServerInstructions2 extends Schema.Class("MCP.ServerInstructions")({
|
|
|
91
91
|
}) {
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Tool3 extends Schema.Class("MCP.Tool")({
|
|
95
95
|
server: ServerName2,
|
|
96
96
|
name: Schema.String,
|
|
97
97
|
codemode: Schema.Boolean.pipe(Schema.optional),
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service30 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options2 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var layer14 = (options) => Layer.effect(
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service74;
|
|
178
|
+
const environment = yield* Service62;
|
|
179
179
|
const bus = yield* Service79;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service56;
|
|
181
|
+
const integration = yield* Service55;
|
|
182
|
+
const credentials = yield* Service57;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID11.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError2({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -285,7 +285,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
285
285
|
const elicitation = {
|
|
286
286
|
create: (input) => Effect.gen(function* () {
|
|
287
287
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
288
|
+
const formID = ID12.create();
|
|
289
289
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
290
|
urlElicitations.set(key, formID);
|
|
291
291
|
return yield* forms.ask({
|
|
@@ -328,7 +328,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
328
328
|
yield* forms.reply({ id: formID, answer: { [URL_ELICITATION_FIELD_KEY]: true } }).pipe(Effect.ignore);
|
|
329
329
|
})
|
|
330
330
|
};
|
|
331
|
-
const toTool = (server, entry, def) => new
|
|
331
|
+
const toTool = (server, entry, def) => new Tool3({
|
|
332
332
|
server,
|
|
333
333
|
name: def.name,
|
|
334
334
|
codemode: entry.config.codemode,
|
|
@@ -403,7 +403,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
403
403
|
entry.scope = scope;
|
|
404
404
|
const authProvider = yield* connectProvider(entry);
|
|
405
405
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
406
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
406
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service62, environment), Scope.provide(scope), Effect.exit);
|
|
407
407
|
if (Exit.isSuccess(result)) {
|
|
408
408
|
entry.client = result.value.connection;
|
|
409
409
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -527,7 +527,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
527
527
|
yield* startServer(name, entry);
|
|
528
528
|
}).pipe(locks.withLock(name));
|
|
529
529
|
});
|
|
530
|
-
fork(bus.subscribe(
|
|
530
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
531
531
|
const state = create3({
|
|
532
532
|
name: "mcp",
|
|
533
533
|
initial: () => ({
|
|
@@ -557,7 +557,7 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service30.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -677,14 +677,14 @@ var layer14 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
677
677
|
})
|
|
678
678
|
});
|
|
679
679
|
}));
|
|
680
|
-
function
|
|
680
|
+
function configured2(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
682
|
+
service: Service30,
|
|
683
683
|
layer: layer14(options),
|
|
684
|
-
deps: [
|
|
684
|
+
deps: [node79, node66, node84, node60, node59, node61]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node33 = configured2();
|
|
688
688
|
function toElicitationField(key, property, required) {
|
|
689
689
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
690
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2,
|
|
738
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError2, ToolCallError2, Service30, Options2, layer14, configured2, node33, exports_mcp4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-982e01ww.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-c2s86k7e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID9
|
|
7
|
+
} from "./pty-j4bwgw4b.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID9.make("gpt-5-chat-latest"), ID9.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-xd6am0g0.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event7,
|
|
18
18
|
ID: () => ID8,
|
|
19
|
-
Info: () =>
|
|
19
|
+
Info: () => Info18,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service44,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node47
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode-ai/schema/agent";
|
|
29
29
|
import { Global } from "@opencode-ai/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event7 } from "@opencode-ai/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
33
|
var ID8 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
35
|
var defaultID2 = ID8.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info18 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service44 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service79;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info18.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service44.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node47 = makeLocationNode({ service: Service44, layer, deps: [node84, Global.node] });
|
|
120
120
|
|
|
121
|
-
export { ID8, Name3, defaultID2, Color2,
|
|
121
|
+
export { ID8, Name3, defaultID2, Color2, Info18, Service44, node47, exports_agent4, Event7 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./pty-jrpapbxf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode-ai/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service74;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|