@opencode/core 0.0.0-dev-20840 → 0.0.0-dev-20841
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/agent.js +65 -65
- package/dist/aisdk-native.js +65 -65
- package/dist/aisdk.js +70 -70
- package/dist/app.js +9 -9
- package/dist/bus.js +55 -55
- package/dist/chunks/{instruction-discovery-hvzsqqsx.js → instruction-discovery-048wpaqz.js} +2 -2
- package/dist/chunks/{instruction-discovery-px7pepp5.js → instruction-discovery-0bs9zzzx.js} +10 -10
- package/dist/chunks/{instruction-discovery-6j2hn9e4.js → instruction-discovery-0cz3jc0p.js} +7 -7
- package/dist/chunks/instruction-discovery-0ef80a9n.js +513 -0
- package/dist/chunks/{instruction-discovery-q0xm7vwc.js → instruction-discovery-0j77ygfz.js} +4 -4
- package/dist/chunks/{instruction-discovery-dnk2bync.js → instruction-discovery-0qwsa8cf.js} +20 -20
- package/dist/chunks/{instruction-discovery-8ef3w3za.js → instruction-discovery-171zjyze.js} +22 -22
- package/dist/chunks/{instruction-discovery-6d646j32.js → instruction-discovery-18tb8vc6.js} +21 -21
- package/dist/chunks/{instruction-discovery-waskdk5r.js → instruction-discovery-1j6m29mr.js} +8 -8
- package/dist/chunks/{instruction-discovery-0eyn26b9.js → instruction-discovery-1j9vsfxy.js} +16 -16
- package/dist/chunks/{instruction-discovery-jws6fkes.js → instruction-discovery-1p07q0wb.js} +5 -5
- package/dist/chunks/{instruction-discovery-d15x96cv.js → instruction-discovery-1qs5jxd8.js} +10 -10
- package/dist/chunks/{instruction-discovery-8mk801n2.js → instruction-discovery-1sc6p60b.js} +6 -6
- package/dist/chunks/{instruction-discovery-tn7xc115.js → instruction-discovery-1th27d95.js} +15 -15
- package/dist/chunks/{instruction-discovery-rvs6eq9b.js → instruction-discovery-204e7tx6.js} +10 -10
- package/dist/chunks/{instruction-discovery-cdrvmw9m.js → instruction-discovery-26n2nh92.js} +1 -1
- package/dist/chunks/{instruction-discovery-m2tcdgpb.js → instruction-discovery-2c7hjkzv.js} +3 -3
- package/dist/chunks/{instruction-discovery-4ts7tf6z.js → instruction-discovery-2ccvkpx1.js} +1 -1
- package/dist/chunks/{instruction-discovery-40x1fydz.js → instruction-discovery-2ewrd21j.js} +9 -9
- package/dist/chunks/{instruction-discovery-b9yx8y6b.js → instruction-discovery-2hqksm5k.js} +1 -1
- package/dist/chunks/{instruction-discovery-nfakef9v.js → instruction-discovery-2j1vbg91.js} +30 -30
- package/dist/chunks/{instruction-discovery-weg71117.js → instruction-discovery-2jb6nwe1.js} +3 -3
- package/dist/chunks/{instruction-discovery-9z5x99zr.js → instruction-discovery-2jtaszgg.js} +6 -6
- package/dist/chunks/{instruction-discovery-7dqw4kz8.js → instruction-discovery-2k8khapm.js} +4 -4
- package/dist/chunks/{instruction-discovery-kqx1b4hy.js → instruction-discovery-2ryng5r3.js} +1 -1
- package/dist/chunks/{instruction-discovery-dbz40acx.js → instruction-discovery-2san2fa0.js} +17 -17
- package/dist/chunks/{instruction-discovery-76tqa8kn.js → instruction-discovery-2vr7dket.js} +4 -4
- package/dist/chunks/{instruction-discovery-gc5gqqes.js → instruction-discovery-350x23wf.js} +7 -7
- package/dist/chunks/{instruction-discovery-rn9rfv4g.js → instruction-discovery-38mem431.js} +27 -27
- package/dist/chunks/{instruction-discovery-f14emht6.js → instruction-discovery-3dytr8s2.js} +14 -14
- package/dist/chunks/{instruction-discovery-4e8vs6eh.js → instruction-discovery-4a0nv7mx.js} +7 -7
- package/dist/chunks/{instruction-discovery-kq88brb5.js → instruction-discovery-4r59zyn6.js} +19 -19
- package/dist/chunks/{instruction-discovery-r01m64ez.js → instruction-discovery-4swz1dz7.js} +8 -8
- package/dist/chunks/{instruction-discovery-javgrsyd.js → instruction-discovery-4w7gm2tt.js} +15 -15
- package/dist/chunks/{instruction-discovery-g6yfr6ja.js → instruction-discovery-4xpgt2w9.js} +3 -3
- package/dist/chunks/{instruction-discovery-5p9mjmqe.js → instruction-discovery-548fqp7q.js} +2 -2
- package/dist/chunks/{instruction-discovery-qqeeq2t9.js → instruction-discovery-57b9ws8p.js} +3 -3
- package/dist/chunks/{instruction-discovery-gn0vxyvw.js → instruction-discovery-58ytqwj2.js} +5 -5
- package/dist/chunks/{instruction-discovery-9mbzrdn5.js → instruction-discovery-5a9zf81m.js} +14 -14
- package/dist/chunks/{instruction-discovery-zsr4wwhv.js → instruction-discovery-5dkn69vz.js} +3 -3
- package/dist/chunks/{instruction-discovery-ht8z247h.js → instruction-discovery-5fa8zajf.js} +13 -13
- package/dist/chunks/{instruction-discovery-bgc7kbh3.js → instruction-discovery-5hj7q0js.js} +7 -7
- package/dist/chunks/{instruction-discovery-j3r6gmvc.js → instruction-discovery-5pbz2dd0.js} +1 -1
- package/dist/chunks/{instruction-discovery-e9f6ytk7.js → instruction-discovery-5qec7rge.js} +4 -4
- package/dist/chunks/{instruction-discovery-pf4f628p.js → instruction-discovery-5r4v0xwy.js} +9 -9
- package/dist/chunks/{instruction-discovery-2a9d0cmc.js → instruction-discovery-69enf89f.js} +21 -21
- package/dist/chunks/instruction-discovery-6xgwma86.js +26 -0
- package/dist/chunks/{instruction-discovery-dgkbzrr7.js → instruction-discovery-71dzwqxr.js} +38 -38
- package/dist/chunks/{instruction-discovery-nsqqdt6j.js → instruction-discovery-7dpqhkm4.js} +70 -70
- package/dist/chunks/{instruction-discovery-hrjwe8en.js → instruction-discovery-7nazv9sg.js} +12 -12
- package/dist/chunks/{instruction-discovery-8h6eptrw.js → instruction-discovery-7np5bmja.js} +40 -40
- package/dist/chunks/{instruction-discovery-j7znaxe9.js → instruction-discovery-7vsab7jg.js} +4 -4
- package/dist/chunks/{instruction-discovery-hkefcp24.js → instruction-discovery-7yw2sx3r.js} +5 -5
- package/dist/chunks/{instruction-discovery-s0gd8x5j.js → instruction-discovery-81gd8ewx.js} +19 -19
- package/dist/chunks/{instruction-discovery-pa87kxkp.js → instruction-discovery-85z0h67f.js} +14 -14
- package/dist/chunks/{instruction-discovery-pbj47z9e.js → instruction-discovery-88qvqy1e.js} +9 -9
- package/dist/chunks/{instruction-discovery-44gc5k7t.js → instruction-discovery-8evda89h.js} +25 -25
- package/dist/chunks/{instruction-discovery-gst7axd9.js → instruction-discovery-8gxqpgph.js} +3 -3
- package/dist/chunks/{instruction-discovery-c2mkhj0z.js → instruction-discovery-8tzwp5sx.js} +13 -13
- package/dist/chunks/{instruction-discovery-3z1qk93f.js → instruction-discovery-97y7hxer.js} +2 -2
- package/dist/chunks/{instruction-discovery-njjwfdf0.js → instruction-discovery-988cxgr8.js} +8 -8
- package/dist/chunks/{instruction-discovery-aa5pp8gg.js → instruction-discovery-99rzeaw0.js} +10 -10
- package/dist/chunks/{instruction-discovery-gbztcfes.js → instruction-discovery-9jcxats4.js} +39 -39
- package/dist/chunks/{instruction-discovery-ca87hkff.js → instruction-discovery-9w9w77gc.js} +26 -26
- package/dist/chunks/{instruction-discovery-0pzz74xs.js → instruction-discovery-aahhmcvt.js} +23 -23
- package/dist/chunks/{instruction-discovery-x661k3y3.js → instruction-discovery-addxnjmp.js} +3 -3
- package/dist/chunks/{instruction-discovery-vf1yw645.js → instruction-discovery-adejxgct.js} +13 -13
- package/dist/chunks/{instruction-discovery-5en5x0kf.js → instruction-discovery-afz809yg.js} +14 -14
- package/dist/chunks/{instruction-discovery-mkdntajj.js → instruction-discovery-arz7hw7x.js} +3 -3
- package/dist/chunks/{instruction-discovery-0jq9fyba.js → instruction-discovery-b4s8ej7r.js} +8 -8
- package/dist/chunks/{instruction-discovery-0cs4zv4k.js → instruction-discovery-b6qa6035.js} +31 -31
- package/dist/chunks/{instruction-discovery-fqhbsnr5.js → instruction-discovery-b6syrwy2.js} +7 -7
- package/dist/chunks/{instruction-discovery-vhsntnef.js → instruction-discovery-b9srm8rz.js} +8 -8
- package/dist/chunks/instruction-discovery-bmqnjeh2.js +253 -0
- package/dist/chunks/{instruction-discovery-qcv6amq6.js → instruction-discovery-bt2dtkh7.js} +29 -29
- package/dist/chunks/{instruction-discovery-5y8sveg1.js → instruction-discovery-byr661vw.js} +9 -9
- package/dist/chunks/{instruction-discovery-07x6hd07.js → instruction-discovery-c5w8pbd1.js} +10 -10
- package/dist/chunks/{instruction-discovery-sa8ekw3f.js → instruction-discovery-c8ax2afj.js} +1 -1
- package/dist/chunks/{instruction-discovery-8q2jmg2k.js → instruction-discovery-c8ses4bc.js} +11 -11
- package/dist/chunks/{instruction-discovery-1f58yghe.js → instruction-discovery-ch67yd34.js} +9 -9
- package/dist/chunks/{instruction-discovery-g0445xdp.js → instruction-discovery-cmwkp3r5.js} +3 -3
- package/dist/chunks/{instruction-discovery-djkfg51f.js → instruction-discovery-d0ak8zy9.js} +6 -6
- package/dist/chunks/{instruction-discovery-2xdnazbr.js → instruction-discovery-d15wnv4q.js} +14 -14
- package/dist/chunks/{instruction-discovery-ax9d17m8.js → instruction-discovery-d3sk2mbt.js} +6 -6
- package/dist/chunks/{instruction-discovery-etpda0sw.js → instruction-discovery-d5fxhgcy.js} +9 -9
- package/dist/chunks/{instruction-discovery-c57mtz3s.js → instruction-discovery-d9kdwp41.js} +5 -5
- package/dist/chunks/{instruction-discovery-rjxw408s.js → instruction-discovery-dhhqcq64.js} +9 -9
- package/dist/chunks/{instruction-discovery-79qaa2kf.js → instruction-discovery-djszqvmq.js} +7 -7
- package/dist/chunks/{instruction-discovery-kpkbsjrk.js → instruction-discovery-dx2h6xhc.js} +22 -22
- package/dist/chunks/{instruction-discovery-1ss6y7et.js → instruction-discovery-dzdcg5g9.js} +9 -9
- package/dist/chunks/{instruction-discovery-7rdq5agd.js → instruction-discovery-e0pxcnmw.js} +7 -7
- package/dist/chunks/{instruction-discovery-5qd3pb7m.js → instruction-discovery-e3qxr5gk.js} +2 -2
- package/dist/chunks/{instruction-discovery-nma959mg.js → instruction-discovery-e80seqcp.js} +2 -2
- package/dist/chunks/{instruction-discovery-4pcdpmjs.js → instruction-discovery-eefd4g5w.js} +4 -4
- package/dist/chunks/{instruction-discovery-6cc608et.js → instruction-discovery-eq08xn2q.js} +13 -13
- package/dist/chunks/{instruction-discovery-fa9zq5gx.js → instruction-discovery-ereph1h9.js} +14 -14
- package/dist/chunks/{instruction-discovery-c1fqxshp.js → instruction-discovery-es1vcfrp.js} +1 -1
- package/dist/chunks/{instruction-discovery-skh2fhmy.js → instruction-discovery-ewk422xx.js} +12 -12
- package/dist/chunks/{instruction-discovery-wscexn1p.js → instruction-discovery-ezzmrcry.js} +25 -25
- package/dist/chunks/{instruction-discovery-x2kh2bfd.js → instruction-discovery-fng9jkm1.js} +7 -7
- package/dist/chunks/{instruction-discovery-hycye272.js → instruction-discovery-fqp3mcfq.js} +1 -1
- package/dist/chunks/{instruction-discovery-349j9p8a.js → instruction-discovery-fykx5zb5.js} +38 -38
- package/dist/chunks/{instruction-discovery-be9647t4.js → instruction-discovery-fz79ktw5.js} +5 -5
- package/dist/chunks/{instruction-discovery-9137mpr7.js → instruction-discovery-g0z1em0w.js} +4 -4
- package/dist/chunks/{instruction-discovery-pn6tb00z.js → instruction-discovery-g6187q27.js} +28 -28
- package/dist/chunks/{instruction-discovery-mdjjyzh0.js → instruction-discovery-g678yp76.js} +28 -28
- package/dist/chunks/{instruction-discovery-t2fpy6a4.js → instruction-discovery-gcqzh3f4.js} +25 -25
- package/dist/chunks/{instruction-discovery-5fg11txv.js → instruction-discovery-ge2q9s3y.js} +8 -8
- package/dist/chunks/{instruction-discovery-tjgs01qf.js → instruction-discovery-ggsp0fny.js} +9 -9
- package/dist/chunks/{instruction-discovery-qdanfvrz.js → instruction-discovery-gjqhxvm8.js} +15 -15
- package/dist/chunks/{instruction-discovery-5cfzjc8s.js → instruction-discovery-gq58s3m0.js} +23 -23
- package/dist/chunks/{instruction-discovery-y54hr7f3.js → instruction-discovery-h04zhhvt.js} +7 -7
- package/dist/chunks/{instruction-discovery-bzh65nen.js → instruction-discovery-h11z96pq.js} +10 -10
- package/dist/chunks/{instruction-discovery-4b6qjr7h.js → instruction-discovery-h4ps1sgr.js} +3 -3
- package/dist/chunks/{instruction-discovery-6285nte3.js → instruction-discovery-h4y0jjzh.js} +15 -15
- package/dist/chunks/{instruction-discovery-1pasrz8p.js → instruction-discovery-hw2yy5aw.js} +9 -9
- package/dist/chunks/{instruction-discovery-h9pnpq88.js → instruction-discovery-j34bs4nz.js} +3 -3
- package/dist/chunks/{instruction-discovery-maccertz.js → instruction-discovery-j47qf441.js} +11 -11
- package/dist/chunks/{instruction-discovery-yec7xxa8.js → instruction-discovery-j4c2xja6.js} +11 -11
- package/dist/chunks/{instruction-discovery-aw71ddvx.js → instruction-discovery-j6a2evck.js} +16 -16
- package/dist/chunks/{instruction-discovery-72c3g3zh.js → instruction-discovery-j9ysnh0t.js} +14 -14
- package/dist/chunks/{instruction-discovery-9h13qr2j.js → instruction-discovery-janq1scx.js} +4 -4
- package/dist/chunks/{instruction-discovery-y5n9ymtk.js → instruction-discovery-jgbvdr9r.js} +3 -3
- package/dist/chunks/{instruction-discovery-he27pt63.js → instruction-discovery-jhdf29st.js} +1 -1
- package/dist/chunks/{instruction-discovery-45xt7wxm.js → instruction-discovery-jpen4qdf.js} +2 -2
- package/dist/chunks/{instruction-discovery-phz3h32g.js → instruction-discovery-jqh9b0xq.js} +4 -4
- package/dist/chunks/{instruction-discovery-f1e3sab5.js → instruction-discovery-jvx148y3.js} +9 -9
- package/dist/chunks/{instruction-discovery-y71avatq.js → instruction-discovery-jwcy2c2z.js} +3 -3
- package/dist/chunks/{instruction-discovery-dpemy54c.js → instruction-discovery-k2xcv0kf.js} +11 -11
- package/dist/chunks/{instruction-discovery-5bpa657r.js → instruction-discovery-ketq9gmb.js} +9 -9
- package/dist/chunks/{instruction-discovery-cs8e4cmc.js → instruction-discovery-kppw7hr6.js} +24 -24
- package/dist/chunks/{instruction-discovery-ctzqq1qd.js → instruction-discovery-ksek9mqj.js} +34 -34
- package/dist/chunks/{instruction-discovery-ya0wjwqz.js → instruction-discovery-ksqr7yfe.js} +6 -6
- package/dist/chunks/{instruction-discovery-jmhkjwrc.js → instruction-discovery-ky9vbweg.js} +21 -21
- package/dist/chunks/{instruction-discovery-xb5zqdrm.js → instruction-discovery-mbkrq27a.js} +5 -5
- package/dist/chunks/{instruction-discovery-bpm1eh2k.js → instruction-discovery-mf2nfva2.js} +17 -17
- package/dist/chunks/{instruction-discovery-a7p2x4hn.js → instruction-discovery-mkkx2xvk.js} +27 -27
- package/dist/chunks/{instruction-discovery-fvkvqbbt.js → instruction-discovery-mnv9vkrs.js} +1 -1
- package/dist/chunks/{instruction-discovery-wst2njc5.js → instruction-discovery-myrhaa8e.js} +7 -7
- package/dist/chunks/{instruction-discovery-s4801m28.js → instruction-discovery-n3aya5hh.js} +15 -15
- package/dist/chunks/{instruction-discovery-h0vrang6.js → instruction-discovery-n3jw88fx.js} +7 -7
- package/dist/chunks/{instruction-discovery-00v13zp4.js → instruction-discovery-na4dcjrg.js} +24 -24
- package/dist/chunks/{instruction-discovery-6rkk3bmg.js → instruction-discovery-nbyj5sqq.js} +85 -85
- package/dist/chunks/{instruction-discovery-mytfezrn.js → instruction-discovery-ne89875c.js} +14 -14
- package/dist/chunks/{instruction-discovery-6p2pmyag.js → instruction-discovery-njm3x30h.js} +88 -88
- package/dist/chunks/{instruction-discovery-adq9f0f4.js → instruction-discovery-nqxj0yn4.js} +1 -1
- package/dist/chunks/{instruction-discovery-7pk5n3s1.js → instruction-discovery-nvakrpsp.js} +10 -10
- package/dist/chunks/{instruction-discovery-nann43hw.js → instruction-discovery-nzbbc5k0.js} +9 -9
- package/dist/chunks/{instruction-discovery-0p635tx0.js → instruction-discovery-p097c2sx.js} +12 -12
- package/dist/chunks/{instruction-discovery-2k71kv7p.js → instruction-discovery-ph842b28.js} +3 -3
- package/dist/chunks/{instruction-discovery-r46dytrv.js → instruction-discovery-prhrtzb1.js} +51 -51
- package/dist/chunks/{instruction-discovery-mjk9grpt.js → instruction-discovery-pw6jj9n3.js} +12 -12
- package/dist/chunks/{instruction-discovery-ehrv9c33.js → instruction-discovery-pwpq1fb6.js} +16 -16
- package/dist/chunks/{instruction-discovery-ffam7gj8.js → instruction-discovery-pznx5chc.js} +16 -16
- package/dist/chunks/{instruction-discovery-wkx576x1.js → instruction-discovery-q17sgkmf.js} +14 -14
- package/dist/chunks/{instruction-discovery-s2ydx70g.js → instruction-discovery-q78nszrx.js} +29 -29
- package/dist/chunks/{instruction-discovery-v5dkyp31.js → instruction-discovery-qa3qhgw8.js} +3 -3
- package/dist/chunks/{instruction-discovery-7ffadgyk.js → instruction-discovery-qgezrw5d.js} +23 -23
- package/dist/chunks/{instruction-discovery-qafgrsyw.js → instruction-discovery-qms70dv9.js} +3 -3
- package/dist/chunks/{instruction-discovery-z1cyx7dz.js → instruction-discovery-qyjj4w9t.js} +10 -10
- package/dist/chunks/{instruction-discovery-jf7mfsg7.js → instruction-discovery-r2a2vjc6.js} +43 -43
- package/dist/chunks/{instruction-discovery-nd4tfyg0.js → instruction-discovery-r70na3yp.js} +7 -7
- package/dist/chunks/{instruction-discovery-fmyc3a1p.js → instruction-discovery-r75v65gt.js} +3 -3
- package/dist/chunks/{instruction-discovery-3tmkt29g.js → instruction-discovery-rb0m5pb6.js} +17 -17
- package/dist/chunks/{instruction-discovery-qh4qnmhp.js → instruction-discovery-rtbh45rc.js} +12 -12
- package/dist/chunks/{instruction-discovery-013q7qyk.js → instruction-discovery-rwbpmje9.js} +16 -16
- package/dist/chunks/{instruction-discovery-z45psjsg.js → instruction-discovery-s9bfrye6.js} +54 -54
- package/dist/chunks/{instruction-discovery-b3f8fkhc.js → instruction-discovery-scgrse2b.js} +3 -3
- package/dist/chunks/{instruction-discovery-pd63a6br.js → instruction-discovery-sddgd5f8.js} +15 -15
- package/dist/chunks/{instruction-discovery-qbkt1j42.js → instruction-discovery-sm4j4wt5.js} +15 -15
- package/dist/chunks/{instruction-discovery-z66qdbeq.js → instruction-discovery-sp61bypy.js} +14 -14
- package/dist/chunks/{instruction-discovery-86pav6my.js → instruction-discovery-ssgq4v3h.js} +18 -18
- package/dist/chunks/{instruction-discovery-xbebwte6.js → instruction-discovery-svysebdv.js} +149 -149
- package/dist/chunks/{instruction-discovery-re32j193.js → instruction-discovery-terdh6tz.js} +44 -44
- package/dist/chunks/{instruction-discovery-rert0e01.js → instruction-discovery-tkb22qbm.js} +1 -1
- package/dist/chunks/{instruction-discovery-03v1g770.js → instruction-discovery-tppqj79j.js} +9 -9
- package/dist/chunks/{instruction-discovery-gfzqzyz0.js → instruction-discovery-tqenhx9q.js} +4 -4
- package/dist/chunks/{instruction-discovery-xnq97b3q.js → instruction-discovery-ts8qfj50.js} +1 -1
- package/dist/chunks/{instruction-discovery-zyc3n123.js → instruction-discovery-tvmrjeqd.js} +8 -8
- package/dist/chunks/{instruction-discovery-7sxtqf2f.js → instruction-discovery-tym1zfxs.js} +8 -8
- package/dist/chunks/{instruction-discovery-2jj4c4zt.js → instruction-discovery-v8pa3zp8.js} +16 -16
- package/dist/chunks/{instruction-discovery-vjawha9d.js → instruction-discovery-vezvtjyv.js} +8 -8
- package/dist/chunks/{instruction-discovery-azwhd2tc.js → instruction-discovery-vhjwdtv8.js} +42 -42
- package/dist/chunks/{instruction-discovery-g21pftbj.js → instruction-discovery-vky023fh.js} +4 -4
- package/dist/chunks/{instruction-discovery-w1ba7bfx.js → instruction-discovery-vrzt526f.js} +3 -3
- package/dist/chunks/{instruction-discovery-z8f4xtsn.js → instruction-discovery-vt28d6rb.js} +30 -30
- package/dist/chunks/{instruction-discovery-gatvvfrq.js → instruction-discovery-vw6bdczd.js} +4 -4
- package/dist/chunks/{instruction-discovery-7bgbbv4d.js → instruction-discovery-vz2yvhh5.js} +13 -13
- package/dist/chunks/{instruction-discovery-dqn19q2m.js → instruction-discovery-w96a8yrh.js} +17 -17
- package/dist/chunks/{instruction-discovery-affjwcb5.js → instruction-discovery-wby3r2te.js} +10 -10
- package/dist/chunks/{instruction-discovery-vzzm1fs5.js → instruction-discovery-wf98qgyv.js} +10 -10
- package/dist/chunks/{instruction-discovery-re585wd9.js → instruction-discovery-wnk72qpq.js} +6 -6
- package/dist/chunks/{instruction-discovery-krzm7rgx.js → instruction-discovery-wp8sj255.js} +22 -22
- package/dist/chunks/{instruction-discovery-wj1r1ebq.js → instruction-discovery-wpemy600.js} +3 -3
- package/dist/chunks/{instruction-discovery-q8xpgn7z.js → instruction-discovery-wr0v3f2s.js} +33 -33
- package/dist/chunks/{instruction-discovery-k0dbnswt.js → instruction-discovery-wt4s349c.js} +17 -17
- package/dist/chunks/{instruction-discovery-z2qvtray.js → instruction-discovery-wvej1134.js} +5 -5
- package/dist/chunks/{instruction-discovery-7zgemx1q.js → instruction-discovery-wwyp4jt6.js} +14 -14
- package/dist/chunks/{instruction-discovery-dys7k0s0.js → instruction-discovery-x5wrmng7.js} +9 -9
- package/dist/chunks/{instruction-discovery-fh0k82d9.js → instruction-discovery-x7bx6zs0.js} +9 -9
- package/dist/chunks/{instruction-discovery-2r93mh4x.js → instruction-discovery-xacpwdh9.js} +4 -4
- package/dist/chunks/{instruction-discovery-3ppptnan.js → instruction-discovery-xcd0eash.js} +5 -5
- package/dist/chunks/{instruction-discovery-npyjj4rp.js → instruction-discovery-xk3qqngr.js} +9 -9
- package/dist/chunks/{instruction-discovery-a6ty58hg.js → instruction-discovery-xkfm5vcm.js} +1 -1
- package/dist/chunks/{instruction-discovery-36k4rsrb.js → instruction-discovery-xqt608y9.js} +29 -29
- package/dist/chunks/{instruction-discovery-s70zranf.js → instruction-discovery-xyc3y5xg.js} +12 -12
- package/dist/chunks/{instruction-discovery-y9sjh7nr.js → instruction-discovery-xz5716ww.js} +31 -31
- package/dist/chunks/{instruction-discovery-5zsyzc28.js → instruction-discovery-xzdfrpe2.js} +16 -16
- package/dist/chunks/{instruction-discovery-hcd6s0vj.js → instruction-discovery-y147vcw1.js} +17 -17
- package/dist/chunks/{instruction-discovery-rajdm094.js → instruction-discovery-y1qj9qp6.js} +28 -28
- package/dist/chunks/{instruction-discovery-9m0vp2wg.js → instruction-discovery-y8ptd9jv.js} +28 -28
- package/dist/chunks/{instruction-discovery-0gbd5s62.js → instruction-discovery-yc7106p4.js} +17 -17
- package/dist/chunks/{instruction-discovery-mbsb5skb.js → instruction-discovery-yeyrdzm0.js} +21 -21
- package/dist/chunks/{instruction-discovery-at0j0jj5.js → instruction-discovery-yh9g6p3v.js} +37 -37
- package/dist/chunks/{instruction-discovery-v4htay49.js → instruction-discovery-ykmz0d95.js} +5 -5
- package/dist/chunks/{instruction-discovery-zpmxq5w8.js → instruction-discovery-yng1p9nw.js} +8 -8
- package/dist/chunks/{instruction-discovery-354f5h3z.js → instruction-discovery-yztevfhp.js} +17 -17
- package/dist/chunks/{instruction-discovery-q5heszs0.js → instruction-discovery-z2qawcf3.js} +22 -22
- package/dist/chunks/{instruction-discovery-29ry0jec.js → instruction-discovery-z4dcjezs.js} +10 -10
- package/dist/chunks/{instruction-discovery-c4317cpf.js → instruction-discovery-zamq423t.js} +1 -1
- package/dist/chunks/{instruction-discovery-w8cfkb27.js → instruction-discovery-zest4r3s.js} +24 -24
- package/dist/chunks/{instruction-discovery-vyq7c4ep.js → instruction-discovery-zkskjjqs.js} +18 -18
- package/dist/chunks/{instruction-discovery-zq8zhbxc.js → instruction-discovery-zmbx7t07.js} +44 -44
- package/dist/chunks/{instruction-discovery-h21ghyap.js → instruction-discovery-zp551mt7.js} +25 -25
- package/dist/codemode/instructions.js +3 -3
- package/dist/command.js +63 -63
- package/dist/config/discovery.js +59 -59
- package/dist/config/normalize.js +73 -73
- package/dist/config/plugin/agent.js +87 -87
- package/dist/config/plugin/command.js +165 -165
- package/dist/config/plugin/compaction.js +119 -119
- package/dist/config/plugin/compatibility.js +104 -104
- package/dist/config/plugin/formatter.js +88 -88
- package/dist/config/plugin/image.js +87 -87
- package/dist/config/plugin/instruction.js +65 -65
- package/dist/config/plugin/location-watcher.js +89 -89
- package/dist/config/plugin/mcp.js +94 -94
- package/dist/config/plugin/policy.js +88 -88
- package/dist/config/plugin/provider.js +87 -87
- package/dist/config/plugin/reference.js +88 -88
- package/dist/config/plugin/shell.js +87 -87
- package/dist/config/plugin/skill-file.js +75 -75
- package/dist/config/plugin/skill.js +105 -105
- package/dist/config/plugin/snapshot.js +87 -87
- package/dist/config/plugin/source.js +88 -88
- package/dist/config/plugin/tool-output.js +87 -87
- package/dist/config/plugin/websearch.js +86 -86
- package/dist/config/plugin/worktree.js +89 -89
- package/dist/config/variable.js +2 -2
- package/dist/config.js +91 -91
- package/dist/credential.js +61 -61
- package/dist/database/database.js +55 -55
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +39 -39
- package/dist/database/migration.js +40 -40
- package/dist/database/v1-migration.bun.js +11 -11
- package/dist/effect/app-node-builder.js +236 -236
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +66 -66
- package/dist/environment/index.js +66 -66
- package/dist/event-logger.js +12 -12
- package/dist/file-access.js +78 -78
- package/dist/file-mutation.js +67 -67
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +182 -182
- package/dist/filesystem/search.js +68 -68
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +69 -69
- package/dist/form.js +62 -62
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +64 -64
- package/dist/generate.js +79 -79
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +75 -75
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +306 -306
- package/dist/instruction-discovery.js +61 -61
- package/dist/instructions/builtins.js +63 -63
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +65 -65
- package/dist/job.js +59 -59
- package/dist/kv.js +54 -54
- package/dist/location-activity.js +56 -56
- package/dist/location-lifecycle.js +81 -81
- package/dist/location-service-map.js +63 -63
- package/dist/location-services.js +304 -304
- package/dist/location.js +60 -60
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +19 -19
- package/dist/mcp/index.js +81 -81
- package/dist/mcp/instructions.js +94 -94
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +63 -63
- package/dist/modal/models.js +75 -75
- package/dist/model-resolver.js +74 -74
- package/dist/model.js +76 -76
- package/dist/models-dev.js +70 -70
- package/dist/permission/saved.js +61 -61
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +89 -89
- package/dist/persistent-pty/index.js +70 -70
- package/dist/persistent-pty.js +54 -54
- package/dist/plugin/agent.js +56 -56
- package/dist/plugin/command.js +72 -72
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +173 -173
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +278 -278
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +71 -71
- package/dist/plugin/module.js +88 -88
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +76 -76
- package/dist/plugin/provider/amazon-bedrock.js +66 -66
- package/dist/plugin/provider/azure.js +86 -86
- package/dist/plugin/provider/chatgpt.js +68 -68
- package/dist/plugin/provider/cloudflare-ai-gateway.js +85 -85
- package/dist/plugin/provider/cloudflare-workers-ai.js +85 -85
- package/dist/plugin/provider/configured.js +84 -84
- package/dist/plugin/provider/digitalocean.js +68 -68
- package/dist/plugin/provider/github-copilot.js +70 -70
- package/dist/plugin/provider/gitlab.js +68 -68
- package/dist/plugin/provider/google-vertex.js +85 -85
- package/dist/plugin/provider/llmgateway.js +58 -58
- package/dist/plugin/provider/lmstudio.js +95 -95
- package/dist/plugin/provider/local.js +92 -92
- package/dist/plugin/provider/modal.js +68 -68
- package/dist/plugin/provider/ollama.js +95 -95
- package/dist/plugin/provider/openai.js +69 -69
- package/dist/plugin/provider/opencode.js +72 -72
- package/dist/plugin/provider/openrouter.js +67 -67
- package/dist/plugin/provider/poe.js +58 -58
- package/dist/plugin/provider/prompt-cache-key.js +66 -66
- package/dist/plugin/provider/sap-ai-core.js +66 -66
- package/dist/plugin/provider/snowflake-cortex.js +86 -86
- package/dist/plugin/provider/vercel.js +66 -66
- package/dist/plugin/provider/vllm.js +95 -95
- package/dist/plugin/provider/xai.js +67 -67
- package/dist/plugin/provider.js +131 -131
- package/dist/plugin/sdk.js +56 -56
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +103 -103
- package/dist/plugin/supervisor.js +296 -296
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +61 -61
- package/dist/plugin/vcs/hg.js +63 -63
- package/dist/plugin/verbosity.js +69 -69
- package/dist/plugin/warming.js +86 -86
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +178 -178
- package/dist/project/sql.js +2 -2
- package/dist/project.js +59 -59
- package/dist/provider.js +77 -77
- package/dist/pty.js +65 -65
- package/dist/reference/instructions.js +63 -63
- package/dist/reference.js +64 -64
- package/dist/repository-cache.js +59 -59
- package/dist/ripgrep.js +63 -63
- package/dist/rpc.js +63 -63
- package/dist/session/command.js +56 -56
- package/dist/session/compaction.js +103 -103
- package/dist/session/context.js +117 -117
- package/dist/session/diff.js +64 -64
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +115 -115
- package/dist/session/execution.js +99 -99
- package/dist/session/generate.js +118 -118
- package/dist/session/history.js +10 -10
- package/dist/session/inbox.js +64 -64
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +57 -57
- package/dist/session/instruction-state.js +4 -4
- package/dist/session/instructions.js +71 -71
- package/dist/session/model-request.js +90 -90
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +100 -100
- package/dist/session/projector.js +62 -62
- package/dist/session/prompt.js +78 -78
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +65 -65
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +184 -184
- package/dist/session/runner/model.js +74 -74
- package/dist/session/runner/publish-llm-event.js +85 -85
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +94 -94
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +131 -131
- package/dist/session/shell.js +99 -99
- package/dist/session/skill.js +77 -77
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +63 -63
- package/dist/session/subagent-job.js +166 -166
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +120 -120
- package/dist/session/to-session-error.js +84 -84
- package/dist/session/transfer.js +111 -111
- package/dist/session.js +174 -174
- package/dist/shell/parse.js +4 -4
- package/dist/shell/select.js +8 -8
- package/dist/shell.js +102 -102
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +79 -79
- package/dist/skill.js +84 -84
- package/dist/snapshot.js +70 -70
- package/dist/tool/mcp.js +93 -93
- package/dist/tool/plugin/edit.js +90 -90
- package/dist/tool/plugin/glob.js +93 -93
- package/dist/tool/plugin/grep.js +93 -93
- package/dist/tool/plugin/mcp-resource.js +87 -87
- package/dist/tool/plugin/opencode.js +83 -83
- package/dist/tool/plugin/patch.js +92 -92
- package/dist/tool/plugin/question.js +77 -77
- package/dist/tool/plugin/read.js +93 -93
- package/dist/tool/plugin/shell.js +170 -170
- package/dist/tool/plugin/skill.js +85 -85
- package/dist/tool/plugin/subagent.js +173 -173
- package/dist/tool/plugin/webfetch.js +83 -83
- package/dist/tool/plugin/websearch.js +86 -86
- package/dist/tool/plugin/write.js +92 -92
- package/dist/tool/read-filesystem.js +66 -66
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +67 -67
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/variant.js +67 -67
- package/dist/vcs.js +66 -66
- package/dist/websearch.js +64 -64
- package/dist/wellknown/plugin.js +56 -56
- package/dist/wellknown.js +59 -59
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +63 -63
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree/strategies.js +65 -65
- package/dist/worktree.js +71 -71
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-14fj7mdh.js +0 -26
- package/dist/chunks/instruction-discovery-bsemgcs3.js +0 -253
- package/dist/chunks/instruction-discovery-e37mevwb.js +0 -513
- /package/dist/chunks/{instruction-discovery-vgbe0hx2.js → instruction-discovery-0n8a0ffz.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rj3eygr5.js → instruction-discovery-c41wscbt.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2cmv458r.js → instruction-discovery-dtqg9ce1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-abyq9s79.js → instruction-discovery-hay4m1s6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0vvktwqa.js → instruction-discovery-z5hqtv59.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
|
-
|
|
4
|
-
} from "./instruction-discovery-
|
|
3
|
+
node87
|
|
4
|
+
} from "./instruction-discovery-5r4v0xwy.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./instruction-discovery-
|
|
8
|
+
Service79,
|
|
9
|
+
node82
|
|
10
|
+
} from "./instruction-discovery-aahhmcvt.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
13
|
} from "./instruction-discovery-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./instruction-discovery-
|
|
16
|
+
} from "./instruction-discovery-addxnjmp.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./instruction-discovery-
|
|
20
|
+
} from "./instruction-discovery-wwyp4jt6.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
23
|
} from "./instruction-discovery-9rqn6x4v.js";
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event18,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
40
|
ID: () => ID14,
|
|
41
|
-
Info: () =>
|
|
41
|
+
Info: () => Info23,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service78,
|
|
49
|
+
node: () => node81
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
71
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
72
72
|
var ID14 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info23 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -107,13 +107,13 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service78 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service79;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info23.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service78.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node81 = makeLocationNode({
|
|
633
|
+
service: Service78,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node82, node87, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2,
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service78, node81, exports_integration, Event18 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./instruction-discovery-
|
|
5
|
+
} from "./instruction-discovery-38mem431.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./instruction-discovery-
|
|
10
|
+
Info21
|
|
11
|
+
} from "./instruction-discovery-mkkx2xvk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID12.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info21.make({
|
|
122
|
+
...Info21.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID12.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info17,
|
|
12
12
|
Object: () => Object2,
|
|
13
|
-
Rule: () =>
|
|
13
|
+
Rule: () => Rule3
|
|
14
14
|
});
|
|
15
15
|
import { Schema, SchemaGetter } from "effect";
|
|
16
16
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
19
19
|
encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
|
|
20
20
|
}));
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
|
-
var
|
|
22
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info17 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info17, exports_permission2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./instruction-discovery-
|
|
3
|
+
} from "./instruction-discovery-5r4v0xwy.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./instruction-discovery-
|
|
6
|
+
} from "./instruction-discovery-addxnjmp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./instruction-discovery-
|
|
8
|
+
Event19
|
|
9
|
+
} from "./instruction-discovery-aahhmcvt.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./instruction-discovery-
|
|
12
|
+
} from "./instruction-discovery-171zjyze.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./instruction-discovery-
|
|
14
|
+
ID13,
|
|
15
|
+
Service77
|
|
16
|
+
} from "./instruction-discovery-38mem431.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./instruction-discovery-
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./instruction-discovery-z2qawcf3.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service77;
|
|
30
30
|
const bus = yield* Service84;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render2
|
|
3
|
-
} from "./instruction-discovery-
|
|
3
|
+
} from "./instruction-discovery-57b9ws8p.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./instruction-discovery-9rqn6x4v.js";
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -12,16 +12,16 @@ import {
|
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options6,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service61,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured6,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node63,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options6 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service61 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service61.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured6(options) {
|
|
210
|
+
return makeLocationNode({ service: Service61, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node63 = configured6();
|
|
213
213
|
|
|
214
|
-
export { Options6,
|
|
214
|
+
export { Options6, Service61, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured6, node63, exports_select };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./instruction-discovery-
|
|
3
|
+
Service77
|
|
4
|
+
} from "./instruction-discovery-38mem431.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./instruction-discovery-
|
|
6
|
+
Service63
|
|
7
|
+
} from "./instruction-discovery-yh9g6p3v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service77;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service63);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
|
-
|
|
4
|
-
} from "./instruction-discovery-
|
|
3
|
+
node88
|
|
4
|
+
} from "./instruction-discovery-z4dcjezs.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./instruction-discovery-
|
|
7
|
+
} from "./instruction-discovery-tkb22qbm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./instruction-discovery-9rqn6x4v.js";
|
|
@@ -13,20 +13,20 @@ import {
|
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info11,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service57,
|
|
21
|
+
node: () => node59
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info11 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service57 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service85).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service57.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node59 = makeGlobalNode({ service: Service57, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info11, ListInput5, AddInput2, Service57, node59, exports_saved };
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./instruction-discovery-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./instruction-discovery-
|
|
6
|
+
} from "./instruction-discovery-ksqr7yfe.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./instruction-discovery-
|
|
8
|
+
Service63
|
|
9
|
+
} from "./instruction-discovery-yh9g6p3v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./instruction-discovery-
|
|
11
|
+
Service25
|
|
12
|
+
} from "./instruction-discovery-pznx5chc.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
15
|
} from "./instruction-discovery-qsdy395h.js";
|
|
@@ -21,19 +21,19 @@ import {
|
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin23
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin23 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service63;
|
|
34
34
|
const location = yield* Service81;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service25;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin36 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin23, exports_worktree };
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
var exports_instructions3 = {};
|
|
18
18
|
__export(exports_instructions3, {
|
|
19
19
|
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
-
make: () =>
|
|
20
|
+
make: () => make15,
|
|
21
21
|
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
@@ -111,7 +111,7 @@ ${render3(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make15 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
116
|
return make20({
|
|
117
117
|
key,
|
|
@@ -125,4 +125,4 @@ var make14 = (inventory) => {
|
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render3, update3,
|
|
128
|
+
export { render3, update3, make15, exports_instructions3 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./instruction-discovery-
|
|
4
|
+
} from "./instruction-discovery-38mem431.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./instruction-discovery-
|
|
7
|
+
} from "./instruction-discovery-mkkx2xvk.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./instruction-discovery-
|
|
10
|
+
Service63
|
|
11
|
+
} from "./instruction-discovery-yh9g6p3v.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./instruction-discovery-
|
|
14
|
+
} from "./instruction-discovery-048wpaqz.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
17
|
} from "./instruction-discovery-qsdy395h.js";
|
|
@@ -23,15 +23,15 @@ import {
|
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin21
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin21 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service63;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin21, exports_provider };
|