@opencode-ai/core 0.0.0-dev-19146 → 0.0.0-dev-19147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{skill-ck0n87y5.js → bus-03pcvst5.js} +82 -82
- package/dist/chunks/{skill-fy6n5twb.js → bus-03vfzkzq.js} +4 -4
- package/dist/chunks/{skill-rme1whxk.js → bus-07zcvmjy.js} +11 -11
- package/dist/chunks/{skill-4ebjt7kz.js → bus-09zpxraa.js} +24 -24
- package/dist/chunks/{skill-ww8c32hp.js → bus-0b89de78.js} +5 -5
- package/dist/chunks/{skill-0e0xafbb.js → bus-0e0xafbb.js} +2 -2
- package/dist/chunks/{skill-16yckt1f.js → bus-0h456tg2.js} +11 -11
- package/dist/chunks/{skill-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-36mzbjn4.js → bus-0rag4e4f.js} +4 -4
- package/dist/chunks/{skill-ka1d01ec.js → bus-0rh3kdcc.js} +5 -5
- package/dist/chunks/{skill-0s9ayhjt.js → bus-0s9ayhjt.js} +1 -1
- package/dist/chunks/{skill-w23s81zh.js → bus-0xt1haj6.js} +33 -33
- package/dist/chunks/{skill-z100w0rg.js → bus-17yxvw7z.js} +11 -11
- package/dist/chunks/{skill-eph91qt2.js → bus-1b65ws7n.js} +7 -7
- package/dist/chunks/{skill-1ct4r87x.js → bus-1ct4r87x.js} +1 -1
- package/dist/chunks/{skill-2bq890yg.js → bus-1fgw4mms.js} +13 -13
- package/dist/chunks/{skill-1v037h4n.js → bus-1msc25r1.js} +16 -16
- package/dist/chunks/{skill-4hjr9hb9.js → bus-20mqg84x.js} +29 -29
- package/dist/chunks/{skill-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{skill-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{skill-wwb03vrn.js → bus-259mvakt.js} +9 -9
- package/dist/chunks/{skill-mq6ebpf7.js → bus-265py6yv.js} +160 -160
- package/dist/chunks/{skill-2jyb19dr.js → bus-284cjhsv.js} +3 -3
- package/dist/chunks/{skill-29x78va6.js → bus-29x78va6.js} +2 -2
- package/dist/chunks/{skill-rae26gbb.js → bus-2a1acymz.js} +8 -8
- package/dist/chunks/{skill-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-zajwd6at.js → bus-2ady357n.js} +5 -5
- package/dist/chunks/{skill-vsgh5kw9.js → bus-2b6cd4q1.js} +13 -13
- package/dist/chunks/{skill-tap9rc33.js → bus-2cqzd7yz.js} +30 -30
- package/dist/chunks/{skill-377jfr6a.js → bus-2frbs4n5.js} +14 -14
- package/dist/chunks/{skill-q4thqt71.js → bus-2h28fvw8.js} +14 -14
- package/dist/chunks/{skill-2ht70gj7.js → bus-2ht70gj7.js} +1 -1
- package/dist/chunks/{skill-2jqmte8w.js → bus-2jqmte8w.js} +2 -2
- package/dist/chunks/{skill-g9k1ggqm.js → bus-2yvtpd40.js} +6 -6
- package/dist/chunks/{skill-tzcj45k0.js → bus-3a0173zm.js} +24 -24
- package/dist/chunks/{skill-yttv0zt4.js → bus-3c7wsmqc.js} +21 -21
- package/dist/chunks/{skill-8frzc6qw.js → bus-3epwwbr6.js} +6 -6
- package/dist/chunks/{skill-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-3qzbfqsy.js → bus-3qzbfqsy.js} +2 -2
- package/dist/chunks/{skill-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-v6whbxwh.js → bus-4070pg8x.js} +28 -28
- package/dist/chunks/{skill-pt7wq7x0.js → bus-42my878b.js} +1 -1
- package/dist/chunks/{skill-xc2m3snf.js → bus-4375bpmc.js} +46 -46
- package/dist/chunks/{skill-3qbt326n.js → bus-43a3yqcx.js} +11 -11
- package/dist/chunks/{skill-1c2ffca4.js → bus-44xps6y5.js} +19 -19
- package/dist/chunks/{skill-454k5vzh.js → bus-454k5vzh.js} +1 -1
- package/dist/chunks/{skill-m9p8h4jk.js → bus-4dgqkt2g.js} +12 -12
- package/dist/chunks/{skill-4r2nyarf.js → bus-4r2nyarf.js} +1 -1
- package/dist/chunks/{skill-jtvd6mbe.js → bus-4z9k8dmg.js} +6 -6
- package/dist/chunks/{skill-jmwgnw0m.js → bus-52a4zrsn.js} +9 -9
- package/dist/chunks/{skill-9et72e7w.js → bus-52zbkqaa.js} +10 -10
- package/dist/chunks/{skill-w5c7hha5.js → bus-5bhqk8rd.js} +35 -35
- package/dist/chunks/{skill-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-6zfrtyfr.js → bus-5f9czyyy.js} +36 -36
- package/dist/chunks/{skill-5fmxt4p5.js → bus-5fmxt4p5.js} +1 -1
- package/dist/chunks/{skill-98smnk5z.js → bus-5jra4smz.js} +12 -12
- package/dist/chunks/{skill-5jvc5tg2.js → bus-5jvc5tg2.js} +1 -1
- package/dist/chunks/{skill-3z1xmqjc.js → bus-5jwc40bw.js} +11 -11
- package/dist/chunks/{skill-ez5b8bq3.js → bus-5sg4xzjf.js} +7 -7
- package/dist/chunks/{skill-d8qsmb6k.js → bus-5ws6ykpz.js} +11 -11
- package/dist/chunks/{skill-e0ek2j91.js → bus-5zf78s6r.js} +17 -17
- package/dist/chunks/{skill-61qb9z8b.js → bus-61qb9z8b.js} +1 -1
- package/dist/chunks/{skill-fz1pdqz4.js → bus-637qq8n2.js} +9 -9
- package/dist/chunks/{skill-t4rggybx.js → bus-68mhmgnx.js} +25 -25
- package/dist/chunks/{skill-6926ty5t.js → bus-6926ty5t.js} +1 -1
- package/dist/chunks/{skill-qz49fwgp.js → bus-6anwy9fs.js} +6 -6
- package/dist/chunks/{skill-7gwyswp8.js → bus-6b7g3hjv.js} +16 -16
- package/dist/chunks/{skill-8rrfe7cb.js → bus-6bngq4h8.js} +13 -13
- package/dist/chunks/{skill-mtcjf44p.js → bus-6e958v7x.js} +4 -4
- package/dist/chunks/{skill-te0e5arw.js → bus-6nd3jhcq.js} +7 -7
- package/dist/chunks/{skill-xvtcmct4.js → bus-6s6g893m.js} +31 -31
- package/dist/chunks/{skill-711hfp6y.js → bus-711hfp6y.js} +2 -2
- package/dist/chunks/{skill-72nftnjy.js → bus-72nftnjy.js} +2 -2
- package/dist/chunks/{skill-kzdcqyn1.js → bus-762r0j46.js} +5 -5
- package/dist/chunks/{skill-jnmmvqjs.js → bus-79xc10f4.js} +1 -1
- package/dist/chunks/{skill-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-a1y2q22t.js → bus-7d0gqbxc.js} +54 -54
- package/dist/chunks/{skill-7dqw4kz8.js → bus-7dqw4kz8.js} +1 -1
- package/dist/chunks/bus-7fj5dwt0.js +18 -0
- package/dist/chunks/{skill-yxckwajw.js → bus-7jrdpkxe.js} +14 -14
- package/dist/chunks/{skill-de8ypev3.js → bus-7npscw6y.js} +27 -27
- package/dist/chunks/{skill-ahcbzqnj.js → bus-7qwqjxd9.js} +25 -25
- package/dist/chunks/{skill-d1a1bt21.js → bus-7tfg2zmn.js} +5 -5
- package/dist/chunks/{skill-dw67r187.js → bus-7xhvt7yp.js} +8 -8
- package/dist/chunks/{skill-4kkev07m.js → bus-7z3nt2ce.js} +11 -11
- package/dist/chunks/{skill-1bwaarmf.js → bus-8gq481r1.js} +4 -4
- package/dist/chunks/{skill-6chny00m.js → bus-8q7h2c8p.js} +39 -39
- package/dist/chunks/{skill-ecthgzsh.js → bus-8qyy1b3c.js} +8 -8
- package/dist/chunks/{skill-eqzm8707.js → bus-8r8pj8zm.js} +6 -6
- package/dist/chunks/{skill-qfv98y5r.js → bus-8vv3f8em.js} +29 -29
- package/dist/chunks/{skill-8ph8xft0.js → bus-8xt7sm9n.js} +25 -25
- package/dist/chunks/{skill-59hmewq5.js → bus-91cyfgge.js} +25 -25
- package/dist/chunks/{skill-93a8yfjt.js → bus-93a8yfjt.js} +2 -2
- package/dist/chunks/{skill-77b3df6j.js → bus-9b06darc.js} +11 -11
- package/dist/chunks/{skill-wkxv5gdj.js → bus-9bfj2s2r.js} +4 -4
- package/dist/chunks/{skill-e3t0axx9.js → bus-9k25nmjt.js} +8 -8
- package/dist/chunks/{skill-8hx3mbfc.js → bus-9nmeg6hb.js} +9 -9
- package/dist/chunks/{skill-9qm9egsn.js → bus-9qm9egsn.js} +2 -2
- package/dist/chunks/{skill-b4j510f0.js → bus-9wht8j3f.js} +37 -37
- package/dist/chunks/{skill-705hjevc.js → bus-a3pkwgfm.js} +25 -25
- package/dist/chunks/{skill-b2r752qe.js → bus-a43mdqrv.js} +8 -8
- package/dist/chunks/{skill-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-tpvznqg8.js → bus-ajnaheqp.js} +7 -7
- package/dist/chunks/{skill-ajtjthsy.js → bus-ajtjthsy.js} +2 -2
- package/dist/chunks/{skill-b27vhd2z.js → bus-at5d07az.js} +4 -4
- package/dist/chunks/{skill-y6zr9m49.js → bus-axm2fcy6.js} +1 -1
- package/dist/chunks/{skill-2w6bfmvf.js → bus-b0z70ywn.js} +1 -1
- package/dist/chunks/{skill-j97x952a.js → bus-b2txezd7.js} +37 -37
- package/dist/chunks/{skill-yq07z3qa.js → bus-b4vs7y8k.js} +32 -32
- package/dist/chunks/{skill-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-b9wsbatv.js → bus-b9wsbatv.js} +1 -1
- package/dist/chunks/{skill-reqwpk3p.js → bus-bb34vnzf.js} +3 -3
- package/dist/chunks/{skill-k8cz2ymp.js → bus-bdamf7mc.js} +3 -3
- package/dist/chunks/{skill-bf0ztrs3.js → bus-bf0ztrs3.js} +1 -1
- package/dist/chunks/{skill-aaqac0b9.js → bus-bpn6w613.js} +11 -11
- package/dist/chunks/{skill-2pgk7vty.js → bus-bqarnab4.js} +2 -2
- package/dist/chunks/{skill-2404hjbe.js → bus-bwpeshzr.js} +4 -4
- package/dist/chunks/{skill-51rtrhk0.js → bus-c1j5nedx.js} +10 -10
- package/dist/chunks/{skill-tptg6stc.js → bus-c5vv46vd.js} +7 -7
- package/dist/chunks/{skill-82zka58v.js → bus-cdxszh4j.js} +22 -22
- package/dist/chunks/{skill-qweq2v4b.js → bus-cq7yjxs1.js} +3 -3
- package/dist/chunks/{skill-44bhcd4v.js → bus-cvy9v8nj.js} +20 -20
- package/dist/chunks/{skill-pcqms43p.js → bus-d24yjw8z.js} +23 -23
- package/dist/chunks/{skill-jxbbcmy5.js → bus-d6w6mh1h.js} +11 -11
- package/dist/chunks/{skill-d72308c8.js → bus-d72308c8.js} +2 -2
- package/dist/chunks/{skill-hzscb7xf.js → bus-d9hh4vk8.js} +17 -17
- package/dist/chunks/{skill-qn08p3qt.js → bus-dc9zs5sz.js} +82 -82
- package/dist/chunks/{skill-fsh8xs9r.js → bus-dcng8tk8.js} +9 -9
- package/dist/chunks/{skill-h25myfp2.js → bus-dkcyx3p2.js} +28 -28
- package/dist/chunks/{skill-hwjyq29s.js → bus-e6s7x5n1.js} +276 -276
- package/dist/chunks/{skill-krvqxvv7.js → bus-e80n2ttq.js} +11 -11
- package/dist/chunks/{skill-n4zjznhm.js → bus-etgsznzg.js} +8 -8
- package/dist/chunks/{skill-0ykzsznw.js → bus-ewvsw10p.js} +10 -10
- package/dist/chunks/{skill-xbehdes5.js → bus-f1195tme.js} +14 -14
- package/dist/chunks/{skill-z62gh9db.js → bus-f3zf6xc6.js} +41 -41
- package/dist/chunks/{skill-3mrm2hwf.js → bus-f4g7wt00.js} +10 -10
- package/dist/chunks/{skill-8230h201.js → bus-fay0kx6k.js} +11 -11
- package/dist/chunks/{skill-qs4avvkb.js → bus-fhvjqr7f.js} +1 -1
- package/dist/chunks/{skill-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{skill-fxypknc8.js → bus-fxypknc8.js} +1 -1
- package/dist/chunks/{skill-nf7qpkg2.js → bus-g0mjj0rj.js} +29 -29
- package/dist/chunks/{skill-rvb2zp0m.js → bus-g19vc6v7.js} +6 -6
- package/dist/chunks/{skill-0f618yfd.js → bus-g75w3dx0.js} +13 -13
- package/dist/chunks/{skill-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-0facaex5.js → bus-gghn6ddw.js} +12 -12
- package/dist/chunks/{skill-9ccg1j3a.js → bus-h4v2a5qn.js} +5 -5
- package/dist/chunks/{skill-91d7ewqk.js → bus-h5pkretn.js} +25 -25
- package/dist/chunks/{skill-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-fkxfpsqq.js → bus-h71tptf3.js} +11 -11
- package/dist/chunks/{skill-b2624nj0.js → bus-h94by419.js} +18 -18
- package/dist/chunks/{skill-3gbyeyxe.js → bus-h983e39c.js} +22 -22
- package/dist/chunks/{skill-heyhwy2w.js → bus-heyhwy2w.js} +1 -1
- package/dist/chunks/{skill-x00g5gps.js → bus-hfr11a94.js} +9 -9
- package/dist/chunks/{skill-hrvm11jt.js → bus-hrvm11jt.js} +3 -3
- package/dist/chunks/{skill-2tyh9zea.js → bus-hrxre78j.js} +18 -18
- package/dist/chunks/{skill-1t58wnn1.js → bus-hs6cevvz.js} +11 -11
- package/dist/chunks/{skill-hzdqfeee.js → bus-htsdw4aq.js} +2 -2
- package/dist/chunks/{skill-1pja1p92.js → bus-j8e2hagy.js} +50 -50
- package/dist/chunks/{skill-26hrw514.js → bus-j8vtfwgc.js} +28 -28
- package/dist/chunks/{skill-z0syrazk.js → bus-j8yzmn16.js} +28 -28
- package/dist/chunks/{skill-gb2wy085.js → bus-jayphp49.js} +6 -6
- package/dist/chunks/{skill-je9hks3h.js → bus-je9hks3h.js} +2 -2
- package/dist/chunks/{skill-dnwcjnnq.js → bus-jg6xgb04.js} +23 -23
- package/dist/chunks/{skill-2saxr98m.js → bus-jmprf74n.js} +34 -34
- package/dist/chunks/{skill-vbncmk2w.js → bus-jn4cksvw.js} +63 -63
- package/dist/chunks/{skill-768z0hjh.js → bus-jp5dra8g.js} +1 -1
- package/dist/chunks/{skill-achegbeh.js → bus-jp5mwzrf.js} +15 -15
- package/dist/chunks/{skill-yhtqjkzd.js → bus-jpg38yrs.js} +6 -6
- package/dist/chunks/{skill-6czbt3sh.js → bus-jtrm4nst.js} +27 -27
- package/dist/chunks/{skill-jwcy2c2z.js → bus-jwcy2c2z.js} +1 -1
- package/dist/chunks/{skill-hfzd6k88.js → bus-jy6mxw71.js} +33 -33
- package/dist/chunks/{skill-108gejms.js → bus-jzrg40z5.js} +13 -13
- package/dist/chunks/{skill-k4bwy1x5.js → bus-k4bwy1x5.js} +1 -1
- package/dist/chunks/{skill-vmaddhmt.js → bus-k4cpqqjy.js} +12 -12
- package/dist/chunks/{skill-kyrcqpxm.js → bus-k4kachtf.js} +16 -16
- package/dist/chunks/{skill-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{skill-c562961a.js → bus-kr6c5hfe.js} +11 -11
- package/dist/chunks/{skill-kvsjn1dr.js → bus-kvsjn1dr.js} +2 -2
- package/dist/chunks/{skill-e1hrx4vk.js → bus-m7nqr3y1.js} +2 -2
- package/dist/chunks/{skill-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/bus-mf5kcrna.js +4 -0
- package/dist/chunks/{skill-r5x6zcsm.js → bus-mhkvc446.js} +3 -3
- package/dist/chunks/bus-mp49ea6v.js +22 -0
- package/dist/chunks/{skill-3v8n0207.js → bus-mstaf5wp.js} +4 -4
- package/dist/chunks/{skill-gzbkpp9m.js → bus-n8c291r7.js} +6 -6
- package/dist/chunks/{skill-7g7xka39.js → bus-ne88a073.js} +11 -11
- package/dist/chunks/{skill-96zakvq3.js → bus-nq27d7ck.js} +9 -9
- package/dist/chunks/{skill-tf6cqnqn.js → bus-nqq6exsp.js} +7 -7
- package/dist/chunks/{skill-63hy88sb.js → bus-nxbee6yf.js} +25 -25
- package/dist/chunks/{skill-d94dr7n2.js → bus-p4vv2etq.js} +8 -8
- package/dist/chunks/{skill-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{skill-apz3xhc7.js → bus-pnybsy69.js} +23 -23
- package/dist/chunks/{skill-7ng38tyy.js → bus-pqrjcscw.js} +15 -15
- package/dist/chunks/{skill-fqbqb51f.js → bus-pwp32wtj.js} +10 -10
- package/dist/chunks/{skill-krd5cmp0.js → bus-q2tms32v.js} +8 -8
- package/dist/chunks/{skill-ebmahs1r.js → bus-qhr29g4e.js} +33 -33
- package/dist/chunks/{skill-gpcgjjbg.js → bus-qmth3j02.js} +7 -7
- package/dist/chunks/{skill-1thvpp6x.js → bus-qmw0r92f.js} +24 -24
- package/dist/chunks/{skill-zqgjvfag.js → bus-qr77fm55.js} +10 -10
- package/dist/chunks/{skill-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-8dbsynwt.js → bus-r0msr716.js} +4 -4
- package/dist/chunks/{skill-r5w2ssxe.js → bus-r5w2ssxe.js} +2 -2
- package/dist/chunks/{skill-888k7gfv.js → bus-r64qmg5x.js} +10 -10
- package/dist/chunks/{skill-r8dhm0tv.js → bus-r8dhm0tv.js} +1 -1
- package/dist/chunks/{skill-gfwtb2jm.js → bus-rbrvrbf2.js} +40 -40
- package/dist/chunks/{skill-4mwpxvm9.js → bus-rcjsbsfn.js} +11 -11
- package/dist/chunks/{skill-1hr809fs.js → bus-reajtcty.js} +20 -20
- package/dist/chunks/{skill-wst6vyk0.js → bus-rjg60sz9.js} +12 -12
- package/dist/chunks/{skill-7t6f6eaq.js → bus-rq5svkab.js} +30 -30
- package/dist/chunks/{skill-v7j1z2wq.js → bus-rrzd4gct.js} +5 -5
- package/dist/chunks/{skill-aj7d9r5a.js → bus-rv49c601.js} +3 -3
- package/dist/chunks/{skill-bpghvxt7.js → bus-rw9zkh5y.js} +11 -11
- package/dist/chunks/{skill-qq0tkz6q.js → bus-rxbdfnq0.js} +3 -3
- package/dist/chunks/{skill-0r4csqbj.js → bus-s357kp59.js} +2 -2
- package/dist/chunks/{skill-gd0s6wzk.js → bus-s7xce10k.js} +18 -18
- package/dist/chunks/{skill-sba4qhjf.js → bus-sba4qhjf.js} +1 -1
- package/dist/chunks/{skill-nj1fe1jb.js → bus-sbnvhk9g.js} +4 -4
- package/dist/chunks/{skill-6vgms480.js → bus-sdsms561.js} +18 -18
- package/dist/chunks/{skill-v5sp78z3.js → bus-sdvg309b.js} +3 -3
- package/dist/chunks/{skill-4hdyv2zw.js → bus-se8jsmsp.js} +6 -6
- package/dist/chunks/{skill-2qjw0q0a.js → bus-sgr2ma5w.js} +14 -14
- package/dist/chunks/{skill-zr5bq73b.js → bus-shktkm8e.js} +27 -27
- package/dist/chunks/{skill-dcwd2kjw.js → bus-sktsn1jv.js} +3 -3
- package/dist/chunks/{skill-jkqz6tyv.js → bus-sms7kmhw.js} +7 -7
- package/dist/chunks/{skill-tsjc1en0.js → bus-sqmwq5mx.js} +31 -31
- package/dist/chunks/{skill-b2rxqb9q.js → bus-sqsf8ez3.js} +17 -17
- package/dist/chunks/{skill-505p5ry7.js → bus-t00v3gkt.js} +12 -12
- package/dist/chunks/{skill-j3pby61b.js → bus-t1zpr9sn.js} +4 -4
- package/dist/chunks/{skill-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-tjykrgmx.js → bus-tjykrgmx.js} +1 -1
- package/dist/chunks/{skill-tppvcy65.js → bus-tppvcy65.js} +2 -2
- package/dist/chunks/{skill-xat1tws6.js → bus-ty85120y.js} +37 -37
- package/dist/chunks/{skill-d70t4mkn.js → bus-v124ymdv.js} +49 -49
- package/dist/chunks/{skill-f4d7scyv.js → bus-vcxn1vs0.js} +27 -27
- package/dist/chunks/{skill-0fxpns9x.js → bus-vg7z0tv3.js} +13 -13
- package/dist/chunks/{skill-5hbbg0tf.js → bus-vja40awy.js} +18 -18
- package/dist/chunks/{skill-s7b9zbm6.js → bus-vkpagyjs.js} +10 -10
- package/dist/chunks/{skill-z0nz70kd.js → bus-vnxss00g.js} +29 -29
- package/dist/chunks/{skill-1hy241bm.js → bus-vwwkt776.js} +3 -3
- package/dist/chunks/{skill-w3jym6ha.js → bus-w3jym6ha.js} +2 -2
- package/dist/chunks/{skill-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-ab9f4t14.js → bus-w9qr98xp.js} +21 -21
- package/dist/chunks/{skill-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/bus-wehvdrgf.js +247 -0
- package/dist/chunks/{skill-fbtenrpe.js → bus-x0vtmq93.js} +8 -8
- package/dist/chunks/{skill-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-j17p3z02.js → bus-x727j1wn.js} +19 -19
- package/dist/chunks/{skill-y0gwj0vf.js → bus-x9bn8htz.js} +4 -4
- package/dist/chunks/{skill-pgw35ab3.js → bus-xas2870y.js} +29 -29
- package/dist/chunks/{skill-x40q6527.js → bus-xp39whtd.js} +20 -20
- package/dist/chunks/{skill-c3x8qrt8.js → bus-xraeeqg3.js} +12 -12
- package/dist/chunks/{skill-3pecn819.js → bus-xrevt9hr.js} +22 -22
- package/dist/chunks/{skill-geg7b9pt.js → bus-xv5rxm99.js} +17 -17
- package/dist/chunks/{skill-m1ggyr73.js → bus-xw0r27ex.js} +4 -4
- package/dist/chunks/{skill-rkhn366t.js → bus-xy4ye41c.js} +15 -15
- package/dist/chunks/{skill-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-yj3e99fm.js → bus-y1ybvaj4.js} +3 -3
- package/dist/chunks/{skill-3jj6bjb6.js → bus-y4nzzd5t.js} +5 -5
- package/dist/chunks/{skill-7btjpst1.js → bus-y58vhj7k.js} +8 -8
- package/dist/chunks/{skill-g3m9axkp.js → bus-y9j759kk.js} +4 -4
- package/dist/chunks/{skill-rz2zvdba.js → bus-ybm7km80.js} +13 -13
- package/dist/chunks/{skill-yfbd16n1.js → bus-yfbd16n1.js} +2 -2
- package/dist/chunks/{skill-rrnwvmz2.js → bus-yn1kx32j.js} +30 -30
- package/dist/chunks/{skill-kcj2w5je.js → bus-ypg1z1k5.js} +9 -9
- package/dist/chunks/{skill-t4cav981.js → bus-yqj4c6v0.js} +33 -33
- package/dist/chunks/{skill-1drfm42n.js → bus-yzmxwpmp.js} +11 -11
- package/dist/chunks/{skill-z1k01bn4.js → bus-z1k01bn4.js} +2 -2
- package/dist/chunks/{skill-a3x9xvd8.js → bus-z3xgatyd.js} +4 -4
- package/dist/chunks/{skill-1q44t0as.js → bus-z9av7sw1.js} +25 -25
- package/dist/chunks/{skill-fdm74xhe.js → bus-za343mrp.js} +12 -12
- package/dist/chunks/{skill-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/chunks/{skill-8jewxnbd.js → bus-zyhgr980.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- 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 +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +110 -110
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +112 -112
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- 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 +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- 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 +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +346 -346
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +6 -6
- 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 +103 -103
- 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 +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +126 -126
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +117 -117
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +104 -104
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +92 -92
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/skill-38fdwfqw.js +0 -247
- package/dist/chunks/skill-9sh4wc5j.js +0 -18
- package/dist/chunks/skill-e3ze3pba.js +0 -4
- package/dist/chunks/skill-xqf4p8hn.js +0 -22
- /package/dist/chunks/{skill-0fabt78z.js → bus-0fabt78z.js} +0 -0
- /package/dist/chunks/{skill-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3t738kvx.js → bus-3t738kvx.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-41nvscxy.js → bus-41nvscxy.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-982e01ww.js → bus-982e01ww.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a1tpkmh4.js → bus-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mntxs535.js → bus-mntxs535.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-p8qxwesx.js → bus-p8qxwesx.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-se0s1eqw.js → bus-se0s1eqw.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x1b8g1yb.js → bus-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → bus-z9919s4g.js} +0 -0
- /package/dist/chunks/{skill-zbjnn3ac.js → bus-zbjnn3ac.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./bus-k4cpqqjy.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-s357kp59.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID11,
|
|
11
|
+
Service62,
|
|
12
|
+
node66
|
|
13
|
+
} from "./bus-09zpxraa.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError8
|
|
16
|
+
} from "./bus-se8jsmsp.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service60,
|
|
19
|
+
node64
|
|
20
|
+
} from "./bus-2frbs4n5.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service61,
|
|
26
|
+
node65
|
|
27
|
+
} from "./bus-xv5rxm99.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service75,
|
|
30
|
+
node80
|
|
31
|
+
} from "./bus-8qyy1b3c.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event15,
|
|
46
|
+
ID: () => ID9,
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
48
|
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service59,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node63
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode-ai/schema/permission";
|
|
63
63
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode-ai/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event15 } from "@opencode-ai/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID9 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID9.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID11.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID9,
|
|
86
86
|
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID9,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID9
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service59 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
130
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service78;
|
|
132
132
|
const location = yield* Service76;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service62;
|
|
134
|
+
const sessions = yield* Service60;
|
|
135
|
+
const saved = yield* Service61;
|
|
136
|
+
const hooks = yield* Service75;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError8({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID9.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service59.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node63 = makeLocationNode({
|
|
289
|
+
service: Service59,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node83, node81, node66, node64, node65, node80]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID9, Source5, Request2, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service59, node63, exports_permission, Rule2, Ruleset2, Event15 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./bus-k4cpqqjy.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node77
|
|
9
|
+
} from "./bus-yn1kx32j.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-7npscw6y.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event12,
|
|
34
|
+
ID: () => ID6,
|
|
35
|
+
Info: () => Info10,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service55,
|
|
43
|
+
node: () => node59
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event12 } from "@opencode-ai/schema/integration";
|
|
65
|
+
var ID6 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info10 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service55 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service72;
|
|
97
|
+
const bus = yield* Service78;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info10.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service55.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node59 = makeLocationNode({
|
|
569
|
+
service: Service55,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node77, node83, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info10, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service55, node59, exports_integration, Event12 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service78,
|
|
4
|
+
node83
|
|
5
|
+
} from "./bus-k4cpqqjy.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service5,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node8
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service5 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service78;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service5.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node8 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node83] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service5, layer6, node8, exports_sdk };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-vkpagyjs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./bus-k4cpqqjy.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./bus-yn1kx32j.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-vcxn1vs0.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID15,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-g19vc6v7.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID6.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID6.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,10 +159,10 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service78;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID15.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -220,9 +220,9 @@ var OpenAIPlugin2 = define({
|
|
|
220
220
|
evt.baseURL = codexBaseURL;
|
|
221
221
|
evt.headers.originator = "opencode";
|
|
222
222
|
evt.headers["session-id"] = evt.sessionID;
|
|
223
|
-
}), { providerID:
|
|
223
|
+
}), { providerID: ID15.openai });
|
|
224
224
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
})
|
|
227
227
|
});
|
|
228
228
|
function headers(contentType, app) {
|
|
@@ -313,4 +313,4 @@ function claim(token) {
|
|
|
313
313
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { OpenAIPlugin3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,17 +8,17 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured7,
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node52,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node52 = configured7();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer21, configured7, node52, exports_app };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./bus-k4cpqqjy.js";
|
|
5
5
|
import {
|
|
6
6
|
Service4,
|
|
7
7
|
node7
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-rjg60sz9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service38
|
|
11
|
+
} from "./bus-7fj5dwt0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
node18,
|
|
14
14
|
ID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-k4kachtf.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service7,
|
|
18
|
+
node10
|
|
19
|
+
} from "./bus-2a1acymz.js";
|
|
20
20
|
import {
|
|
21
21
|
requirements2,
|
|
22
22
|
list2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-e6s7x5n1.js";
|
|
24
24
|
import {
|
|
25
25
|
LoadError2,
|
|
26
26
|
load2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-2jqmte8w.js";
|
|
28
28
|
import {
|
|
29
29
|
Updated2,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service5,
|
|
31
|
+
node8
|
|
32
|
+
} from "./bus-vg7z0tv3.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service6,
|
|
35
|
+
node9
|
|
36
|
+
} from "./bus-hfr11a94.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./bus-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/plugin/supervisor.ts
|
|
42
42
|
var exports_supervisor = {};
|
|
@@ -122,12 +122,12 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (pre, post, operat
|
|
|
122
122
|
};
|
|
123
123
|
});
|
|
124
124
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
125
|
-
const registry = yield*
|
|
126
|
-
const sdk = yield*
|
|
127
|
-
const instance = yield*
|
|
125
|
+
const registry = yield* Service38;
|
|
126
|
+
const sdk = yield* Service5;
|
|
127
|
+
const instance = yield* Service7;
|
|
128
128
|
const sources = yield* Service4;
|
|
129
|
-
const bus = yield*
|
|
130
|
-
const updates = yield*
|
|
129
|
+
const bus = yield* Service78;
|
|
130
|
+
const updates = yield* Service6;
|
|
131
131
|
const internal = yield* list2();
|
|
132
132
|
let release = yield* registry.hold();
|
|
133
133
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -201,12 +201,12 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
201
201
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
202
202
|
}));
|
|
203
203
|
var nodeDeps = [
|
|
204
|
-
|
|
205
|
-
node13,
|
|
204
|
+
node18,
|
|
206
205
|
node8,
|
|
206
|
+
node10,
|
|
207
207
|
node7,
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
node9,
|
|
209
|
+
node83,
|
|
210
210
|
Npm.node,
|
|
211
211
|
requirements2
|
|
212
212
|
];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./bus-g19vc6v7.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/snowflake-cortex.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -52,7 +52,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
52
52
|
id: "opencode.provider.snowflake.cortex",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
54
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
55
|
-
if (evt.model.providerID !==
|
|
55
|
+
if (evt.model.providerID !== ID15.make("snowflake-cortex"))
|
|
56
56
|
return;
|
|
57
57
|
const token = process.env.SNOWFLAKE_CORTEX_TOKEN ?? process.env.SNOWFLAKE_CORTEX_PAT ?? (typeof evt.options.token === "string" ? evt.options.token : undefined) ?? (typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined);
|
|
58
58
|
const upstream = typeof evt.options.fetch === "function" ? evt.options.fetch : undefined;
|