@opencode-ai/core 0.0.0-dev-19205 → 0.0.0-dev-19206
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +58 -58
- package/dist/catalog.js +67 -67
- package/dist/chunks/{workspace-tcvwtwdv.js → workspace-02shy59d.js} +7 -7
- package/dist/chunks/{workspace-y7qh7890.js → workspace-08vfff8d.js} +12 -12
- package/dist/chunks/{workspace-271bx2e5.js → workspace-0cnhv3qf.js} +12 -12
- package/dist/chunks/{workspace-fvanntqq.js → workspace-0ft9cg2j.js} +5 -5
- package/dist/chunks/{workspace-radsv5bn.js → workspace-0m9qrfq6.js} +9 -9
- package/dist/chunks/{workspace-x154ebjh.js → workspace-0rp3e5tq.js} +11 -11
- package/dist/chunks/{workspace-bct739vz.js → workspace-0v53mg2y.js} +3 -3
- package/dist/chunks/{workspace-ytf4r5bp.js → workspace-0xm7qpx2.js} +6 -6
- package/dist/chunks/{workspace-jp5dra8g.js → workspace-14s8ve6g.js} +1 -1
- package/dist/chunks/{workspace-bjs50m4b.js → workspace-15q8ja5w.js} +7 -7
- package/dist/chunks/{workspace-zn8trsas.js → workspace-1az13xbf.js} +16 -16
- package/dist/chunks/{workspace-zarjf3s7.js → workspace-1d38sp2d.js} +29 -29
- package/dist/chunks/{workspace-yhkdd2kz.js → workspace-1dsg2200.js} +21 -21
- package/dist/chunks/{workspace-wckzh42d.js → workspace-1f056xm7.js} +15 -15
- package/dist/chunks/{workspace-9fhbt2be.js → workspace-1fr0tqjr.js} +18 -18
- package/dist/chunks/{workspace-zxsw3nsr.js → workspace-1mfbtjxb.js} +14 -14
- package/dist/chunks/{workspace-tynz9yxk.js → workspace-1n116cmy.js} +7 -7
- package/dist/chunks/{workspace-r8rw83k9.js → workspace-1p3pn5j2.js} +25 -25
- package/dist/chunks/{workspace-9hc93zyr.js → workspace-1sf7vy2t.js} +12 -12
- package/dist/chunks/{workspace-7tfg2zmn.js → workspace-1sfe7ky6.js} +1 -1
- package/dist/chunks/{workspace-1nn7y83w.js → workspace-1ychdjav.js} +3 -3
- package/dist/chunks/{workspace-f4g7wt00.js → workspace-23gv0zdg.js} +8 -8
- package/dist/chunks/{workspace-pfbznffx.js → workspace-26wdwrnz.js} +7 -7
- package/dist/chunks/{workspace-z0sbs2re.js → workspace-26zgvhc5.js} +20 -20
- package/dist/chunks/{workspace-axzt4st2.js → workspace-27kr4sm5.js} +10 -10
- package/dist/chunks/{workspace-pnpzjwqk.js → workspace-299e2dt2.js} +28 -28
- package/dist/chunks/{workspace-z63w68vq.js → workspace-29x78va6.js} +4 -4
- package/dist/chunks/{workspace-4pp1x3ye.js → workspace-2exv0ec5.js} +24 -24
- package/dist/chunks/{workspace-nxj5ea3t.js → workspace-2nvgamhk.js} +1 -1
- package/dist/chunks/{workspace-r82j2j5s.js → workspace-2q6fffbt.js} +7 -7
- package/dist/chunks/{workspace-3g2y1byn.js → workspace-2qg97hzz.js} +3 -3
- package/dist/chunks/{workspace-pjhc3vrw.js → workspace-2ymxnyba.js} +31 -31
- package/dist/chunks/{workspace-8tz2fejb.js → workspace-2z94zwvq.js} +22 -22
- package/dist/chunks/{workspace-mfqp6xfm.js → workspace-33w4ejhs.js} +7 -7
- package/dist/chunks/{workspace-qqhry4hf.js → workspace-38g1zr6k.js} +21 -21
- package/dist/chunks/{workspace-y7e6xj4q.js → workspace-3daa4g1v.js} +58 -58
- package/dist/chunks/{workspace-2t2kmzm4.js → workspace-3em4d78p.js} +6 -6
- package/dist/chunks/{workspace-7p5wxxxx.js → workspace-3pt88cnv.js} +34 -34
- package/dist/chunks/{workspace-mah8zyxa.js → workspace-3xx4d5mm.js} +13 -13
- package/dist/chunks/{workspace-tdv1x8ch.js → workspace-3zha5fxe.js} +4 -4
- package/dist/chunks/{workspace-n8qe30xq.js → workspace-42dkd7sx.js} +8 -8
- package/dist/chunks/{workspace-fhvjqr7f.js → workspace-4c5k13je.js} +1 -1
- package/dist/chunks/{workspace-bsg25x2z.js → workspace-4je2fxvw.js} +15 -15
- package/dist/chunks/{workspace-drmgzmfy.js → workspace-4ncgxvqt.js} +2 -2
- package/dist/chunks/{workspace-wpm9ga6w.js → workspace-4pewjvre.js} +24 -24
- package/dist/chunks/{workspace-xrryncgn.js → workspace-51j95d2n.js} +28 -28
- package/dist/chunks/{workspace-8zy2gh99.js → workspace-53aqkft6.js} +5 -5
- package/dist/chunks/{workspace-7dhzh695.js → workspace-58cavbtx.js} +35 -35
- package/dist/chunks/{workspace-7p6a67hm.js → workspace-5aea0cm8.js} +7 -7
- package/dist/chunks/{workspace-d4tfyaan.js → workspace-5bknnx47.js} +14 -14
- package/dist/chunks/{workspace-nkd0m12v.js → workspace-5fnfwqar.js} +3 -3
- package/dist/chunks/{workspace-far2rsft.js → workspace-5h39a1dm.js} +16 -16
- package/dist/chunks/{workspace-8rvhm2ed.js → workspace-5n8bw5jd.js} +16 -16
- package/dist/chunks/{workspace-wkm1m5t3.js → workspace-5tqraw3s.js} +19 -19
- package/dist/chunks/{workspace-35ddpz83.js → workspace-5ya3pzqb.js} +18 -18
- package/dist/chunks/{workspace-4w2mesf2.js → workspace-6a580c52.js} +8 -8
- package/dist/chunks/{workspace-dhyjrgft.js → workspace-6b2p5aj4.js} +1 -1
- package/dist/chunks/{workspace-2402vzrj.js → workspace-6h73sxmp.js} +4 -4
- package/dist/chunks/{workspace-60jjdk7y.js → workspace-6psnn554.js} +7 -7
- package/dist/chunks/{workspace-pfgzwmcs.js → workspace-6q7f5vec.js} +16 -16
- package/dist/chunks/{workspace-hyd6a1dg.js → workspace-6qf2c2tj.js} +11 -11
- package/dist/chunks/{workspace-emjf39gq.js → workspace-6qtxtvv3.js} +7 -7
- package/dist/chunks/{workspace-ndbqskvj.js → workspace-6tgpbghp.js} +44 -44
- package/dist/chunks/{workspace-65crtejd.js → workspace-6x1xzmh2.js} +32 -32
- package/dist/chunks/{workspace-2ady357n.js → workspace-6ym5me7r.js} +1 -1
- package/dist/chunks/{workspace-kjj7vg4z.js → workspace-71p24b9k.js} +9 -9
- package/dist/chunks/{workspace-9ppnsynd.js → workspace-73b15rm0.js} +6 -6
- package/dist/chunks/{workspace-8gq481r1.js → workspace-73k4pchm.js} +2 -2
- package/dist/chunks/{workspace-97f5v037.js → workspace-75yf2d83.js} +7 -7
- package/dist/chunks/{workspace-zzd0j898.js → workspace-790dmgwm.js} +81 -81
- package/dist/chunks/{workspace-g2fmcnne.js → workspace-7bykz4yq.js} +28 -28
- package/dist/chunks/{workspace-xcdna4jd.js → workspace-7mdqvcay.js} +17 -17
- package/dist/chunks/{workspace-sthbfsvd.js → workspace-7ms4crvm.js} +27 -27
- package/dist/chunks/{workspace-nh4ndjrr.js → workspace-7shbmbjs.js} +15 -15
- package/dist/chunks/{workspace-pa20sa4h.js → workspace-83rwgn00.js} +27 -27
- package/dist/chunks/{workspace-k82d1k56.js → workspace-887cxk3q.js} +26 -26
- package/dist/chunks/workspace-8cm0crvj.js +22 -0
- package/dist/chunks/{workspace-qgmahjq5.js → workspace-8gfg9fa9.js} +1 -1
- package/dist/chunks/{workspace-k6rrywxw.js → workspace-8wyaeg4f.js} +27 -27
- package/dist/chunks/{workspace-r5ef8gce.js → workspace-9g1gs4kw.js} +51 -51
- package/dist/chunks/{workspace-4p7rp1jt.js → workspace-9gxr4scd.js} +14 -14
- package/dist/chunks/{workspace-vwd9ve21.js → workspace-9ndspkn6.js} +40 -40
- package/dist/chunks/{workspace-4wzn6ynj.js → workspace-9vahnyy7.js} +28 -28
- package/dist/chunks/{workspace-bykg0h2w.js → workspace-9xbfg64q.js} +19 -19
- package/dist/chunks/{workspace-2rcaaecz.js → workspace-9y1phk8d.js} +1 -1
- package/dist/chunks/{workspace-8f46hmee.js → workspace-a06prz70.js} +20 -20
- package/dist/chunks/{workspace-b6bbhee8.js → workspace-abbbc954.js} +8 -8
- package/dist/chunks/{workspace-3pmbcp29.js → workspace-afbv9f56.js} +11 -11
- package/dist/chunks/{workspace-7x9ad5fb.js → workspace-ag9h44v0.js} +14 -14
- package/dist/chunks/{workspace-nxqkj03p.js → workspace-at08srpc.js} +8 -8
- package/dist/chunks/{workspace-c576t1j6.js → workspace-awaee7qt.js} +8 -8
- package/dist/chunks/{workspace-5ckspze9.js → workspace-axap54jj.js} +8 -8
- package/dist/chunks/{workspace-sw8m2hmk.js → workspace-b1k9kv2n.js} +8 -8
- package/dist/chunks/{workspace-99xnga9r.js → workspace-b1y4xw0c.js} +36 -36
- package/dist/chunks/workspace-b5v1mx8b.js +247 -0
- package/dist/chunks/{workspace-81nm525f.js → workspace-b6qqpdm6.js} +55 -55
- package/dist/chunks/{workspace-36vsdr69.js → workspace-b77p7m16.js} +4 -4
- package/dist/chunks/{workspace-edvaqj4j.js → workspace-bamdfj5e.js} +17 -17
- package/dist/chunks/{workspace-gpkgrk3z.js → workspace-bb1hbs33.js} +1 -1
- package/dist/chunks/{workspace-ma1ffcb4.js → workspace-bkskxy8f.js} +44 -44
- package/dist/chunks/{workspace-sbrc3g05.js → workspace-bkspb416.js} +19 -19
- package/dist/chunks/{workspace-sjedy0tv.js → workspace-bwj64pp5.js} +16 -16
- package/dist/chunks/{workspace-3tvaxgfx.js → workspace-c18feh58.js} +1 -1
- package/dist/chunks/{workspace-5y7zc6aq.js → workspace-c3g05zxw.js} +22 -22
- package/dist/chunks/{workspace-xsa9y6rb.js → workspace-cdg01fgv.js} +41 -41
- package/dist/chunks/{workspace-ddt2bs9e.js → workspace-cxmh4q5b.js} +3 -3
- package/dist/chunks/{workspace-85x8f8aa.js → workspace-czs0ktc4.js} +10 -10
- package/dist/chunks/{workspace-sj94kzgm.js → workspace-d9ahw93n.js} +7 -7
- package/dist/chunks/{workspace-v432x66a.js → workspace-ddae212z.js} +7 -7
- package/dist/chunks/{workspace-mebjn8ym.js → workspace-dfw42t3p.js} +12 -12
- package/dist/chunks/{workspace-y71avatq.js → workspace-dpkg50ah.js} +3 -3
- package/dist/chunks/{workspace-6btbfb8s.js → workspace-dtqckzya.js} +41 -41
- package/dist/chunks/{workspace-tf9n79be.js → workspace-e2yf3awb.js} +12 -12
- package/dist/chunks/{workspace-eg4pr325.js → workspace-ec12g7es.js} +8 -8
- package/dist/chunks/{workspace-d711ctq6.js → workspace-eex63d85.js} +24 -24
- package/dist/chunks/{workspace-1bbkgx8g.js → workspace-eq1pz5kg.js} +2 -2
- package/dist/chunks/{workspace-5pe0hmxx.js → workspace-exkc4pmy.js} +37 -37
- package/dist/chunks/{workspace-1acjjqhc.js → workspace-f2n192rq.js} +3 -3
- package/dist/chunks/{workspace-j11eh89n.js → workspace-f6nj9trh.js} +6 -6
- package/dist/chunks/{workspace-9r1rwy3c.js → workspace-f9mpeqg9.js} +304 -304
- package/dist/chunks/{workspace-6zrzqgzk.js → workspace-fhkhfcy1.js} +17 -17
- package/dist/chunks/{workspace-m44s4ae7.js → workspace-fsgbf32s.js} +42 -42
- package/dist/chunks/{workspace-yf54mt1p.js → workspace-fwq62jz8.js} +10 -10
- package/dist/chunks/{workspace-n0pwvc8d.js → workspace-fytxjr0t.js} +7 -7
- package/dist/chunks/{workspace-hrvm11jt.js → workspace-g2dy4bvs.js} +1 -1
- package/dist/chunks/{workspace-d72308c8.js → workspace-g2gt0w0k.js} +1 -1
- package/dist/chunks/{workspace-4rpbkfyg.js → workspace-gcbqk2d7.js} +1 -1
- package/dist/chunks/{workspace-j1hn46j4.js → workspace-gct447md.js} +33 -33
- package/dist/chunks/{workspace-bjppfg2a.js → workspace-gjk639ka.js} +11 -11
- package/dist/chunks/{workspace-kn073nsz.js → workspace-gnqmzrre.js} +3 -3
- package/dist/chunks/{workspace-vy6h5a2r.js → workspace-gpygrshq.js} +12 -12
- package/dist/chunks/{workspace-nsk2d1xz.js → workspace-h7r2tngz.js} +4 -4
- package/dist/chunks/{workspace-x0dx6k02.js → workspace-h7wx8bsz.js} +6 -6
- package/dist/chunks/{workspace-g19vc6v7.js → workspace-hc4b3kyg.js} +3 -3
- package/dist/chunks/{workspace-2ahv2hha.js → workspace-hg7v30t9.js} +26 -26
- package/dist/chunks/{workspace-z10vnmxm.js → workspace-hzk3f3w9.js} +1 -1
- package/dist/chunks/{workspace-paphc93g.js → workspace-j935v87r.js} +2 -2
- package/dist/chunks/{workspace-mwb1rh8h.js → workspace-jcyemy94.js} +3 -3
- package/dist/chunks/{workspace-vwwkt776.js → workspace-jdnwrjf1.js} +1 -1
- package/dist/chunks/{workspace-3yfazbhv.js → workspace-jfg9vhtf.js} +19 -19
- package/dist/chunks/{workspace-pyfyb4h2.js → workspace-jkmpdwd3.js} +11 -11
- package/dist/chunks/{workspace-prf0khpv.js → workspace-jxf2m3z8.js} +9 -9
- package/dist/chunks/{workspace-79xc10f4.js → workspace-k2qp0rt7.js} +1 -1
- package/dist/chunks/{workspace-p28j91f1.js → workspace-kjy8w8s9.js} +81 -81
- package/dist/chunks/{workspace-dzqzmdsn.js → workspace-kk24zd2y.js} +13 -13
- package/dist/chunks/{workspace-55fasg25.js → workspace-ksa22b7h.js} +21 -21
- package/dist/chunks/{workspace-hw4pv20g.js → workspace-kvsjn1dr.js} +1 -1
- package/dist/chunks/{workspace-m27hrjtw.js → workspace-m2a4t0ng.js} +7 -7
- package/dist/chunks/{workspace-z8vgejr7.js → workspace-m4z9c59b.js} +43 -43
- package/dist/chunks/{workspace-92rbr2mf.js → workspace-mcq5m1bp.js} +30 -30
- package/dist/chunks/{workspace-de8s0qqs.js → workspace-mg8hyy97.js} +1 -1
- package/dist/chunks/{workspace-6hh8tjw2.js → workspace-mtq6xxnx.js} +6 -6
- package/dist/chunks/{workspace-sd6hqhqe.js → workspace-mze1x712.js} +7 -7
- package/dist/chunks/{workspace-0myjdyv6.js → workspace-n38qs1ar.js} +7 -7
- package/dist/chunks/{workspace-t8c6dkjz.js → workspace-n3znvsxj.js} +27 -27
- package/dist/chunks/{workspace-vz6qr5p1.js → workspace-n9mr47st.js} +5 -5
- package/dist/chunks/{workspace-6mj9xsav.js → workspace-nbs0ykfc.js} +14 -14
- package/dist/chunks/{workspace-4fzx0x4v.js → workspace-ncq58g3v.js} +4 -4
- package/dist/chunks/{workspace-fbvatgqx.js → workspace-ne3cepmn.js} +26 -26
- package/dist/chunks/{workspace-afv5t5ae.js → workspace-nrsethgr.js} +9 -9
- package/dist/chunks/{workspace-5359xvc8.js → workspace-ny0zxbyn.js} +9 -9
- package/dist/chunks/{workspace-y0v6q609.js → workspace-p0c3najj.js} +11 -11
- package/dist/chunks/{workspace-b0z70ywn.js → workspace-p3e4re21.js} +1 -1
- package/dist/chunks/{workspace-ngmekjny.js → workspace-p60her7w.js} +4 -4
- package/dist/chunks/{workspace-3vc8p5k6.js → workspace-p9cgh5cx.js} +21 -21
- package/dist/chunks/{workspace-tp4ca0ax.js → workspace-pbm9wdgf.js} +30 -30
- package/dist/chunks/{workspace-3pxrk450.js → workspace-pemtn248.js} +9 -9
- package/dist/chunks/{workspace-yvj5jp1z.js → workspace-pp31gxcz.js} +11 -11
- package/dist/chunks/{workspace-yk8npxfk.js → workspace-psyvadj8.js} +20 -20
- package/dist/chunks/{workspace-3h4fnpgw.js → workspace-pv0vz98j.js} +24 -24
- package/dist/chunks/{workspace-tx5ymanw.js → workspace-q5qz2hrf.js} +5 -5
- package/dist/chunks/{workspace-4ns6x4rf.js → workspace-qa94ex90.js} +21 -21
- package/dist/chunks/{workspace-1vvbdqbr.js → workspace-qccejtqg.js} +21 -21
- package/dist/chunks/{workspace-kj9qd3t9.js → workspace-qfd9qq71.js} +8 -8
- package/dist/chunks/{workspace-2k8khapm.js → workspace-qgn6gcr1.js} +4 -4
- package/dist/chunks/{workspace-mcz55ydv.js → workspace-qm9pz3et.js} +12 -12
- package/dist/chunks/{workspace-ahrrvtaa.js → workspace-qmg25s5q.js} +162 -162
- package/dist/chunks/{workspace-cmd5jf8k.js → workspace-qysxp9er.js} +19 -19
- package/dist/chunks/{workspace-zgzs5n0b.js → workspace-r47hbn5b.js} +10 -10
- package/dist/chunks/{workspace-03vfzkzq.js → workspace-rh332c7c.js} +2 -2
- package/dist/chunks/{workspace-1p8bnmch.js → workspace-rh6rd7ag.js} +3 -3
- package/dist/chunks/{workspace-m8f081sj.js → workspace-rwdnysg3.js} +7 -7
- package/dist/chunks/{workspace-pw75w6wp.js → workspace-ryedxqw8.js} +17 -17
- package/dist/chunks/{workspace-s3wt6vds.js → workspace-ryqbnfzy.js} +15 -15
- package/dist/chunks/{workspace-0hmtqxr6.js → workspace-s5jrt9bk.js} +27 -27
- package/dist/chunks/{workspace-dj748nyr.js → workspace-s9zss5my.js} +3 -3
- package/dist/chunks/{workspace-tppvcy65.js → workspace-saxt99x3.js} +7 -7
- package/dist/chunks/{workspace-amczc845.js → workspace-sds4a60k.js} +30 -30
- package/dist/chunks/{workspace-wpcfp9tf.js → workspace-sh5m21hz.js} +22 -22
- package/dist/chunks/{workspace-f0fy18t3.js → workspace-sknpz32n.js} +17 -17
- package/dist/chunks/{workspace-x7m1j1fp.js → workspace-srqy7nqv.js} +8 -8
- package/dist/chunks/{workspace-5sg91gv8.js → workspace-st8ckam6.js} +15 -15
- package/dist/chunks/{workspace-28rw05gp.js → workspace-t1p47b9f.js} +21 -21
- package/dist/chunks/{workspace-9cnpj473.js → workspace-tqqej2s1.js} +7 -7
- package/dist/chunks/{workspace-6hnqpqne.js → workspace-txphwyev.js} +26 -26
- package/dist/chunks/{workspace-qdyb70sk.js → workspace-vnkjks7b.js} +4 -4
- package/dist/chunks/{workspace-f5emzv0f.js → workspace-vvjeya7q.js} +9 -9
- package/dist/chunks/{workspace-jf5tw5w7.js → workspace-vy98q6ff.js} +4 -4
- package/dist/chunks/{workspace-6qwb5pya.js → workspace-w1ffcc9d.js} +5 -5
- package/dist/chunks/{workspace-2x6b75ng.js → workspace-w5485gdf.js} +3 -3
- package/dist/chunks/{workspace-85xbc70q.js → workspace-w66tyvvj.js} +14 -14
- package/dist/chunks/{workspace-5meqwk0k.js → workspace-wb6ak81q.js} +7 -7
- package/dist/chunks/{workspace-p2cy59ta.js → workspace-wgsrss7e.js} +32 -32
- package/dist/chunks/{workspace-ygys01m5.js → workspace-wpq5yy6w.js} +15 -15
- package/dist/chunks/{workspace-cx0fx8se.js → workspace-wrmermdg.js} +6 -6
- package/dist/chunks/{workspace-1nk2mnc0.js → workspace-x1kwdf2s.js} +3 -3
- package/dist/chunks/{workspace-7vxh8h3h.js → workspace-xejx5qen.js} +3 -3
- package/dist/chunks/{workspace-883yd3e0.js → workspace-xh6gx1cc.js} +58 -58
- package/dist/chunks/{workspace-rnaezqx7.js → workspace-xqv8zwv4.js} +20 -20
- package/dist/chunks/{workspace-tsvywdvc.js → workspace-xrnk9xnq.js} +25 -25
- package/dist/chunks/{workspace-4m93txkv.js → workspace-xtgr6bb3.js} +12 -12
- package/dist/chunks/{workspace-93a8yfjt.js → workspace-y2cqme3r.js} +3 -3
- package/dist/chunks/{workspace-wp7kaye5.js → workspace-y4zd5vcz.js} +26 -26
- package/dist/chunks/{workspace-94hfyg4q.js → workspace-ybebmfe9.js} +14 -14
- package/dist/chunks/{workspace-ajtjthsy.js → workspace-yg7sb877.js} +1 -1
- package/dist/chunks/{workspace-w1ym465x.js → workspace-yqw5t43k.js} +8 -8
- package/dist/chunks/{workspace-3hszvgvz.js → workspace-z1crwnwx.js} +7 -7
- package/dist/chunks/workspace-z5h5yern.js +4 -0
- package/dist/chunks/{workspace-3cm4x8pz.js → workspace-z78tg67p.js} +3 -3
- package/dist/chunks/{workspace-hr77wr0b.js → workspace-z7edr7q6.js} +2 -2
- package/dist/chunks/{workspace-1cngsnb6.js → workspace-ze4dnq9c.js} +19 -19
- package/dist/chunks/{workspace-42my878b.js → workspace-zfnpc7fv.js} +1 -1
- package/dist/chunks/{workspace-3ay2m3f4.js → workspace-zs01jzak.js} +12 -12
- package/dist/chunks/{workspace-mzq59fwg.js → workspace-zzjc6qzr.js} +28 -28
- package/dist/codemode/instructions.js +4 -4
- package/dist/command.js +69 -69
- package/dist/config/discovery.js +63 -63
- package/dist/config/normalize.js +16 -16
- package/dist/config/plugin/agent.js +96 -96
- package/dist/config/plugin/command.js +182 -182
- package/dist/config/plugin/compaction.js +130 -130
- package/dist/config/plugin/formatter.js +96 -96
- package/dist/config/plugin/image.js +94 -94
- package/dist/config/plugin/instruction.js +70 -70
- package/dist/config/plugin/location-watcher.js +96 -96
- package/dist/config/plugin/mcp.js +106 -106
- package/dist/config/plugin/policy.js +93 -93
- package/dist/config/plugin/provider.js +92 -92
- package/dist/config/plugin/reference.js +96 -96
- package/dist/config/plugin/shell.js +97 -97
- package/dist/config/plugin/skill-file.js +79 -79
- package/dist/config/plugin/skill.js +114 -114
- package/dist/config/plugin/snapshot.js +94 -94
- package/dist/config/plugin/source.js +96 -96
- package/dist/config/plugin/tool-output.js +96 -96
- package/dist/config/plugin/websearch.js +94 -94
- package/dist/config/plugin/worktree.js +97 -97
- package/dist/config/variable.js +2 -2
- package/dist/config.js +99 -99
- package/dist/credential.js +66 -66
- package/dist/database/database.js +56 -56
- package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +11 -11
- package/dist/database/migration.gen.js +36 -36
- package/dist/database/migration.js +38 -38
- package/dist/database/v1-migration.bun.js +14 -14
- package/dist/effect/app-node-builder.js +236 -236
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +71 -71
- package/dist/environment/index.js +73 -73
- package/dist/event-logger.js +14 -14
- package/dist/file-mutation.js +72 -72
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +196 -196
- package/dist/filesystem/search.js +80 -80
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +79 -79
- package/dist/form.js +69 -69
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +70 -70
- package/dist/generate.js +71 -71
- package/dist/git.js +6 -6
- 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 +7 -7
- package/dist/github-copilot/responses/openai-responses-language-model.js +8 -8
- 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 +316 -316
- package/dist/instruction-discovery.js +69 -69
- package/dist/instructions/builtins.js +66 -66
- package/dist/instructions/index.js +5 -5
- package/dist/integration.js +68 -68
- package/dist/job.js +62 -62
- package/dist/kv.js +57 -57
- package/dist/location-activity.js +63 -63
- package/dist/location-mutation.js +67 -67
- package/dist/location-service-map.js +69 -69
- package/dist/location-services.js +314 -314
- package/dist/location.js +70 -70
- package/dist/mcp/client.js +20 -20
- package/dist/mcp/index.js +84 -84
- package/dist/mcp/instructions.js +102 -102
- package/dist/mcp/stdio.js +68 -68
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +70 -70
- package/dist/model.js +8 -8
- package/dist/models-dev.js +70 -70
- package/dist/permission/saved.js +64 -64
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +91 -91
- package/dist/persistent-pty/index.js +68 -68
- package/dist/persistent-pty.js +56 -56
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +77 -77
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +187 -187
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +286 -286
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +61 -61
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +80 -80
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +97 -97
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +96 -96
- package/dist/plugin/provider/cloudflare-workers-ai.js +96 -96
- package/dist/plugin/provider/configured.js +94 -94
- package/dist/plugin/provider/github-copilot.js +64 -64
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +60 -60
- package/dist/plugin/provider/lmstudio.js +95 -95
- package/dist/plugin/provider/modal.js +63 -63
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +97 -97
- package/dist/plugin/provider/openai.js +63 -63
- package/dist/plugin/provider/opencode.js +60 -60
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +97 -97
- package/dist/plugin/provider/xai.js +61 -61
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +129 -129
- package/dist/plugin/sdk.js +57 -57
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +110 -110
- package/dist/plugin/supervisor.js +305 -305
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +67 -67
- package/dist/plugin/vcs/hg.js +67 -67
- package/dist/plugin/warming.js +92 -92
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/mcp.js +5 -5
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +195 -195
- package/dist/project/schema.js +7 -7
- package/dist/project/sql.js +2 -2
- package/dist/project.js +71 -71
- package/dist/provider.js +3 -3
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +79 -79
- package/dist/reference/instructions.js +70 -70
- package/dist/reference.js +72 -72
- package/dist/repository-cache.js +62 -62
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +75 -75
- package/dist/rpc.js +67 -67
- package/dist/session/command.js +58 -58
- package/dist/session/compaction.js +104 -104
- package/dist/session/context.js +124 -124
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +124 -124
- package/dist/session/execution.js +105 -105
- package/dist/session/generate.js +123 -123
- package/dist/session/history.js +10 -10
- package/dist/session/inbox.js +68 -68
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +63 -63
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +75 -75
- package/dist/session/model-request.js +89 -89
- package/dist/session/model-transport.js +3 -3
- package/dist/session/move.js +106 -106
- package/dist/session/projector.js +67 -67
- package/dist/session/prompt.js +83 -83
- package/dist/session/revert.js +69 -69
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +195 -195
- package/dist/session/runner/model.js +70 -70
- package/dist/session/runner/step.js +99 -99
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +144 -144
- package/dist/session/shell.js +109 -109
- package/dist/session/skill.js +81 -81
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +12 -12
- package/dist/session/store.js +66 -66
- package/dist/session/subagent-job.js +176 -176
- package/dist/session/title.js +127 -127
- package/dist/session/to-session-error.js +88 -88
- package/dist/session/transfer.js +124 -124
- package/dist/session.js +190 -190
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +110 -110
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +85 -85
- package/dist/skill.js +90 -90
- package/dist/snapshot.js +72 -72
- package/dist/tool/mcp.js +101 -101
- package/dist/tool/plugin/edit.js +95 -95
- package/dist/tool/plugin/glob.js +99 -99
- package/dist/tool/plugin/grep.js +99 -99
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +97 -97
- package/dist/tool/plugin/question.js +81 -81
- package/dist/tool/plugin/read.js +99 -99
- package/dist/tool/plugin/shell.js +186 -186
- package/dist/tool/plugin/skill.js +87 -87
- package/dist/tool/plugin/subagent.js +187 -187
- package/dist/tool/plugin/webfetch.js +86 -86
- package/dist/tool/plugin/websearch.js +92 -92
- package/dist/tool/plugin/write.js +95 -95
- package/dist/tool/read-filesystem.js +76 -76
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +11 -11
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +3 -3
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/vcs.js +70 -70
- package/dist/websearch.js +66 -66
- package/dist/wellknown/plugin.js +60 -60
- package/dist/wellknown.js +63 -63
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +65 -65
- package/dist/worktree/directory.js +3 -3
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/refresh.js +304 -304
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree.js +76 -76
- package/package.json +7 -7
- package/dist/chunks/workspace-9m2n3md9.js +0 -247
- package/dist/chunks/workspace-hh05q5c4.js +0 -22
- package/dist/chunks/workspace-w3vb4krt.js +0 -4
- /package/dist/chunks/{workspace-zkhm2pfg.js → workspace-20xfcnp3.js} +0 -0
- /package/dist/chunks/{workspace-8xd7p2c8.js → workspace-6npkw4fy.js} +0 -0
- /package/dist/chunks/{workspace-6vq97qmv.js → workspace-ce5fknq2.js} +0 -0
- /package/dist/chunks/{workspace-ma1hsyqq.js → workspace-p7ahaw0m.js} +0 -0
- /package/dist/chunks/{workspace-9qm9egsn.js → workspace-qvbcabdc.js} +0 -0
|
@@ -2,30 +2,30 @@ import {
|
|
|
2
2
|
ID15,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./workspace-
|
|
5
|
+
} from "./workspace-hc4b3kyg.js";
|
|
6
6
|
import {
|
|
7
7
|
ID14
|
|
8
|
-
} from "./workspace-
|
|
8
|
+
} from "./workspace-23gv0zdg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./workspace-
|
|
10
|
+
Service78
|
|
11
|
+
} from "./workspace-5bknnx47.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./workspace-
|
|
14
|
+
Event17
|
|
15
|
+
} from "./workspace-9vahnyy7.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID10,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./workspace-
|
|
19
|
+
} from "./workspace-1d38sp2d.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./workspace-
|
|
21
|
+
Service59
|
|
22
|
+
} from "./workspace-y4zd5vcz.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./workspace-
|
|
24
|
+
get2
|
|
25
|
+
} from "./workspace-p0c3najj.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./workspace-
|
|
28
|
+
} from "./workspace-6qtxtvv3.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID10.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service59;
|
|
159
|
+
const bus = yield* Service78;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
const provider = yield* catalog.provider.get(ID15.githubCopilot);
|
|
174
174
|
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID15.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -214,7 +214,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
220
|
if (evt.model.providerID !== ID15.githubCopilot)
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service49,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node52
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service49 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service49.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node52 = makeLocationNode({
|
|
143
|
+
service: Service49,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service49, node52, exports_tool_output2 };
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse5,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse5(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse4(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse5(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./workspace-
|
|
3
|
+
Service78,
|
|
4
|
+
node83
|
|
5
|
+
} from "./workspace-5bknnx47.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
8
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -14,7 +14,7 @@ __export(exports_sdk, {
|
|
|
14
14
|
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
16
|
layer: () => layer5,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -23,7 +23,7 @@ var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
|
23
23
|
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
25
|
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
|
-
const bus = yield*
|
|
26
|
+
const bus = yield* Service78;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
29
|
return Service4.of({
|
|
@@ -33,6 +33,6 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service4, layer: layer5, deps: [node83] });
|
|
37
37
|
|
|
38
|
-
export { Updated2, Service4, layer5,
|
|
38
|
+
export { Updated2, Service4, layer5, node7, exports_sdk };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./workspace-
|
|
2
|
+
Service66,
|
|
3
|
+
node69
|
|
4
|
+
} from "./workspace-fsgbf32s.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -9,25 +9,25 @@ import {
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info24,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref3,
|
|
15
|
+
Service: () => Service64,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node67,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info24, Ref as Ref3, response as response2 } from "@opencode-ai/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode-ai/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode-ai/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service64 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node67 = LayerNode.unbound(Service64, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service66;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service64.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service64,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node69]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info24, Ref3, response2, Service64, node67, boundNode2, exports_location };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./workspace-
|
|
3
|
+
} from "./workspace-6qtxtvv3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./workspace-
|
|
5
|
+
Service78
|
|
6
|
+
} from "./workspace-5bknnx47.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./workspace-
|
|
9
|
+
Event17
|
|
10
|
+
} from "./workspace-9vahnyy7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./workspace-
|
|
14
|
+
} from "./workspace-1d38sp2d.js";
|
|
15
15
|
import {
|
|
16
16
|
ID15,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./workspace-
|
|
20
|
+
} from "./workspace-hc4b3kyg.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
23
|
} from "./workspace-1kg9ymc8.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./workspace-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./workspace-
|
|
29
|
+
} from "./workspace-fytxjr0t.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var AzurePlugin2 = define({
|
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
60
|
const configured = yield* configuredSettings2(ID15.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
|
-
const bus = yield*
|
|
62
|
+
const bus = yield* Service78;
|
|
63
63
|
const tokens = new Map;
|
|
64
64
|
const loading = Semaphore.makeUnsafe(1);
|
|
65
65
|
const loaded = {};
|
|
@@ -167,7 +167,7 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(
|
|
170
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
172
|
if (evt.model.providerID !== ID15.azure)
|
|
173
173
|
return;
|
|
@@ -9,16 +9,16 @@ __export(exports_app, {
|
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured10,
|
|
11
11
|
layer: () => layer24,
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node77,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var layer24 = (input) => Layer.succeed(Metadata2,
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
32
|
var configured10 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
-
var
|
|
33
|
+
var node77 = configured10();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer24, configured10, node77, exports_app };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./workspace-
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./workspace-5bknnx47.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./workspace-
|
|
6
|
+
Service64,
|
|
7
|
+
node67
|
|
8
|
+
} from "./workspace-6q7f5vec.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./workspace-
|
|
10
|
+
Service53,
|
|
11
|
+
node56
|
|
12
|
+
} from "./workspace-jfg9vhtf.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
15
|
} from "./workspace-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service56,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./workspace-
|
|
19
|
+
node59
|
|
20
|
+
} from "./workspace-08vfff8d.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./workspace-
|
|
22
|
+
Service77,
|
|
23
|
+
node82
|
|
24
|
+
} from "./workspace-02shy59d.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./workspace-
|
|
26
|
+
Service46,
|
|
27
|
+
node49
|
|
28
|
+
} from "./workspace-tqqej2s1.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./workspace-
|
|
31
|
+
} from "./workspace-x1kwdf2s.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./workspace-
|
|
34
|
+
Service47,
|
|
35
|
+
node50
|
|
36
|
+
} from "./workspace-m4z9c59b.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./workspace-
|
|
40
|
+
} from "./workspace-6a580c52.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
43
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -48,10 +48,10 @@ __export(exports_shell4, {
|
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
49
|
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service45,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node48
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service45 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service78;
|
|
91
|
+
const location = yield* Service64;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service56;
|
|
94
|
+
const environment = yield* Service53;
|
|
95
|
+
const hooks = yield* Service77;
|
|
96
|
+
const environments = yield* Service46;
|
|
97
|
+
const config = yield* Service47;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service45.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node48 = makeLocationNode({
|
|
320
|
+
service: Service45,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node83,
|
|
324
|
+
node67,
|
|
325
325
|
Global.node,
|
|
326
|
+
node59,
|
|
326
327
|
node56,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
node58,
|
|
328
|
+
node82,
|
|
329
|
+
node49,
|
|
330
|
+
node50,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { NotFoundError6, RETENTION2, DIRECTORY2,
|
|
335
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service45, cleanup2, node48, exports_shell4 };
|
|
@@ -5,29 +5,29 @@ import {
|
|
|
5
5
|
RelativePath2
|
|
6
6
|
} from "./workspace-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./workspace-
|
|
8
|
+
Service64
|
|
9
|
+
} from "./workspace-6q7f5vec.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./workspace-
|
|
11
|
+
Service53
|
|
12
|
+
} from "./workspace-jfg9vhtf.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./workspace-
|
|
15
|
+
Service38
|
|
16
|
+
} from "./workspace-1f056xm7.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./workspace-
|
|
23
|
+
} from "./workspace-qa94ex90.js";
|
|
24
24
|
import {
|
|
25
25
|
externalDirectoryPermission2,
|
|
26
|
-
|
|
27
|
-
} from "./workspace-
|
|
26
|
+
Service50
|
|
27
|
+
} from "./workspace-ybebmfe9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./workspace-
|
|
29
|
+
Service39
|
|
30
|
+
} from "./workspace-b6qqpdm6.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
33
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -36,17 +36,17 @@ import {
|
|
|
36
36
|
var exports_grep = {};
|
|
37
37
|
__export(exports_grep, {
|
|
38
38
|
GrepTool: () => exports_grep,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
39
|
+
Input: () => Input12,
|
|
40
|
+
Output: () => Output8,
|
|
41
|
+
Plugin: () => Plugin14,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
46
46
|
import { Effect, Schema } from "effect";
|
|
47
47
|
import path from "path";
|
|
48
|
-
var
|
|
49
|
-
var
|
|
48
|
+
var name12 = "grep";
|
|
49
|
+
var Input12 = Schema.Struct({
|
|
50
50
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
51
51
|
description: "Regular expression or literal text to match in file contents."
|
|
52
52
|
}),
|
|
@@ -66,8 +66,8 @@ var Input4 = Schema.Struct({
|
|
|
66
66
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
|
-
var
|
|
70
|
-
var
|
|
69
|
+
var Output8 = Schema.Array(Match2);
|
|
70
|
+
var toModelContent6 = (matches, truncated = false) => {
|
|
71
71
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
72
72
|
let current = "";
|
|
73
73
|
for (const match of matches) {
|
|
@@ -84,20 +84,20 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
84
84
|
return lines.join(`
|
|
85
85
|
`);
|
|
86
86
|
};
|
|
87
|
-
var
|
|
87
|
+
var Plugin14 = {
|
|
88
88
|
id: "opencode.tool.grep",
|
|
89
89
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
90
|
-
const environment = yield*
|
|
91
|
-
const ripgrep = yield*
|
|
92
|
-
const location = yield*
|
|
93
|
-
const mutation = yield*
|
|
94
|
-
const permission = yield*
|
|
90
|
+
const environment = yield* Service53;
|
|
91
|
+
const ripgrep = yield* Service38;
|
|
92
|
+
const location = yield* Service64;
|
|
93
|
+
const mutation = yield* Service50;
|
|
94
|
+
const permission = yield* Service39;
|
|
95
95
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
96
|
-
name:
|
|
96
|
+
name: name12,
|
|
97
97
|
options: { codemode: false },
|
|
98
98
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
99
|
-
input:
|
|
100
|
-
output:
|
|
99
|
+
input: Input12,
|
|
100
|
+
output: Output8,
|
|
101
101
|
execute: (input, context) => Effect.gen(function* () {
|
|
102
102
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
103
103
|
const target = yield* mutation.resolve({ path: input.path ?? "." });
|
|
@@ -109,7 +109,7 @@ var Plugin36 = {
|
|
|
109
109
|
source
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name12,
|
|
113
113
|
resources: [input.pattern],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: {
|
|
@@ -151,7 +151,7 @@ var Plugin36 = {
|
|
|
151
151
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
152
152
|
}).pipe(Effect.map((result) => ({
|
|
153
153
|
output: result.matches,
|
|
154
|
-
content:
|
|
154
|
+
content: toModelContent6(result.matches.map((match) => ({
|
|
155
155
|
...match,
|
|
156
156
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
157
157
|
})), result.truncated),
|
|
@@ -161,4 +161,4 @@ var Plugin36 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { name12, Input12, Output8, toModelContent6, Plugin14, exports_grep };
|