@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
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./file-mutation-
|
|
6
|
+
Service63
|
|
7
|
+
} from "./file-mutation-abn7vnge.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
10
|
} from "./file-mutation-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./file-mutation-
|
|
12
|
+
Service73
|
|
13
|
+
} from "./file-mutation-535rzh00.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./file-mutation-
|
|
15
|
+
Service43
|
|
16
|
+
} from "./file-mutation-3ek3wb4s.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./file-mutation-
|
|
18
|
+
Service54
|
|
19
|
+
} from "./file-mutation-bgmahzg8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service53,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./file-mutation-
|
|
23
|
+
} from "./file-mutation-da9t4t99.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
@@ -28,36 +28,36 @@ import {
|
|
|
28
28
|
notification2
|
|
29
29
|
} from "./file-mutation-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service65,
|
|
32
32
|
name16
|
|
33
|
-
} from "./file-mutation-
|
|
33
|
+
} from "./file-mutation-9fs0fy5y.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./file-mutation-
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service60
|
|
37
|
+
} from "./file-mutation-9b9nrhta.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./file-mutation-
|
|
39
|
+
Service21
|
|
40
|
+
} from "./file-mutation-h99q40g3.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./file-mutation-
|
|
43
|
+
} from "./file-mutation-wwzjdjk2.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
46
|
} from "./file-mutation-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin8,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name6 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input6 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin8 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service21;
|
|
124
|
+
const jobs = yield* Service43;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service73;
|
|
127
|
+
const access = yield* Service53;
|
|
128
|
+
const shell = yield* Service60;
|
|
129
|
+
const shellSelect = yield* Service65;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service54;
|
|
132
|
+
const config = yield* Service63;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin24 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name6,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin24 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name6,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input6,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin24 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name6,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name6];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin8, exports_shell };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./file-mutation-
|
|
3
|
+
} from "./file-mutation-bgmahzg8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./file-mutation-9rqn6x4v.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin45
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin45 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin45, exports_plan };
|
|
@@ -1,93 +1,93 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./file-mutation-
|
|
4
|
+
} from "./file-mutation-5xn9952g.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./file-mutation-
|
|
8
|
+
} from "./file-mutation-q7717vr4.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
11
|
} from "./file-mutation-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./file-mutation-
|
|
14
|
+
} from "./file-mutation-5rxgzxpx.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
17
|
} from "./file-mutation-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./file-mutation-
|
|
20
|
+
} from "./file-mutation-dvj9ct8m.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./file-mutation-
|
|
23
|
+
} from "./file-mutation-cfkc8wvf.js";
|
|
24
24
|
import {
|
|
25
25
|
decodeMessageRow2,
|
|
26
26
|
preview2
|
|
27
|
-
} from "./file-mutation-
|
|
27
|
+
} from "./file-mutation-gqmebmt6.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./file-mutation-
|
|
29
|
+
Service55,
|
|
30
|
+
node58
|
|
31
|
+
} from "./file-mutation-wdh6vgg0.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./file-mutation-
|
|
33
|
+
Service20,
|
|
34
|
+
node23
|
|
35
|
+
} from "./file-mutation-m4t4ftb9.js";
|
|
36
36
|
import {
|
|
37
37
|
llmClient2
|
|
38
38
|
} from "./file-mutation-p015t6z3.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
Service29,
|
|
41
41
|
node32
|
|
42
|
-
} from "./file-mutation-
|
|
42
|
+
} from "./file-mutation-t72fmagr.js";
|
|
43
43
|
import {
|
|
44
44
|
baseTranscript2
|
|
45
|
-
} from "./file-mutation-
|
|
45
|
+
} from "./file-mutation-036w2vvs.js";
|
|
46
46
|
import {
|
|
47
47
|
make5
|
|
48
|
-
} from "./file-mutation-
|
|
48
|
+
} from "./file-mutation-0ks2n9jf.js";
|
|
49
49
|
import {
|
|
50
50
|
toSessionError2
|
|
51
|
-
} from "./file-mutation-
|
|
51
|
+
} from "./file-mutation-85p7gfn7.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
Service7,
|
|
54
|
+
node9,
|
|
55
55
|
estimatePrompt2
|
|
56
|
-
} from "./file-mutation-
|
|
56
|
+
} from "./file-mutation-4dnfsash.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./file-mutation-
|
|
58
|
+
node65
|
|
59
|
+
} from "./file-mutation-s9ty2h8k.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./file-mutation-
|
|
61
|
+
Service23,
|
|
62
|
+
node26
|
|
63
|
+
} from "./file-mutation-e4n8ygfy.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./file-mutation-
|
|
68
|
+
} from "./file-mutation-fqktgm0k.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service3,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./file-mutation-
|
|
72
|
+
node4
|
|
73
|
+
} from "./file-mutation-bwe8ad2d.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./file-mutation-
|
|
76
|
+
Service39
|
|
77
|
+
} from "./file-mutation-xpve62cf.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./file-mutation-
|
|
79
|
+
node51
|
|
80
|
+
} from "./file-mutation-r64mr812.js";
|
|
81
81
|
import {
|
|
82
82
|
Outcome2,
|
|
83
83
|
make3
|
|
84
|
-
} from "./file-mutation-
|
|
84
|
+
} from "./file-mutation-c7c27t1m.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
} from "./file-mutation-
|
|
86
|
+
Service34
|
|
87
|
+
} from "./file-mutation-ezna1kdx.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./file-mutation-
|
|
89
|
+
node18
|
|
90
|
+
} from "./file-mutation-fymw8q55.js";
|
|
91
91
|
import {
|
|
92
92
|
MAX_STEPS_PROMPT2
|
|
93
93
|
} from "./file-mutation-y44na4kk.js";
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
var exports_llm = {};
|
|
100
100
|
__export(exports_llm, {
|
|
101
101
|
SessionRunnerLLM: () => exports_llm,
|
|
102
|
-
node: () =>
|
|
102
|
+
node: () => node3
|
|
103
103
|
});
|
|
104
104
|
import { Message } from "@opencode/ai";
|
|
105
105
|
import { and, desc, eq, inArray, sql } from "drizzle-orm";
|
|
@@ -107,16 +107,16 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
|
107
107
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
108
108
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
109
109
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
110
|
-
var layer = Layer.effect(
|
|
110
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
111
111
|
const bus = yield* Service85;
|
|
112
|
-
const lifecycle = yield*
|
|
113
|
-
const store = yield*
|
|
114
|
-
const context = yield*
|
|
115
|
-
const modelTransport = yield*
|
|
112
|
+
const lifecycle = yield* Service20;
|
|
113
|
+
const store = yield* Service55;
|
|
114
|
+
const context = yield* Service23;
|
|
115
|
+
const modelTransport = yield* Service29;
|
|
116
116
|
const db = (yield* Service86).db;
|
|
117
|
-
const compaction = yield*
|
|
118
|
-
const plugins = yield*
|
|
119
|
-
const title = yield*
|
|
117
|
+
const compaction = yield* Service7;
|
|
118
|
+
const plugins = yield* Service34;
|
|
119
|
+
const title = yield* Service3;
|
|
120
120
|
const steps = yield* make3;
|
|
121
121
|
const titles = yield* FiberMap.make();
|
|
122
122
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -375,25 +375,25 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
});
|
|
378
|
-
return
|
|
378
|
+
return Service39.of({ drain });
|
|
379
379
|
}));
|
|
380
|
-
var
|
|
381
|
-
service:
|
|
380
|
+
var node3 = makeLocationNode({
|
|
381
|
+
service: Service39,
|
|
382
382
|
layer,
|
|
383
383
|
deps: [
|
|
384
384
|
node89,
|
|
385
|
-
|
|
385
|
+
node23,
|
|
386
386
|
llmClient2,
|
|
387
|
-
|
|
387
|
+
node26,
|
|
388
388
|
node32,
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
389
|
+
node58,
|
|
390
|
+
node9,
|
|
391
|
+
node18,
|
|
392
|
+
node4,
|
|
393
|
+
node51,
|
|
394
|
+
node65,
|
|
395
395
|
node90
|
|
396
396
|
]
|
|
397
397
|
});
|
|
398
398
|
|
|
399
|
-
export {
|
|
399
|
+
export { node3, exports_llm };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./file-mutation-
|
|
5
|
+
} from "./file-mutation-2hbghhry.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
8
|
} from "./file-mutation-9rqn6x4v.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
var exports_agent2 = {};
|
|
12
12
|
__export(exports_agent2, {
|
|
13
13
|
AgentPlugin: () => exports_agent2,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin48
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin48 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin47 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID9.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID9.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID9.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID9.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID9.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin47 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin48, exports_agent2 };
|