@opencode/core 0.0.0-dev-19423 → 0.0.0-dev-19426
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{state-93x1yqe3.js → persistent-pty-07z0gam2.js} +2 -2
- package/dist/chunks/{state-x4p8m430.js → persistent-pty-0c8kwbsp.js} +14 -14
- package/dist/chunks/{state-axhma1m3.js → persistent-pty-0cc4q6tf.js} +7 -7
- package/dist/chunks/{state-6yyyk05m.js → persistent-pty-0e44rvxq.js} +12 -12
- package/dist/chunks/{state-7m5f9412.js → persistent-pty-0h54jqbs.js} +8 -8
- package/dist/chunks/{state-fp90tn2w.js → persistent-pty-0m5hy3yw.js} +30 -30
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{state-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{state-zc7d74sr.js → persistent-pty-159kg1rb.js} +12 -12
- package/dist/chunks/{state-gy8bp4n5.js → persistent-pty-1bvxxf6d.js} +7 -7
- package/dist/chunks/{state-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-215mjt95.js → persistent-pty-1hxa6pzb.js} +32 -32
- package/dist/chunks/{state-ngk7xb75.js → persistent-pty-1jzr98sp.js} +8 -8
- package/dist/chunks/{state-bjs2yq5f.js → persistent-pty-1tq060df.js} +6 -6
- package/dist/chunks/{state-nasykmfv.js → persistent-pty-1ybn2y83.js} +46 -46
- package/dist/chunks/{state-9vcv29kg.js → persistent-pty-1z0pzthf.js} +2 -2
- package/dist/chunks/{state-h55jqj9c.js → persistent-pty-21nf8x37.js} +5 -5
- package/dist/chunks/{state-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{state-e2h5r77j.js → persistent-pty-21thbrk0.js} +22 -22
- package/dist/chunks/{state-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{state-z63w68vq.js → persistent-pty-29x78va6.js} +6 -6
- package/dist/chunks/{state-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-30mv6xzd.js → persistent-pty-2hnfpkj9.js} +24 -24
- package/dist/chunks/{state-4mph4zc0.js → persistent-pty-2j1x0myt.js} +12 -9
- package/dist/chunks/{state-bg5fanx5.js → persistent-pty-2sb6srdd.js} +7 -7
- package/dist/chunks/{state-4hs2rptp.js → persistent-pty-2v34zfk0.js} +13 -13
- package/dist/chunks/{state-g20q56qn.js → persistent-pty-2vgrpkws.js} +23 -23
- package/dist/chunks/{state-nxaneg5f.js → persistent-pty-35wxgrz4.js} +16 -16
- package/dist/chunks/{state-6mm5fyaq.js → persistent-pty-3ajmv4vc.js} +27 -27
- package/dist/chunks/{state-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-r98e92ep.js → persistent-pty-3j8sdtpz.js} +4 -4
- package/dist/chunks/{state-0kezx7bp.js → persistent-pty-3sapyj2b.js} +15 -15
- package/dist/chunks/{state-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-qmr73083.js → persistent-pty-3trbxeqx.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-dj9sq318.js → persistent-pty-3w2b2yj4.js} +5 -5
- package/dist/chunks/{state-13m41sr9.js → persistent-pty-3zc5jvmt.js} +37 -37
- package/dist/chunks/{state-cpcceztk.js → persistent-pty-485fr60v.js} +9 -9
- package/dist/chunks/{state-swcrp5h8.js → persistent-pty-4vm0hqbg.js} +7 -7
- package/dist/chunks/{state-hxcjx40w.js → persistent-pty-55fm1b9t.js} +26 -26
- package/dist/chunks/{state-1ygqh575.js → persistent-pty-56gdpj1q.js} +9 -9
- package/dist/chunks/{state-pd2whwm6.js → persistent-pty-5a5hve6r.js} +26 -26
- package/dist/chunks/{state-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{state-r4qy651a.js → persistent-pty-5f411mky.js} +10 -10
- package/dist/chunks/{state-c107bjdh.js → persistent-pty-5r7wtzhh.js} +17 -17
- package/dist/chunks/{state-fedj2qj8.js → persistent-pty-5t0z2mmn.js} +5 -5
- package/dist/chunks/{state-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-3dc1y30q.js → persistent-pty-612qpymn.js} +15 -15
- package/dist/chunks/{state-zhfv9bas.js → persistent-pty-64a4x0vc.js} +9 -9
- package/dist/chunks/{state-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{state-jvp64s69.js → persistent-pty-69najtqd.js} +20 -20
- package/dist/chunks/{state-qr27hz8v.js → persistent-pty-6fdj6kdr.js} +4 -4
- package/dist/chunks/{state-jtzck56h.js → persistent-pty-6feaep00.js} +27 -27
- package/dist/chunks/{state-fvg5jb3z.js → persistent-pty-6j8myhdp.js} +4 -4
- package/dist/chunks/{state-z4p834dc.js → persistent-pty-6kvtrg8a.js} +6 -6
- package/dist/chunks/{state-qej72r3z.js → persistent-pty-6mgtcd6n.js} +26 -26
- package/dist/chunks/{state-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-cq37gk0t.js → persistent-pty-6tt5evqq.js} +4 -4
- package/dist/chunks/{state-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{state-7wdjtyr9.js → persistent-pty-721tb84k.js} +3 -3
- package/dist/chunks/{state-3h6sdsfe.js → persistent-pty-72xz0ztc.js} +69 -69
- package/dist/chunks/{state-cdc0j91m.js → persistent-pty-75q7adw5.js} +16 -16
- package/dist/chunks/{state-e37ratq4.js → persistent-pty-771pt6a1.js} +9 -9
- package/dist/chunks/{state-dv1qgsyq.js → persistent-pty-7b15y959.js} +8 -8
- package/dist/chunks/{state-g7xgpgap.js → persistent-pty-7ba6wjkk.js} +13 -13
- package/dist/chunks/{state-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-q4fz3n6y.js → persistent-pty-7cbt97qs.js} +45 -45
- package/dist/chunks/{state-qgn6gcr1.js → persistent-pty-7dqw4kz8.js} +5 -5
- package/dist/chunks/{state-17xt7vmq.js → persistent-pty-7e7r6h4f.js} +11 -11
- package/dist/chunks/{state-wrwh2rgt.js → persistent-pty-7hpb1swa.js} +21 -21
- package/dist/chunks/{state-aty52q8t.js → persistent-pty-7rgb98b3.js} +26 -26
- package/dist/chunks/{state-0zrftw2w.js → persistent-pty-7vhhzrrm.js} +6 -6
- package/dist/chunks/{state-tregh9zc.js → persistent-pty-7wc683m2.js} +2 -2
- package/dist/chunks/{state-bdqrk2vk.js → persistent-pty-7yqnf43w.js} +4 -4
- package/dist/chunks/{state-j4yfb19a.js → persistent-pty-7z50rzs6.js} +11 -11
- package/dist/chunks/{state-rxbpknzr.js → persistent-pty-7zkd12m7.js} +13 -13
- package/dist/chunks/{state-rsym84ch.js → persistent-pty-81swgkk7.js} +7 -7
- package/dist/chunks/{state-k7qj1gf8.js → persistent-pty-84gm4pzb.js} +13 -13
- package/dist/chunks/{state-2d6j2h4j.js → persistent-pty-84tssp1s.js} +6 -6
- package/dist/chunks/{state-0b004hd0.js → persistent-pty-87rksg4x.js} +18 -18
- package/dist/chunks/{state-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-8p4f9s12.js → persistent-pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{state-ehzkagp6.js → persistent-pty-8xbg7ftz.js} +8 -8
- package/dist/chunks/{state-bv56xrks.js → persistent-pty-8z17e00v.js} +11 -8
- package/dist/chunks/{state-rtvpdrsv.js → persistent-pty-915t83ht.js} +5 -5
- package/dist/chunks/{state-1y323wm0.js → persistent-pty-9gyd2w40.js} +1 -1
- package/dist/chunks/{state-txa0m2xq.js → persistent-pty-9h6x7gyv.js} +15 -15
- package/dist/chunks/{state-v8ch97zc.js → persistent-pty-9k2v62xn.js} +1 -1
- package/dist/chunks/{state-g16s45dw.js → persistent-pty-9njfg5h4.js} +22 -22
- package/dist/chunks/persistent-pty-9r5tkcxt.js +247 -0
- package/dist/chunks/{state-49zdxvde.js → persistent-pty-9t9a8468.js} +22 -22
- package/dist/chunks/{state-r2jtfwr0.js → persistent-pty-9vd61c30.js} +19 -19
- package/dist/chunks/{state-m183dz0f.js → persistent-pty-9vqpghck.js} +23 -23
- package/dist/chunks/{state-9108em47.js → persistent-pty-9yqcsx6m.js} +20 -20
- package/dist/chunks/{state-a1bz86dw.js → persistent-pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{state-b27vhd2z.js → persistent-pty-a46v4e4v.js} +4 -4
- package/dist/chunks/{state-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{state-cfjg8y1t.js → persistent-pty-aagvkkxy.js} +55 -28
- package/dist/chunks/{state-xe9jj1nb.js → persistent-pty-aahnsagd.js} +20 -20
- package/dist/chunks/{state-29g7zgv2.js → persistent-pty-aavsyw27.js} +24 -24
- package/dist/chunks/{state-py90b8jm.js → persistent-pty-af4kcksd.js} +9 -9
- package/dist/chunks/{state-921tq59c.js → persistent-pty-akt3csds.js} +11 -11
- package/dist/chunks/{state-csk53bm4.js → persistent-pty-andaq6rh.js} +8 -8
- package/dist/chunks/{state-ver3tajd.js → persistent-pty-atpcpkf0.js} +25 -25
- package/dist/chunks/{state-yjpz96bv.js → persistent-pty-avr3wk77.js} +20 -20
- package/dist/chunks/{state-f5vf4wq4.js → persistent-pty-axdmkq6x.js} +15 -15
- package/dist/chunks/{state-94s48bjb.js → persistent-pty-b0grxa7w.js} +5 -5
- package/dist/chunks/{state-h2ta221q.js → persistent-pty-b2v3nqsm.js} +15 -15
- package/dist/chunks/{state-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-hwe7x4em.js → persistent-pty-b99w0g26.js} +6 -6
- package/dist/chunks/{state-bpqahvg7.js → persistent-pty-bby00dsd.js} +8 -8
- package/dist/chunks/{state-9y2w89yq.js → persistent-pty-bf6dt9pk.js} +14 -14
- package/dist/chunks/{state-k8cnakzr.js → persistent-pty-bgp3qmdj.js} +43 -43
- package/dist/chunks/{state-33t1hwr1.js → persistent-pty-bhydgh2x.js} +15 -15
- package/dist/chunks/{state-ak277p2c.js → persistent-pty-bhzctmd7.js} +21 -21
- package/dist/chunks/{state-09gmq8b4.js → persistent-pty-bkrv928p.js} +78 -78
- package/dist/chunks/{state-sa0x84r1.js → persistent-pty-bkxbsem7.js} +27 -27
- package/dist/chunks/{state-5r1zsdx9.js → persistent-pty-bw0vgseb.js} +8 -8
- package/dist/chunks/{state-ydka4fxz.js → persistent-pty-bwtw07rb.js} +4 -4
- package/dist/chunks/{state-3yht5y46.js → persistent-pty-bx134keb.js} +9 -9
- package/dist/chunks/{state-72bpyge2.js → persistent-pty-c3t7yrgz.js} +6 -6
- package/dist/chunks/{state-s6edna4h.js → persistent-pty-c6j5rb3b.js} +4 -4
- package/dist/chunks/{state-wgzzyhw0.js → persistent-pty-c7m75h3c.js} +1 -1
- package/dist/chunks/{state-cfpkc3c9.js → persistent-pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{state-f9assn5r.js → persistent-pty-cgwhtan4.js} +22 -22
- package/dist/chunks/{state-nmztbhvy.js → persistent-pty-cqyts73c.js} +36 -36
- package/dist/chunks/{state-b3qnp4t9.js → persistent-pty-cvvekyt1.js} +20 -20
- package/dist/chunks/{state-zcrspsvn.js → persistent-pty-cxmh4q5b.js} +4 -4
- package/dist/chunks/{state-ak8ram1w.js → persistent-pty-d5yt5jwb.js} +18 -18
- package/dist/chunks/{state-j187zt17.js → persistent-pty-d8qpv23y.js} +38 -38
- package/dist/chunks/{state-jwcy2c2z.js → persistent-pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{state-yqq2tfn2.js → persistent-pty-dxygqc36.js} +21 -21
- package/dist/chunks/{state-022yfne5.js → persistent-pty-e8mbapm5.js} +9 -9
- package/dist/chunks/{state-2g4a82s9.js → persistent-pty-e9x29tk8.js} +11 -11
- package/dist/chunks/{state-0p84p7jd.js → persistent-pty-eanp9d5s.js} +38 -38
- package/dist/chunks/{state-n784zy78.js → persistent-pty-emyaygjm.js} +44 -44
- package/dist/chunks/{state-jfd1wwb2.js → persistent-pty-enc0sym2.js} +18 -18
- package/dist/chunks/{state-31dz7cp4.js → persistent-pty-esdnemd6.js} +1 -1
- package/dist/chunks/{state-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-krzxdn43.js → persistent-pty-exnvqzq0.js} +34 -34
- package/dist/chunks/{state-28nw2yhp.js → persistent-pty-ez87t20v.js} +38 -38
- package/dist/chunks/{state-f828m53h.js → persistent-pty-f828m53h.js} +2 -2
- package/dist/chunks/{state-rytjzehr.js → persistent-pty-f873qhwf.js} +22 -22
- package/dist/chunks/{state-c1495ybz.js → persistent-pty-fg7rbsd2.js} +11 -11
- package/dist/chunks/{state-65aqn4re.js → persistent-pty-fgcgd4rw.js} +13 -13
- package/dist/chunks/{state-5q2jxep4.js → persistent-pty-fppgezky.js} +28 -28
- package/dist/chunks/{state-18cztcj7.js → persistent-pty-fq1h1v14.js} +3 -3
- package/dist/chunks/{state-y7rtgf26.js → persistent-pty-fsxrvzy1.js} +8 -8
- package/dist/chunks/{state-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{state-7mmsj4fx.js → persistent-pty-g22feqm7.js} +6 -6
- package/dist/chunks/{state-6zvqsr50.js → persistent-pty-g246acm2.js} +14 -14
- package/dist/chunks/{state-h64v6927.js → persistent-pty-g2rsct3h.js} +6 -6
- package/dist/chunks/{state-ne9b6pnf.js → persistent-pty-g5zzrv8s.js} +13 -13
- package/dist/chunks/{state-sgc5djpr.js → persistent-pty-g6986w1q.js} +20 -20
- package/dist/chunks/{state-150mk1fk.js → persistent-pty-g7bd3bxh.js} +13 -13
- package/dist/chunks/{state-8zageg2x.js → persistent-pty-gcaewnb3.js} +6 -6
- package/dist/chunks/{state-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-zh9ppm3h.js → persistent-pty-ggwxhvn5.js} +23 -23
- package/dist/chunks/{state-8t11yzen.js → persistent-pty-gpw9mxzt.js} +36 -36
- package/dist/chunks/{state-vgpytzky.js → persistent-pty-gq9ysr8h.js} +8 -8
- package/dist/chunks/persistent-pty-gqh9qxps.js +462 -0
- package/dist/chunks/{state-wgzajyyj.js → persistent-pty-grfax6bg.js} +19 -19
- package/dist/chunks/{state-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-6twzx6mq.js → persistent-pty-gvcny074.js} +11 -11
- package/dist/chunks/{state-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{state-g0jvfgd4.js → persistent-pty-h15vyfzd.js} +10 -10
- package/dist/chunks/{state-tyramfeg.js → persistent-pty-h28mzj1y.js} +43 -43
- package/dist/chunks/{state-f9bavhm2.js → persistent-pty-h2gyv3sg.js} +1 -1
- package/dist/chunks/{state-sp2c0jzd.js → persistent-pty-h322wpay.js} +3 -3
- package/dist/chunks/{state-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-7rsrcjh8.js → persistent-pty-hb21dksg.js} +11 -11
- package/dist/chunks/{state-9z7qz10x.js → persistent-pty-he2978am.js} +17 -17
- package/dist/chunks/{state-wytqpt0k.js → persistent-pty-hj2v5ffq.js} +36 -36
- package/dist/chunks/{state-hjt4xg1x.js → persistent-pty-hjt4xg1x.js} +1 -1
- package/dist/chunks/{state-vj81g6vn.js → persistent-pty-hrndf12w.js} +4 -4
- package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
- package/dist/chunks/{state-atnffv9q.js → persistent-pty-hxh4hb0e.js} +17 -17
- package/dist/chunks/{state-p12hsq0d.js → persistent-pty-j39pwvkg.js} +4 -4
- package/dist/chunks/{state-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{state-paphc93g.js → persistent-pty-j935v87r.js} +2 -2
- package/dist/chunks/{state-crtbtcyr.js → persistent-pty-j9jre7ys.js} +145 -145
- package/dist/chunks/{state-vwbhyj4n.js → persistent-pty-jbp58yvw.js} +5 -5
- package/dist/chunks/{state-ejzmqjcw.js → persistent-pty-jer3sd0r.js} +14 -14
- package/dist/chunks/{state-xvvd9sqk.js → persistent-pty-jk9xsz7x.js} +31 -31
- package/dist/chunks/{state-hxbxa8n0.js → persistent-pty-jvzfedhz.js} +10 -10
- package/dist/chunks/{state-y0n9kv1k.js → persistent-pty-jzpbgybv.js} +23 -23
- package/dist/chunks/{state-r3q6pmcz.js → persistent-pty-k0nnq3t9.js} +6 -6
- package/dist/chunks/{state-bxdr1pqk.js → persistent-pty-k8g3dj73.js} +37 -37
- package/dist/chunks/{state-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{state-prbz0cjc.js → persistent-pty-kpgdrxya.js} +13 -13
- package/dist/chunks/{state-j55g5gc5.js → persistent-pty-kt5w8vxh.js} +10 -10
- package/dist/chunks/{state-x6npt8bv.js → persistent-pty-m18hwpd1.js} +8 -8
- package/dist/chunks/{state-2kzpay7g.js → persistent-pty-m3s16k4y.js} +11 -11
- package/dist/chunks/{state-4vpazqzp.js → persistent-pty-m4xc242r.js} +15 -15
- package/dist/chunks/{state-w6jjpet8.js → persistent-pty-m5y0j72z.js} +12 -12
- package/dist/chunks/{state-x9mqqw49.js → persistent-pty-m7vxemcg.js} +11 -11
- package/dist/chunks/{state-m2d0j7c0.js → persistent-pty-m86bnw2c.js} +9 -9
- package/dist/chunks/{state-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-22q0q0f5.js → persistent-pty-mdkf98yy.js} +5 -5
- package/dist/chunks/{state-w7fp7h3n.js → persistent-pty-mge8n18z.js} +3 -3
- package/dist/chunks/{state-mkcjrzeh.js → persistent-pty-mkcjrzeh.js} +1 -1
- package/dist/chunks/{state-y6kv8k3y.js → persistent-pty-mqy9bkz8.js} +4 -4
- package/dist/chunks/{state-1ah30sey.js → persistent-pty-mrw4weg4.js} +5 -5
- package/dist/chunks/{state-yt0fqk68.js → persistent-pty-mtft99cd.js} +5 -5
- package/dist/chunks/{state-zsz926ep.js → persistent-pty-n52fcynn.js} +32 -32
- package/dist/chunks/{state-7z7az0f5.js → persistent-pty-nw2nz702.js} +4 -4
- package/dist/chunks/{state-80e0yyk8.js → persistent-pty-nx4935gj.js} +10 -10
- package/dist/chunks/{state-53xyfxte.js → persistent-pty-nyba91e3.js} +20 -20
- package/dist/chunks/{state-cw80r5s7.js → persistent-pty-p9e7n5cp.js} +46 -46
- package/dist/chunks/{state-eqcfmywb.js → persistent-pty-pbmjghd7.js} +11 -11
- package/dist/chunks/{state-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{state-x29tk1ad.js → persistent-pty-pps99k3k.js} +23 -23
- package/dist/chunks/{state-943tb150.js → persistent-pty-q34x7630.js} +4 -4
- package/dist/chunks/{state-c9shdghn.js → persistent-pty-qcahbspj.js} +10 -10
- package/dist/chunks/{state-6vzn2neh.js → persistent-pty-qfd3egxj.js} +12 -12
- package/dist/chunks/{state-ratg3njy.js → persistent-pty-qjfza5jp.js} +21 -21
- package/dist/chunks/{state-rps9nzpw.js → persistent-pty-qryc0yk4.js} +46 -46
- package/dist/chunks/{state-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{state-hykkhnzy.js → persistent-pty-qshadkbd.js} +15 -15
- package/dist/chunks/{state-mdfek7tq.js → persistent-pty-qt3ydrbb.js} +84 -84
- package/dist/chunks/{state-8a299bz2.js → persistent-pty-qv60t1mv.js} +6 -6
- package/dist/chunks/{state-by865r6p.js → persistent-pty-qz2hjw9m.js} +4 -4
- package/dist/chunks/{state-wxs831ee.js → persistent-pty-r3meafyq.js} +27 -27
- package/dist/chunks/{state-1bbkgx8g.js → persistent-pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{state-sv9bpgvh.js → persistent-pty-rs226bz6.js} +5 -5
- package/dist/chunks/{state-n7qjkrfm.js → persistent-pty-rzn68cdd.js} +9 -9
- package/dist/chunks/{state-ase9h72w.js → persistent-pty-s1htzk4a.js} +29 -29
- package/dist/chunks/{state-yrznvahk.js → persistent-pty-s4enseaf.js} +2 -2
- package/dist/chunks/{state-hm0qe6e9.js → persistent-pty-s51v67se.js} +10 -10
- package/dist/chunks/{state-p4ywb1g4.js → persistent-pty-s76nk363.js} +12 -12
- package/dist/chunks/{state-rhjbct0v.js → persistent-pty-s8d7rejh.js} +4 -4
- package/dist/chunks/{state-j2yzjc89.js → persistent-pty-smj81yy7.js} +25 -25
- package/dist/chunks/{state-zrm81p97.js → persistent-pty-stesey4a.js} +12 -12
- package/dist/chunks/{state-zk97sdd1.js → persistent-pty-t7fdnyc8.js} +12 -12
- package/dist/chunks/{state-p5emxdhz.js → persistent-pty-t8wk4avw.js} +11 -11
- package/dist/chunks/persistent-pty-t9b0v4z9.js +22 -0
- package/dist/chunks/{state-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-2a0bwcx4.js → persistent-pty-tc9rqwe8.js} +9 -9
- package/dist/chunks/{state-89znhe33.js → persistent-pty-tcezcvh9.js} +4 -4
- package/dist/chunks/{state-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{state-7yrd46mr.js → persistent-pty-tge42xv9.js} +13 -13
- package/dist/chunks/{state-e5raxanb.js → persistent-pty-tjfw1za4.js} +8 -8
- package/dist/chunks/{state-a4exdnt3.js → persistent-pty-ttqfmzkf.js} +4 -4
- package/dist/chunks/{state-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{state-6d9mz4vp.js → persistent-pty-twy35tz0.js} +8 -8
- package/dist/chunks/{state-8309y98q.js → persistent-pty-tybgdchd.js} +37 -37
- package/dist/chunks/{state-y34yw7ae.js → persistent-pty-v8aeq3gs.js} +32 -32
- package/dist/chunks/{state-5jtdmvnp.js → persistent-pty-vabb23s0.js} +1 -1
- package/dist/chunks/{state-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{state-qn4ba14w.js → persistent-pty-vmq7ehpy.js} +5 -5
- package/dist/chunks/{state-3gma002f.js → persistent-pty-vqyjqhb3.js} +13 -13
- package/dist/chunks/{state-jy16bfac.js → persistent-pty-vypqtakx.js} +1 -1
- package/dist/chunks/{state-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-jrrn2k62.js → persistent-pty-vze96k0n.js} +4 -4
- package/dist/chunks/{state-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-exj14bv3.js → persistent-pty-warydmh4.js} +27 -27
- package/dist/chunks/{state-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{state-kqtd2zqw.js → persistent-pty-ws70e1ew.js} +36 -36
- package/dist/chunks/{state-ch07p6ra.js → persistent-pty-ww3mwnc7.js} +11 -11
- package/dist/chunks/{state-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-mec7151z.js → persistent-pty-x30a5wep.js} +3 -3
- package/dist/chunks/{state-x43y2vfs.js → persistent-pty-x43y2vfs.js} +2 -2
- package/dist/chunks/{state-66yxwatf.js → persistent-pty-xck95xk4.js} +22 -22
- package/dist/chunks/{state-4dz8d7rt.js → persistent-pty-xrmsdwza.js} +37 -37
- package/dist/chunks/{state-3w8cezm2.js → persistent-pty-xsgnaeym.js} +16 -16
- package/dist/chunks/{state-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-9715qn9e.js → persistent-pty-y20gv630.js} +32 -32
- package/dist/chunks/{state-7sdps93t.js → persistent-pty-yddgxcp4.js} +6 -5
- package/dist/chunks/{state-nwjjkb8e.js → persistent-pty-ynnp4yam.js} +11 -11
- package/dist/chunks/{state-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
- package/dist/chunks/{state-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-a12ks8p1.js → persistent-pty-zbr6jhfd.js} +24 -24
- package/dist/chunks/{state-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-f3ngv102.js → persistent-pty-zepncfka.js} +21 -21
- package/dist/chunks/{state-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-djcf4y0z.js → persistent-pty-zss1wv0f.js} +55 -55
- package/dist/chunks/{state-t7f2r9zx.js → persistent-pty-zw5b53zw.js} +41 -41
- package/dist/chunks/{state-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +77 -77
- 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 +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +111 -111
- 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 +136 -136
- 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 +79 -79
- 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 +362 -362
- 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 +72 -72
- 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 +4 -4
- 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 +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +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 +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +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 +4 -4
- 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 +80 -80
- 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 +133 -133
- 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 +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +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 +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +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 +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- 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 +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +99 -99
- package/dist/snapshot.js +82 -82
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/session/model-request.d.ts +3 -3
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +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 +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/state-13vy297d.js +0 -462
- package/dist/chunks/state-bzq0g36h.js +0 -22
- package/dist/chunks/state-dxj72tfx.js +0 -18
- package/dist/chunks/state-h47he10w.js +0 -4
- package/dist/chunks/state-nw6n4qk1.js +0 -247
- /package/dist/chunks/{state-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{state-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-84tssp1s.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID15
|
|
8
|
+
} from "./persistent-pty-nx4935gj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service79
|
|
11
|
+
} from "./persistent-pty-stesey4a.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
14
|
Event19
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-2vgrpkws.js";
|
|
16
16
|
import {
|
|
17
17
|
ID7,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-smj81yy7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service56
|
|
22
|
+
} from "./persistent-pty-7rgb98b3.js";
|
|
23
23
|
import {
|
|
24
24
|
get3
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-e9x29tk8.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-tjfw1za4.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service56;
|
|
159
|
+
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID16.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID16.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID16.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID15.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,8 +207,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID15.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID15.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
@@ -217,7 +217,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
217
217
|
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID16.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID16.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node84
|
|
5
|
+
} from "./persistent-pty-stesey4a.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-s8d7rejh.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: () => Event8,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
29
|
+
Options: () => Options4,
|
|
30
|
+
Service: () => Service43,
|
|
31
31
|
configured: () => configured5,
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
layer: () => layer18,
|
|
33
|
+
node: () => node47
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options4 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event8.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 layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service43.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -106,12 +106,12 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
106
106
|
}));
|
|
107
107
|
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service43,
|
|
110
|
+
layer: layer18(options),
|
|
111
|
+
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node47 = configured5();
|
|
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, Event8, Options4, Service43, layer18, configured5, node47, exports_instruction_discovery };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-nx4935gj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./persistent-pty-p9e7n5cp.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-0cc4q6tf.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service70;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID15.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make8();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make8, LMStudioPlugin2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./persistent-pty-xsgnaeym.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service28
|
|
7
|
+
} from "./persistent-pty-ht5y0zrb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service14,
|
|
10
|
+
node18
|
|
11
|
+
} from "./persistent-pty-ws70e1ew.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node17
|
|
14
|
+
} from "./persistent-pty-xck95xk4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node6
|
|
17
|
+
} from "./persistent-pty-7cbt97qs.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_refresh, {
|
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service76;
|
|
32
|
+
const plugins = yield* Service28;
|
|
33
|
+
const worktrees = yield* Service14;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
38
38
|
var node2 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node18, node81, node17, node6]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
export { node2, exports_refresh };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-c7m75h3c.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-7vhhzrrm.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./persistent-pty-zbr6jhfd.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service43
|
|
13
|
+
} from "./persistent-pty-5a5hve6r.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./persistent-pty-xsgnaeym.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin26
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin26 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service43;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service76;
|
|
42
|
+
const watcher = yield* Service71;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin26, exports_instruction };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service33
|
|
3
|
+
} from "./persistent-pty-b99w0g26.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-ht5y0zrb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service39
|
|
9
|
+
} from "./persistent-pty-qryc0yk4.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service33;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|