@opencode/core 0.0.0-dev-19444 → 0.0.0-dev-19445
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 +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{persistent-pty-r7t8b8jd.js → skill-02smfngn.js} +16 -16
- package/dist/chunks/{persistent-pty-sn9jxc3m.js → skill-0684qezx.js} +30 -30
- package/dist/chunks/{persistent-pty-z9nkkxss.js → skill-087ankfj.js} +27 -27
- package/dist/chunks/{persistent-pty-bcjrs64p.js → skill-09ewn36v.js} +43 -43
- package/dist/chunks/{persistent-pty-djaqjjbd.js → skill-0emqaag0.js} +8 -8
- package/dist/chunks/{persistent-pty-xe3s6cj9.js → skill-0ge7vg41.js} +17 -17
- package/dist/chunks/{persistent-pty-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-s4gntk5x.js → skill-0xn4ebw4.js} +6 -6
- package/dist/chunks/{persistent-pty-yqgts32m.js → skill-0y8x77kj.js} +11 -11
- package/dist/chunks/{persistent-pty-785g2v9c.js → skill-11h1hnb3.js} +2 -2
- package/dist/chunks/{persistent-pty-9n9jdqe1.js → skill-159nkw16.js} +24 -24
- package/dist/chunks/{persistent-pty-ffnm5d7g.js → skill-17p6c6pg.js} +39 -39
- package/dist/chunks/{persistent-pty-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-m25q4h22.js → skill-1mt8ffwy.js} +7 -7
- package/dist/chunks/skill-1x11rq2a.js +18 -0
- package/dist/chunks/{persistent-pty-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-6h73sxmp.js → skill-2402vzrj.js} +5 -5
- package/dist/chunks/{persistent-pty-z63w68vq.js → skill-29x78va6.js} +6 -6
- package/dist/chunks/{persistent-pty-az8mc2wb.js → skill-2a0aqbf3.js} +25 -25
- package/dist/chunks/{persistent-pty-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-4dwv79pw.js → skill-2g8zypaf.js} +4 -4
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → skill-2k8khapm.js} +5 -5
- package/dist/chunks/{persistent-pty-s0cv743x.js → skill-2rebtaxk.js} +28 -28
- package/dist/chunks/{persistent-pty-5n0t6mpe.js → skill-2tct1jzp.js} +11 -11
- package/dist/chunks/{persistent-pty-grq3ses6.js → skill-3bar99zz.js} +30 -30
- package/dist/chunks/{persistent-pty-v32t8jx1.js → skill-3c1tgrea.js} +6 -6
- package/dist/chunks/{persistent-pty-s8zy8myc.js → skill-3cz8rj72.js} +5 -5
- package/dist/chunks/{persistent-pty-dbp4xrc5.js → skill-3f0zzcm1.js} +18 -18
- package/dist/chunks/{persistent-pty-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-frwghdhm.js → skill-3kh4nxth.js} +4 -4
- package/dist/chunks/{persistent-pty-9bqw9ts7.js → skill-3kmkca4m.js} +3 -3
- package/dist/chunks/{persistent-pty-t2g1zcbf.js → skill-3qeevawm.js} +9 -9
- package/dist/chunks/{persistent-pty-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-4b6bntqd.js → skill-3trbxeqx.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-zqtt8gvt.js → skill-3xag9776.js} +82 -82
- package/dist/chunks/{persistent-pty-xvqzhzw3.js → skill-4jv56v3q.js} +13 -13
- package/dist/chunks/{persistent-pty-74031ssw.js → skill-4mqrbajh.js} +18 -18
- package/dist/chunks/{persistent-pty-q2vd4ycm.js → skill-4smx262h.js} +18 -18
- package/dist/chunks/{persistent-pty-yphmshtg.js → skill-54azk5v8.js} +12 -12
- package/dist/chunks/{persistent-pty-5sgymb5p.js → skill-569emx6x.js} +13 -13
- package/dist/chunks/{persistent-pty-82sjhv5t.js → skill-58ax6zm2.js} +12 -12
- package/dist/chunks/{persistent-pty-wfh3xe1h.js → skill-5csgya9h.js} +10 -10
- package/dist/chunks/{persistent-pty-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-d88cyh3f.js → skill-5jh55tk4.js} +29 -29
- package/dist/chunks/{persistent-pty-f5ayg8jb.js → skill-5kngvhex.js} +24 -24
- package/dist/chunks/{persistent-pty-0qv0g3jd.js → skill-5nn1zwkw.js} +10 -10
- package/dist/chunks/{persistent-pty-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-8sghyhzw.js → skill-5trk58xb.js} +8 -8
- package/dist/chunks/{persistent-pty-d5nw6pbp.js → skill-5v2brm2p.js} +5 -5
- package/dist/chunks/{persistent-pty-1qecm3at.js → skill-5yc69rh5.js} +9 -9
- package/dist/chunks/{persistent-pty-3ykbker3.js → skill-65hfepw4.js} +12 -12
- package/dist/chunks/{persistent-pty-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-7561qs2q.js → skill-68r9taqa.js} +12 -11
- package/dist/chunks/{persistent-pty-qx1qep3t.js → skill-6fdj6kdr.js} +4 -4
- package/dist/chunks/{persistent-pty-evdf6mqh.js → skill-6kr2w62q.js} +4 -4
- package/dist/chunks/{persistent-pty-dvgsdjgm.js → skill-6me79q7q.js} +36 -36
- package/dist/chunks/{persistent-pty-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-paegk39x.js → skill-6p3xbzsx.js} +4 -4
- package/dist/chunks/{persistent-pty-yw4qwv7s.js → skill-6ttajnb0.js} +4 -4
- package/dist/chunks/{persistent-pty-1mx7jt97.js → skill-6zv3shge.js} +11 -11
- package/dist/chunks/{persistent-pty-71q4at8m.js → skill-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-vmrw21yy.js → skill-744qmx57.js} +15 -15
- package/dist/chunks/{persistent-pty-yqfhb4y9.js → skill-74fxb3hx.js} +34 -34
- package/dist/chunks/{persistent-pty-qchhsb8n.js → skill-750kw9q8.js} +25 -25
- package/dist/chunks/{persistent-pty-2qq2nh41.js → skill-765srhpk.js} +20 -20
- package/dist/chunks/{persistent-pty-2wyjv582.js → skill-77nagcj1.js} +4 -4
- package/dist/chunks/{persistent-pty-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-7tdmgh4h.js → skill-7cc3npsf.js} +16 -16
- package/dist/chunks/{persistent-pty-cf9e7x3q.js → skill-7fpmdhde.js} +16 -16
- package/dist/chunks/{persistent-pty-kc733a55.js → skill-7smsr029.js} +3 -3
- package/dist/chunks/{persistent-pty-rav9e4bf.js → skill-7tpxex51.js} +8 -8
- package/dist/chunks/{persistent-pty-q851ajnw.js → skill-7xxqy5w0.js} +6 -6
- package/dist/chunks/{persistent-pty-81swgkk7.js → skill-81swgkk7.js} +2 -2
- package/dist/chunks/{persistent-pty-8resc561.js → skill-82152e3w.js} +2 -2
- package/dist/chunks/{persistent-pty-y0vyvf4s.js → skill-83jwm3nn.js} +40 -40
- package/dist/chunks/{persistent-pty-jtp7wgq3.js → skill-84tssp1s.js} +8 -8
- package/dist/chunks/{persistent-pty-q52v1zkd.js → skill-8bajxtr2.js} +20 -20
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-dj2t23y0.js → skill-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-sm8ax251.js → skill-8pywjhtp.js} +18 -18
- package/dist/chunks/{persistent-pty-qfhza6js.js → skill-8qvgnq7a.js} +9 -9
- package/dist/chunks/{persistent-pty-sp5zyyma.js → skill-8t1wrec1.js} +8 -8
- package/dist/chunks/{persistent-pty-j7wq2tw5.js → skill-93hpb89x.js} +3 -3
- package/dist/chunks/{persistent-pty-3fb2xjrz.js → skill-94rpvrjb.js} +53 -53
- package/dist/chunks/{persistent-pty-rzx3xp0s.js → skill-95rygp7c.js} +11 -11
- package/dist/chunks/{persistent-pty-05dmne8k.js → skill-9hrja81v.js} +18 -18
- package/dist/chunks/{persistent-pty-b2jx7zxs.js → skill-9k2v62xn.js} +1 -1
- package/dist/chunks/{persistent-pty-b5qypc0b.js → skill-9q0bw3dr.js} +22 -22
- package/dist/chunks/{persistent-pty-fkc03k84.js → skill-9sfkrt92.js} +7 -7
- package/dist/chunks/{persistent-pty-q7jk22gt.js → skill-9vchbmew.js} +83 -83
- package/dist/chunks/{persistent-pty-zmv8fzaa.js → skill-9xkh5xjy.js} +46 -46
- package/dist/chunks/{persistent-pty-5c4hm403.js → skill-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-ahjq8v9s.js → skill-ac65zdy3.js} +16 -16
- package/dist/chunks/{persistent-pty-6pd3eqcb.js → skill-ava840jj.js} +7 -7
- package/dist/chunks/{persistent-pty-f3hkpvhb.js → skill-b6cxpadd.js} +28 -28
- package/dist/chunks/{persistent-pty-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-gnx4ytbv.js → skill-bajakh74.js} +4 -4
- package/dist/chunks/{persistent-pty-83avj3cc.js → skill-bqszwq89.js} +8 -8
- package/dist/chunks/{persistent-pty-p4yvam9z.js → skill-c2bnm6k2.js} +5 -5
- package/dist/chunks/{persistent-pty-c67p2atg.js → skill-c5db1mkp.js} +24 -24
- package/dist/chunks/{persistent-pty-005h1arw.js → skill-c88rwc6y.js} +16 -16
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → skill-cfpkc3c9.js} +2 -2
- package/dist/chunks/skill-cfqbggmt.js +22 -0
- package/dist/chunks/{persistent-pty-0r7yqxbf.js → skill-d1khqved.js} +5 -5
- package/dist/chunks/{persistent-pty-01a5qg47.js → skill-d248znmc.js} +15 -15
- package/dist/chunks/{persistent-pty-evzmkbr0.js → skill-d2waefg7.js} +11 -11
- package/dist/chunks/{persistent-pty-acyty1wx.js → skill-d5731q4d.js} +8 -8
- package/dist/chunks/{persistent-pty-varrh6ax.js → skill-dgdg9tc7.js} +16 -16
- package/dist/chunks/{persistent-pty-7hha6ye0.js → skill-dgwyx5ct.js} +3 -3
- package/dist/chunks/{persistent-pty-0n4wjfgh.js → skill-dmtzfb09.js} +7 -7
- package/dist/chunks/{persistent-pty-vas057hg.js → skill-e23wa8rb.js} +28 -28
- package/dist/chunks/{persistent-pty-fng9e0je.js → skill-efv4s0g0.js} +4 -4
- package/dist/chunks/{persistent-pty-xhmq8qgk.js → skill-em44vm4y.js} +9 -9
- package/dist/chunks/{persistent-pty-vagsfnmd.js → skill-eq3dq4k8.js} +21 -21
- package/dist/chunks/{persistent-pty-rstnkd3y.js → skill-esdnemd6.js} +1 -1
- package/dist/chunks/{persistent-pty-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-r9tx91hm.js → skill-f222mbym.js} +9 -9
- package/dist/chunks/{persistent-pty-hdnk95c8.js → skill-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-parf39xm.js → skill-fbcen7pp.js} +4 -4
- package/dist/chunks/{persistent-pty-18ty43sg.js → skill-fh1y2sqn.js} +16 -16
- package/dist/chunks/{persistent-pty-e0zsr1va.js → skill-fkcp8j8s.js} +20 -20
- package/dist/chunks/{persistent-pty-7ybwwvvx.js → skill-fq1h1v14.js} +3 -3
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-ry642edr.js → skill-fxz1gqrt.js} +33 -33
- package/dist/chunks/{persistent-pty-xbevy1hz.js → skill-fznpg4cs.js} +15 -15
- package/dist/chunks/{persistent-pty-z8j97m5a.js → skill-g2h728z9.js} +11 -11
- package/dist/chunks/{persistent-pty-5kptn8c0.js → skill-g3n6es57.js} +9 -9
- package/dist/chunks/{persistent-pty-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-kyj4bb94.js → skill-gdrm4bvr.js} +10 -10
- package/dist/chunks/{persistent-pty-7jhefbjk.js → skill-ghy7f12q.js} +24 -24
- package/dist/chunks/{persistent-pty-x7chxcy7.js → skill-gmzc3tvp.js} +17 -17
- package/dist/chunks/{persistent-pty-y36xwgv2.js → skill-gpx0jagy.js} +11 -11
- package/dist/chunks/{persistent-pty-04a7cva4.js → skill-gs193ymm.js} +6 -6
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-jptpv9dn.js → skill-gygfttsz.js} +17 -17
- package/dist/chunks/{persistent-pty-h03wrkyp.js → skill-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-380vjcmd.js → skill-h2gyv3sg.js} +1 -1
- package/dist/chunks/{persistent-pty-xnpf3raf.js → skill-h671hp36.js} +26 -26
- package/dist/chunks/{persistent-pty-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-38nhqbm5.js → skill-h9k0ng18.js} +3 -3
- package/dist/chunks/{persistent-pty-agfsn1y7.js → skill-hfg1z283.js} +8 -8
- package/dist/chunks/{persistent-pty-q5asdkn4.js → skill-hn57h045.js} +4 -4
- package/dist/chunks/skill-hr9dp009.js +4 -0
- package/dist/chunks/{persistent-pty-gamervdr.js → skill-hxx3wyh4.js} +20 -20
- package/dist/chunks/{persistent-pty-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-paphc93g.js → skill-j935v87r.js} +2 -2
- package/dist/chunks/{persistent-pty-jefma2gq.js → skill-jefma2gq.js} +3 -3
- package/dist/chunks/{persistent-pty-8rqycdgd.js → skill-jfqtm2ew.js} +7 -7
- package/dist/chunks/{persistent-pty-qba6esk9.js → skill-jg5pnb06.js} +9 -9
- package/dist/chunks/{persistent-pty-xcvfwc99.js → skill-jw0mprhj.js} +31 -31
- package/dist/chunks/{persistent-pty-aj01v8qn.js → skill-k23gmb4k.js} +24 -24
- package/dist/chunks/{persistent-pty-2mgtw022.js → skill-k36wq3da.js} +21 -21
- package/dist/chunks/{persistent-pty-q7z1cryp.js → skill-k5rg09kc.js} +43 -43
- package/dist/chunks/{persistent-pty-z8q6jatt.js → skill-ke0nj5rp.js} +24 -24
- package/dist/chunks/{persistent-pty-x5zz50tg.js → skill-ke194936.js} +13 -13
- package/dist/chunks/{persistent-pty-xz54ae1b.js → skill-kev8xza3.js} +56 -56
- package/dist/chunks/{persistent-pty-kg06axw8.js → skill-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-w79zsp0s.js → skill-kjcr15p7.js} +1 -1
- package/dist/chunks/{persistent-pty-jkksjy64.js → skill-kjmd8gwp.js} +6 -6
- package/dist/chunks/{persistent-pty-1c7pak08.js → skill-ktdc306a.js} +5 -5
- package/dist/chunks/{persistent-pty-rp2majj0.js → skill-kz3xwqrn.js} +22 -22
- package/dist/chunks/{persistent-pty-954vm9zf.js → skill-m6n84c8c.js} +6 -6
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-wjx4ep27.js → skill-mck3kx14.js} +36 -36
- package/dist/chunks/{persistent-pty-hgkznrd4.js → skill-me8f61q0.js} +8 -8
- package/dist/chunks/{persistent-pty-dy4g773q.js → skill-mek92vfe.js} +43 -43
- package/dist/chunks/{persistent-pty-1ygqh575.js → skill-mfqp6xfm.js} +6 -6
- package/dist/chunks/{persistent-pty-dad2c0nf.js → skill-mhp8k6g1.js} +17 -17
- package/dist/chunks/{persistent-pty-4gycnsfp.js → skill-mjncxbbh.js} +4 -4
- package/dist/chunks/{persistent-pty-mkcjrzeh.js → skill-mkcjrzeh.js} +1 -1
- package/dist/chunks/{persistent-pty-b1hwkhhg.js → skill-mn5tqr63.js} +8 -8
- package/dist/chunks/{persistent-pty-gmf4816w.js → skill-mrb2npwq.js} +24 -24
- package/dist/chunks/{persistent-pty-t8r3ep1g.js → skill-mrw4weg4.js} +5 -5
- package/dist/chunks/{persistent-pty-60t5zk3s.js → skill-mtcgtbpz.js} +21 -21
- package/dist/chunks/{persistent-pty-j8j8t0xr.js → skill-mvdgtp8g.js} +12 -12
- package/dist/chunks/{persistent-pty-mhkvc446.js → skill-mvfsc1pv.js} +3 -3
- package/dist/chunks/{persistent-pty-2zma1qrf.js → skill-nbsrer14.js} +7 -7
- package/dist/chunks/{persistent-pty-e82z9tr0.js → skill-nhy5jxhy.js} +7 -7
- package/dist/chunks/{persistent-pty-61e1gdwj.js → skill-nnzmab9f.js} +50 -50
- package/dist/chunks/{persistent-pty-wh54hqqb.js → skill-nvtfdscb.js} +20 -20
- package/dist/chunks/{persistent-pty-p14yjxpe.js → skill-nx4935gj.js} +12 -12
- package/dist/chunks/{persistent-pty-y13ybha0.js → skill-p5y58tyb.js} +25 -25
- package/dist/chunks/{persistent-pty-srqqe1ng.js → skill-pjg9m0hw.js} +15 -15
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-2yrppz7w.js → skill-pkf1fw33.js} +25 -25
- package/dist/chunks/{persistent-pty-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-evtvm6ad.js → skill-pxwpnzzr.js} +20 -20
- package/dist/chunks/{persistent-pty-et687rst.js → skill-q22h9474.js} +14 -14
- package/dist/chunks/{persistent-pty-2zcvt653.js → skill-q2d40q94.js} +11 -11
- package/dist/chunks/{persistent-pty-kwwkrpcc.js → skill-q6bhavfj.js} +11 -11
- package/dist/chunks/{persistent-pty-6vwr4pa3.js → skill-q803f8d7.js} +16 -16
- package/dist/chunks/{persistent-pty-tqp33yxr.js → skill-q9dvbpha.js} +6 -6
- package/dist/chunks/{persistent-pty-1q5awywt.js → skill-qa7075pb.js} +5 -5
- package/dist/chunks/{persistent-pty-ztn5y39t.js → skill-qbvjzwtx.js} +7 -7
- package/dist/chunks/{persistent-pty-qwkytnft.js → skill-qd8wwfxt.js} +9 -9
- package/dist/chunks/{persistent-pty-t62eftq5.js → skill-qfkewnpy.js} +153 -153
- package/dist/chunks/{persistent-pty-3ynntrmw.js → skill-qmkj301t.js} +10 -10
- package/dist/chunks/{persistent-pty-d1x6gan2.js → skill-qs001aqx.js} +11 -11
- package/dist/chunks/{persistent-pty-4gyf98v7.js → skill-qs4y937t.js} +26 -26
- package/dist/chunks/{persistent-pty-6y31jycr.js → skill-qsdhjg7e.js} +1 -1
- package/dist/chunks/{persistent-pty-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-yddgxcp4.js → skill-r1wdcgzk.js} +5 -5
- package/dist/chunks/{persistent-pty-5v072v7y.js → skill-r916gz35.js} +15 -15
- package/dist/chunks/{persistent-pty-r9mregkx.js → skill-r9mregkx.js} +2 -2
- package/dist/chunks/{persistent-pty-jmpt8wxb.js → skill-rj9vahs6.js} +9 -9
- package/dist/chunks/{persistent-pty-1ymn0wqz.js → skill-rkg39e93.js} +11 -11
- package/dist/chunks/{persistent-pty-xsdh20fb.js → skill-rs226bz6.js} +5 -5
- package/dist/chunks/{persistent-pty-yrznvahk.js → skill-s4enseaf.js} +2 -2
- package/dist/chunks/{persistent-pty-d9sn21bc.js → skill-s7731dqm.js} +2 -2
- package/dist/chunks/{persistent-pty-y9mdtrwd.js → skill-s8n1268f.js} +6 -6
- package/dist/chunks/{persistent-pty-wxz5zpgv.js → skill-sayx4gma.js} +9 -9
- package/dist/chunks/{persistent-pty-demce0me.js → skill-sntdf6vk.js} +13 -13
- package/dist/chunks/{persistent-pty-7th6m6bc.js → skill-spcqgy8q.js} +20 -20
- package/dist/chunks/{persistent-pty-0q7f28vn.js → skill-sqhm951k.js} +24 -24
- package/dist/chunks/{persistent-pty-8d1bfgha.js → skill-sst8evag.js} +10 -10
- package/dist/chunks/{persistent-pty-ybbr8802.js → skill-t0r3q69e.js} +10 -10
- package/dist/chunks/{persistent-pty-eaj1djv9.js → skill-t550f9t1.js} +8 -8
- package/dist/chunks/{persistent-pty-n3njy178.js → skill-t6kx061s.js} +26 -26
- package/dist/chunks/{persistent-pty-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-37s12vcn.js → skill-tn0aqsam.js} +5 -5
- package/dist/chunks/{persistent-pty-abnsb7h0.js → skill-tqxz2e3b.js} +22 -22
- package/dist/chunks/{persistent-pty-tryp60pv.js → skill-ttqfmzkf.js} +4 -4
- package/dist/chunks/{persistent-pty-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-x3et2xth.js → skill-v4hmzr0r.js} +8 -8
- package/dist/chunks/{persistent-pty-2srq3db3.js → skill-v5efs57h.js} +37 -37
- package/dist/chunks/{persistent-pty-q1c4k7jk.js → skill-vabb23s0.js} +1 -1
- package/dist/chunks/{persistent-pty-tn2twcc1.js → skill-vbj2rye8.js} +39 -39
- package/dist/chunks/{persistent-pty-0v53mg2y.js → skill-ve4pfa0n.js} +4 -4
- package/dist/chunks/{persistent-pty-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-kcwf74x3.js → skill-vypqtakx.js} +1 -1
- package/dist/chunks/{persistent-pty-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-z2twpmdm.js → skill-w8bmck9y.js} +9 -9
- package/dist/chunks/{persistent-pty-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-r70vw89t.js → skill-wnetnkyw.js} +30 -30
- package/dist/chunks/{persistent-pty-sx163ae1.js → skill-wrpp1wzb.js} +13 -13
- package/dist/chunks/{persistent-pty-73bckjvz.js → skill-wwgwfcvb.js} +8 -8
- package/dist/chunks/{persistent-pty-94ppg1m8.js → skill-x0pta7p5.js} +20 -20
- package/dist/chunks/{persistent-pty-zev1jhas.js → skill-x145bkh2.js} +11 -11
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-xxxe2k5h.js → skill-xd2c2vv1.js} +16 -16
- package/dist/chunks/{persistent-pty-cavr175a.js → skill-xdk9p2qn.js} +21 -21
- package/dist/chunks/{persistent-pty-gsx0ryk4.js → skill-xekzrwwc.js} +9 -9
- package/dist/chunks/skill-xnyk9pjh.js +462 -0
- package/dist/chunks/{persistent-pty-mz9yydp9.js → skill-xrpmsssz.js} +33 -33
- package/dist/chunks/{persistent-pty-1a9xvnjj.js → skill-xsjdd46p.js} +11 -11
- package/dist/chunks/{persistent-pty-b3ba0j7k.js → skill-xy649dp3.js} +20 -20
- package/dist/chunks/{persistent-pty-ntb0be4d.js → skill-xyf8jtay.js} +9 -9
- package/dist/chunks/{persistent-pty-0ta9dxrd.js → skill-y15k8n5h.js} +23 -23
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/skill-y3cz5npg.js +247 -0
- package/dist/chunks/{persistent-pty-y71avatq.js → skill-y71avatq.js} +1 -1
- package/dist/chunks/{persistent-pty-zvd3hp2n.js → skill-y8fswwr5.js} +24 -24
- package/dist/chunks/{persistent-pty-cnemypr9.js → skill-ya625hps.js} +2 -2
- package/dist/chunks/{persistent-pty-hb9da54z.js → skill-yezvhbqh.js} +13 -13
- package/dist/chunks/{persistent-pty-rnh8b45z.js → skill-yhkzsdkx.js} +4 -4
- package/dist/chunks/{persistent-pty-wwgs2ayd.js → skill-yjpw2tzc.js} +22 -22
- package/dist/chunks/{persistent-pty-57bvaje9.js → skill-yjq3nkkb.js} +26 -26
- package/dist/chunks/{persistent-pty-25r3kwhs.js → skill-ykfq2gv5.js} +11 -11
- package/dist/chunks/{persistent-pty-r8xr0va3.js → skill-yp2x3t23.js} +4 -4
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-rkqecthd.js → skill-yvevv6gs.js} +8 -8
- package/dist/chunks/{persistent-pty-y8hvxyf6.js → skill-yvq8v403.js} +47 -47
- package/dist/chunks/{persistent-pty-pmdkw4vk.js → skill-yy0nzgb9.js} +33 -33
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-dwbn7e6b.js → skill-z2jv1b0e.js} +33 -33
- package/dist/chunks/{persistent-pty-2g51tfx8.js → skill-z2k03asg.js} +6 -6
- package/dist/chunks/{persistent-pty-f4vy2wnr.js → skill-zb7jm7vb.js} +14 -14
- package/dist/chunks/{persistent-pty-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-0gr7cw0d.js → skill-zj09a0ew.js} +4 -4
- package/dist/chunks/{persistent-pty-02bvreen.js → skill-zj92nnn3.js} +22 -22
- package/dist/chunks/{persistent-pty-5cvq9r0s.js → skill-zqsq0f3p.js} +8 -8
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-pek6bvtj.js → skill-zrb5c291.js} +13 -13
- package/dist/chunks/{persistent-pty-evatnbz9.js → skill-zsj01fcb.js} +3 -3
- package/dist/chunks/{persistent-pty-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +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 +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- 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 +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +3 -3
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- 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 +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- 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 +341 -341
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +7 -7
- 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 +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +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 +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +104 -104
- 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 +115 -115
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +76 -76
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-0mesazry.js +0 -4
- package/dist/chunks/persistent-pty-4hv5z3sn.js +0 -462
- package/dist/chunks/persistent-pty-4v7qdvcn.js +0 -18
- package/dist/chunks/persistent-pty-e7v5pkey.js +0 -247
- package/dist/chunks/persistent-pty-vfnfx4w1.js +0 -22
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → skill-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → skill-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./skill-84tssp1s.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID15
|
|
8
|
+
} from "./skill-nx4935gj.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-6kr2w62q.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event19
|
|
15
|
+
} from "./skill-3bar99zz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID4,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./skill-b6cxpadd.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service45
|
|
22
|
+
} from "./skill-p5y58tyb.js";
|
|
23
23
|
import {
|
|
24
24
|
get2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./skill-x145bkh2.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./skill-rkg39e93.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID4.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ 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*
|
|
158
|
+
const catalog = yield* Service45;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -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: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(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,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(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
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID4.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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./skill-83jwm3nn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service31
|
|
7
|
+
} from "./skill-750kw9q8.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./skill-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin10
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin10 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const snapshot = yield* Service31;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin21 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin10, exports_snapshot };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-zsj01fcb.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-6kr2w62q.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info26,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service70,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node74
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID12 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID12,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service70 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service70.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID12.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID12, OAuth3, Key4, Value2, Event19, Info26, Service70, node74, exports_credential };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service41,
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service41 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node44 = LayerNode.unbound(Service41, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service41, node44, exports_service2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info24,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info24 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info24, exports_mcp5 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info11,
|
|
6
|
+
ID7,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-tqxz2e3b.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./skill-83jwm3nn.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin30,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
422
422
|
var ReportContent2 = report_default;
|
|
423
423
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
424
424
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
425
|
-
var
|
|
425
|
+
var Plugin30 = define({
|
|
426
426
|
id: "opencode.skill",
|
|
427
427
|
effect: Effect.fn(function* (ctx) {
|
|
428
428
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
429
429
|
yield* ctx.skill.transform((editor) => {
|
|
430
|
-
editor.add(
|
|
431
|
-
id:
|
|
430
|
+
editor.add(Info11.make({
|
|
431
|
+
id: ID7.make("opencode"),
|
|
432
432
|
name: Name2.make("OpenCode"),
|
|
433
433
|
description: OpencodeDescription2,
|
|
434
434
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
435
435
|
content: OpencodeContent2
|
|
436
436
|
}));
|
|
437
|
-
editor.add(
|
|
438
|
-
id:
|
|
437
|
+
editor.add(Info11.make({
|
|
438
|
+
id: ID7.make("report"),
|
|
439
439
|
name: Name2.make("Report"),
|
|
440
440
|
description: REPORT_DESCRIPTION,
|
|
441
441
|
slash: true,
|
|
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
464
464
|
`);
|
|
465
465
|
});
|
|
466
466
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
467
|
-
const config = yield*
|
|
467
|
+
const config = yield* Service66;
|
|
468
468
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
469
469
|
});
|
|
470
470
|
function terminal() {
|
|
@@ -478,4 +478,4 @@ function shell() {
|
|
|
478
478
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
481
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin30, exports_skill2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-rkg39e93.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID16
|
|
6
|
+
} from "./skill-84tssp1s.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID16.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9xkh5xjy.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-84tssp1s.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service66
|
|
8
|
+
} from "./skill-83jwm3nn.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin15
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin15 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service66;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
|
|
|
159
159
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
export {
|
|
162
|
+
export { Plugin15, exports_provider };
|