@opencode/core 0.0.0-dev-19438 → 0.0.0-dev-19440
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 +70 -70
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +62 -62
- package/dist/catalog.js +70 -70
- package/dist/chunks/{file-2cmcktmr.js → file-01x5ayvb.js} +9 -9
- package/dist/chunks/{file-3fj0ehej.js → file-0a423ajn.js} +38 -38
- package/dist/chunks/{file-xr2q0tqq.js → file-0ccn345w.js} +21 -21
- package/dist/chunks/{file-jjwvsmw4.js → file-0gb42mpy.js} +1 -1
- package/dist/chunks/{file-t550f9t1.js → file-0gdmqesm.js} +3 -3
- package/dist/chunks/{file-g713qgch.js → file-0j7s38gp.js} +21 -21
- package/dist/chunks/{file-p1nm93x7.js → file-0r7yqxbf.js} +3 -3
- package/dist/chunks/{file-m4w483hc.js → file-10m077g0.js} +6 -6
- package/dist/chunks/{file-614n5vxr.js → file-11rr1j9z.js} +14 -14
- package/dist/chunks/{file-s3h59be2.js → file-1dgfjwgv.js} +17 -17
- package/dist/chunks/{file-75v5avbv.js → file-1kz1ep11.js} +7 -7
- package/dist/chunks/{file-td1bwv9m.js → file-1nepfxaz.js} +8 -8
- package/dist/chunks/{file-cqyrr4jp.js → file-1qvh4tdd.js} +89 -89
- package/dist/chunks/{file-5trk58xb.js → file-1vtz46z8.js} +7 -7
- package/dist/chunks/{file-ht5y0zrb.js → file-1x11rq2a.js} +4 -4
- package/dist/chunks/{file-31hyewty.js → file-1zpv7ff7.js} +42 -42
- package/dist/chunks/{file-6h73sxmp.js → file-2402vzrj.js} +4 -4
- package/dist/chunks/{file-awz7xhfp.js → file-29vcxy2s.js} +4 -4
- package/dist/chunks/{file-mdcc0ar8.js → file-2a02pqey.js} +23 -23
- package/dist/chunks/{file-3n1sj9mp.js → file-2dwxz9nb.js} +1 -1
- package/dist/chunks/{file-3trbxeqx.js → file-2jhvch9f.js} +1 -1
- package/dist/chunks/{file-fq1h1v14.js → file-2w8gt3dc.js} +3 -3
- package/dist/chunks/{file-wb1yzg53.js → file-31k57cnn.js} +17 -17
- package/dist/chunks/{file-fydnx5fx.js → file-34y33xw8.js} +33 -33
- package/dist/chunks/{file-befft0k5.js → file-39ydjj0q.js} +13 -13
- package/dist/chunks/{file-k2cps1w2.js → file-3e0re2er.js} +12 -12
- package/dist/chunks/{file-m20ewzpv.js → file-3q86das3.js} +29 -29
- package/dist/chunks/{file-3w2b2yj4.js → file-3w0fmcng.js} +3 -3
- package/dist/chunks/{file-qefhz522.js → file-40bxqg89.js} +9 -9
- package/dist/chunks/{file-ngx16gc5.js → file-41nzdzyt.js} +11 -11
- package/dist/chunks/{file-zn15gz72.js → file-47rg0syt.js} +14 -14
- package/dist/chunks/{file-t3ejw313.js → file-4gxnfwsp.js} +40 -40
- package/dist/chunks/{file-1tx98gn3.js → file-4k1x48fq.js} +12 -12
- package/dist/chunks/{file-q5sxxe7s.js → file-4qk82zqm.js} +19 -19
- package/dist/chunks/{file-ntp00jbn.js → file-4zqvh54v.js} +48 -48
- package/dist/chunks/{file-g5twr0sp.js → file-51b1p1nf.js} +13 -13
- package/dist/chunks/{file-b3xk0srv.js → file-53kvdkfc.js} +44 -44
- package/dist/chunks/{file-wh05710z.js → file-54xwtjdq.js} +37 -37
- package/dist/chunks/{file-6bg31a94.js → file-56pp0xdw.js} +16 -16
- package/dist/chunks/{file-1enyjv7v.js → file-5ahbvy81.js} +12 -12
- package/dist/chunks/{file-664j63h8.js → file-5eep6mvg.js} +14 -14
- package/dist/chunks/{file-9k2v62xn.js → file-5k8nf3y0.js} +1 -1
- package/dist/chunks/{file-1302kqpv.js → file-5t76y6t3.js} +59 -59
- package/dist/chunks/{file-wkwfxgj3.js → file-5tvb4m4x.js} +2 -2
- package/dist/chunks/{file-rb7pkpgx.js → file-5wd13403.js} +25 -25
- package/dist/chunks/{file-9ch41db7.js → file-5zjhyd44.js} +42 -42
- package/dist/chunks/{file-52az7e5h.js → file-6brzmxsm.js} +17 -17
- package/dist/chunks/{file-e3qzfmye.js → file-6cwg1y4g.js} +17 -17
- package/dist/chunks/{file-b8n110tt.js → file-6cxvyk5r.js} +4 -4
- package/dist/chunks/{file-fjmrr6sh.js → file-6d9mz4vp.js} +7 -7
- package/dist/chunks/{file-8s84r2ab.js → file-6kaqw02d.js} +17 -17
- package/dist/chunks/{file-2rk3das1.js → file-6tp3trja.js} +14 -14
- package/dist/chunks/{file-03zt5v0h.js → file-6wbs09gh.js} +11 -11
- package/dist/chunks/{file-d5n4bh35.js → file-6z8rkrt2.js} +22 -22
- package/dist/chunks/{file-79rym0vx.js → file-75kte9jx.js} +17 -17
- package/dist/chunks/{file-ms6rwfbv.js → file-7c6e5y81.js} +29 -29
- package/dist/chunks/{file-ec8389mk.js → file-7sqxeqwy.js} +3 -3
- package/dist/chunks/{file-jvdqbckk.js → file-81wjxh2j.js} +15 -15
- package/dist/chunks/{file-ypy1tgyh.js → file-84k0ms65.js} +12 -12
- package/dist/chunks/{file-6jnybvqn.js → file-84zt2byv.js} +7 -7
- package/dist/chunks/{file-37y0x4sa.js → file-85y38j38.js} +12 -12
- package/dist/chunks/{file-hq8zt1th.js → file-8a2qdx2a.js} +5 -5
- package/dist/chunks/{file-m2eczmet.js → file-8b4f4643.js} +289 -289
- package/dist/chunks/{file-t9qhnrv6.js → file-8st6sg7d.js} +5 -5
- package/dist/chunks/{file-xbet31bz.js → file-8tf464ev.js} +29 -29
- package/dist/chunks/{file-v9n7g2jp.js → file-8va43b33.js} +49 -49
- package/dist/chunks/{file-rn18s34v.js → file-8ygr8afe.js} +6 -6
- package/dist/chunks/{file-56j57pys.js → file-90hac4w7.js} +13 -13
- package/dist/chunks/{file-3kff94q5.js → file-915t83ht.js} +6 -6
- package/dist/chunks/{file-ew6y6y1a.js → file-92e8bh4d.js} +27 -27
- package/dist/chunks/{file-4qbtf2xm.js → file-9ev7wkx2.js} +4 -4
- package/dist/chunks/{file-q043d12m.js → file-9khdf5s3.js} +10 -10
- package/dist/chunks/{file-0cq9sm51.js → file-9pazyhrx.js} +26 -26
- package/dist/chunks/{file-z2rxccdg.js → file-a12ktaww.js} +4 -4
- package/dist/chunks/{file-he3a9kdv.js → file-a1ttd06w.js} +27 -27
- package/dist/chunks/{file-8pnwjqbd.js → file-ad4c86qp.js} +20 -20
- package/dist/chunks/{file-dx6t03ys.js → file-ah20z6ve.js} +1 -1
- package/dist/chunks/{file-zts5fb25.js → file-akrnn5pm.js} +9 -9
- package/dist/chunks/{file-99tcg3bm.js → file-apktd9aw.js} +9 -9
- package/dist/chunks/{file-xe3tttza.js → file-aqnnbpn3.js} +10 -10
- package/dist/chunks/{file-rbb6h0rd.js → file-arsacetm.js} +9 -9
- package/dist/chunks/{file-ja6srv6s.js → file-avp3hhf2.js} +20 -20
- package/dist/chunks/{file-8x96bj0m.js → file-b27vhd2z.js} +6 -6
- package/dist/chunks/{file-416qpt5q.js → file-b3yz7px1.js} +22 -22
- package/dist/chunks/{file-ashvqh0k.js → file-b5v58ftx.js} +6 -6
- package/dist/chunks/{file-azec8exe.js → file-bez9jb7v.js} +6 -6
- package/dist/chunks/{file-jxj1g7d6.js → file-bjwja24f.js} +1 -1
- package/dist/chunks/{file-s7vx81dz.js → file-bnd8m4xr.js} +7 -7
- package/dist/chunks/{file-34202413.js → file-bsre5g92.js} +20 -20
- package/dist/chunks/{file-gj7pn1ka.js → file-bty97h6q.js} +10 -10
- package/dist/chunks/{file-bv5t9bgg.js → file-bz5k20yh.js} +10 -10
- package/dist/chunks/{file-reygygas.js → file-c0q0hmxn.js} +4 -4
- package/dist/chunks/{file-w6vgwbtw.js → file-c6090g2y.js} +20 -20
- package/dist/chunks/{file-b3ab3ctg.js → file-c7vqgbdp.js} +5 -5
- package/dist/chunks/{file-8kpa3sfw.js → file-caevyejh.js} +26 -26
- package/dist/chunks/{file-p7r5e3re.js → file-cef1ew0c.js} +25 -25
- package/dist/chunks/{file-qcv4hsrb.js → file-cqf55qpv.js} +12 -12
- package/dist/chunks/{file-zfv8a0ht.js → file-ct16t8sn.js} +13 -13
- package/dist/chunks/{file-1vd4786e.js → file-cw20kccn.js} +7 -7
- package/dist/chunks/{file-famamp43.js → file-cxgbd94q.js} +19 -19
- package/dist/chunks/{file-mrw4weg4.js → file-d1jmswd2.js} +4 -4
- package/dist/chunks/{file-an7cqtb7.js → file-dfe8djrf.js} +3 -3
- package/dist/chunks/{file-jwcy2c2z.js → file-dpkg50ah.js} +3 -3
- package/dist/chunks/{file-bxsmgxt8.js → file-dqjwa780.js} +9 -9
- package/dist/chunks/{file-8qqdnwax.js → file-dv8j6wzk.js} +11 -11
- package/dist/chunks/{file-gzbkpp9m.js → file-dwvzh0g2.js} +5 -5
- package/dist/chunks/{file-195b9hkp.js → file-e4jhm3j4.js} +25 -25
- package/dist/chunks/{file-7ebn0nc0.js → file-e6hd9jay.js} +5 -5
- package/dist/chunks/{file-a28msnrx.js → file-efd2tswm.js} +1 -1
- package/dist/chunks/{file-3yknbgq7.js → file-eg6tdpbh.js} +10 -10
- package/dist/chunks/{file-szgy4byf.js → file-epd1fg1b.js} +1 -1
- package/dist/chunks/{file-4rpd5z62.js → file-etq9z835.js} +1 -1
- package/dist/chunks/{file-dgbe4bt1.js → file-f0w7qnfr.js} +17 -17
- package/dist/chunks/{file-nmwa5e32.js → file-f40nw3s4.js} +13 -13
- package/dist/chunks/{file-xp2ajnz8.js → file-f7xc3wa1.js} +19 -19
- package/dist/chunks/{file-d86az2qg.js → file-fmhfve32.js} +20 -20
- package/dist/chunks/{file-ck83t0ny.js → file-fpm9cd7c.js} +29 -29
- package/dist/chunks/{file-9v3118pd.js → file-fz45jgbm.js} +26 -26
- package/dist/chunks/{file-h2gyv3sg.js → file-g08h86t3.js} +1 -1
- package/dist/chunks/{file-t33aqq77.js → file-g1sb636y.js} +6 -6
- package/dist/chunks/{file-bxxxhdn8.js → file-gctttn65.js} +22 -22
- package/dist/chunks/{file-3fc6dm20.js → file-gdvy8fx6.js} +3 -3
- package/dist/chunks/{file-67mjd9te.js → file-gsnb458g.js} +7 -7
- package/dist/chunks/{file-kyrbgmgz.js → file-gz2y2193.js} +1 -1
- package/dist/chunks/{file-gqzswqpg.js → file-h7nxn43q.js} +30 -30
- package/dist/chunks/{file-xnn90w67.js → file-ha2h0zjh.js} +26 -26
- package/dist/chunks/{file-e7c5hh0v.js → file-heer32bb.js} +7 -7
- package/dist/chunks/{file-sb15f9kd.js → file-hgyq7eg6.js} +20 -20
- package/dist/chunks/{file-e6g776ht.js → file-hgz4ddpy.js} +11 -11
- package/dist/chunks/{file-nmpjh5tr.js → file-hjkgy200.js} +22 -22
- package/dist/chunks/{file-yt0fqk68.js → file-hkfg6fzm.js} +3 -3
- package/dist/chunks/{file-9ay0erd8.js → file-hqt9f5hj.js} +172 -172
- package/dist/chunks/{file-7yh4e7ss.js → file-j028xdjb.js} +2 -2
- package/dist/chunks/{file-xacpwbjs.js → file-j0hyjfyk.js} +7 -7
- package/dist/chunks/{file-wxg97684.js → file-j1dc1ckq.js} +25 -25
- package/dist/chunks/{file-5z7h86dp.js → file-j1k07czg.js} +2 -2
- package/dist/chunks/{file-embw8kgh.js → file-jj3qxa52.js} +3 -3
- package/dist/chunks/{file-b3c6xmwh.js → file-jk47m7qg.js} +16 -16
- package/dist/chunks/{file-9vqmh8rd.js → file-jtkkm2qn.js} +20 -20
- package/dist/chunks/{file-rctdwqm8.js → file-jzd3sdz4.js} +9 -9
- package/dist/chunks/{file-tfg00z1r.js → file-jzd96n45.js} +14 -14
- package/dist/chunks/{file-0p4j4cv0.js → file-jzzy94zk.js} +8 -8
- package/dist/chunks/{file-vabb23s0.js → file-kaaek4yc.js} +1 -1
- package/dist/chunks/{file-1wv7z5mx.js → file-kegs65m0.js} +25 -25
- package/dist/chunks/{file-y2vrj84a.js → file-kt5w8vxh.js} +8 -8
- package/dist/chunks/{file-3kt1zrpp.js → file-kvext5yd.js} +87 -87
- package/dist/chunks/{file-rbwxp75v.js → file-m0f43kw2.js} +33 -33
- package/dist/chunks/{file-agmzfzv5.js → file-m2h2dh4q.js} +16 -16
- package/dist/chunks/{file-jhtsdbae.js → file-m8nf6fh5.js} +35 -35
- package/dist/chunks/{file-b4ssmz4r.js → file-ma9yb35x.js} +7 -7
- package/dist/chunks/{file-vypqtakx.js → file-mb0ha6fs.js} +1 -1
- package/dist/chunks/{file-88sz8qcd.js → file-msq0jde0.js} +3 -3
- package/dist/chunks/{file-pd9nar43.js → file-n8hp42zk.js} +22 -22
- package/dist/chunks/{file-rs226bz6.js → file-nfnqdzmc.js} +5 -5
- package/dist/chunks/{file-nrj82zgb.js → file-nnsfn4jb.js} +26 -26
- package/dist/chunks/{file-yp2x3t23.js → file-nxer0yad.js} +3 -3
- package/dist/chunks/{file-xck56rmx.js → file-nyj7fnw9.js} +33 -33
- package/dist/chunks/{file-b3wkxfg9.js → file-p33ejz0k.js} +1 -1
- package/dist/chunks/{file-esdnemd6.js → file-p6mw6jzc.js} +1 -1
- package/dist/chunks/{file-nhy5jxhy.js → file-p6yzb5ay.js} +3 -3
- package/dist/chunks/{file-j935v87r.js → file-paphc93g.js} +2 -2
- package/dist/chunks/{file-gtwpvwn0.js → file-pfjkw3sm.js} +67 -67
- package/dist/chunks/{file-3yjg5mh2.js → file-pxt4kznk.js} +3 -3
- package/dist/chunks/{file-nrrb2a3e.js → file-pydmrwq0.js} +28 -28
- package/dist/chunks/{file-tsdrwk88.js → file-qbrwkfs8.js} +9 -9
- package/dist/chunks/{file-vsp1fds9.js → file-qj8eh1ht.js} +20 -20
- package/dist/chunks/{file-k4t1n3ds.js → file-qknber6z.js} +5 -5
- package/dist/chunks/{file-fzsrmebp.js → file-qmj11y7g.js} +18 -18
- package/dist/chunks/{file-206fxkvm.js → file-qnq5akd1.js} +19 -19
- package/dist/chunks/{file-n3ehebhz.js → file-qr42g2ex.js} +8 -8
- package/dist/chunks/file-qtvmxc8s.js +4 -0
- package/dist/chunks/{file-91p1v22t.js → file-qvb3nf84.js} +7 -7
- package/dist/chunks/{file-kk4kf303.js → file-qz8n5g0w.js} +9 -9
- package/dist/chunks/{file-0z8fjeev.js → file-r0q5qwf7.js} +16 -16
- package/dist/chunks/{file-vjjshyym.js → file-r6r1pz2h.js} +23 -23
- package/dist/chunks/{file-n2egqj3k.js → file-rj8m8qzm.js} +10 -10
- package/dist/chunks/{file-8n8qbvvf.js → file-rmnfqzky.js} +31 -31
- package/dist/chunks/{file-verq85zk.js → file-rq6a0dg0.js} +1 -1
- package/dist/chunks/{file-qacd23e2.js → file-rvyh1tga.js} +4 -4
- package/dist/chunks/{file-pnfpsavj.js → file-s8b69be9.js} +6 -6
- package/dist/chunks/{file-8s0m5yrh.js → file-s9wkemjm.js} +13 -13
- package/dist/chunks/{file-d1xvm4af.js → file-sfegc1hb.js} +14 -14
- package/dist/chunks/{file-yc3z3e63.js → file-shyev4mk.js} +11 -11
- package/dist/chunks/{file-wc01vwq2.js → file-snsk04x3.js} +16 -16
- package/dist/chunks/{file-2r4xr41j.js → file-stntv2hh.js} +21 -21
- package/dist/chunks/{file-c4vq1gr4.js → file-sx8dqv37.js} +21 -21
- package/dist/chunks/{file-pvp2wc9z.js → file-t1d7geq2.js} +9 -9
- package/dist/chunks/{file-jh9jg79a.js → file-td8ytyxd.js} +8 -8
- package/dist/chunks/{file-egqspz5t.js → file-tjr0drtg.js} +10 -10
- package/dist/chunks/{file-2ff89mrc.js → file-tmrp3428.js} +3 -3
- package/dist/chunks/{file-qbka3964.js → file-tnjzq8hh.js} +21 -21
- package/dist/chunks/{file-844ef7ks.js → file-tpw6cwsb.js} +7 -7
- package/dist/chunks/{file-gj4x8zz6.js → file-ts8g87kd.js} +12 -12
- package/dist/chunks/{file-zh30k3px.js → file-v1d6h3jw.js} +9 -9
- package/dist/chunks/{file-11h1hnb3.js → file-v6krneed.js} +1 -1
- package/dist/chunks/file-v7es8fey.js +247 -0
- package/dist/chunks/{file-fec1vscd.js → file-v84ecj13.js} +39 -39
- package/dist/chunks/{file-sqmt1xrx.js → file-v9yqefes.js} +31 -31
- package/dist/chunks/{file-v3smhzc7.js → file-vpsn8azz.js} +17 -17
- package/dist/chunks/{file-6jekb6p7.js → file-w3tvvpzb.js} +7 -7
- package/dist/chunks/{file-eykg37vx.js → file-w7q7v3t1.js} +13 -13
- package/dist/chunks/{file-5cvqq58e.js → file-wepxzacc.js} +1 -1
- package/dist/chunks/{file-87deq66t.js → file-wpm2rk0p.js} +5 -5
- package/dist/chunks/{file-n92g5px8.js → file-x3n8sh0p.js} +15 -15
- package/dist/chunks/{file-vq3dh784.js → file-x4tsw7vb.js} +21 -21
- package/dist/chunks/{file-0bc9xa41.js → file-xhhb3q2x.js} +12 -12
- package/dist/chunks/{file-j2j5pzjs.js → file-xw91ethm.js} +3 -3
- package/dist/chunks/{file-kkmk6wev.js → file-xxsgs27q.js} +9 -9
- package/dist/chunks/{file-9bj2cvf7.js → file-y2rgym3m.js} +7 -7
- package/dist/chunks/{file-x5df1stp.js → file-y3ak5rv5.js} +52 -52
- package/dist/chunks/{file-2sgjhdq8.js → file-yczh3409.js} +25 -25
- package/dist/chunks/{file-84tssp1s.js → file-yhks5pv3.js} +5 -5
- package/dist/chunks/{file-xncegbyh.js → file-ykhkvv1t.js} +2 -2
- package/dist/chunks/{file-s4enseaf.js → file-yrznvahk.js} +1 -1
- package/dist/chunks/{file-e7n26ax2.js → file-z0q4dsav.js} +7 -7
- package/dist/chunks/{file-0tqgm7xh.js → file-z0wr5a8a.js} +23 -23
- package/dist/chunks/{file-rywfhtnt.js → file-z2fmw18c.js} +16 -16
- package/dist/chunks/{file-f3kdsvs6.js → file-z3asdwpy.js} +16 -16
- package/dist/chunks/{file-29x78va6.js → file-z63w68vq.js} +4 -4
- package/dist/chunks/{file-11tcp5y8.js → file-zfznrpx1.js} +3 -3
- package/dist/chunks/{file-69q31xtv.js → file-zr6kk9a2.js} +4 -4
- package/dist/chunks/{file-z2maercm.js → file-zrd73k1r.js} +21 -21
- package/dist/chunks/{file-0kzzmtkd.js → file-zw0jxv6w.js} +16 -16
- package/dist/chunks/{file-9yb9755z.js → file-zx6x6k27.js} +10 -10
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/command.js +72 -72
- package/dist/config/discovery.js +60 -60
- package/dist/config/normalize.js +14 -14
- package/dist/config/plugin/agent.js +90 -90
- package/dist/config/plugin/command.js +172 -172
- package/dist/config/plugin/compaction.js +127 -127
- package/dist/config/plugin/formatter.js +92 -92
- package/dist/config/plugin/image.js +90 -90
- package/dist/config/plugin/instruction.js +67 -67
- package/dist/config/plugin/location-watcher.js +90 -90
- package/dist/config/plugin/mcp.js +97 -97
- package/dist/config/plugin/policy.js +89 -89
- package/dist/config/plugin/provider.js +88 -88
- package/dist/config/plugin/reference.js +92 -92
- package/dist/config/plugin/shell.js +93 -93
- package/dist/config/plugin/skill-file.js +76 -76
- package/dist/config/plugin/skill.js +111 -111
- package/dist/config/plugin/snapshot.js +90 -90
- package/dist/config/plugin/source.js +92 -92
- package/dist/config/plugin/tool-output.js +92 -92
- package/dist/config/plugin/websearch.js +90 -90
- package/dist/config/plugin/worktree.js +91 -91
- package/dist/config/variable.js +2 -2
- package/dist/config.js +91 -91
- package/dist/credential.js +66 -66
- package/dist/database/database.js +62 -62
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +8 -8
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +37 -37
- package/dist/database/migration.js +39 -39
- package/dist/database/v1-migration.bun.js +12 -12
- package/dist/effect/app-node-builder.js +235 -235
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +67 -67
- package/dist/environment/index.js +69 -69
- package/dist/event-logger.js +14 -14
- package/dist/file-access.js +79 -79
- package/dist/file-mutation.js +68 -68
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +182 -182
- package/dist/filesystem/search.js +75 -75
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +10 -10
- package/dist/filesystem.js +74 -74
- package/dist/form.js +71 -71
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +65 -65
- package/dist/generate.js +76 -76
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +2 -2
- 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 +4 -4
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +310 -310
- package/dist/instruction-discovery.js +71 -71
- package/dist/instructions/builtins.js +65 -65
- package/dist/instructions/index.js +3 -3
- package/dist/integration.js +71 -71
- package/dist/job.js +65 -65
- package/dist/kv.js +59 -59
- package/dist/location-activity.js +57 -57
- package/dist/location-mutation.js +30 -30
- package/dist/location-service-map.js +64 -64
- package/dist/location-services.js +306 -306
- package/dist/location.js +67 -67
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +82 -82
- package/dist/mcp/instructions.js +96 -96
- package/dist/mcp/stdio.js +64 -64
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +73 -73
- package/dist/model.js +10 -10
- package/dist/models-dev.js +63 -63
- package/dist/permission/saved.js +61 -61
- package/dist/permission.js +88 -88
- package/dist/persistent-pty/index.js +73 -73
- package/dist/persistent-pty.js +59 -59
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +73 -73
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +179 -179
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +281 -281
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +62 -62
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +77 -77
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +93 -93
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
- package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
- package/dist/plugin/provider/configured.js +90 -90
- package/dist/plugin/provider/digitalocean.js +65 -65
- package/dist/plugin/provider/github-copilot.js +67 -67
- 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 +63 -63
- package/dist/plugin/provider/lmstudio.js +93 -93
- package/dist/plugin/provider/modal.js +66 -66
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +93 -93
- package/dist/plugin/provider/openai.js +64 -64
- package/dist/plugin/provider/opencode.js +65 -65
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/poe.js +62 -62
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +92 -92
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +93 -93
- package/dist/plugin/provider/xai.js +64 -64
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +128 -128
- package/dist/plugin/sdk.js +63 -63
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +107 -107
- package/dist/plugin/supervisor.js +299 -299
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +64 -64
- package/dist/plugin/vcs/hg.js +64 -64
- package/dist/plugin/warming.js +88 -88
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +188 -188
- package/dist/project.js +62 -62
- package/dist/provider.js +5 -5
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +75 -75
- package/dist/reference/instructions.js +70 -70
- package/dist/reference.js +66 -66
- package/dist/repository-cache.js +63 -63
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +68 -68
- package/dist/rpc.js +64 -64
- package/dist/session/command.js +61 -61
- package/dist/session/compaction.js +103 -103
- package/dist/session/context.js +121 -121
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -6
- package/dist/session/execution/restart.js +122 -122
- package/dist/session/execution.js +102 -102
- package/dist/session/generate.js +120 -120
- package/dist/session/history.js +8 -8
- package/dist/session/inbox.js +68 -68
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +62 -62
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +72 -72
- package/dist/session/model-request.js +91 -91
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +102 -102
- package/dist/session/projector.js +64 -64
- package/dist/session/prompt.js +80 -80
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +67 -67
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +189 -189
- package/dist/session/runner/model.js +73 -73
- package/dist/session/runner/retry.js +89 -89
- package/dist/session/runner/step.js +96 -96
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +140 -140
- package/dist/session/shell.js +102 -102
- package/dist/session/skill.js +78 -78
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +68 -68
- package/dist/session/subagent-job.js +171 -171
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +124 -124
- package/dist/session/to-session-error.js +86 -86
- package/dist/session/transfer.js +122 -122
- package/dist/session.js +186 -186
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +8 -8
- package/dist/shell.js +105 -105
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +82 -82
- package/dist/skill.js +81 -81
- package/dist/snapshot.js +69 -69
- package/dist/tool/mcp.js +95 -95
- package/dist/tool/plugin/edit.js +90 -90
- package/dist/tool/plugin/glob.js +92 -92
- package/dist/tool/plugin/grep.js +92 -92
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +92 -92
- package/dist/tool/plugin/question.js +80 -80
- package/dist/tool/plugin/read.js +93 -93
- package/dist/tool/plugin/shell.js +179 -179
- package/dist/tool/plugin/skill.js +86 -86
- package/dist/tool/plugin/subagent.js +180 -180
- package/dist/tool/plugin/webfetch.js +83 -83
- package/dist/tool/plugin/websearch.js +86 -86
- package/dist/tool/plugin/write.js +86 -86
- package/dist/tool/read-filesystem.js +72 -72
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +7 -7
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +12 -12
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +5 -5
- 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/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/vcs.js +65 -65
- package/dist/websearch.js +69 -69
- package/dist/wellknown/plugin.js +61 -61
- package/dist/wellknown.js +64 -64
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +67 -67
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +298 -298
- package/dist/worktree.js +72 -72
- package/package.json +8 -8
- package/dist/chunks/file-0mesazry.js +0 -4
- package/dist/chunks/file-dk9ef0gz.js +0 -247
- /package/dist/chunks/{file-kcvfr73y.js → file-31a64gx3.js} +0 -0
- /package/dist/chunks/{file-qaeybh9m.js → file-n032fvft.js} +0 -0
- /package/dist/chunks/{file-ff8vf18q.js → file-p2vn5raz.js} +0 -0
- /package/dist/chunks/{file-ce5fknq2.js → file-pfq1ksym.js} +0 -0
|
@@ -3,41 +3,41 @@ import {
|
|
|
3
3
|
PositiveInt2
|
|
4
4
|
} from "./file-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./file-
|
|
6
|
+
Info19
|
|
7
|
+
} from "./file-qj8eh1ht.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./file-
|
|
9
|
+
Info18
|
|
10
|
+
} from "./file-akrnn5pm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./file-
|
|
12
|
+
Info15
|
|
13
|
+
} from "./file-3w0fmcng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./file-
|
|
15
|
+
Info16
|
|
16
|
+
} from "./file-b27vhd2z.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./file-
|
|
18
|
+
Info13
|
|
19
|
+
} from "./file-dwvzh0g2.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
22
|
} from "./file-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./file-
|
|
24
|
+
Info11
|
|
25
|
+
} from "./file-e6hd9jay.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./file-
|
|
27
|
+
Info12
|
|
28
|
+
} from "./file-hkfg6fzm.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
31
|
} from "./file-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./file-
|
|
33
|
+
Info14
|
|
34
|
+
} from "./file-0r7yqxbf.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
37
|
} from "./file-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./file-
|
|
39
|
+
Info17
|
|
40
|
+
} from "./file-dfe8djrf.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
43
|
} from "./file-9rqn6x4v.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info10,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info10 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info15 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info17).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info15 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info18), plan: Schema.optional(Info18) }), [Schema.Record(Schema.String, Info18)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info18),
|
|
119
|
+
build: Schema.optional(Info18),
|
|
120
|
+
general: Schema.optional(Info18),
|
|
121
|
+
explore: Schema.optional(Info18),
|
|
122
|
+
title: Schema.optional(Info18),
|
|
123
|
+
summary: Schema.optional(Info18),
|
|
124
|
+
compaction: Schema.optional(Info18)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info18)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info14)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info12, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info13).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info11).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info19),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info15).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info15 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info10, exports_config2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./file-zw0jxv6w.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
8
|
} from "./file-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./file-
|
|
10
|
+
Ref4,
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./file-56pp0xdw.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./file-9rqn6x4v.js";
|
|
@@ -19,15 +19,15 @@ import {
|
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service51,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node54
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service51 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
42
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const location = yield* Service76;
|
|
45
|
+
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
82
82
|
const event = registered.event;
|
|
83
83
|
const data = yield* encode(event.schema, args[1]);
|
|
84
84
|
return yield* bus.publish(registered.definition, data, {
|
|
85
|
-
location:
|
|
85
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
86
86
|
}).pipe(Effect.asVoid);
|
|
87
87
|
})
|
|
88
88
|
}
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service51.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node54 = makeLocationNode({ service: Service51, layer, deps: [node84, node81] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref4)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
206
206
|
...payload,
|
|
207
207
|
type: eventType(definition, name),
|
|
208
208
|
data,
|
|
209
|
-
location:
|
|
209
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service51, node54, exports_rpc, define2 };
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make18,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make18(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 { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make18, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./file-
|
|
6
|
+
} from "./file-qj8eh1ht.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./file-
|
|
8
|
+
Info18
|
|
9
|
+
} from "./file-akrnn5pm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./file-
|
|
11
|
+
Info15
|
|
12
|
+
} from "./file-3w0fmcng.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./file-
|
|
14
|
+
Info16
|
|
15
|
+
} from "./file-b27vhd2z.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./file-
|
|
17
|
+
Info12
|
|
18
|
+
} from "./file-hkfg6fzm.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
21
|
} from "./file-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./file-
|
|
23
|
+
Info14
|
|
24
|
+
} from "./file-0r7yqxbf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./file-
|
|
26
|
+
Info10
|
|
27
|
+
} from "./file-0a423ajn.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./file-
|
|
36
|
+
} from "./file-5tvb4m4x.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
39
|
} from "./file-9rqn6x4v.js";
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info18, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info18, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info12, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info14,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info14 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info22 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info14, exports_provider2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./file-
|
|
2
|
+
ID9,
|
|
3
|
+
Service66
|
|
4
|
+
} from "./file-j1dc1ckq.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./file-
|
|
8
|
+
} from "./file-yhks5pv3.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/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* Service66;
|
|
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(ID9.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service62
|
|
3
|
-
} from "./file-9bj2cvf7.js";
|
|
4
1
|
import {
|
|
5
2
|
Service50
|
|
6
|
-
} from "./file-
|
|
3
|
+
} from "./file-y2rgym3m.js";
|
|
4
|
+
import {
|
|
5
|
+
Service28
|
|
6
|
+
} from "./file-8a2qdx2a.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
9
|
} from "./file-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./file-
|
|
12
|
+
} from "./file-1x11rq2a.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./file-
|
|
14
|
+
Service60
|
|
15
|
+
} from "./file-1vtz46z8.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./file-
|
|
19
|
+
} from "./file-ma9yb35x.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./file-
|
|
22
|
+
Service43
|
|
23
|
+
} from "./file-z3asdwpy.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
26
|
} from "./file-9rqn6x4v.js";
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service28;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service60;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service43;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service50;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
create3
|
|
14
14
|
} from "./file-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./file-
|
|
16
|
+
Service50,
|
|
17
|
+
node53
|
|
18
|
+
} from "./file-y2rgym3m.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./file-
|
|
20
|
+
Service60,
|
|
21
|
+
node63
|
|
22
|
+
} from "./file-1vtz46z8.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
25
|
} from "./file-y1fvbwt7.js";
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service45,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node48
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service45 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service60;
|
|
58
|
+
const image = yield* Service50;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service45.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -262,10 +262,10 @@ function namespaceError(name) {
|
|
|
262
262
|
return;
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
265
|
+
var node48 = makeLocationNode({
|
|
266
|
+
service: Service45,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [
|
|
268
|
+
deps: [node63, node53]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service45, node48, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./file-
|
|
3
|
+
} from "./file-9khdf5s3.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
6
|
} from "./file-56gdpj1q.js";
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin36,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin36 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin33 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin33 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint5, Plugin36, exports_parallel };
|