@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./instruction-discovery-
|
|
3
|
+
} from "./instruction-discovery-wby3r2te.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./instruction-discovery-
|
|
6
|
+
} from "./instruction-discovery-5r4v0xwy.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./instruction-discovery-
|
|
9
|
+
Event19,
|
|
10
|
+
Service79
|
|
11
|
+
} from "./instruction-discovery-aahhmcvt.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./instruction-discovery-
|
|
15
|
+
Service78
|
|
16
|
+
} from "./instruction-discovery-171zjyze.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
20
|
} from "./instruction-discovery-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./instruction-discovery-
|
|
22
|
+
ID13
|
|
23
|
+
} from "./instruction-discovery-38mem431.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./instruction-discovery-
|
|
26
|
+
} from "./instruction-discovery-1sc6p60b.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
33
|
+
var providerID = ID13.make("snowflake-cortex");
|
|
34
34
|
var integrationID = ID14.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service79;
|
|
57
|
+
const integrations = yield* Service78;
|
|
58
58
|
const bus = yield* Service84;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID11 = Session.ID;
|
|
5
|
+
var Info19 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID11, Info19, SessionSchema2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./instruction-discovery-
|
|
3
|
+
} from "./instruction-discovery-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./instruction-discovery-9rqn6x4v.js";
|
|
@@ -9,22 +9,22 @@ import {
|
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node6, exports_update };
|
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
} from "./instruction-discovery-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
Service81
|
|
8
|
-
} from "./instruction-discovery-
|
|
8
|
+
} from "./instruction-discovery-ksqr7yfe.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./instruction-discovery-
|
|
10
|
+
Service66
|
|
11
|
+
} from "./instruction-discovery-wt4s349c.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./instruction-discovery-
|
|
13
|
+
Service23
|
|
14
|
+
} from "./instruction-discovery-j4c2xja6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service21,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./instruction-discovery-
|
|
19
|
+
} from "./instruction-discovery-xyc3y5xg.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./instruction-discovery-
|
|
21
|
+
Service55
|
|
22
|
+
} from "./instruction-discovery-s9bfrye6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service22,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./instruction-discovery-
|
|
26
|
+
} from "./instruction-discovery-85z0h67f.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
29
|
} from "./instruction-discovery-6prwharc.js";
|
|
@@ -35,12 +35,12 @@ import {
|
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin41,
|
|
42
|
+
name: () => name4,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name4 = "patch";
|
|
89
|
+
var Input4 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin41 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service66;
|
|
112
|
+
const access = yield* Service22;
|
|
113
|
+
const fileMutation = yield* Service21;
|
|
114
|
+
const formatter = yield* Service23;
|
|
115
115
|
const location = yield* Service81;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service55;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input4,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin38 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name4, Input4, Applied2, Output4, toModelContent2, Plugin41, exports_patch };
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service60,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node62
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service60 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service60, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service60.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service42, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node62 = makeGlobalNode({ service: Service60, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service60, node62, exports_environment };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./instruction-discovery-
|
|
3
|
+
} from "./instruction-discovery-wby3r2te.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./instruction-discovery-
|
|
6
|
+
Service79
|
|
7
|
+
} from "./instruction-discovery-aahhmcvt.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./instruction-discovery-
|
|
11
|
+
} from "./instruction-discovery-171zjyze.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./instruction-discovery-
|
|
15
|
+
} from "./instruction-discovery-38mem431.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -69,7 +69,7 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
72
|
+
const credentials = yield* Service79;
|
|
73
73
|
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node60
|
|
3
|
+
} from "./instruction-discovery-gq58s3m0.js";
|
|
4
|
+
import {
|
|
5
|
+
node83
|
|
6
|
+
} from "./instruction-discovery-wwyp4jt6.js";
|
|
7
|
+
import {
|
|
8
|
+
node81
|
|
9
|
+
} from "./instruction-discovery-171zjyze.js";
|
|
10
|
+
import {
|
|
11
|
+
node84,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./instruction-discovery-ksqr7yfe.js";
|
|
14
|
+
import {
|
|
15
|
+
node80
|
|
16
|
+
} from "./instruction-discovery-38mem431.js";
|
|
17
|
+
import {
|
|
18
|
+
node75
|
|
19
|
+
} from "./instruction-discovery-h11z96pq.js";
|
|
20
|
+
import {
|
|
21
|
+
node79
|
|
22
|
+
} from "./instruction-discovery-mkkx2xvk.js";
|
|
23
|
+
import {
|
|
24
|
+
node47
|
|
25
|
+
} from "./instruction-discovery-zkskjjqs.js";
|
|
26
|
+
import {
|
|
27
|
+
configured7,
|
|
28
|
+
node65
|
|
29
|
+
} from "./instruction-discovery-yh9g6p3v.js";
|
|
30
|
+
import {
|
|
31
|
+
node68
|
|
32
|
+
} from "./instruction-discovery-wt4s349c.js";
|
|
33
|
+
import {
|
|
34
|
+
node23
|
|
35
|
+
} from "./instruction-discovery-xyc3y5xg.js";
|
|
36
|
+
import {
|
|
37
|
+
node25
|
|
38
|
+
} from "./instruction-discovery-j4c2xja6.js";
|
|
39
|
+
import {
|
|
40
|
+
node18
|
|
41
|
+
} from "./instruction-discovery-j9ysnh0t.js";
|
|
42
|
+
import {
|
|
43
|
+
DirectoryNotFoundError2,
|
|
44
|
+
node17
|
|
45
|
+
} from "./instruction-discovery-n3aya5hh.js";
|
|
46
|
+
import {
|
|
47
|
+
node74
|
|
48
|
+
} from "./instruction-discovery-vhjwdtv8.js";
|
|
49
|
+
import {
|
|
50
|
+
node31
|
|
51
|
+
} from "./instruction-discovery-qgezrw5d.js";
|
|
52
|
+
import {
|
|
53
|
+
node76
|
|
54
|
+
} from "./instruction-discovery-h04zhhvt.js";
|
|
55
|
+
import {
|
|
56
|
+
node45
|
|
57
|
+
} from "./instruction-discovery-terdh6tz.js";
|
|
58
|
+
import {
|
|
59
|
+
Service52,
|
|
60
|
+
node54
|
|
61
|
+
} from "./instruction-discovery-xcd0eash.js";
|
|
62
|
+
import {
|
|
63
|
+
node37
|
|
64
|
+
} from "./instruction-discovery-99rzeaw0.js";
|
|
65
|
+
import {
|
|
66
|
+
node71
|
|
67
|
+
} from "./instruction-discovery-4a0nv7mx.js";
|
|
68
|
+
import {
|
|
69
|
+
node57
|
|
70
|
+
} from "./instruction-discovery-s9bfrye6.js";
|
|
71
|
+
import {
|
|
72
|
+
node53
|
|
73
|
+
} from "./instruction-discovery-rtbh45rc.js";
|
|
74
|
+
import {
|
|
75
|
+
configured10,
|
|
76
|
+
node77
|
|
77
|
+
} from "./instruction-discovery-xzdfrpe2.js";
|
|
78
|
+
import {
|
|
79
|
+
node39
|
|
80
|
+
} from "./instruction-discovery-88qvqy1e.js";
|
|
81
|
+
import {
|
|
82
|
+
node48
|
|
83
|
+
} from "./instruction-discovery-81gd8ewx.js";
|
|
84
|
+
import {
|
|
85
|
+
node44
|
|
86
|
+
} from "./instruction-discovery-ezzmrcry.js";
|
|
87
|
+
import {
|
|
88
|
+
node46
|
|
89
|
+
} from "./instruction-discovery-2san2fa0.js";
|
|
90
|
+
import {
|
|
91
|
+
node43
|
|
92
|
+
} from "./instruction-discovery-j47qf441.js";
|
|
93
|
+
import {
|
|
94
|
+
node56
|
|
95
|
+
} from "./instruction-discovery-dx2h6xhc.js";
|
|
96
|
+
import {
|
|
97
|
+
node42
|
|
98
|
+
} from "./instruction-discovery-h4y0jjzh.js";
|
|
99
|
+
import {
|
|
100
|
+
node36
|
|
101
|
+
} from "./instruction-discovery-njm3x30h.js";
|
|
102
|
+
import {
|
|
103
|
+
node49
|
|
104
|
+
} from "./instruction-discovery-9w9w77gc.js";
|
|
105
|
+
import {
|
|
106
|
+
node63
|
|
107
|
+
} from "./instruction-discovery-1qs5jxd8.js";
|
|
108
|
+
import {
|
|
109
|
+
node64
|
|
110
|
+
} from "./instruction-discovery-vezvtjyv.js";
|
|
111
|
+
import {
|
|
112
|
+
node61
|
|
113
|
+
} from "./instruction-discovery-zmbx7t07.js";
|
|
114
|
+
import {
|
|
115
|
+
node32
|
|
116
|
+
} from "./instruction-discovery-c8ses4bc.js";
|
|
117
|
+
import {
|
|
118
|
+
node78
|
|
119
|
+
} from "./instruction-discovery-yc7106p4.js";
|
|
120
|
+
import {
|
|
121
|
+
node30
|
|
122
|
+
} from "./instruction-discovery-kppw7hr6.js";
|
|
123
|
+
import {
|
|
124
|
+
node28
|
|
125
|
+
} from "./instruction-discovery-pznx5chc.js";
|
|
126
|
+
import {
|
|
127
|
+
node26
|
|
128
|
+
} from "./instruction-discovery-q17sgkmf.js";
|
|
129
|
+
import {
|
|
130
|
+
node11
|
|
131
|
+
} from "./instruction-discovery-xqt608y9.js";
|
|
132
|
+
import {
|
|
133
|
+
Service14,
|
|
134
|
+
node16
|
|
135
|
+
} from "./instruction-discovery-y8ptd9jv.js";
|
|
136
|
+
import {
|
|
137
|
+
node24
|
|
138
|
+
} from "./instruction-discovery-85z0h67f.js";
|
|
139
|
+
import {
|
|
140
|
+
node7,
|
|
141
|
+
bound2
|
|
142
|
+
} from "./instruction-discovery-cmwkp3r5.js";
|
|
143
|
+
import {
|
|
144
|
+
node9
|
|
145
|
+
} from "./instruction-discovery-7np5bmja.js";
|
|
146
|
+
import {
|
|
147
|
+
node14
|
|
148
|
+
} from "./instruction-discovery-v8pa3zp8.js";
|
|
149
|
+
import {
|
|
150
|
+
node15
|
|
151
|
+
} from "./instruction-discovery-d3sk2mbt.js";
|
|
152
|
+
import {
|
|
153
|
+
node4
|
|
154
|
+
} from "./instruction-discovery-fykx5zb5.js";
|
|
155
|
+
import {
|
|
156
|
+
node19
|
|
157
|
+
} from "./instruction-discovery-rb0m5pb6.js";
|
|
158
|
+
import {
|
|
159
|
+
node3
|
|
160
|
+
} from "./instruction-discovery-na4dcjrg.js";
|
|
161
|
+
import {
|
|
162
|
+
node2
|
|
163
|
+
} from "./instruction-discovery-7dpqhkm4.js";
|
|
164
|
+
import {
|
|
165
|
+
__export
|
|
166
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
167
|
+
|
|
168
|
+
// src/instance.ts
|
|
169
|
+
var exports_instance = {};
|
|
170
|
+
__export(exports_instance, {
|
|
171
|
+
Instance: () => exports_instance,
|
|
172
|
+
Service: () => Service52,
|
|
173
|
+
graph: () => graph2,
|
|
174
|
+
layer: () => layer2,
|
|
175
|
+
node: () => node54
|
|
176
|
+
});
|
|
177
|
+
import { Context, Effect, Layer } from "effect";
|
|
178
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
179
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
180
|
+
var nodes = [
|
|
181
|
+
node84,
|
|
182
|
+
node16,
|
|
183
|
+
node68,
|
|
184
|
+
node65,
|
|
185
|
+
node60,
|
|
186
|
+
node47,
|
|
187
|
+
node46,
|
|
188
|
+
node32,
|
|
189
|
+
node30,
|
|
190
|
+
node81,
|
|
191
|
+
node80,
|
|
192
|
+
node79,
|
|
193
|
+
node74,
|
|
194
|
+
node75,
|
|
195
|
+
node26,
|
|
196
|
+
node71,
|
|
197
|
+
node7,
|
|
198
|
+
node4,
|
|
199
|
+
node28,
|
|
200
|
+
node18,
|
|
201
|
+
node17,
|
|
202
|
+
node63,
|
|
203
|
+
node19,
|
|
204
|
+
node61,
|
|
205
|
+
node56,
|
|
206
|
+
node39,
|
|
207
|
+
node77,
|
|
208
|
+
node24,
|
|
209
|
+
node23,
|
|
210
|
+
node25,
|
|
211
|
+
node45,
|
|
212
|
+
node57,
|
|
213
|
+
node48,
|
|
214
|
+
node64,
|
|
215
|
+
node76,
|
|
216
|
+
node42,
|
|
217
|
+
node43,
|
|
218
|
+
node37,
|
|
219
|
+
node83,
|
|
220
|
+
node31,
|
|
221
|
+
node15,
|
|
222
|
+
node44,
|
|
223
|
+
node14,
|
|
224
|
+
node53,
|
|
225
|
+
node9,
|
|
226
|
+
node3,
|
|
227
|
+
node36,
|
|
228
|
+
node49,
|
|
229
|
+
node2,
|
|
230
|
+
node78,
|
|
231
|
+
node11
|
|
232
|
+
];
|
|
233
|
+
var graph2 = LayerNode.group(nodes);
|
|
234
|
+
var vanillaReplacements = [
|
|
235
|
+
node65.replace(configured7({ project: false, global: false })),
|
|
236
|
+
node77.replace(configured10({ project: false, global: false }))
|
|
237
|
+
];
|
|
238
|
+
function layer2(ref, options = {}) {
|
|
239
|
+
const startedAt = performance.now();
|
|
240
|
+
const replacements = [
|
|
241
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
242
|
+
...options.replacements ?? [],
|
|
243
|
+
node84.replace(boundNode2(ref)),
|
|
244
|
+
node7.replace(bound2(options.plugins ?? []))
|
|
245
|
+
];
|
|
246
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service14).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
247
|
+
directory: ref.directory,
|
|
248
|
+
workspaceID: ref.workspaceID,
|
|
249
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
250
|
+
})));
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export { graph2, layer2, exports_instance };
|