@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
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./workspace-
|
|
3
|
+
} from "./workspace-6qtxtvv3.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./workspace-
|
|
6
|
+
Service69
|
|
7
|
+
} from "./workspace-9vahnyy7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./workspace-
|
|
11
|
+
} from "./workspace-1d38sp2d.js";
|
|
12
12
|
import {
|
|
13
13
|
ID15
|
|
14
|
-
} from "./workspace-
|
|
14
|
+
} from "./workspace-hc4b3kyg.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID10.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service69;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID10.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./workspace-
|
|
2
|
+
ID10,
|
|
3
|
+
Service60
|
|
4
|
+
} from "./workspace-1d38sp2d.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./workspace-
|
|
8
|
+
} from "./workspace-hc4b3kyg.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service60;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID10.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./workspace-
|
|
4
|
+
} from "./workspace-hc4b3kyg.js";
|
|
5
5
|
import {
|
|
6
6
|
ID14
|
|
7
|
-
} from "./workspace-
|
|
7
|
+
} from "./workspace-23gv0zdg.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key4,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode-ai/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key4 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key4
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./workspace-
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./workspace-fwq62jz8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./workspace-
|
|
6
|
+
ID18,
|
|
7
|
+
Service73,
|
|
8
|
+
node78
|
|
9
|
+
} from "./workspace-2z94zwvq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./workspace-
|
|
11
|
+
Service59,
|
|
12
|
+
node62
|
|
13
|
+
} from "./workspace-y4zd5vcz.js";
|
|
14
14
|
import {
|
|
15
15
|
combine2
|
|
16
|
-
} from "./workspace-
|
|
16
|
+
} from "./workspace-75yf2d83.js";
|
|
17
17
|
import {
|
|
18
18
|
make13
|
|
19
|
-
} from "./workspace-
|
|
19
|
+
} from "./workspace-pemtn248.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./workspace-
|
|
21
|
+
Service74,
|
|
22
|
+
node79
|
|
23
|
+
} from "./workspace-83rwgn00.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./workspace-
|
|
25
|
+
Service64,
|
|
26
|
+
node67
|
|
27
|
+
} from "./workspace-6q7f5vec.js";
|
|
28
28
|
import {
|
|
29
29
|
Service21,
|
|
30
|
-
|
|
31
|
-
} from "./workspace-
|
|
30
|
+
node26
|
|
31
|
+
} from "./workspace-nbs0ykfc.js";
|
|
32
32
|
import {
|
|
33
33
|
AgentNotFoundError2
|
|
34
|
-
} from "./workspace-
|
|
34
|
+
} from "./workspace-2q6fffbt.js";
|
|
35
35
|
import {
|
|
36
36
|
entriesForRunner2
|
|
37
|
-
} from "./workspace-
|
|
38
|
-
import {
|
|
39
|
-
Service64,
|
|
40
|
-
node68
|
|
41
|
-
} from "./workspace-zn8trsas.js";
|
|
37
|
+
} from "./workspace-yqw5t43k.js";
|
|
42
38
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./workspace-
|
|
39
|
+
Service41,
|
|
40
|
+
node44
|
|
41
|
+
} from "./workspace-1az13xbf.js";
|
|
46
42
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./workspace-
|
|
43
|
+
Service75,
|
|
44
|
+
node80
|
|
45
|
+
} from "./workspace-9xbfg64q.js";
|
|
50
46
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./workspace-
|
|
47
|
+
Service20,
|
|
48
|
+
node25
|
|
49
|
+
} from "./workspace-2ymxnyba.js";
|
|
54
50
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./workspace-
|
|
51
|
+
Service17,
|
|
52
|
+
node22
|
|
53
|
+
} from "./workspace-pv0vz98j.js";
|
|
58
54
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./workspace-
|
|
55
|
+
Service18,
|
|
56
|
+
node23
|
|
57
|
+
} from "./workspace-qysxp9er.js";
|
|
62
58
|
import {
|
|
63
59
|
Service23,
|
|
64
60
|
node27
|
|
65
|
-
} from "./workspace-
|
|
61
|
+
} from "./workspace-1dsg2200.js";
|
|
62
|
+
import {
|
|
63
|
+
Service19,
|
|
64
|
+
node24
|
|
65
|
+
} from "./workspace-bkspb416.js";
|
|
66
66
|
import {
|
|
67
67
|
Service24,
|
|
68
68
|
node28
|
|
69
|
-
} from "./workspace-
|
|
69
|
+
} from "./workspace-ryedxqw8.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./workspace-
|
|
71
|
+
Service33,
|
|
72
|
+
node36
|
|
73
|
+
} from "./workspace-0cnhv3qf.js";
|
|
74
74
|
import {
|
|
75
75
|
__export
|
|
76
76
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -78,34 +78,34 @@ import {
|
|
|
78
78
|
// src/session/context.ts
|
|
79
79
|
var exports_context = {};
|
|
80
80
|
__export(exports_context, {
|
|
81
|
-
Service: () =>
|
|
81
|
+
Service: () => Service16,
|
|
82
82
|
SessionContext: () => exports_context,
|
|
83
|
-
node: () =>
|
|
83
|
+
node: () => node21
|
|
84
84
|
});
|
|
85
85
|
import { Model } from "@opencode-ai/schema/model";
|
|
86
86
|
import { Context, Effect, Layer } from "effect";
|
|
87
87
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
88
|
-
class
|
|
88
|
+
class Service16 extends Context.Service()("@opencode/SessionContext") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
91
|
-
const agents = yield*
|
|
90
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
91
|
+
const agents = yield* Service73;
|
|
92
92
|
const builtins = yield* Service21;
|
|
93
|
-
const catalog = yield*
|
|
94
|
-
const db = (yield*
|
|
95
|
-
const discovery = yield*
|
|
96
|
-
const entries = yield*
|
|
97
|
-
const location = yield*
|
|
98
|
-
const mcpInstructions = yield*
|
|
99
|
-
const mcpTools = yield*
|
|
100
|
-
const models = yield*
|
|
93
|
+
const catalog = yield* Service59;
|
|
94
|
+
const db = (yield* Service79).db;
|
|
95
|
+
const discovery = yield* Service74;
|
|
96
|
+
const entries = yield* Service19;
|
|
97
|
+
const location = yield* Service64;
|
|
98
|
+
const mcpInstructions = yield* Service17;
|
|
99
|
+
const mcpTools = yield* Service20;
|
|
100
|
+
const models = yield* Service33;
|
|
101
101
|
const modelRequests = yield* Service24;
|
|
102
|
-
const referenceInstructions = yield*
|
|
103
|
-
const skillInstructions = yield*
|
|
104
|
-
const store = yield*
|
|
105
|
-
const registry = yield*
|
|
102
|
+
const referenceInstructions = yield* Service18;
|
|
103
|
+
const skillInstructions = yield* Service23;
|
|
104
|
+
const store = yield* Service41;
|
|
105
|
+
const registry = yield* Service75;
|
|
106
106
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
107
107
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
108
|
-
const agent = yield* agents.get(
|
|
108
|
+
const agent = yield* agents.get(ID18.make("title"));
|
|
109
109
|
if (!agent)
|
|
110
110
|
return;
|
|
111
111
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -180,29 +180,29 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
180
180
|
tools: selection.tools
|
|
181
181
|
};
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service16.of({ select, load, resolveModel, selectTitle, prepare: modelRequests.prepare });
|
|
184
184
|
}));
|
|
185
185
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
186
|
-
var
|
|
187
|
-
service:
|
|
186
|
+
var node21 = makeLocationNode({
|
|
187
|
+
service: Service16,
|
|
188
188
|
layer,
|
|
189
189
|
deps: [
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
node25,
|
|
194
|
-
node51,
|
|
195
|
-
node27,
|
|
196
|
-
node81,
|
|
190
|
+
node78,
|
|
191
|
+
node62,
|
|
192
|
+
node84,
|
|
197
193
|
node26,
|
|
198
|
-
|
|
199
|
-
node30,
|
|
200
|
-
node42,
|
|
201
|
-
node28,
|
|
202
|
-
node68,
|
|
194
|
+
node79,
|
|
203
195
|
node24,
|
|
204
|
-
|
|
196
|
+
node67,
|
|
197
|
+
node22,
|
|
198
|
+
node25,
|
|
199
|
+
node23,
|
|
200
|
+
node36,
|
|
201
|
+
node28,
|
|
202
|
+
node44,
|
|
203
|
+
node27,
|
|
204
|
+
node80
|
|
205
205
|
]
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
-
export {
|
|
208
|
+
export { Service16, node21, exports_context };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service71
|
|
3
|
-
} from "./workspace-2ahv2hha.js";
|
|
4
1
|
import {
|
|
5
2
|
Service62
|
|
6
|
-
} from "./workspace-
|
|
3
|
+
} from "./workspace-hg7v30t9.js";
|
|
4
|
+
import {
|
|
5
|
+
Service39
|
|
6
|
+
} from "./workspace-b6qqpdm6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID8,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./workspace-
|
|
13
|
+
Service51
|
|
14
|
+
} from "./workspace-eex63d85.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
17
|
} from "./workspace-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input11,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin12,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name11 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input11 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID8,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin12 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service39;
|
|
53
|
+
const forms = yield* Service62;
|
|
54
|
+
const websearch = yield* Service51;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name11,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input11,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name11,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name11];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name11, NO_RESULTS2, description5, Input11, Plugin12, exports_websearch };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./workspace-
|
|
2
|
+
Service78
|
|
3
|
+
} from "./workspace-5bknnx47.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./workspace-
|
|
5
|
+
Service35
|
|
6
|
+
} from "./workspace-c3g05zxw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./workspace-
|
|
8
|
+
Error5
|
|
9
|
+
} from "./workspace-9xbfg64q.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./workspace-
|
|
11
|
+
Service49
|
|
12
|
+
} from "./workspace-6a580c52.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./workspace-
|
|
15
|
+
} from "./workspace-2q6fffbt.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
18
|
} from "./workspace-mntxs535.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./workspace-
|
|
21
|
+
} from "./workspace-p60her7w.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
24
|
} from "./workspace-tjykrgmx.js";
|
|
@@ -37,7 +37,7 @@ var exports_step = {};
|
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service35;
|
|
58
|
+
const toolOutput = yield* Service49;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make8 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./workspace-
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./workspace-fwq62jz8.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./workspace-
|
|
7
|
+
} from "./workspace-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./workspace-
|
|
11
|
+
node76
|
|
12
|
+
} from "./workspace-wb6ak81q.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
15
|
} from "./workspace-faypxj3z.js";
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service72,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured9,
|
|
30
|
+
node: () => node75
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode-ai/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID17 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info31 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID17,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info23 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID17 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID17,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service72 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service72,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node84, node76]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service79).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info31({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service72.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID17.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node75 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID17, Info31, NotFound3, CreateConflict2, Service72, configured9, node75, exports_workspace };
|