@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
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
+
node66
|
|
4
|
+
} from "./file-9khdf5s3.js";
|
|
5
|
+
import {
|
|
6
|
+
Service79,
|
|
3
7
|
node84
|
|
4
|
-
} from "./file-
|
|
8
|
+
} from "./file-zw0jxv6w.js";
|
|
5
9
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
10
|
+
ID7,
|
|
11
|
+
Service59,
|
|
12
|
+
node62
|
|
13
|
+
} from "./file-cef1ew0c.js";
|
|
9
14
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
node61
|
|
13
|
-
} from "./file-p7r5e3re.js";
|
|
15
|
+
ID13
|
|
16
|
+
} from "./file-yhks5pv3.js";
|
|
14
17
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
18
|
+
Service67,
|
|
19
|
+
node71
|
|
20
|
+
} from "./file-bty97h6q.js";
|
|
17
21
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./file-gj7pn1ka.js";
|
|
21
|
-
import {
|
|
22
|
-
ID15
|
|
23
|
-
} from "./file-g5twr0sp.js";
|
|
22
|
+
ID12
|
|
23
|
+
} from "./file-51b1p1nf.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID11,
|
|
26
26
|
OAuth3
|
|
27
|
-
} from "./file-
|
|
27
|
+
} from "./file-z0wr5a8a.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
ID9,
|
|
30
30
|
MethodID2,
|
|
31
31
|
AttemptID2,
|
|
32
32
|
Method2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./file-
|
|
33
|
+
Service66,
|
|
34
|
+
node70
|
|
35
|
+
} from "./file-j1dc1ckq.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./file-
|
|
37
|
+
Service65,
|
|
38
|
+
node69
|
|
39
|
+
} from "./file-fz45jgbm.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./file-
|
|
41
|
+
Service46,
|
|
42
|
+
node49
|
|
43
|
+
} from "./file-caevyejh.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./file-
|
|
45
|
+
Service62,
|
|
46
|
+
node65
|
|
47
|
+
} from "./file-shyev4mk.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsolutePath2
|
|
50
50
|
} from "./file-922hggd3.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./file-
|
|
52
|
+
Info31,
|
|
53
|
+
Ref4,
|
|
54
|
+
Service76,
|
|
55
|
+
node81
|
|
56
|
+
} from "./file-56pp0xdw.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./file-
|
|
58
|
+
Service48,
|
|
59
|
+
node51
|
|
60
|
+
} from "./file-01x5ayvb.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./file-
|
|
62
|
+
ID16
|
|
63
|
+
} from "./file-a1ttd06w.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./file-
|
|
65
|
+
Service35,
|
|
66
|
+
node38
|
|
67
|
+
} from "./file-4zqvh54v.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./file-
|
|
69
|
+
Service60,
|
|
70
|
+
node63
|
|
71
|
+
} from "./file-1vtz46z8.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./file-
|
|
73
|
+
Service56,
|
|
74
|
+
node59
|
|
75
|
+
} from "./file-y3ak5rv5.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./file-
|
|
77
|
+
Service45,
|
|
78
|
+
node48
|
|
79
|
+
} from "./file-1dgfjwgv.js";
|
|
80
80
|
import {
|
|
81
81
|
Source3,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./file-
|
|
82
|
+
Service42,
|
|
83
|
+
node45
|
|
84
|
+
} from "./file-avp3hhf2.js";
|
|
85
85
|
import {
|
|
86
86
|
Info8,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./file-
|
|
87
|
+
Service43,
|
|
88
|
+
node46
|
|
89
|
+
} from "./file-z3asdwpy.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./file-
|
|
91
|
+
Service22,
|
|
92
|
+
node26
|
|
93
|
+
} from "./file-kvext5yd.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./file-
|
|
95
|
+
Service18,
|
|
96
|
+
node22
|
|
97
|
+
} from "./file-7c6e5y81.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./file-
|
|
99
|
+
Service51,
|
|
100
|
+
node54
|
|
101
|
+
} from "./file-0ccn345w.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./file-
|
|
103
|
+
Service21,
|
|
104
|
+
node25
|
|
105
|
+
} from "./file-vpsn8azz.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./file-
|
|
107
|
+
ID3,
|
|
108
|
+
Service20,
|
|
109
|
+
node24
|
|
110
|
+
} from "./file-nnsfn4jb.js";
|
|
111
111
|
import {
|
|
112
112
|
StrategyID2,
|
|
113
|
-
|
|
113
|
+
Info3,
|
|
114
114
|
ListEntry3,
|
|
115
115
|
UnsupportedLocationError2,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./file-
|
|
116
|
+
Service19,
|
|
117
|
+
node23
|
|
118
|
+
} from "./file-34y33xw8.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./file-
|
|
120
|
+
Service63,
|
|
121
|
+
node67
|
|
122
|
+
} from "./file-bsre5g92.js";
|
|
123
123
|
import {
|
|
124
124
|
__export
|
|
125
125
|
} from "./file-9rqn6x4v.js";
|
|
@@ -140,36 +140,36 @@ var mutable = (value) => value;
|
|
|
140
140
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
141
141
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
142
142
|
const app = yield* Metadata2;
|
|
143
|
-
const agents = yield*
|
|
144
|
-
const aisdk = yield*
|
|
145
|
-
const catalog = yield*
|
|
146
|
-
const commands = yield*
|
|
147
|
-
const bus = yield*
|
|
148
|
-
const integration = yield*
|
|
149
|
-
const kv = yield*
|
|
150
|
-
const mcp = yield*
|
|
151
|
-
const location = yield*
|
|
152
|
-
const reference = yield*
|
|
153
|
-
const rpc = yield*
|
|
154
|
-
const skill = yield*
|
|
155
|
-
const tools = yield*
|
|
156
|
-
const vcs = yield*
|
|
157
|
-
const websearch = yield*
|
|
158
|
-
const generate = yield*
|
|
159
|
-
const permission = yield*
|
|
160
|
-
const hooks = yield*
|
|
161
|
-
const sessions = yield*
|
|
162
|
-
const persistentPty = yield*
|
|
163
|
-
const locations = yield*
|
|
164
|
-
const worktrees = yield*
|
|
165
|
-
const locationInfo = () => new
|
|
143
|
+
const agents = yield* Service59;
|
|
144
|
+
const aisdk = yield* Service67;
|
|
145
|
+
const catalog = yield* Service65;
|
|
146
|
+
const commands = yield* Service46;
|
|
147
|
+
const bus = yield* Service79;
|
|
148
|
+
const integration = yield* Service66;
|
|
149
|
+
const kv = yield* Service62;
|
|
150
|
+
const mcp = yield* Service35;
|
|
151
|
+
const location = yield* Service76;
|
|
152
|
+
const reference = yield* Service42;
|
|
153
|
+
const rpc = yield* Service51;
|
|
154
|
+
const skill = yield* Service43;
|
|
155
|
+
const tools = yield* Service45;
|
|
156
|
+
const vcs = yield* Service21;
|
|
157
|
+
const websearch = yield* Service20;
|
|
158
|
+
const generate = yield* Service63;
|
|
159
|
+
const permission = yield* Service56;
|
|
160
|
+
const hooks = yield* Service60;
|
|
161
|
+
const sessions = yield* Service22;
|
|
162
|
+
const persistentPty = yield* Service18;
|
|
163
|
+
const locations = yield* Service48;
|
|
164
|
+
const worktrees = yield* Service19;
|
|
165
|
+
const locationInfo = () => new Info31({
|
|
166
166
|
directory: location.directory,
|
|
167
167
|
workspaceID: location.workspaceID,
|
|
168
168
|
project: location.project
|
|
169
169
|
});
|
|
170
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
170
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
171
171
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
172
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
172
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID16.make(input.location.workspace)
|
|
173
173
|
});
|
|
174
174
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
175
175
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
@@ -181,18 +181,18 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
181
181
|
return Effect.gen(function* () {
|
|
182
182
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
183
183
|
const plugins = yield* Plugin.Service;
|
|
184
|
-
const target = yield*
|
|
184
|
+
const target = yield* Service19;
|
|
185
185
|
yield* plugins.awaitActivation;
|
|
186
186
|
return yield* run(target);
|
|
187
187
|
}).pipe(Effect.provide(locations.get(ref)));
|
|
188
188
|
};
|
|
189
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
189
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info3);
|
|
190
190
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
191
191
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
192
|
-
const location = yield*
|
|
193
|
-
const agents = yield*
|
|
192
|
+
const location = yield* Service76;
|
|
193
|
+
const agents = yield* Service59;
|
|
194
194
|
return {
|
|
195
|
-
location: new
|
|
195
|
+
location: new Info31({
|
|
196
196
|
directory: location.directory,
|
|
197
197
|
workspaceID: location.workspaceID,
|
|
198
198
|
project: location.project
|
|
@@ -224,10 +224,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
224
224
|
transform: (callback) => agents.transform((editor) => {
|
|
225
225
|
callback({
|
|
226
226
|
list: () => mutable(editor.list()),
|
|
227
|
-
get: (id) => mutable(editor.get(
|
|
228
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
229
|
-
update: (id, update) => editor.update(
|
|
230
|
-
remove: (id) => editor.remove(
|
|
227
|
+
get: (id) => mutable(editor.get(ID7.make(id))),
|
|
228
|
+
default: (id) => editor.default(id === undefined ? undefined : ID7.make(id)),
|
|
229
|
+
update: (id, update) => editor.update(ID7.make(id), update),
|
|
230
|
+
remove: (id) => editor.remove(ID7.make(id))
|
|
231
231
|
});
|
|
232
232
|
})
|
|
233
233
|
},
|
|
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
262
262
|
catalog: {
|
|
263
263
|
provider: {
|
|
264
264
|
list: () => response(catalog.provider.available()),
|
|
265
|
-
get: (input) => catalog.provider.get(
|
|
265
|
+
get: (input) => catalog.provider.get(ID13.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
|
|
266
266
|
},
|
|
267
267
|
model: {
|
|
268
268
|
list: () => response(catalog.model.available()),
|
|
@@ -273,17 +273,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
273
273
|
callback({
|
|
274
274
|
provider: {
|
|
275
275
|
list: () => mutable(editor.provider.list()),
|
|
276
|
-
get: (id) => mutable(editor.provider.get(
|
|
277
|
-
update: (id, update) => editor.provider.update(
|
|
278
|
-
remove: (id) => editor.provider.remove(
|
|
276
|
+
get: (id) => mutable(editor.provider.get(ID13.make(id))),
|
|
277
|
+
update: (id, update) => editor.provider.update(ID13.make(id), update),
|
|
278
|
+
remove: (id) => editor.provider.remove(ID13.make(id))
|
|
279
279
|
},
|
|
280
280
|
model: {
|
|
281
|
-
get: (providerID, modelID) => mutable(editor.model.get(
|
|
282
|
-
update: (providerID, modelID, update) => editor.model.update(
|
|
283
|
-
remove: (providerID, modelID) => editor.model.remove(
|
|
281
|
+
get: (providerID, modelID) => mutable(editor.model.get(ID13.make(providerID), ID12.make(modelID))),
|
|
282
|
+
update: (providerID, modelID, update) => editor.model.update(ID13.make(providerID), ID12.make(modelID), update),
|
|
283
|
+
remove: (providerID, modelID) => editor.model.remove(ID13.make(providerID), ID12.make(modelID)),
|
|
284
284
|
default: {
|
|
285
285
|
get: editor.model.default.get,
|
|
286
|
-
set: (providerID, modelID) => editor.model.default.set(
|
|
286
|
+
set: (providerID, modelID) => editor.model.default.set(ID13.make(providerID), ID12.make(modelID))
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
});
|
|
@@ -307,10 +307,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
307
307
|
},
|
|
308
308
|
integration: {
|
|
309
309
|
list: () => response(integration.list()),
|
|
310
|
-
get: (input) => response(integration.get(
|
|
310
|
+
get: (input) => response(integration.get(ID9.make(input.integrationID))),
|
|
311
311
|
connect: {
|
|
312
312
|
key: (input) => integration.connection.key({
|
|
313
|
-
integrationID:
|
|
313
|
+
integrationID: ID9.make(input.integrationID),
|
|
314
314
|
key: input.key,
|
|
315
315
|
answer: input.answer,
|
|
316
316
|
label: input.label
|
|
@@ -318,55 +318,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
318
318
|
},
|
|
319
319
|
oauth: {
|
|
320
320
|
connect: (input) => response(integration.oauth.connect({
|
|
321
|
-
integrationID:
|
|
321
|
+
integrationID: ID9.make(input.integrationID),
|
|
322
322
|
methodID: MethodID2.make(input.methodID),
|
|
323
323
|
answer: input.answer,
|
|
324
324
|
label: input.label
|
|
325
325
|
})),
|
|
326
326
|
status: (input) => response(integration.oauth.status({
|
|
327
|
-
integrationID:
|
|
327
|
+
integrationID: ID9.make(input.integrationID),
|
|
328
328
|
attemptID: AttemptID2.make(input.attemptID)
|
|
329
329
|
})),
|
|
330
330
|
complete: (input) => integration.oauth.complete({
|
|
331
|
-
integrationID:
|
|
331
|
+
integrationID: ID9.make(input.integrationID),
|
|
332
332
|
attemptID: AttemptID2.make(input.attemptID),
|
|
333
333
|
code: input.code
|
|
334
334
|
}),
|
|
335
335
|
cancel: (input) => integration.oauth.cancel({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID9.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})
|
|
339
339
|
},
|
|
340
340
|
command: {
|
|
341
341
|
connect: (input) => response(integration.command.connect({
|
|
342
|
-
integrationID:
|
|
342
|
+
integrationID: ID9.make(input.integrationID),
|
|
343
343
|
methodID: MethodID2.make(input.methodID),
|
|
344
344
|
label: input.label
|
|
345
345
|
})),
|
|
346
346
|
status: (input) => response(integration.command.status({
|
|
347
|
-
integrationID:
|
|
347
|
+
integrationID: ID9.make(input.integrationID),
|
|
348
348
|
attemptID: AttemptID2.make(input.attemptID)
|
|
349
349
|
})),
|
|
350
350
|
cancel: (input) => integration.command.cancel({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID9.make(input.integrationID),
|
|
352
352
|
attemptID: AttemptID2.make(input.attemptID)
|
|
353
353
|
})
|
|
354
354
|
},
|
|
355
355
|
reload: integration.reload,
|
|
356
356
|
connection: {
|
|
357
|
-
active: (id) => integration.connection.active(
|
|
358
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
357
|
+
active: (id) => integration.connection.active(ID9.make(id)),
|
|
358
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID11.make(connection.id) } : connection)
|
|
359
359
|
},
|
|
360
360
|
transform: (callback) => integration.transform((editor) => {
|
|
361
361
|
callback({
|
|
362
362
|
list: () => mutable(editor.list()),
|
|
363
|
-
get: (id) => mutable(editor.get(
|
|
364
|
-
update: (id, update) => editor.update(
|
|
365
|
-
remove: (id) => editor.remove(
|
|
363
|
+
get: (id) => mutable(editor.get(ID9.make(id))),
|
|
364
|
+
update: (id, update) => editor.update(ID9.make(id), update),
|
|
365
|
+
remove: (id) => editor.remove(ID9.make(id)),
|
|
366
366
|
method: {
|
|
367
|
-
list: (id) => editor.method.list(
|
|
367
|
+
list: (id) => editor.method.list(ID9.make(id)),
|
|
368
368
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
369
|
-
remove: (id, method) => editor.method.remove(
|
|
369
|
+
remove: (id, method) => editor.method.remove(ID9.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
})
|
|
@@ -376,10 +376,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
376
376
|
const ref = locationRef(input);
|
|
377
377
|
if (ref && !isCurrentLocation(ref))
|
|
378
378
|
return Effect.gen(function* () {
|
|
379
|
-
const location = yield*
|
|
380
|
-
const mcp = yield*
|
|
379
|
+
const location = yield* Service76;
|
|
380
|
+
const mcp = yield* Service35;
|
|
381
381
|
return {
|
|
382
|
-
location: new
|
|
382
|
+
location: new Info31({
|
|
383
383
|
directory: location.directory,
|
|
384
384
|
workspaceID: location.workspaceID,
|
|
385
385
|
project: location.project
|
|
@@ -456,19 +456,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
456
456
|
providers: () => response(websearch.providers()),
|
|
457
457
|
query: (input) => response(websearch.query({
|
|
458
458
|
query: input.query,
|
|
459
|
-
providerID: input.providerID === undefined ? undefined :
|
|
459
|
+
providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
|
|
460
460
|
})),
|
|
461
461
|
reload: websearch.reload,
|
|
462
462
|
transform: (callback) => websearch.transform((editor) => {
|
|
463
463
|
callback({
|
|
464
464
|
add: (definition) => editor.add({
|
|
465
|
-
id:
|
|
465
|
+
id: ID3.make(definition.id),
|
|
466
466
|
name: definition.name,
|
|
467
467
|
execute: definition.execute
|
|
468
468
|
}),
|
|
469
469
|
default: {
|
|
470
470
|
get: editor.default.get,
|
|
471
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
471
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
|
|
472
472
|
}
|
|
473
473
|
});
|
|
474
474
|
})
|
|
@@ -495,7 +495,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
495
495
|
title: input?.title,
|
|
496
496
|
agent: input?.agent,
|
|
497
497
|
model: input?.model,
|
|
498
|
-
location: input?.location ??
|
|
498
|
+
location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
499
499
|
}),
|
|
500
500
|
get: (input) => sessions.get(input.sessionID),
|
|
501
501
|
switchAgent: sessions.switchAgent,
|
|
@@ -514,29 +514,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
514
514
|
return context;
|
|
515
515
|
});
|
|
516
516
|
var requirements3 = LayerNode.group([
|
|
517
|
-
|
|
518
|
-
node61,
|
|
519
|
-
node57,
|
|
517
|
+
node66,
|
|
520
518
|
node62,
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
node63,
|
|
524
|
-
node77,
|
|
525
|
-
node33,
|
|
526
|
-
node76,
|
|
527
|
-
node38,
|
|
528
|
-
node37,
|
|
529
|
-
node43,
|
|
530
|
-
node42,
|
|
531
|
-
node20,
|
|
519
|
+
node71,
|
|
520
|
+
node69,
|
|
532
521
|
node49,
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
522
|
+
node84,
|
|
523
|
+
node70,
|
|
524
|
+
node65,
|
|
525
|
+
node38,
|
|
526
|
+
node81,
|
|
527
|
+
node45,
|
|
528
|
+
node54,
|
|
529
|
+
node46,
|
|
530
|
+
node48,
|
|
531
|
+
node25,
|
|
532
|
+
node24,
|
|
533
|
+
node23,
|
|
534
|
+
node67,
|
|
535
|
+
node59,
|
|
536
|
+
node63,
|
|
537
|
+
node26,
|
|
538
|
+
node22,
|
|
539
|
+
node51
|
|
540
540
|
]);
|
|
541
541
|
function storage2(kv, pluginID) {
|
|
542
542
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -563,7 +563,7 @@ function methodImplementation(input) {
|
|
|
563
563
|
if ("authorize" in input) {
|
|
564
564
|
const refresh = input.refresh;
|
|
565
565
|
return {
|
|
566
|
-
integrationID:
|
|
566
|
+
integrationID: ID9.make(input.integrationID),
|
|
567
567
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
568
568
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
569
569
|
if (authorization.mode === "auto") {
|
|
@@ -583,18 +583,18 @@ function methodImplementation(input) {
|
|
|
583
583
|
}
|
|
584
584
|
if (input.method.type === "env") {
|
|
585
585
|
return {
|
|
586
|
-
integrationID:
|
|
586
|
+
integrationID: ID9.make(input.integrationID),
|
|
587
587
|
method: input.method
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
590
|
if (input.method.type === "command") {
|
|
591
591
|
return {
|
|
592
|
-
integrationID:
|
|
592
|
+
integrationID: ID9.make(input.integrationID),
|
|
593
593
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
594
594
|
};
|
|
595
595
|
}
|
|
596
596
|
return {
|
|
597
|
-
integrationID:
|
|
597
|
+
integrationID: ID9.make(input.integrationID),
|
|
598
598
|
method: input.method
|
|
599
599
|
};
|
|
600
600
|
}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make3(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make3 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./file-
|
|
2
|
+
Service76
|
|
3
|
+
} from "./file-56pp0xdw.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./file-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./file-
|
|
13
|
+
} from "./file-vpsn8azz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./file-9rqn6x4v.js";
|
|
@@ -18,17 +18,17 @@ import {
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin35,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin35 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
|
-
const location = yield*
|
|
31
|
+
const location = yield* Service76;
|
|
32
32
|
if (location.vcs?.type !== "git")
|
|
33
33
|
return;
|
|
34
34
|
const processes = yield* AppProcess.Service;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin35, exports_git };
|