@opencode-ai/core 0.0.0-dev-19109 → 0.0.0-dev-19111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{git-4w13mmvc.js → command-035rcwns.js} +20 -20
- package/dist/chunks/{git-br76cj0n.js → command-07jbfwff.js} +7 -7
- package/dist/chunks/{git-0e0xafbb.js → command-0e0xafbb.js} +2 -2
- package/dist/chunks/{git-rzwk2s92.js → command-0kfne21a.js} +15 -15
- package/dist/chunks/{git-dns6mj49.js → command-0kjqcjxv.js} +9 -9
- package/dist/chunks/{git-f2wqyxa1.js → command-0nqpaxk7.js} +267 -267
- package/dist/chunks/{git-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-me5tkfc4.js → command-0s7aarrn.js} +14 -14
- package/dist/chunks/{git-0s9ayhjt.js → command-0s9ayhjt.js} +1 -1
- package/dist/chunks/{git-43kgstp5.js → command-0vynkq1k.js} +25 -25
- package/dist/chunks/{git-na3y75gh.js → command-0xd2d7hb.js} +5 -5
- package/dist/chunks/{git-12gh2r0n.js → command-12gh2r0n.js} +1 -1
- package/dist/chunks/{git-8737zb6q.js → command-15zye2r5.js} +16 -16
- package/dist/chunks/{git-5aq57b09.js → command-18vzz2sn.js} +43 -43
- package/dist/chunks/{git-y8xfsac8.js → command-1akmxprb.js} +16 -16
- package/dist/chunks/{git-1ct4r87x.js → command-1ct4r87x.js} +1 -1
- package/dist/chunks/{git-7dwfb2vf.js → command-1h95a3b9.js} +4 -4
- package/dist/chunks/{git-hjrjbgez.js → command-1mrma768.js} +5 -5
- package/dist/chunks/{git-qy2nesre.js → command-1qn1pdz2.js} +11 -11
- package/dist/chunks/{git-kyd4za44.js → command-1r09dsq2.js} +4 -4
- package/dist/chunks/{git-rzejcw32.js → command-1ydgq2r4.js} +5 -5
- package/dist/chunks/{git-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{git-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{git-4ss9n79c.js → command-2470z9n9.js} +13 -13
- package/dist/chunks/{git-kzmwhpqp.js → command-2697d8n0.js} +10 -10
- package/dist/chunks/{git-e4xqgmkc.js → command-279zjhpq.js} +69 -69
- package/dist/chunks/{git-29x78va6.js → command-29x78va6.js} +2 -2
- package/dist/chunks/{git-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-2ht70gj7.js → command-2ht70gj7.js} +1 -1
- package/dist/chunks/{git-2jqmte8w.js → command-2jqmte8w.js} +2 -2
- package/dist/chunks/{git-7dqw4kz8.js → command-2k8khapm.js} +5 -5
- package/dist/chunks/{git-thrargpz.js → command-2wjn61mn.js} +9 -9
- package/dist/chunks/{git-g4j5mcjp.js → command-2zsr04y1.js} +11 -11
- package/dist/chunks/{git-sf60rpxa.js → command-33hp2zv2.js} +22 -22
- package/dist/chunks/{git-3vkr20g6.js → command-367jrrwj.js} +22 -22
- package/dist/chunks/{git-0rag4e4f.js → command-36mzbjn4.js} +4 -4
- package/dist/chunks/{git-54k2rsgg.js → command-38fdqmmq.js} +30 -30
- package/dist/chunks/{git-4p9rm7az.js → command-3b6b9fm5.js} +6 -6
- package/dist/chunks/{git-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-wcn3expk.js → command-3p3achxg.js} +43 -43
- package/dist/chunks/{git-3qzbfqsy.js → command-3qzbfqsy.js} +2 -2
- package/dist/chunks/{git-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-1xhwd09p.js → command-3ywkksk4.js} +11 -11
- package/dist/chunks/{git-454k5vzh.js → command-454k5vzh.js} +1 -1
- package/dist/chunks/{git-4r2nyarf.js → command-4r2nyarf.js} +1 -1
- package/dist/chunks/{git-94nnnvbh.js → command-4rftwdm7.js} +18 -18
- package/dist/chunks/{git-54q64t4d.js → command-4rqr8y5g.js} +26 -26
- package/dist/chunks/{git-nt48h9be.js → command-507jwzhp.js} +6 -6
- package/dist/chunks/{git-db9r0kw7.js → command-50m12935.js} +28 -28
- package/dist/chunks/{git-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{git-5fmxt4p5.js → command-5fmxt4p5.js} +1 -1
- package/dist/chunks/{git-pp549hae.js → command-5fpdng81.js} +5 -5
- package/dist/chunks/{git-efxjj9hq.js → command-5gv2kmhj.js} +22 -22
- package/dist/chunks/{git-qp4k32t2.js → command-5jbm950r.js} +10 -10
- package/dist/chunks/{git-rved4v7n.js → command-5jdmrxhb.js} +7 -7
- package/dist/chunks/{git-5jvc5tg2.js → command-5jvc5tg2.js} +1 -1
- package/dist/chunks/{git-mqmk3ma0.js → command-5pzwqq2j.js} +17 -17
- package/dist/chunks/{git-ez5b8bq3.js → command-5sg4xzjf.js} +7 -7
- package/dist/chunks/{git-s1zas8dv.js → command-5tc0y89d.js} +8 -8
- package/dist/chunks/{git-97sjq870.js → command-5vf5ce74.js} +27 -27
- package/dist/chunks/{git-s5qzv7b1.js → command-5wmq78ra.js} +9 -9
- package/dist/chunks/{git-ktk9jmx4.js → command-62qcn064.js} +27 -27
- package/dist/chunks/{git-a9yhhx2n.js → command-6cnvhzhy.js} +17 -17
- package/dist/chunks/{git-6e958v7x.js → command-6e958v7x.js} +1 -1
- package/dist/chunks/{git-zfnpc7fv.js → command-6fenjrr4.js} +1 -1
- package/dist/chunks/{git-6tf8tr4v.js → command-6tf8tr4v.js} +2 -2
- package/dist/chunks/{git-6ex02c0j.js → command-6xw6ac85.js} +28 -28
- package/dist/chunks/{git-6z5bwd8g.js → command-6z5bwd8g.js} +2 -2
- package/dist/chunks/{git-711hfp6y.js → command-711hfp6y.js} +2 -2
- package/dist/chunks/{git-a65jk3dg.js → command-71p0ewq5.js} +3 -3
- package/dist/chunks/{git-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-67583cjw.js → command-7d52aqke.js} +33 -33
- package/dist/chunks/{git-1sfe7ky6.js → command-7g7fb98j.js} +5 -5
- package/dist/chunks/{git-gaa7qhhm.js → command-7j0nj4pm.js} +5 -5
- package/dist/chunks/{git-mc1a8gkf.js → command-7nn4y7w6.js} +23 -23
- package/dist/chunks/{git-7r0r50e5.js → command-7r0r50e5.js} +5 -5
- package/dist/chunks/{git-m2a0x0j7.js → command-7r1tj01c.js} +20 -20
- package/dist/chunks/{git-qr5nkndc.js → command-7sq5cger.js} +17 -17
- package/dist/chunks/{git-sxx28m10.js → command-7tft0kbg.js} +13 -13
- package/dist/chunks/{git-pt2y64as.js → command-7w010q1d.js} +52 -52
- package/dist/chunks/{git-mhkvc446.js → command-7yh4e7ss.js} +3 -3
- package/dist/chunks/command-7zk4hah4.js +4 -0
- package/dist/chunks/{git-ratrq7cm.js → command-806j49yq.js} +4 -4
- package/dist/chunks/{git-tcezcvh9.js → command-89znhe33.js} +4 -4
- package/dist/chunks/{git-3z8xdy4t.js → command-8bz0sd47.js} +20 -20
- package/dist/chunks/{git-ypa7521y.js → command-8g5xycft.js} +7 -7
- package/dist/chunks/{git-btx2ztyd.js → command-8j2k6enj.js} +22 -22
- package/dist/chunks/{git-4wmw0yz2.js → command-8y13jkzv.js} +20 -20
- package/dist/chunks/{git-93a8yfjt.js → command-93a8yfjt.js} +2 -2
- package/dist/chunks/{git-s1pbqs1h.js → command-99ks3syn.js} +17 -17
- package/dist/chunks/{git-9y1phk8d.js → command-9cgz4z4t.js} +3 -3
- package/dist/chunks/{git-9qm9egsn.js → command-9qm9egsn.js} +2 -2
- package/dist/chunks/{git-hc4b3kyg.js → command-9rhh5gqv.js} +6 -6
- package/dist/chunks/{git-6191z5s4.js → command-9rp752s8.js} +13 -13
- package/dist/chunks/{git-shr0f69z.js → command-9s3d2qf6.js} +20 -20
- package/dist/chunks/{git-wtxfc7wq.js → command-9s7m1fh2.js} +9 -9
- package/dist/chunks/{git-mzxw2z9s.js → command-9tmgd7pk.js} +19 -19
- package/dist/chunks/{git-hjv5med1.js → command-9yaajp0h.js} +10 -10
- package/dist/chunks/{git-naywqbg0.js → command-a0tjzrhq.js} +9 -9
- package/dist/chunks/{git-4hz2mmtn.js → command-a2bdyd3c.js} +6 -6
- package/dist/chunks/{git-kx2gvdct.js → command-a5nkh94p.js} +4 -4
- package/dist/chunks/{git-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{git-1bdhjw18.js → command-ac3j6t8f.js} +5 -5
- package/dist/chunks/{git-ajtjthsy.js → command-ajtjthsy.js} +2 -2
- package/dist/chunks/{git-gnaht1j5.js → command-avz8t4j1.js} +8 -8
- package/dist/chunks/{git-czy35k71.js → command-awvh19kp.js} +4 -4
- package/dist/chunks/{git-t6jxcej1.js → command-aya6j6m3.js} +9 -9
- package/dist/chunks/{git-qhyptzpa.js → command-b4cmc4ha.js} +14 -14
- package/dist/chunks/{git-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-14s8ve6g.js → command-b7hbr3r2.js} +1 -1
- package/dist/chunks/{git-b9wsbatv.js → command-b9wsbatv.js} +1 -1
- package/dist/chunks/{git-thfv75je.js → command-bcezcar3.js} +5 -5
- package/dist/chunks/{git-txyczmks.js → command-bnqaaxy4.js} +10 -10
- package/dist/chunks/{git-nh5wbzxs.js → command-bwdms3f5.js} +10 -10
- package/dist/chunks/{git-0qwbfr5b.js → command-cbz1xrzf.js} +7 -7
- package/dist/chunks/{git-ch60wd2z.js → command-ch60wd2z.js} +1 -1
- package/dist/chunks/{git-q1cagyca.js → command-cnrverm5.js} +15 -15
- package/dist/chunks/{git-q32xhvm0.js → command-crb07ac6.js} +4 -4
- package/dist/chunks/{git-r6spzpk4.js → command-cv9knkrg.js} +8 -8
- package/dist/chunks/{git-b4nfgv2f.js → command-d26dc0tg.js} +34 -34
- package/dist/chunks/{git-24kkj0mr.js → command-d58yx3mx.js} +18 -18
- package/dist/chunks/{git-dvzrr6hd.js → command-d6wax2q4.js} +11 -11
- package/dist/chunks/{git-d72308c8.js → command-d72308c8.js} +2 -2
- package/dist/chunks/{git-zb3c6va5.js → command-d7jhfk1z.js} +20 -20
- package/dist/chunks/{git-qwdgxhzc.js → command-d9jdb4zk.js} +13 -13
- package/dist/chunks/{git-3j8sdtpz.js → command-dfe8djrf.js} +4 -4
- package/dist/chunks/{git-1tfrzsx7.js → command-dn2favvt.js} +9 -9
- package/dist/chunks/{git-pyfcms0g.js → command-drsywa8d.js} +39 -39
- package/dist/chunks/{git-2jk00ej8.js → command-dy3xyxz9.js} +27 -27
- package/dist/chunks/{git-6tjj8n2y.js → command-e1mb8xhp.js} +9 -9
- package/dist/chunks/{git-b4fncx34.js → command-e1patwpn.js} +34 -34
- package/dist/chunks/{git-e9zkahnk.js → command-e1rfyyrx.js} +6 -6
- package/dist/chunks/{git-dnmyvy59.js → command-e4kk8zzx.js} +41 -41
- package/dist/chunks/{git-m25pdrkb.js → command-ec7s3w8j.js} +46 -46
- package/dist/chunks/{git-0dxc7qjc.js → command-eccqmmqw.js} +10 -10
- package/dist/chunks/{git-btsk8b9y.js → command-et2w1z4j.js} +12 -12
- package/dist/chunks/{git-4gzm36d2.js → command-etaqwdhb.js} +36 -36
- package/dist/chunks/{git-tjmzx5hc.js → command-ev24k3w5.js} +7 -7
- package/dist/chunks/{git-2q21hkva.js → command-exy2v0tj.js} +19 -19
- package/dist/chunks/{git-48wd3yf5.js → command-f4payg1q.js} +26 -26
- package/dist/chunks/{git-jw51n901.js → command-f5vdqjqt.js} +5 -5
- package/dist/chunks/{git-2hymcpzh.js → command-fbgbrvxb.js} +86 -86
- package/dist/chunks/{git-a3aqw4jk.js → command-fdsmhwy2.js} +9 -9
- package/dist/chunks/{git-4sqztht9.js → command-fexqjycg.js} +25 -25
- package/dist/chunks/{git-59fb75f8.js → command-fj4x2m8g.js} +18 -18
- package/dist/chunks/{git-g0awv9rp.js → command-fnptnz5b.js} +10 -10
- package/dist/chunks/{git-daxtdgx4.js → command-fpthsa93.js} +2 -2
- package/dist/chunks/{git-wrz65vt8.js → command-fvzk6cpt.js} +36 -36
- package/dist/chunks/{git-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-fxypknc8.js → command-fxypknc8.js} +1 -1
- package/dist/chunks/{git-h2st8tcp.js → command-fz4jwa6n.js} +4 -4
- package/dist/chunks/{git-sxaj9jh7.js → command-g4p2jaj6.js} +10 -10
- package/dist/chunks/{git-fg46k2f2.js → command-g8vcfp1v.js} +37 -37
- package/dist/chunks/{git-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-3fc6dm20.js → command-gdvy8fx6.js} +4 -4
- package/dist/chunks/{git-j76h0y45.js → command-ggs7d5mp.js} +13 -13
- package/dist/chunks/{git-ehncf743.js → command-h3wsk5t8.js} +14 -14
- package/dist/chunks/{git-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-6ym5me7r.js → command-h93sf8xp.js} +5 -5
- package/dist/chunks/{git-gw3wk82x.js → command-hdmbq1xh.js} +37 -37
- package/dist/chunks/{git-heyhwy2w.js → command-heyhwy2w.js} +1 -1
- package/dist/chunks/{git-hrvm11jt.js → command-hrvm11jt.js} +3 -3
- package/dist/chunks/{git-d283m366.js → command-hs09szwj.js} +11 -11
- package/dist/chunks/{git-hbs35kex.js → command-j2rksbgg.js} +8 -8
- package/dist/chunks/{git-kfd3jmfd.js → command-jpf66q1b.js} +26 -26
- package/dist/chunks/{git-y71avatq.js → command-jwcy2c2z.js} +4 -4
- package/dist/chunks/{git-2vjvjjyp.js → command-jzpht0s0.js} +32 -32
- package/dist/chunks/{git-yz728bf4.js → command-k200p2dv.js} +6 -6
- package/dist/chunks/{git-k4bwy1x5.js → command-k4bwy1x5.js} +1 -1
- package/dist/chunks/{git-eqkknbny.js → command-k7c7fj4z.js} +8 -8
- package/dist/chunks/{git-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/command-kkjhrqrd.js +243 -0
- package/dist/chunks/{git-ss0awb04.js → command-kmkwybff.js} +6 -6
- package/dist/chunks/{git-2tdj64pz.js → command-kmng5yeq.js} +12 -12
- package/dist/chunks/{git-jt4qmvd6.js → command-kqetvnf7.js} +33 -33
- package/dist/chunks/{git-rnzzvk35.js → command-ktx1hmb3.js} +11 -11
- package/dist/chunks/{git-kvsjn1dr.js → command-kvsjn1dr.js} +2 -2
- package/dist/chunks/{git-0q5bpm08.js → command-kw4n94xb.js} +32 -32
- package/dist/chunks/{git-19kh8pdt.js → command-kxmj7br7.js} +56 -56
- package/dist/chunks/{git-qxs44qv5.js → command-kzdh53w6.js} +26 -26
- package/dist/chunks/{git-35vc2dck.js → command-m09hh2qm.js} +15 -15
- package/dist/chunks/{git-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-25v3hshg.js → command-md0qwdy1.js} +28 -28
- package/dist/chunks/{git-e8920g29.js → command-mh4ywd3j.js} +3 -3
- package/dist/chunks/{git-t29n1950.js → command-mm8fez2g.js} +19 -19
- package/dist/chunks/{git-3wbeqzmg.js → command-myp0nqk5.js} +7 -7
- package/dist/chunks/{git-p3e4re21.js → command-n4w2t69j.js} +1 -1
- package/dist/chunks/{git-3bp7f1wy.js → command-n62bh1ef.js} +4 -4
- package/dist/chunks/{git-v0vsseqe.js → command-n7w5zqem.js} +29 -29
- package/dist/chunks/{git-jdnwrjf1.js → command-n9vsncbs.js} +3 -3
- package/dist/chunks/{git-abvdbqvv.js → command-ndtqzn46.js} +3 -3
- package/dist/chunks/{git-6grqxh82.js → command-ndxmc8jy.js} +16 -16
- package/dist/chunks/{git-0mm37wse.js → command-nqeyrhbf.js} +39 -39
- package/dist/chunks/{git-d7zznenn.js → command-nrz5c8c1.js} +9 -9
- package/dist/chunks/command-nv1mfemk.js +20 -0
- package/dist/chunks/{git-2nfezth6.js → command-nzzxe9z3.js} +24 -24
- package/dist/chunks/{git-rvn46zq7.js → command-p325kmej.js} +9 -9
- package/dist/chunks/{git-0yjzv1xx.js → command-pa2jrwbg.js} +11 -11
- package/dist/chunks/{git-5dz1cjsc.js → command-pcras68f.js} +15 -15
- package/dist/chunks/{git-cw8gg7dp.js → command-pctbbrby.js} +11 -11
- package/dist/chunks/{git-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{git-gjqgpz3y.js → command-ptd509h3.js} +5 -5
- package/dist/chunks/{git-ajq4mc28.js → command-q53nydxb.js} +11 -11
- package/dist/chunks/{git-0ywdd1cz.js → command-q5jefrn9.js} +10 -10
- package/dist/chunks/command-qc068m1q.js +18 -0
- package/dist/chunks/{git-62fymqzv.js → command-qh16mj05.js} +6 -6
- package/dist/chunks/{git-jf453wex.js → command-qhzf1s86.js} +31 -31
- package/dist/chunks/{git-46rehjdx.js → command-qk2s0wq8.js} +18 -18
- package/dist/chunks/{git-fb63p1mh.js → command-qnr3jx13.js} +6 -6
- package/dist/chunks/{git-98e54nj4.js → command-qs1c0g84.js} +6 -6
- package/dist/chunks/{git-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{git-f6nrgepv.js → command-qvw3ex0p.js} +9 -9
- package/dist/chunks/{git-gj0v7ayb.js → command-r656qmc8.js} +1 -1
- package/dist/chunks/{git-r8dhm0tv.js → command-r8dhm0tv.js} +1 -1
- package/dist/chunks/{git-szasc975.js → command-r9gjvh9g.js} +8 -8
- package/dist/chunks/{git-759pz1a2.js → command-rmkjmdgc.js} +8 -8
- package/dist/chunks/{git-pjedbq3k.js → command-rwh68y4k.js} +6 -6
- package/dist/chunks/{git-t7xwk1e5.js → command-s4pt1ctc.js} +28 -28
- package/dist/chunks/{git-sba4qhjf.js → command-sba4qhjf.js} +1 -1
- package/dist/chunks/{git-tpk8ft80.js → command-sp02xnra.js} +8 -8
- package/dist/chunks/{git-fxx3ng1x.js → command-sw16r4ae.js} +20 -20
- package/dist/chunks/{git-jpx0fz2c.js → command-t6keskfq.js} +12 -12
- package/dist/chunks/{git-8kemf7hy.js → command-taexzmrc.js} +25 -25
- package/dist/chunks/{git-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-t4es3k9e.js → command-tbeh7nm8.js} +9 -9
- package/dist/chunks/{git-tjykrgmx.js → command-tjykrgmx.js} +1 -1
- package/dist/chunks/{git-1ptjnbjx.js → command-tppvcy65.js} +9 -9
- package/dist/chunks/{git-dhct43ra.js → command-ttdwytnm.js} +6 -6
- package/dist/chunks/{git-f90y20kg.js → command-ttg35kwh.js} +26 -26
- package/dist/chunks/{git-90eb95eh.js → command-v08anw5k.js} +2 -2
- package/dist/chunks/{git-7ah5wmet.js → command-v0gwpyr8.js} +24 -24
- package/dist/chunks/{git-ba723ajb.js → command-v8yh8gmz.js} +4 -4
- package/dist/chunks/{git-ysdbg6vk.js → command-vd7zqppv.js} +5 -5
- package/dist/chunks/{git-3kbb63t8.js → command-vjvb94qs.js} +4 -4
- package/dist/chunks/{git-157wf8eb.js → command-vk57p0r6.js} +4 -4
- package/dist/chunks/{git-zr9q2xht.js → command-w0zpdtzg.js} +54 -54
- package/dist/chunks/{git-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-e5h75gt4.js → command-w4tqxsac.js} +6 -6
- package/dist/chunks/{git-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{git-2ba8yhta.js → command-wm5m1cpt.js} +44 -44
- package/dist/chunks/{git-qdaqxxg9.js → command-wnjdg9f5.js} +18 -18
- package/dist/chunks/{git-xqxbvg49.js → command-wrv1mk8k.js} +10 -10
- package/dist/chunks/{git-dj6ed4p5.js → command-ws5hqc9c.js} +20 -20
- package/dist/chunks/{git-tdtn9dc8.js → command-ww1szn71.js} +10 -10
- package/dist/chunks/{git-nb73njp3.js → command-wwach3d4.js} +25 -25
- package/dist/chunks/{git-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-4c5k13je.js → command-x5s817a3.js} +1 -1
- package/dist/chunks/{git-hjwyx7yr.js → command-x7pjthx6.js} +161 -161
- package/dist/chunks/{git-qezf6xep.js → command-xjqxrzvv.js} +32 -32
- package/dist/chunks/{git-vtq1wfzg.js → command-xk7t5g8q.js} +4 -4
- package/dist/chunks/{git-n3sy9ccz.js → command-xw51m9r9.js} +21 -21
- package/dist/chunks/{git-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-hvxfxr0a.js → command-y1gygb79.js} +39 -39
- package/dist/chunks/{git-zqg3qsz2.js → command-y9j759kk.js} +4 -4
- package/dist/chunks/{git-bafjfafm.js → command-yahcm7nx.js} +26 -26
- package/dist/chunks/{git-tr0r9c4y.js → command-ybs14z4j.js} +32 -32
- package/dist/chunks/{git-yn7pyct1.js → command-yct8znxp.js} +17 -17
- package/dist/chunks/{git-yvhsxjzj.js → command-yd3gakm9.js} +16 -16
- package/dist/chunks/{git-yfbd16n1.js → command-yfbd16n1.js} +2 -2
- package/dist/chunks/{git-3e31qste.js → command-ys04yrn6.js} +20 -20
- package/dist/chunks/{git-na3rzezk.js → command-ysynen7x.js} +17 -17
- package/dist/chunks/{git-5gx2hdkx.js → command-z0caz8m8.js} +3 -3
- package/dist/chunks/{git-bfsqkmyv.js → command-z0y2k7gm.js} +31 -31
- package/dist/chunks/{git-z1k01bn4.js → command-z1k01bn4.js} +2 -2
- package/dist/chunks/{git-43mprarq.js → command-z1n2e8q4.js} +2 -2
- package/dist/chunks/{git-pxpsfjdb.js → command-z1s4wvth.js} +13 -13
- package/dist/chunks/{git-z3xgatyd.js → command-z3xgatyd.js} +1 -1
- package/dist/chunks/{git-k2qp0rt7.js → command-zgc58s1t.js} +1 -1
- package/dist/chunks/{git-rqpsfqy9.js → command-zjxf22wa.js} +9 -9
- package/dist/chunks/{git-9nv74sc2.js → command-zmm1cve0.js} +10 -10
- package/dist/chunks/{git-gadrrcfg.js → command-zrrqbtv4.js} +16 -16
- package/dist/chunks/{git-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +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 +112 -112
- package/dist/config/plugin/instruction.js +83 -83
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +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 +7 -7
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +116 -116
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +91 -91
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +208 -208
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- 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 +5 -5
- 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 +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- 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 +121 -121
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +209 -209
- package/dist/session/execution.js +118 -118
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +84 -84
- 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 +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +120 -120
- 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 +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +111 -111
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +112 -112
- package/dist/tool/plugin/question.js +99 -99
- 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 +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- 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 +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +88 -88
- package/package.json +7 -7
- package/dist/chunks/git-bsaaxbhg.js +0 -20
- package/dist/chunks/git-bwt7bpgq.js +0 -18
- package/dist/chunks/git-f4j0pa50.js +0 -4
- package/dist/chunks/git-m3crx9ys.js +0 -243
- /package/dist/chunks/{git-0fabt78z.js → command-0fabt78z.js} +0 -0
- /package/dist/chunks/{git-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t738kvx.js → command-3t738kvx.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-41nvscxy.js → command-41nvscxy.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-982e01ww.js → command-982e01ww.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mntxs535.js → command-mntxs535.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-p8qxwesx.js → command-p8qxwesx.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-se0s1eqw.js → command-se0s1eqw.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x1b8g1yb.js → command-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → command-z9919s4g.js} +0 -0
- /package/dist/chunks/{git-zbjnn3ac.js → command-zbjnn3ac.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-9rhh5gqv.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID13
|
|
8
|
+
} from "./command-g4p2jaj6.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-1h95a3b9.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event18
|
|
15
|
+
} from "./command-dy3xyxz9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID6,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-yahcm7nx.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./command-wwach3d4.js";
|
|
23
23
|
import {
|
|
24
24
|
get3
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-2zsr04y1.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-sp02xnra.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: ID6.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* Service54;
|
|
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(ID14.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID14.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID14.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(ID13.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(ID13.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID13.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(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.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 !== ID14.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 !== ID14.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -235,9 +235,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
235
235
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
236
236
|
if (interaction !== "conversation-agent")
|
|
237
237
|
evt.headers["x-initiator"] = "agent";
|
|
238
|
-
}), { providerID:
|
|
238
|
+
}), { providerID: ID14.githubCopilot });
|
|
239
239
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
240
|
-
if (evt.model.providerID !==
|
|
240
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
241
241
|
return;
|
|
242
242
|
const token = evt.request.headers.get("x-api-key");
|
|
243
243
|
if (!token)
|
|
@@ -245,9 +245,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
245
245
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
246
246
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
247
247
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
248
|
-
}), { providerID:
|
|
248
|
+
}), { providerID: ID14.githubCopilot });
|
|
249
249
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
250
|
-
if (evt.model.providerID !==
|
|
250
|
+
if (evt.model.providerID !== ID14.githubCopilot)
|
|
251
251
|
return;
|
|
252
252
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
253
253
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-qs1c0g84.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-71p0ewq5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./command-5gv2kmhj.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./command-99ks3syn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./command-18vzz2sn.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-33hp2zv2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service10
|
|
20
|
+
} from "./command-nrz5c8c1.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-ttdwytnm.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill2 = {};
|
|
30
30
|
__export(exports_skill2, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin24
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode-ai/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin24 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service65;
|
|
43
|
+
const discovery = yield* Service10;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service76;
|
|
47
|
+
const watcher = yield* Service66;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -181,4 +181,4 @@ var Plugin17 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin24, exports_skill2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rhh5gqv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./command-wwach3d4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./command-18vzz2sn.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service54;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service65);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-sp02xnra.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID14
|
|
6
|
+
} from "./command-9rhh5gqv.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 !== ID14.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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-1h95a3b9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service32,
|
|
7
|
+
node35
|
|
8
|
+
} from "./command-7w010q1d.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node63
|
|
12
|
+
} from "./command-w0zpdtzg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service42,
|
|
15
|
+
node44
|
|
16
|
+
} from "./command-taexzmrc.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
|
+
layer: () => layer13,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
32
32
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service32;
|
|
42
|
+
const tools = yield* Service42;
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service60;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -62,7 +62,7 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
62
62
|
output: tool.outputSchema ?? {},
|
|
63
63
|
execute: (input, context) => Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name13(tool.server, tool.name),
|
|
66
66
|
resources: ["*"],
|
|
67
67
|
save: ["*"],
|
|
68
68
|
metadata: {},
|
|
@@ -99,7 +99,7 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
99
99
|
output: result.structured ?? (text === "" ? null : text),
|
|
100
100
|
...content.length === 0 ? {} : { content }
|
|
101
101
|
};
|
|
102
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
102
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
105
|
});
|
|
@@ -112,12 +112,12 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
117
|
+
var node34 = makeLocationNode({
|
|
118
|
+
service: Service31,
|
|
119
|
+
layer: layer13,
|
|
120
|
+
deps: [node44, node35, node83, node63]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2,
|
|
123
|
+
export { namespace2, name13, Service31, layer13, node34, exports_mcp3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./command-9rhh5gqv.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 !== ID14.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;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-9rhh5gqv.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/amazon-bedrock.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -88,7 +88,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
88
88
|
evt.sdk = mod.createAmazonBedrock(options);
|
|
89
89
|
}));
|
|
90
90
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
91
|
-
if (evt.model.providerID !==
|
|
91
|
+
if (evt.model.providerID !== ID14.amazonBedrock)
|
|
92
92
|
return;
|
|
93
93
|
if (isAISDK2(evt.model.package) && packageName2(evt.model.package) === "@ai-sdk/amazon-bedrock/mantle") {
|
|
94
94
|
evt.language = selectMantleModel(evt.sdk, evt.model.modelID ?? evt.model.id);
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-sp02xnra.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-1h95a3b9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./command-dy3xyxz9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-yahcm7nx.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./command-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID14,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-9rhh5gqv.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,7 +159,7 @@ 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
165
|
const bus = yield* Service79;
|
|
@@ -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(ID14.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -218,9 +218,9 @@ var OpenAIPlugin2 = define({
|
|
|
218
218
|
evt.baseURL = codexBaseURL;
|
|
219
219
|
evt.headers.originator = "opencode";
|
|
220
220
|
evt.headers["session-id"] = evt.sessionID;
|
|
221
|
-
}), { providerID:
|
|
221
|
+
}), { providerID: ID14.openai });
|
|
222
222
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
223
|
-
yield* bus.subscribe(
|
|
223
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
224
224
|
})
|
|
225
225
|
});
|
|
226
226
|
function headers(contentType, app) {
|
|
@@ -311,4 +311,4 @@ function claim(token) {
|
|
|
311
311
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
export {
|
|
314
|
+
export { OpenAIPlugin3 };
|