@opencode/core 0.0.0-dev-21709 → 0.0.0-dev-21733
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 +67 -67
- package/dist/aisdk-native.js +69 -69
- package/dist/aisdk.js +74 -74
- package/dist/app.js +9 -9
- package/dist/bus.js +53 -53
- package/dist/chunks/{file-mutation-0j1f7v6y.js → file-mutation-00rzab14.js} +7 -7
- package/dist/chunks/{file-mutation-s7112yyh.js → file-mutation-01k3925y.js} +16 -16
- package/dist/chunks/{file-mutation-m14375f6.js → file-mutation-036w2vvs.js} +25 -25
- package/dist/chunks/{file-mutation-k4x8dxyy.js → file-mutation-0ns4m9xc.js} +6 -6
- package/dist/chunks/{file-mutation-jcapkbe6.js → file-mutation-10rcdg98.js} +2 -2
- package/dist/chunks/{file-mutation-vbmz9jev.js → file-mutation-12p8ee72.js} +23 -23
- package/dist/chunks/{file-mutation-713f9fkw.js → file-mutation-1k1fqc4x.js} +169 -169
- package/dist/chunks/{file-mutation-ay6kp039.js → file-mutation-1r91ydea.js} +3 -3
- package/dist/chunks/{file-mutation-v6x8rhc3.js → file-mutation-21et416z.js} +5 -5
- package/dist/chunks/{file-mutation-rmv7btfw.js → file-mutation-26dky2bj.js} +10 -10
- package/dist/chunks/{file-mutation-g113tq3g.js → file-mutation-27tam8fm.js} +1 -1
- package/dist/chunks/{file-mutation-1ep2p91f.js → file-mutation-27w5k9zf.js} +1 -1
- package/dist/chunks/{file-mutation-kd4chd64.js → file-mutation-2azy8kv6.js} +4 -4
- package/dist/chunks/{file-mutation-3jt9gp25.js → file-mutation-2hbghhry.js} +20 -20
- package/dist/chunks/{file-mutation-r0zz2cdc.js → file-mutation-2kxb353b.js} +1 -1
- package/dist/chunks/{file-mutation-m6yg81he.js → file-mutation-2rjbzknj.js} +14 -14
- package/dist/chunks/{file-mutation-e5yz98j3.js → file-mutation-30e15dtz.js} +3 -3
- package/dist/chunks/{file-mutation-t9e9esc1.js → file-mutation-32d3hzha.js} +8 -8
- package/dist/chunks/{file-mutation-ctagr9g7.js → file-mutation-368ze413.js} +9 -9
- package/dist/chunks/{file-mutation-5ahehfm9.js → file-mutation-3c164b2z.js} +11 -11
- package/dist/chunks/{file-mutation-ayjs7tqn.js → file-mutation-3cbjf1nt.js} +1 -1
- package/dist/chunks/{file-mutation-3a12p9c1.js → file-mutation-3de1akn6.js} +10 -10
- package/dist/chunks/{file-mutation-tn2pqadg.js → file-mutation-3ek3wb4s.js} +12 -12
- package/dist/chunks/{file-mutation-nad4mkqt.js → file-mutation-45t4pvv9.js} +7 -7
- package/dist/chunks/{file-mutation-rz0hcvs1.js → file-mutation-471rdaac.js} +328 -328
- package/dist/chunks/{file-mutation-gkq9xxxw.js → file-mutation-48ns11pq.js} +31 -31
- package/dist/chunks/{file-mutation-cw4h5047.js → file-mutation-4dnfsash.js} +29 -29
- package/dist/chunks/{file-mutation-m6r2ag02.js → file-mutation-4gceq66t.js} +4 -4
- package/dist/chunks/{file-mutation-zgmrepvs.js → file-mutation-4pw98qd4.js} +3 -3
- package/dist/chunks/{file-mutation-mz1zez7g.js → file-mutation-4rnk6nkc.js} +43 -43
- package/dist/chunks/{file-mutation-ad8q6rp3.js → file-mutation-4yx08eh2.js} +9 -9
- package/dist/chunks/{file-mutation-jfqpy2va.js → file-mutation-535rzh00.js} +19 -19
- package/dist/chunks/{file-mutation-3g9qcz5y.js → file-mutation-550hghqf.js} +10 -10
- package/dist/chunks/{file-mutation-7w4z2a19.js → file-mutation-55gnfc1d.js} +52 -52
- package/dist/chunks/{file-mutation-k9kmnnb3.js → file-mutation-59syh3a3.js} +8 -8
- package/dist/chunks/{file-mutation-rt3jy22f.js → file-mutation-5fvmg1r1.js} +20 -20
- package/dist/chunks/{file-mutation-b6vsg801.js → file-mutation-5nnwax6m.js} +3 -3
- package/dist/chunks/{file-mutation-pafr3hmb.js → file-mutation-5pex491w.js} +21 -21
- package/dist/chunks/{file-mutation-gx0r2313.js → file-mutation-5rxgzxpx.js} +4 -4
- package/dist/chunks/{file-mutation-3y39jmrc.js → file-mutation-5x4h0w91.js} +14 -14
- package/dist/chunks/{file-mutation-f10m4awg.js → file-mutation-5xn9952g.js} +2 -2
- package/dist/chunks/{file-mutation-abr51mnh.js → file-mutation-67avc1k8.js} +6 -6
- package/dist/chunks/{file-mutation-rgv2frq9.js → file-mutation-6bexxghh.js} +9 -9
- package/dist/chunks/{file-mutation-4bm89b1z.js → file-mutation-6j3c7a8w.js} +9 -9
- package/dist/chunks/{file-mutation-sbegqkxp.js → file-mutation-6nc585nh.js} +5 -5
- package/dist/chunks/{file-mutation-r2m1wrpm.js → file-mutation-743x2srx.js} +12 -12
- package/dist/chunks/{file-mutation-cfbwa52m.js → file-mutation-747awqjk.js} +7 -7
- package/dist/chunks/{file-mutation-hwg1rf37.js → file-mutation-74vrwnwk.js} +14 -14
- package/dist/chunks/{file-mutation-537zfnwd.js → file-mutation-782p0d6m.js} +14 -14
- package/dist/chunks/{file-mutation-eqzqqxkz.js → file-mutation-79gmc5z2.js} +10 -10
- package/dist/chunks/{file-mutation-6pe7vn7p.js → file-mutation-7qacj1zk.js} +16 -16
- package/dist/chunks/{file-mutation-f535s2sq.js → file-mutation-7v4gnnpt.js} +19 -19
- package/dist/chunks/{file-mutation-0t3ga4zv.js → file-mutation-7v95c66a.js} +10 -10
- package/dist/chunks/{file-mutation-nz1awqkw.js → file-mutation-81axfqtx.js} +32 -32
- package/dist/chunks/{file-mutation-dg69zav8.js → file-mutation-82ae05qv.js} +12 -12
- package/dist/chunks/{file-mutation-n5h7v18c.js → file-mutation-85p7gfn7.js} +5 -5
- package/dist/chunks/{file-mutation-kz13mb51.js → file-mutation-86ak512e.js} +32 -32
- package/dist/chunks/{file-mutation-0z1e74sk.js → file-mutation-8c7d9mqr.js} +10 -10
- package/dist/chunks/{file-mutation-n0n6a7ps.js → file-mutation-94f0gtd2.js} +6 -6
- package/dist/chunks/{file-mutation-dkkf5xq4.js → file-mutation-9b9c9169.js} +22 -22
- package/dist/chunks/{file-mutation-h931zhe2.js → file-mutation-9b9nrhta.js} +44 -44
- package/dist/chunks/{file-mutation-2jmbxqq8.js → file-mutation-9fs0fy5y.js} +16 -16
- package/dist/chunks/{file-mutation-s4rs4ktr.js → file-mutation-9q4552st.js} +25 -25
- package/dist/chunks/{file-mutation-d8qd4w10.js → file-mutation-9t2khtsw.js} +9 -9
- package/dist/chunks/{file-mutation-ts7thg7k.js → file-mutation-9tjddhah.js} +36 -36
- package/dist/chunks/{file-mutation-j110d6ac.js → file-mutation-a3ve0kqa.js} +9 -9
- package/dist/chunks/{file-mutation-ejx5chcx.js → file-mutation-a4hxdnm9.js} +25 -25
- package/dist/chunks/{file-mutation-3w6s660c.js → file-mutation-a7dmfdvk.js} +13 -13
- package/dist/chunks/{file-mutation-jd41cg63.js → file-mutation-abn7vnge.js} +44 -44
- package/dist/chunks/{file-mutation-dz55c0zm.js → file-mutation-abrtv49q.js} +5 -5
- package/dist/chunks/{file-mutation-416sv9a0.js → file-mutation-asrwnq9b.js} +13 -13
- package/dist/chunks/{file-mutation-40jy4byv.js → file-mutation-av5z0m6e.js} +21 -21
- package/dist/chunks/{file-mutation-dm5qwjy7.js → file-mutation-aw7qnxd4.js} +9 -9
- package/dist/chunks/{file-mutation-1eaqqsxz.js → file-mutation-b0zdea0q.js} +29 -29
- package/dist/chunks/{file-mutation-3f3erb08.js → file-mutation-b7zzhf47.js} +7 -7
- package/dist/chunks/{file-mutation-zhv6stc2.js → file-mutation-b9d9dj3z.js} +1 -1
- package/dist/chunks/{file-mutation-kp4a0nkj.js → file-mutation-bgmahzg8.js} +48 -48
- package/dist/chunks/{file-mutation-hsb38h3t.js → file-mutation-bjeh6j1p.js} +23 -23
- package/dist/chunks/{file-mutation-xmjq5dsw.js → file-mutation-bjh3krjv.js} +19 -19
- package/dist/chunks/{file-mutation-rrad2nt9.js → file-mutation-bjhzkqyk.js} +3 -3
- package/dist/chunks/{file-mutation-psvnc0zj.js → file-mutation-bwe8ad2d.js} +20 -20
- package/dist/chunks/{file-mutation-mmkbt6v3.js → file-mutation-c3cfh5w6.js} +7 -7
- package/dist/chunks/{file-mutation-jwswcnbf.js → file-mutation-c7c27t1m.js} +14 -14
- package/dist/chunks/{file-mutation-j144xwzw.js → file-mutation-cc7rcpec.js} +5 -5
- package/dist/chunks/{file-mutation-zkgq49d1.js → file-mutation-cfkc8wvf.js} +2 -2
- package/dist/chunks/{file-mutation-kvd7rme4.js → file-mutation-cjbqfpza.js} +1 -1
- package/dist/chunks/{file-mutation-bjhhq9t1.js → file-mutation-cn264291.js} +10 -10
- package/dist/chunks/{file-mutation-kd8e7gdr.js → file-mutation-cp34p7ag.js} +1 -1
- package/dist/chunks/{file-mutation-b2fa49hh.js → file-mutation-cvmvznrx.js} +1 -1
- package/dist/chunks/{file-mutation-ys14c7h6.js → file-mutation-cwq0sf4z.js} +13 -13
- package/dist/chunks/{file-mutation-2y6rfkwc.js → file-mutation-cxa2kxks.js} +5 -5
- package/dist/chunks/{file-mutation-293dk3rs.js → file-mutation-d979ez4r.js} +13 -13
- package/dist/chunks/{file-mutation-0jy8s6kx.js → file-mutation-da9t4t99.js} +16 -16
- package/dist/chunks/{file-mutation-rvw14dk0.js → file-mutation-deg8k6mg.js} +19 -19
- package/dist/chunks/{file-mutation-6tkfv6vy.js → file-mutation-dqfc4a56.js} +17 -17
- package/dist/chunks/{file-mutation-998yhzzq.js → file-mutation-dvj9ct8m.js} +1 -1
- package/dist/chunks/{file-mutation-gzr767ae.js → file-mutation-dwarwzmx.js} +20 -20
- package/dist/chunks/{file-mutation-vxnb1daw.js → file-mutation-dzgdh8q8.js} +26 -26
- package/dist/chunks/{file-mutation-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-mutation-hr21agsb.js → file-mutation-e4n8ygfy.js} +78 -78
- package/dist/chunks/{file-mutation-jneg3k74.js → file-mutation-e5dqjz6v.js} +3 -3
- package/dist/chunks/{file-mutation-4qeetvzp.js → file-mutation-e86res7a.js} +15 -15
- package/dist/chunks/{file-mutation-8zf098kr.js → file-mutation-eahrer4y.js} +16 -16
- package/dist/chunks/{file-mutation-z11v4z0j.js → file-mutation-edcmpgtq.js} +15 -15
- package/dist/chunks/{file-mutation-1qgwrgfd.js → file-mutation-egsctaqy.js} +21 -21
- package/dist/chunks/{file-mutation-4kxjpvmm.js → file-mutation-ems2smmp.js} +24 -24
- package/dist/chunks/{file-mutation-bfp67d1e.js → file-mutation-enfrdb2x.js} +8 -8
- package/dist/chunks/{file-mutation-b8wpdthk.js → file-mutation-epgj3jkd.js} +22 -22
- package/dist/chunks/{file-mutation-0421tmwc.js → file-mutation-eqh43b5v.js} +7 -7
- package/dist/chunks/{file-mutation-q8ks7c1m.js → file-mutation-esd6nksf.js} +21 -21
- package/dist/chunks/{file-mutation-vm0wcjea.js → file-mutation-eskv2f81.js} +8 -8
- package/dist/chunks/{file-mutation-a610t88q.js → file-mutation-ezna1kdx.js} +4 -4
- package/dist/chunks/{file-mutation-rz9csvhz.js → file-mutation-f3mkqzy7.js} +12 -12
- package/dist/chunks/{file-mutation-mfd21a06.js → file-mutation-f4275qbf.js} +3 -3
- package/dist/chunks/{file-mutation-fvc4bqe2.js → file-mutation-faewc6h3.js} +3 -3
- package/dist/chunks/{file-mutation-xs3xca8c.js → file-mutation-fbnpe429.js} +18 -18
- package/dist/chunks/{file-mutation-p7bm53gt.js → file-mutation-fm0kc2vz.js} +8 -8
- package/dist/chunks/{file-mutation-vaqsjg05.js → file-mutation-fnbj75xz.js} +5 -5
- package/dist/chunks/{file-mutation-0zc3gznn.js → file-mutation-fqje64y2.js} +21 -21
- package/dist/chunks/{file-mutation-wqvpyqgm.js → file-mutation-fqktgm0k.js} +12 -12
- package/dist/chunks/{file-mutation-3p1jq0np.js → file-mutation-frvfbmdp.js} +8 -8
- package/dist/chunks/{file-mutation-atxt4sm9.js → file-mutation-ft13nsd4.js} +6 -6
- package/dist/chunks/{file-mutation-fr0fh1nj.js → file-mutation-fymw8q55.js} +18 -18
- package/dist/chunks/{file-mutation-mr7gd4pm.js → file-mutation-g5j9106q.js} +9 -9
- package/dist/chunks/{file-mutation-w7ceskr2.js → file-mutation-gctveymt.js} +12 -12
- package/dist/chunks/{file-mutation-f2rre9xz.js → file-mutation-gqmebmt6.js} +7 -7
- package/dist/chunks/{file-mutation-5q3wnkda.js → file-mutation-h245t4yc.js} +7 -7
- package/dist/chunks/{file-mutation-3dcnb5me.js → file-mutation-h2vj4qcs.js} +12 -12
- package/dist/chunks/{file-mutation-qpxdw9gm.js → file-mutation-h8gqg4ne.js} +7 -7
- package/dist/chunks/{file-mutation-5rv30s6t.js → file-mutation-h99q40g3.js} +82 -82
- package/dist/chunks/{file-mutation-acjz1v7j.js → file-mutation-hbcfg93c.js} +6 -6
- package/dist/chunks/{file-mutation-r5zmcn5f.js → file-mutation-hgcdtq4e.js} +12 -12
- package/dist/chunks/{file-mutation-p47da6wh.js → file-mutation-hhe7s84q.js} +2 -2
- package/dist/chunks/{file-mutation-e28v8y2t.js → file-mutation-hkzhzv1f.js} +29 -29
- package/dist/chunks/{file-mutation-bpzpc9vw.js → file-mutation-htq3pgp8.js} +1 -1
- package/dist/chunks/{file-mutation-kf6qbgb5.js → file-mutation-j12nxzwd.js} +1 -1
- package/dist/chunks/{file-mutation-we6venq8.js → file-mutation-j3zafv13.js} +9 -9
- package/dist/chunks/{file-mutation-kkh6p5hg.js → file-mutation-jbscr9h1.js} +4 -4
- package/dist/chunks/{file-mutation-bd3818sh.js → file-mutation-jp8p8349.js} +4 -4
- package/dist/chunks/{file-mutation-z2a3rv7v.js → file-mutation-jw9wy7z2.js} +9 -9
- package/dist/chunks/{file-mutation-7rp33d8t.js → file-mutation-jyragf21.js} +14 -14
- package/dist/chunks/{file-mutation-906g5kdk.js → file-mutation-kmnk1vdb.js} +7 -7
- package/dist/chunks/{file-mutation-9y9qs21w.js → file-mutation-krdcrhxc.js} +10 -10
- package/dist/chunks/{file-mutation-ganf5qds.js → file-mutation-m4qx0dyh.js} +22 -22
- package/dist/chunks/{file-mutation-zhbs0pmw.js → file-mutation-m4t4ftb9.js} +32 -32
- package/dist/chunks/{file-mutation-57k3rf66.js → file-mutation-m6btfgkq.js} +16 -16
- package/dist/chunks/{file-mutation-6b8h7563.js → file-mutation-mcc21mqv.js} +5 -5
- package/dist/chunks/{file-mutation-vx3jgdek.js → file-mutation-my4zabxr.js} +3 -3
- package/dist/chunks/{file-mutation-pr21x5ks.js → file-mutation-nffa1r89.js} +28 -28
- package/dist/chunks/{file-mutation-kaen2cat.js → file-mutation-ng91319j.js} +18 -18
- package/dist/chunks/{file-mutation-nmmvaykg.js → file-mutation-nwhk50md.js} +14 -14
- package/dist/chunks/{file-mutation-1yq9hg58.js → file-mutation-p7vhpwh8.js} +4 -4
- package/dist/chunks/{file-mutation-7cbjmmn9.js → file-mutation-pef0bd6s.js} +10 -10
- package/dist/chunks/{file-mutation-e1nbxf8q.js → file-mutation-q2dhmgm2.js} +12 -12
- package/dist/chunks/{file-mutation-q1xw7kgx.js → file-mutation-q7717vr4.js} +2 -2
- package/dist/chunks/{file-mutation-h65mpfhc.js → file-mutation-qgrk9qt1.js} +44 -44
- package/dist/chunks/{file-mutation-8jztxfpf.js → file-mutation-qjgzc4b4.js} +3 -3
- package/dist/chunks/{file-mutation-3n1ze0gv.js → file-mutation-qx7wy1t5.js} +22 -22
- package/dist/chunks/{file-mutation-ajmrn4wa.js → file-mutation-r64mr812.js} +26 -26
- package/dist/chunks/{file-mutation-yt06m8xx.js → file-mutation-r6b9cme8.js} +5 -5
- package/dist/chunks/{file-mutation-997dsrmm.js → file-mutation-r6wgv8c9.js} +7 -7
- package/dist/chunks/{file-mutation-d5w8jy03.js → file-mutation-r9t475hy.js} +12 -12
- package/dist/chunks/{file-mutation-y9xrhqjb.js → file-mutation-raw26vjr.js} +5 -5
- package/dist/chunks/{file-mutation-ew73g2zp.js → file-mutation-rbcej9n7.js} +4 -4
- package/dist/chunks/{file-mutation-e8zbksk4.js → file-mutation-rds2jhhw.js} +2 -2
- package/dist/chunks/{file-mutation-rehp1ca5.js → file-mutation-rjew0wjs.js} +18 -18
- package/dist/chunks/{file-mutation-rt0txz63.js → file-mutation-rjnacbrz.js} +7 -7
- package/dist/chunks/{file-mutation-zh89wwz7.js → file-mutation-rmvh37n9.js} +7 -7
- package/dist/chunks/{file-mutation-2v6yzfrh.js → file-mutation-rskep9rf.js} +26 -26
- package/dist/chunks/{file-mutation-2cvbz1q2.js → file-mutation-ry869zts.js} +14 -14
- package/dist/chunks/{file-mutation-7r2864x8.js → file-mutation-s0cvatyn.js} +9 -9
- package/dist/chunks/{file-mutation-gh9nzn29.js → file-mutation-s4yz0bzs.js} +2 -2
- package/dist/chunks/{file-mutation-hrwtt92m.js → file-mutation-s5ypg3ex.js} +10 -10
- package/dist/chunks/{file-mutation-00zh2tpm.js → file-mutation-s6p20e1k.js} +7 -7
- package/dist/chunks/{file-mutation-h406p1d4.js → file-mutation-s6xj0n9e.js} +11 -11
- package/dist/chunks/{file-mutation-9vyfkg2v.js → file-mutation-s9ty2h8k.js} +8 -8
- package/dist/chunks/{file-mutation-mgvc1gk7.js → file-mutation-sm6n1kzz.js} +12 -12
- package/dist/chunks/{file-mutation-1k8pspw3.js → file-mutation-sn3yw1vh.js} +23 -23
- package/dist/chunks/{file-mutation-4xg6svek.js → file-mutation-svewv0nk.js} +32 -32
- package/dist/chunks/{file-mutation-gy8yxpp1.js → file-mutation-t72fmagr.js} +8 -8
- package/dist/chunks/{file-mutation-c3kxzd3k.js → file-mutation-td9q6ghh.js} +14 -14
- package/dist/chunks/{file-mutation-hbkf0bb7.js → file-mutation-tfvs93xs.js} +4 -4
- package/dist/chunks/{file-mutation-myc1cmw5.js → file-mutation-tq3mzssj.js} +11 -11
- package/dist/chunks/{file-mutation-5vmh6pxt.js → file-mutation-v35yay96.js} +14 -14
- package/dist/chunks/{file-mutation-d8c7zwkj.js → file-mutation-v8kyx9fe.js} +19 -19
- package/dist/chunks/{file-mutation-03cjnd07.js → file-mutation-v9pksffj.js} +28 -28
- package/dist/chunks/{file-mutation-2qv8esx8.js → file-mutation-vamt18wv.js} +22 -22
- package/dist/chunks/{file-mutation-04ppth10.js → file-mutation-vd9bj70h.js} +25 -25
- package/dist/chunks/file-mutation-venck2hm.js +26 -0
- package/dist/chunks/{file-mutation-3405mbpt.js → file-mutation-vf8a67bd.js} +19 -19
- package/dist/chunks/{file-mutation-g7esga4v.js → file-mutation-vmfhgzt5.js} +4 -4
- package/dist/chunks/{file-mutation-qgk279fs.js → file-mutation-vtjgj3jr.js} +38 -38
- package/dist/chunks/{file-mutation-yy2s616e.js → file-mutation-vyaq3xbs.js} +8 -8
- package/dist/chunks/{file-mutation-egmw08v6.js → file-mutation-w059c7vr.js} +3 -3
- package/dist/chunks/{file-mutation-d2dx6a7h.js → file-mutation-w35wzz9x.js} +8 -8
- package/dist/chunks/{file-mutation-ph89xtmw.js → file-mutation-w3w76j4m.js} +32 -32
- package/dist/chunks/{file-mutation-76cb1hcw.js → file-mutation-w8qtt4th.js} +3 -3
- package/dist/chunks/{file-mutation-3vf4gpqx.js → file-mutation-w9vn8wsz.js} +9 -9
- package/dist/chunks/{file-mutation-zmk1cqnw.js → file-mutation-wb23mhq7.js} +37 -37
- package/dist/chunks/{file-mutation-fv8tw6aa.js → file-mutation-wbbnhv6v.js} +2 -2
- package/dist/chunks/{file-mutation-2c4qk5dm.js → file-mutation-wbz42q9f.js} +18 -18
- package/dist/chunks/{file-mutation-cg703a76.js → file-mutation-wdh6vgg0.js} +13 -13
- package/dist/chunks/{file-mutation-0h8y3ex8.js → file-mutation-wr3re1en.js} +3 -3
- package/dist/chunks/{file-mutation-1bb7jn70.js → file-mutation-wwzjdjk2.js} +1 -1
- package/dist/chunks/{file-mutation-kb3vw7p8.js → file-mutation-x240r3kw.js} +25 -25
- package/dist/chunks/{file-mutation-3bnc55rz.js → file-mutation-xb154nqk.js} +1 -1
- package/dist/chunks/{file-mutation-0fn7fmmf.js → file-mutation-xcfcjf9d.js} +10 -10
- package/dist/chunks/{file-mutation-c2b1zq20.js → file-mutation-xh4stpws.js} +32 -32
- package/dist/chunks/{file-mutation-hvh7vr4z.js → file-mutation-xk2ssr6t.js} +8 -8
- package/dist/chunks/{file-mutation-c5kjsz6q.js → file-mutation-xpve62cf.js} +3 -3
- package/dist/chunks/{file-mutation-yz63e4xv.js → file-mutation-xq4hz08w.js} +1 -1
- package/dist/chunks/{file-mutation-m6yx9010.js → file-mutation-y0dnfxbe.js} +9 -9
- package/dist/chunks/{file-mutation-y456hjcf.js → file-mutation-y78pw8hh.js} +17 -17
- package/dist/chunks/{file-mutation-5jn2rvwm.js → file-mutation-y9nmyqm6.js} +16 -16
- package/dist/chunks/{file-mutation-czxr0pk5.js → file-mutation-yf8h703t.js} +25 -25
- package/dist/chunks/{file-mutation-ejryywa8.js → file-mutation-yhtr6e88.js} +42 -42
- package/dist/chunks/{file-mutation-n0cek02z.js → file-mutation-yprj29vk.js} +4 -4
- package/dist/chunks/{file-mutation-1daas5y7.js → file-mutation-ys5ve7gf.js} +59 -59
- package/dist/chunks/{file-mutation-bn1zwxk7.js → file-mutation-yvyt4vgc.js} +10 -10
- package/dist/chunks/file-mutation-z053f2bw.js +257 -0
- package/dist/chunks/{file-mutation-yk7z3cd9.js → file-mutation-z3789qry.js} +17 -17
- package/dist/chunks/{file-mutation-9z3zqrcq.js → file-mutation-zg057h9g.js} +16 -16
- package/dist/chunks/{file-mutation-dr3mewcq.js → file-mutation-zk52q0tv.js} +13 -13
- package/dist/chunks/{file-mutation-27bs79w9.js → file-mutation-zmwx25fz.js} +1 -1
- package/dist/chunks/{file-mutation-06ddj0xt.js → file-mutation-zz54hcfv.js} +13 -13
- package/dist/codemode/instructions.js +10 -10
- package/dist/command.js +69 -69
- package/dist/config/discovery.js +64 -64
- package/dist/config/normalize.js +77 -77
- package/dist/config/plugin/agent.js +89 -89
- package/dist/config/plugin/command.js +176 -176
- package/dist/config/plugin/compaction.js +124 -124
- package/dist/config/plugin/compatibility.js +107 -107
- package/dist/config/plugin/formatter.js +90 -90
- package/dist/config/plugin/image.js +89 -89
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +91 -91
- package/dist/config/plugin/mcp.js +93 -93
- package/dist/config/plugin/policy.js +90 -90
- package/dist/config/plugin/provider.js +89 -89
- package/dist/config/plugin/reference.js +91 -91
- package/dist/config/plugin/shell.js +91 -91
- package/dist/config/plugin/skill-file.js +79 -79
- package/dist/config/plugin/skill.js +110 -110
- package/dist/config/plugin/snapshot.js +89 -89
- package/dist/config/plugin/source.js +90 -90
- package/dist/config/plugin/tool-output.js +90 -90
- package/dist/config/plugin/websearch.js +90 -90
- package/dist/config/plugin/worktree.js +90 -90
- package/dist/config.js +95 -95
- package/dist/credential.js +64 -64
- package/dist/database/database.js +51 -51
- package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +11 -11
- package/dist/database/migration.gen.js +39 -39
- package/dist/database/migration.js +41 -41
- package/dist/database/v1-migration.bun.js +24 -24
- package/dist/effect/app-node-builder.js +238 -238
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +69 -69
- package/dist/environment/index.js +69 -69
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +82 -82
- package/dist/file-mutation.js +70 -70
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +191 -191
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +74 -74
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +10 -10
- package/dist/filesystem.js +77 -77
- package/dist/form.js +66 -66
- package/dist/formatter.js +63 -63
- package/dist/generate.js +83 -83
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +71 -71
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +315 -315
- package/dist/instruction-discovery.js +64 -64
- package/dist/instructions/builtins.js +67 -67
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +70 -70
- package/dist/job.js +59 -59
- package/dist/kv.js +56 -56
- package/dist/location-activity.js +73 -73
- package/dist/location-lifecycle.js +85 -85
- package/dist/location-service-map.js +66 -66
- package/dist/location-services.js +313 -313
- package/dist/location.js +69 -69
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +20 -20
- package/dist/mcp/index.js +79 -79
- package/dist/mcp/instructions.js +111 -111
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +66 -66
- package/dist/modal/models.js +71 -71
- package/dist/model-resolver.js +78 -78
- package/dist/model.js +70 -70
- package/dist/models-dev.js +80 -80
- package/dist/permission/saved.js +65 -65
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +91 -91
- package/dist/persistent-pty/index.js +66 -66
- package/dist/persistent-pty.js +56 -56
- package/dist/plugin/agent.js +58 -58
- package/dist/plugin/command.js +76 -76
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +182 -182
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/internal.js +289 -289
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +90 -90
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +80 -80
- package/dist/plugin/provider/amazon-bedrock.js +70 -70
- package/dist/plugin/provider/azure.js +90 -90
- package/dist/plugin/provider/chatgpt.js +88 -88
- package/dist/plugin/provider/cloudflare-ai-gateway.js +87 -87
- package/dist/plugin/provider/cloudflare-workers-ai.js +87 -87
- package/dist/plugin/provider/configured.js +86 -86
- package/dist/plugin/provider/digitalocean.js +72 -72
- package/dist/plugin/provider/github-copilot.js +74 -74
- package/dist/plugin/provider/gitlab.js +72 -72
- package/dist/plugin/provider/google-vertex.js +87 -87
- package/dist/plugin/provider/llmgateway.js +59 -59
- package/dist/plugin/provider/lmstudio.js +95 -95
- package/dist/plugin/provider/local.js +92 -92
- package/dist/plugin/provider/modal.js +72 -72
- package/dist/plugin/provider/ollama.js +95 -95
- package/dist/plugin/provider/openai-context-caps.js +70 -70
- package/dist/plugin/provider/openai.js +90 -90
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +71 -71
- package/dist/plugin/provider/poe.js +59 -59
- package/dist/plugin/provider/sap-ai-core.js +70 -70
- package/dist/plugin/provider/snowflake-cortex.js +88 -88
- package/dist/plugin/provider/vercel.js +70 -70
- package/dist/plugin/provider/vllm.js +95 -95
- package/dist/plugin/provider/xai.js +71 -71
- package/dist/plugin/provider.js +135 -135
- package/dist/plugin/sdk.js +60 -60
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +106 -106
- package/dist/plugin/supervisor.js +304 -304
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +66 -66
- package/dist/plugin/vcs/hg.js +66 -66
- package/dist/plugin/verbosity.js +73 -73
- 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 +7 -7
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +194 -194
- package/dist/project/schema.js +7 -7
- package/dist/project/sql.js +2 -2
- package/dist/project.js +70 -70
- package/dist/provider.js +73 -73
- package/dist/pty.js +78 -78
- package/dist/reference/instructions.js +66 -66
- package/dist/reference.js +64 -64
- package/dist/repository-cache.js +59 -59
- package/dist/ripgrep.js +70 -70
- package/dist/rpc.js +66 -66
- package/dist/session/command.js +58 -58
- package/dist/session/compaction.js +106 -106
- package/dist/session/context.js +133 -133
- package/dist/session/diff.js +67 -67
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +119 -119
- package/dist/session/execution.js +102 -102
- package/dist/session/generate.js +135 -135
- package/dist/session/history.js +11 -11
- package/dist/session/inbox.js +69 -69
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +62 -62
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +75 -75
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +92 -92
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +105 -105
- package/dist/session/projector.js +68 -68
- package/dist/session/prompt.js +82 -82
- package/dist/session/revert.js +72 -72
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +192 -192
- package/dist/session/runner/model.js +77 -77
- package/dist/session/runner/publish-llm-event.js +90 -90
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +98 -98
- package/dist/session/runner/to-llm-message.js +10 -10
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +133 -133
- package/dist/session/shell.js +99 -99
- package/dist/session/skill.js +81 -81
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +66 -66
- package/dist/session/subagent-job.js +177 -177
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +134 -134
- package/dist/session/to-session-error.js +89 -89
- package/dist/session/transfer.js +116 -116
- package/dist/session.js +188 -188
- package/dist/shell/parse.js +4 -4
- package/dist/shell/select.js +12 -12
- package/dist/shell.js +102 -102
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +85 -85
- package/dist/skill.js +90 -90
- package/dist/snapshot.js +69 -69
- package/dist/tool/mcp.js +110 -110
- package/dist/tool/plugin/edit.js +95 -95
- package/dist/tool/plugin/glob.js +99 -99
- package/dist/tool/plugin/grep.js +99 -99
- package/dist/tool/plugin/mcp-resource.js +98 -98
- package/dist/tool/plugin/opencode.js +85 -85
- package/dist/tool/plugin/patch.js +91 -91
- package/dist/tool/plugin/question.js +81 -81
- package/dist/tool/plugin/read.js +99 -99
- package/dist/tool/plugin/shell.js +183 -183
- package/dist/tool/plugin/skill.js +83 -83
- package/dist/tool/plugin/subagent.js +182 -182
- package/dist/tool/plugin/todo.js +111 -111
- package/dist/tool/plugin/webfetch.js +84 -84
- package/dist/tool/plugin/websearch.js +90 -90
- package/dist/tool/plugin/write.js +91 -91
- package/dist/tool/read-filesystem.js +76 -76
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +71 -71
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/variant.js +73 -73
- package/dist/vcs.js +69 -69
- package/dist/voice.js +67 -67
- package/dist/websearch.js +64 -64
- package/dist/wellknown/plugin.js +58 -58
- package/dist/wellknown.js +63 -63
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +63 -63
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree/strategies.js +68 -68
- package/dist/worktree.js +78 -78
- package/package.json +8 -8
- package/dist/chunks/file-mutation-k1mgqf2s.js +0 -26
- package/dist/chunks/file-mutation-vz42csha.js +0 -257
- /package/dist/chunks/{file-mutation-8sxdqgb0.js → file-mutation-0ks2n9jf.js} +0 -0
- /package/dist/chunks/{file-mutation-9s6n3p5d.js → file-mutation-245k30ek.js} +0 -0
- /package/dist/chunks/{file-mutation-rf80fxgj.js → file-mutation-2cmv458r.js} +0 -0
- /package/dist/chunks/{file-mutation-034tev2y.js → file-mutation-aj7mw0zk.js} +0 -0
- /package/dist/chunks/{file-mutation-29kdrth0.js → file-mutation-rmyqj6m3.js} +0 -0
- /package/dist/chunks/{file-mutation-51wwr1cb.js → file-mutation-yj6jvem3.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./file-mutation-
|
|
4
|
+
} from "./file-mutation-q7717vr4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service33,
|
|
7
7
|
node37
|
|
8
|
-
} from "./file-mutation-
|
|
8
|
+
} from "./file-mutation-4rnk6nkc.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
11
|
} from "./file-mutation-2z1j29yd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./file-mutation-
|
|
13
|
+
Service54,
|
|
14
|
+
node57
|
|
15
|
+
} from "./file-mutation-bgmahzg8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./file-mutation-
|
|
17
|
+
Service36,
|
|
18
|
+
node39
|
|
19
|
+
} from "./file-mutation-v8kyx9fe.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./file-mutation-
|
|
21
|
+
Service62,
|
|
22
|
+
node65
|
|
23
|
+
} from "./file-mutation-s9ty2h8k.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./file-mutation-
|
|
26
|
+
} from "./file-mutation-y9nmyqm6.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
29
|
} from "./file-mutation-9rqn6x4v.js";
|
|
@@ -32,11 +32,11 @@ import {
|
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
36
|
-
layer: () =>
|
|
37
|
-
name: () =>
|
|
35
|
+
Service: () => Service26,
|
|
36
|
+
layer: () => layer14,
|
|
37
|
+
name: () => name14,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node29
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service26 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer14 = Layer.effect(Service26, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service33;
|
|
54
|
+
const tools = yield* Service36;
|
|
55
55
|
const bus = yield* Service85;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service54;
|
|
57
|
+
const toolOutput = yield* Service62;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer15 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name14(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer15 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer15 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
149
|
-
layer:
|
|
150
|
-
deps: [
|
|
147
|
+
var node29 = makeLocationNode({
|
|
148
|
+
service: Service26,
|
|
149
|
+
layer: layer14,
|
|
150
|
+
deps: [node39, node37, node89, node57, node65]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name14, Service26, layer14, node29, exports_mcp3 };
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
AbsolutePath2
|
|
3
3
|
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./file-mutation-
|
|
5
|
+
Service82
|
|
6
|
+
} from "./file-mutation-m6btfgkq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./file-mutation-
|
|
8
|
+
Service63
|
|
9
|
+
} from "./file-mutation-abn7vnge.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./file-mutation-
|
|
11
|
+
Service50
|
|
12
|
+
} from "./file-mutation-rjew0wjs.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
15
|
} from "./file-mutation-6pjqjmy2.js";
|
|
@@ -21,19 +21,19 @@ import {
|
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin32 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service63;
|
|
34
|
+
const location = yield* Service82;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service50;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin20 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin32, exports_worktree };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./file-mutation-
|
|
4
|
+
} from "./file-mutation-5rxgzxpx.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./file-mutation-
|
|
8
|
+
} from "./file-mutation-bgmahzg8.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./file-mutation-
|
|
11
|
+
} from "./file-mutation-dzgdh8q8.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./file-mutation-
|
|
19
|
+
} from "./file-mutation-yf8h703t.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./file-mutation-
|
|
23
|
+
} from "./file-mutation-743x2srx.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./file-mutation-
|
|
4
|
+
} from "./file-mutation-q7717vr4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./file-mutation-
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./file-mutation-m6btfgkq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service65,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./file-mutation-
|
|
12
|
+
node68
|
|
13
|
+
} from "./file-mutation-9fs0fy5y.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
16
|
} from "./file-mutation-88xbtdfr.js";
|
|
@@ -21,45 +21,45 @@ import {
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event10,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID6,
|
|
28
|
+
Info: () => Info11,
|
|
29
|
+
NotFoundError: () => NotFoundError5,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service52,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node55
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event10 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID6 = Pty.ID;
|
|
43
|
+
var Info11 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError5 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID6
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID6
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service52 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service85;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
61
|
+
const location = yield* Service82;
|
|
62
|
+
const shell = yield* Service65;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID6.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service52.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node55 = makeLocationNode({
|
|
273
|
+
service: Service52,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node89,
|
|
275
|
+
deps: [node89, node86, node68]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID6, Info11, CreateInput3, UpdateInput2, NotFoundError5, ExitedError2, Service52, node55, exports_pty, Event10 };
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./file-mutation-
|
|
5
|
+
Service33
|
|
6
|
+
} from "./file-mutation-4rnk6nkc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./file-mutation-
|
|
8
|
+
Service54
|
|
9
|
+
} from "./file-mutation-bgmahzg8.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_MIMES2
|
|
12
|
-
} from "./file-mutation-
|
|
12
|
+
} from "./file-mutation-y9nmyqm6.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
15
|
} from "./file-mutation-9rqn6x4v.js";
|
|
@@ -18,15 +18,15 @@ import {
|
|
|
18
18
|
var exports_mcp_resource = {};
|
|
19
19
|
__export(exports_mcp_resource, {
|
|
20
20
|
McpResourceTools: () => exports_mcp_resource,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin7 = {
|
|
26
26
|
id: "opencode.tools.mcp-resources",
|
|
27
27
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
28
|
-
const mcp = yield*
|
|
29
|
-
const permission = yield*
|
|
28
|
+
const mcp = yield* Service33;
|
|
29
|
+
const permission = yield* Service54;
|
|
30
30
|
yield* ctx.tool.transform((editor) => {
|
|
31
31
|
editor.add({
|
|
32
32
|
name: "list_mcp_resources",
|
|
@@ -96,4 +96,4 @@ var Plugin33 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin7, exports_mcp_resource };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./file-mutation-
|
|
3
|
+
Service76
|
|
4
|
+
} from "./file-mutation-5pex491w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./file-mutation-
|
|
6
|
+
Service63
|
|
7
|
+
} from "./file-mutation-abn7vnge.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service76;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service63);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./file-mutation-
|
|
4
|
+
} from "./file-mutation-q7717vr4.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./file-mutation-9rqn6x4v.js";
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info26,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer27,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node83,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info26 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer27 = Layer.effect(
|
|
84
|
+
var layer27 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node83 = makeLocationNode({ service: Service79, layer: layer27, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID16, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer27, node83, validateAnswer2, validateFields2, exports_form, Event19 };
|