@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-mh4ywd3j.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-1h95a3b9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service38,
|
|
11
|
+
node40
|
|
12
|
+
} from "./command-nv1mfemk.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node81
|
|
20
|
+
} from "./command-e4kk8zzx.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref4
|
|
23
|
+
} from "./command-99ks3syn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service41,
|
|
26
|
+
node43
|
|
27
|
+
} from "./command-eccqmmqw.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-982e01ww.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./command-k200p2dv.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-mntxs535.js";
|
|
37
37
|
import {
|
|
38
38
|
Service26
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./command-ch60wd2z.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service61,
|
|
42
|
+
node64
|
|
43
|
+
} from "./command-b4cmc4ha.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service27,
|
|
48
|
+
node30,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./command-qk2s0wq8.js";
|
|
51
51
|
import {
|
|
52
52
|
Service25,
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
53
|
+
node29
|
|
54
|
+
} from "./command-s4pt1ctc.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node28
|
|
57
|
+
} from "./command-15zye2r5.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./command-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -88,18 +88,18 @@ class Service24 extends Context.Service()("@opencode/SessionMove") {
|
|
|
88
88
|
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
91
|
+
const projects = yield* Service77;
|
|
92
|
+
const locations = yield* Service41;
|
|
93
|
+
const store = yield* Service61;
|
|
94
94
|
const execution = yield* Service25;
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
95
|
+
const instances = yield* Service38;
|
|
96
|
+
const admission = yield* Service27;
|
|
97
97
|
const database = yield* Service80;
|
|
98
98
|
const bus = yield* Service79;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref4.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -169,15 +169,15 @@ var node27 = makeGlobalNode({
|
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node81,
|
|
173
|
+
node43,
|
|
174
|
+
node64,
|
|
175
|
+
node29,
|
|
176
|
+
node40,
|
|
177
|
+
node30,
|
|
178
178
|
node84,
|
|
179
179
|
node83,
|
|
180
|
-
|
|
180
|
+
node28
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node77
|
|
9
|
+
} from "./command-nzzxe9z3.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-5jvc5tg2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service73,
|
|
24
|
+
node: () => node76
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service73 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service74;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service73.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node76 = makeLocationNode({ service: Service73, layer, deps: [node77, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Error4, InvalidPatternError2, Service73, node76, exports_ripgrep };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-g4p2jaj6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./command-18vzz2sn.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-myp0nqk5.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service65;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID13.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make5();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make5, OllamaPlugin2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-0e0xafbb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service52,
|
|
6
|
+
node54
|
|
7
|
+
} from "./command-g8vcfp1v.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service20,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer9,
|
|
20
|
+
node: () => node23
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode-ai/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service20 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer9 = Layer.effect(Service20, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service52;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -60,12 +60,12 @@ var layer21 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
60
60
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
61
61
|
message: "Generation credentials are unavailable"
|
|
62
62
|
})));
|
|
63
|
-
return
|
|
63
|
+
return Service20.of({ text });
|
|
64
64
|
}));
|
|
65
|
-
var
|
|
66
|
-
service:
|
|
67
|
-
layer:
|
|
68
|
-
deps: [
|
|
65
|
+
var node23 = makeLocationNode({
|
|
66
|
+
service: Service20,
|
|
67
|
+
layer: layer9,
|
|
68
|
+
deps: [node54, llmClient2]
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
71
|
+
export { ModelSelectionError2, UnavailableError3, Service20, layer9, node23, exports_generate };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-g4p2jaj6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./command-18vzz2sn.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-myp0nqk5.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service65;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID13.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make4();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make4, LMStudioPlugin2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
Info29
|
|
5
|
-
} from "./git-hc4b3kyg.js";
|
|
6
|
-
import {
|
|
7
4
|
Info28
|
|
8
|
-
} from "./
|
|
5
|
+
} from "./command-9rhh5gqv.js";
|
|
6
|
+
import {
|
|
7
|
+
Info27
|
|
8
|
+
} from "./command-g4p2jaj6.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node83
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-1h95a3b9.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./command-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID6,
|
|
18
|
+
Service55,
|
|
19
|
+
node57
|
|
20
|
+
} from "./command-yahcm7nx.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
|
+
Service: () => Service54,
|
|
31
|
+
node: () => node56
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode-ai/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event8 } from "@opencode-ai/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service54 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service55;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
71
71
|
let current = editor.providers.get(providerID);
|
|
72
72
|
if (!current) {
|
|
73
73
|
current = {
|
|
74
|
-
provider:
|
|
74
|
+
provider: Info28.empty(providerID),
|
|
75
75
|
models: new Map
|
|
76
76
|
};
|
|
77
77
|
editor.providers.set(providerID, current);
|
|
@@ -89,12 +89,12 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
89
89
|
let record = editor.providers.get(providerID);
|
|
90
90
|
if (!record) {
|
|
91
91
|
record = {
|
|
92
|
-
provider:
|
|
92
|
+
provider: Info28.empty(providerID),
|
|
93
93
|
models: new Map
|
|
94
94
|
};
|
|
95
95
|
editor.providers.set(providerID, record);
|
|
96
96
|
}
|
|
97
|
-
const model = record.models.get(modelID) ??
|
|
97
|
+
const model = record.models.get(modelID) ?? Info27.default(providerID, modelID);
|
|
98
98
|
if (!record.models.has(modelID))
|
|
99
99
|
record.models.set(modelID, model);
|
|
100
100
|
fn(model);
|
|
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
128
128
|
}),
|
|
129
129
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
130
130
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
131
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
131
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID6.make(provider.id))));
|
|
132
132
|
})
|
|
133
133
|
},
|
|
134
134
|
model: {
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
183
183
|
})
|
|
184
184
|
}
|
|
185
185
|
};
|
|
186
|
-
return
|
|
186
|
+
return Service54.of(result);
|
|
187
187
|
}));
|
|
188
188
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
189
|
-
var
|
|
189
|
+
var node56 = makeLocationNode({ service: Service54, layer, deps: [node83, node57] });
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Service54, node56, exports_catalog2, Event8 };
|