@opencode/core 0.0.0-dev-526 → 0.0.0-dev-528
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 +73 -73
- package/dist/aisdk-native.js +82 -82
- package/dist/aisdk.js +87 -87
- package/dist/app.js +7 -7
- package/dist/artifact.js +215 -215
- package/dist/bus.js +66 -66
- package/dist/chunks/{repository-cache-rq5zfkmw.js → repository-cache-01k7epdz.js} +8 -8
- package/dist/chunks/{repository-cache-8qehcy0c.js → repository-cache-07h79106.js} +66 -66
- package/dist/chunks/{repository-cache-akk783yh.js → repository-cache-0mgzkh3z.js} +2 -2
- package/dist/chunks/{repository-cache-fvz47e7v.js → repository-cache-0nwj03m7.js} +9 -9
- package/dist/chunks/{repository-cache-dgw19g0z.js → repository-cache-0pkn334n.js} +10 -10
- package/dist/chunks/{repository-cache-0570svrq.js → repository-cache-0py1yhe6.js} +42 -42
- package/dist/chunks/{repository-cache-8z0w46qk.js → repository-cache-0pzj4jw3.js} +28 -28
- package/dist/chunks/{repository-cache-ytc8zafd.js → repository-cache-0qa09yhm.js} +18 -18
- package/dist/chunks/{repository-cache-xjbsd7zy.js → repository-cache-0s9gv0av.js} +7 -7
- package/dist/chunks/{repository-cache-nrv2xqv3.js → repository-cache-0z1679ht.js} +14 -14
- package/dist/chunks/{repository-cache-x150ncgg.js → repository-cache-19gkfjnk.js} +1 -1
- package/dist/chunks/{repository-cache-cg17g3bh.js → repository-cache-1cy6y56s.js} +14 -14
- package/dist/chunks/{repository-cache-qtf35215.js → repository-cache-1njtx4es.js} +3 -3
- package/dist/chunks/{repository-cache-rrcz77ds.js → repository-cache-1nr3zt2y.js} +14 -14
- package/dist/chunks/{repository-cache-8g483503.js → repository-cache-1r7fa2na.js} +24 -24
- package/dist/chunks/{repository-cache-btzjsk5g.js → repository-cache-1xvat539.js} +19 -19
- package/dist/chunks/{repository-cache-v5xy8wzz.js → repository-cache-20k00q4h.js} +9 -9
- package/dist/chunks/{repository-cache-cmbezbpz.js → repository-cache-23syddrh.js} +20 -20
- package/dist/chunks/{repository-cache-39v36dn9.js → repository-cache-25v3tgn9.js} +2 -2
- package/dist/chunks/{repository-cache-tb2mrvc9.js → repository-cache-26wfx3k0.js} +3 -3
- package/dist/chunks/{repository-cache-tshvvb5t.js → repository-cache-2715acwk.js} +9 -9
- package/dist/chunks/{repository-cache-1ep2p91f.js → repository-cache-27w5k9zf.js} +1 -1
- package/dist/chunks/{repository-cache-r9g39hxh.js → repository-cache-29rhhbmx.js} +48 -48
- package/dist/chunks/{repository-cache-p0rg1a2b.js → repository-cache-29z0zpha.js} +4 -4
- package/dist/chunks/{repository-cache-17b8a7h3.js → repository-cache-2a6tkf44.js} +6 -6
- package/dist/chunks/{repository-cache-50emzza2.js → repository-cache-2b2r7h3k.js} +7 -7
- package/dist/chunks/{repository-cache-36njk8b9.js → repository-cache-2fjhnpmp.js} +8 -8
- package/dist/chunks/{repository-cache-4r7b9kq0.js → repository-cache-2h56gaw8.js} +83 -83
- package/dist/chunks/{repository-cache-vsb7s5jc.js → repository-cache-2j89yb3m.js} +22 -22
- package/dist/chunks/{repository-cache-j0p3wt22.js → repository-cache-2kedh6bd.js} +7 -7
- package/dist/chunks/{repository-cache-ztf6n3de.js → repository-cache-2m2g9ynh.js} +3 -3
- package/dist/chunks/{repository-cache-3345d27s.js → repository-cache-2nz4tm3b.js} +49 -49
- package/dist/chunks/{repository-cache-kse531ts.js → repository-cache-2vpsg9px.js} +1 -1
- package/dist/chunks/{repository-cache-0p9dpm4j.js → repository-cache-30kxy8g4.js} +6 -6
- package/dist/chunks/{repository-cache-tjbc8cst.js → repository-cache-39zp4fx6.js} +52 -52
- package/dist/chunks/{repository-cache-ayjs7tqn.js → repository-cache-3cbjf1nt.js} +1 -1
- package/dist/chunks/{repository-cache-gsdm4vs4.js → repository-cache-3kpfxvz8.js} +1 -1
- package/dist/chunks/{repository-cache-n2byyn4z.js → repository-cache-3nbmnbm3.js} +19 -19
- package/dist/chunks/{repository-cache-6fbmsmtz.js → repository-cache-3xvj5eve.js} +6 -6
- package/dist/chunks/{repository-cache-kpgqb8fa.js → repository-cache-3z170p80.js} +13 -13
- package/dist/chunks/{repository-cache-yypes0b9.js → repository-cache-45zt72vt.js} +75 -75
- package/dist/chunks/{repository-cache-v4wwqybb.js → repository-cache-493fsfav.js} +4 -4
- package/dist/chunks/{repository-cache-23frs6jw.js → repository-cache-4rf2v3x4.js} +5 -5
- package/dist/chunks/{repository-cache-bvatbj32.js → repository-cache-4za56k4r.js} +29 -29
- package/dist/chunks/{repository-cache-z6d4vqry.js → repository-cache-546fe9fw.js} +5 -5
- package/dist/chunks/{repository-cache-g9m7dw8y.js → repository-cache-57dphzb6.js} +17 -17
- package/dist/chunks/{repository-cache-npycpjef.js → repository-cache-5badvev5.js} +36 -36
- package/dist/chunks/{repository-cache-51wjgk96.js → repository-cache-5gymyzcn.js} +22 -22
- package/dist/chunks/{repository-cache-72jpt517.js → repository-cache-5pp7cr08.js} +8 -8
- package/dist/chunks/{repository-cache-efmq5t8s.js → repository-cache-5rdk9bd3.js} +6 -6
- package/dist/chunks/{repository-cache-7e8fzpbf.js → repository-cache-5xt4hebh.js} +17 -17
- package/dist/chunks/{repository-cache-pzth02e8.js → repository-cache-5yb3jceh.js} +33 -33
- package/dist/chunks/{repository-cache-z6z16erj.js → repository-cache-5ytbsxg8.js} +44 -44
- package/dist/chunks/{repository-cache-vtkyewdg.js → repository-cache-62b0mtf4.js} +9 -9
- package/dist/chunks/{repository-cache-cfydbn62.js → repository-cache-64h1tw9f.js} +29 -29
- package/dist/chunks/{repository-cache-q65mdntm.js → repository-cache-6dqyy18z.js} +3 -3
- package/dist/chunks/{repository-cache-782sfg4x.js → repository-cache-6hbt1qs3.js} +2 -2
- package/dist/chunks/{repository-cache-z9fg28mj.js → repository-cache-6sb6jh13.js} +30 -30
- package/dist/chunks/{repository-cache-qg88eyhy.js → repository-cache-6tt6kcbb.js} +2 -2
- package/dist/chunks/{repository-cache-eab5fpag.js → repository-cache-78jn5b9r.js} +45 -45
- package/dist/chunks/{repository-cache-6y2b864j.js → repository-cache-79k544d0.js} +6 -6
- package/dist/chunks/{repository-cache-09mtnzdp.js → repository-cache-7j4pg84s.js} +1 -1
- package/dist/chunks/{repository-cache-aptmk1eg.js → repository-cache-7mvxqbtz.js} +7 -7
- package/dist/chunks/{repository-cache-8sxe6kv8.js → repository-cache-7qrph824.js} +1 -1
- package/dist/chunks/{repository-cache-m8g39vpr.js → repository-cache-87mrst72.js} +4 -4
- package/dist/chunks/{repository-cache-wcb4m75m.js → repository-cache-8degc2se.js} +2 -2
- package/dist/chunks/{repository-cache-mg4rrfgc.js → repository-cache-8g55cj9n.js} +9 -9
- package/dist/chunks/{repository-cache-h2wazp8s.js → repository-cache-8sbvrr13.js} +16 -16
- package/dist/chunks/{repository-cache-3qgwywyc.js → repository-cache-8t99kr38.js} +3 -3
- package/dist/chunks/{repository-cache-5gnsew3j.js → repository-cache-8w81yv1k.js} +16 -16
- package/dist/chunks/{repository-cache-mb7mbhnz.js → repository-cache-8z6m94af.js} +1 -1
- package/dist/chunks/{repository-cache-yn3x0myd.js → repository-cache-8zwaxxx0.js} +5 -5
- package/dist/chunks/{repository-cache-gv2m5n15.js → repository-cache-9b5t9yj0.js} +10 -10
- package/dist/chunks/{repository-cache-jqzkmxe2.js → repository-cache-9b9m7ffr.js} +41 -41
- package/dist/chunks/{repository-cache-r5f9wcnz.js → repository-cache-9ds2ve8j.js} +8 -8
- package/dist/chunks/{repository-cache-4w8rtzkq.js → repository-cache-9jtwx9cv.js} +23 -23
- package/dist/chunks/{repository-cache-45bqgdt1.js → repository-cache-9k3rss2s.js} +21 -21
- package/dist/chunks/{repository-cache-6avt71pb.js → repository-cache-9mm9ysz3.js} +31 -31
- package/dist/chunks/{repository-cache-3yzzx9pt.js → repository-cache-9tp3mnbx.js} +7 -7
- package/dist/chunks/{repository-cache-snws2sbm.js → repository-cache-a6cs5kbs.js} +7 -7
- package/dist/chunks/{repository-cache-zfbdpczg.js → repository-cache-ag9187ex.js} +12 -12
- package/dist/chunks/{repository-cache-tk4w63wn.js → repository-cache-amfhhqee.js} +3 -3
- package/dist/chunks/{repository-cache-x9aa95w6.js → repository-cache-arz3py2d.js} +7 -7
- package/dist/chunks/{repository-cache-s0qt78mh.js → repository-cache-ax5fhcrq.js} +14 -14
- package/dist/chunks/{repository-cache-3yycz9r1.js → repository-cache-axhyxf2f.js} +7 -7
- package/dist/chunks/{repository-cache-hqvawb3t.js → repository-cache-b4v9py3p.js} +10 -10
- package/dist/chunks/{repository-cache-cxd6nj8e.js → repository-cache-b8pf1f15.js} +3 -3
- package/dist/chunks/{repository-cache-9rqhy0gk.js → repository-cache-bb3pv0r8.js} +3 -3
- package/dist/chunks/{repository-cache-5skedt4e.js → repository-cache-beytjyxy.js} +11 -11
- package/dist/chunks/{repository-cache-js2thteb.js → repository-cache-bffda3dn.js} +1 -1
- package/dist/chunks/{repository-cache-y3p3hzkr.js → repository-cache-bmrg0j5c.js} +3 -3
- package/dist/chunks/{repository-cache-pcfp8313.js → repository-cache-bsyc285h.js} +29 -29
- package/dist/chunks/{repository-cache-v484v0gw.js → repository-cache-bxe80pjv.js} +11 -11
- package/dist/chunks/{repository-cache-gp7aa7a5.js → repository-cache-c3k30skk.js} +176 -176
- package/dist/chunks/{repository-cache-72mm92v7.js → repository-cache-c5b3skzj.js} +1 -1
- package/dist/chunks/{repository-cache-bkscep7p.js → repository-cache-c6fpyn17.js} +25 -25
- package/dist/chunks/{repository-cache-2dj158v7.js → repository-cache-c6nh8dtq.js} +33 -33
- package/dist/chunks/{repository-cache-jaq18jgp.js → repository-cache-c7gk57p6.js} +4 -4
- package/dist/chunks/{repository-cache-wfyv9gxw.js → repository-cache-ccxhfbhz.js} +3 -3
- package/dist/chunks/{repository-cache-j3f8hyeg.js → repository-cache-cpvd08na.js} +3 -3
- package/dist/chunks/{repository-cache-bm75jts0.js → repository-cache-ctzcwmse.js} +25 -25
- package/dist/chunks/{repository-cache-6dcr0hza.js → repository-cache-czq798y2.js} +22 -22
- package/dist/chunks/{repository-cache-848ppjek.js → repository-cache-d4hny0t5.js} +5 -5
- package/dist/chunks/{repository-cache-m5net9xv.js → repository-cache-d67b29ac.js} +19 -19
- package/dist/chunks/{repository-cache-8m9wc8b7.js → repository-cache-dg5d3hna.js} +12 -12
- package/dist/chunks/{repository-cache-5y9anawa.js → repository-cache-dhbx6sy4.js} +34 -34
- package/dist/chunks/{repository-cache-f9hv1gb2.js → repository-cache-dm5mvca5.js} +1 -1
- package/dist/chunks/{repository-cache-dqxfp8w4.js → repository-cache-dszypn43.js} +7 -7
- package/dist/chunks/{repository-cache-dgn1jfts.js → repository-cache-e7pg1y8b.js} +7 -7
- package/dist/chunks/{repository-cache-h03b4h8m.js → repository-cache-e7sgpp7y.js} +10 -10
- package/dist/chunks/{repository-cache-g1e2r5aa.js → repository-cache-egte8s1h.js} +3 -3
- package/dist/chunks/{repository-cache-zegmmy0x.js → repository-cache-ena87qa0.js} +7 -7
- package/dist/chunks/{repository-cache-fjxa2fmg.js → repository-cache-ewz1xrzs.js} +23 -23
- package/dist/chunks/{repository-cache-grzehpz7.js → repository-cache-ezna1kdx.js} +4 -4
- package/dist/chunks/{repository-cache-415p058j.js → repository-cache-f0gsxwdt.js} +35 -35
- package/dist/chunks/{repository-cache-gm5b10kj.js → repository-cache-fa5f1x46.js} +17 -17
- package/dist/chunks/{repository-cache-v15j3x2c.js → repository-cache-fcz6bf99.js} +15 -15
- package/dist/chunks/{repository-cache-fzbvjw9m.js → repository-cache-fdcaprj2.js} +7 -7
- package/dist/chunks/{repository-cache-q2582vz5.js → repository-cache-fdfebn0e.js} +10 -10
- package/dist/chunks/{repository-cache-cxj8s5x6.js → repository-cache-g3hywy9d.js} +55 -55
- package/dist/chunks/{repository-cache-e0cv4dhg.js → repository-cache-g737df5q.js} +28 -28
- package/dist/chunks/{repository-cache-yy2fst48.js → repository-cache-gcvthvy9.js} +25 -25
- package/dist/chunks/{repository-cache-t3qb3tsy.js → repository-cache-gd46tcps.js} +8 -8
- package/dist/chunks/{repository-cache-9qh0s6d7.js → repository-cache-gfmaa7tp.js} +30 -30
- package/dist/chunks/{repository-cache-va6gsnfx.js → repository-cache-gfxhew10.js} +29 -29
- package/dist/chunks/{repository-cache-tk8b4vwr.js → repository-cache-gh9kfc8w.js} +10 -10
- package/dist/chunks/{repository-cache-4sphdqh8.js → repository-cache-grf9tjbj.js} +1 -1
- package/dist/chunks/{repository-cache-d390zwf3.js → repository-cache-gx98s468.js} +9 -9
- package/dist/chunks/{repository-cache-vwjpa1de.js → repository-cache-h1hexrfd.js} +6 -6
- package/dist/chunks/{repository-cache-qpwcpmm3.js → repository-cache-h54mzg05.js} +9 -9
- package/dist/chunks/{repository-cache-nwnjpwmn.js → repository-cache-ha5pvhjp.js} +33 -33
- package/dist/chunks/{repository-cache-m756dwb2.js → repository-cache-hcjaw68q.js} +10 -10
- package/dist/chunks/{repository-cache-b8rw9snj.js → repository-cache-hh0xjw11.js} +12 -12
- package/dist/chunks/{repository-cache-hprj54m4.js → repository-cache-hr016kcx.js} +16 -16
- package/dist/chunks/{repository-cache-bnn3kspk.js → repository-cache-hvx2hsrq.js} +5 -5
- package/dist/chunks/{repository-cache-t4vf48t8.js → repository-cache-hx3mz2q2.js} +7 -7
- package/dist/chunks/{repository-cache-12x6ka2x.js → repository-cache-hyrvnwfd.js} +11 -11
- package/dist/chunks/{repository-cache-f3y09a63.js → repository-cache-j686bk8e.js} +15 -15
- package/dist/chunks/{repository-cache-46qwxyyd.js → repository-cache-j6chsmq0.js} +12 -12
- package/dist/chunks/{repository-cache-5m2mrva3.js → repository-cache-j87qp895.js} +7 -7
- package/dist/chunks/{repository-cache-2tehddh2.js → repository-cache-j88agwyx.js} +10 -10
- package/dist/chunks/{repository-cache-v3abn69z.js → repository-cache-jhbxs6t6.js} +19 -19
- package/dist/chunks/{repository-cache-a4jgyqzw.js → repository-cache-jp6z4wpe.js} +17 -17
- package/dist/chunks/{repository-cache-n56q8w6a.js → repository-cache-jr5zyxk8.js} +3 -3
- package/dist/chunks/{repository-cache-em1gn7m5.js → repository-cache-k5tbj3v7.js} +3 -3
- package/dist/chunks/{repository-cache-chjd737s.js → repository-cache-k6gkj8sq.js} +25 -25
- package/dist/chunks/{repository-cache-b7ph2qht.js → repository-cache-k98pysr4.js} +10 -10
- package/dist/chunks/{repository-cache-ct4sd734.js → repository-cache-k9zxkqdt.js} +7 -7
- package/dist/chunks/{repository-cache-e9q4wrrf.js → repository-cache-kajykse9.js} +9 -9
- package/dist/chunks/{repository-cache-0zmxd749.js → repository-cache-kaz2fjcv.js} +16 -16
- package/dist/chunks/{repository-cache-4cqdfm9b.js → repository-cache-kcayv8ke.js} +17 -17
- package/dist/chunks/{repository-cache-9b3d18bp.js → repository-cache-kfzqfkb3.js} +4 -4
- package/dist/chunks/{repository-cache-hy8c1z76.js → repository-cache-kmzgegqq.js} +7 -7
- package/dist/chunks/{repository-cache-zyfhsknv.js → repository-cache-kp2338hr.js} +7 -7
- package/dist/chunks/{repository-cache-d4tnbbq2.js → repository-cache-ktn9snrz.js} +28 -28
- package/dist/chunks/{repository-cache-g5mabqyd.js → repository-cache-kwxcmdyp.js} +25 -25
- package/dist/chunks/{repository-cache-8qsk2vh0.js → repository-cache-m2cdpaag.js} +7 -7
- package/dist/chunks/{repository-cache-882qc2za.js → repository-cache-m65y836m.js} +33 -33
- package/dist/chunks/{repository-cache-sn4kj4pg.js → repository-cache-mj5saj6r.js} +18 -18
- package/dist/chunks/{repository-cache-cnn6pg0y.js → repository-cache-mps3acpq.js} +18 -18
- package/dist/chunks/{repository-cache-7aa28e26.js → repository-cache-mx1sggm0.js} +12 -12
- package/dist/chunks/{repository-cache-enqnnpc3.js → repository-cache-mxscc1pg.js} +4 -4
- package/dist/chunks/{repository-cache-q1zvvpt4.js → repository-cache-mxw2nak8.js} +27 -27
- package/dist/chunks/{repository-cache-8h4cqdcj.js → repository-cache-myxb0t78.js} +16 -16
- package/dist/chunks/{repository-cache-nn7wnkbg.js → repository-cache-myyg890f.js} +2 -2
- package/dist/chunks/{repository-cache-5v8na3sb.js → repository-cache-mz89terr.js} +17 -17
- package/dist/chunks/{repository-cache-ewd1gnqy.js → repository-cache-n6va2c9d.js} +15 -15
- package/dist/chunks/{repository-cache-96y7z9qn.js → repository-cache-n9yh7hyp.js} +6 -6
- package/dist/chunks/{repository-cache-4evpypsk.js → repository-cache-nb6yaeef.js} +1 -1
- package/dist/chunks/{repository-cache-93xmyh8q.js → repository-cache-nn2nd58t.js} +3 -3
- package/dist/chunks/{repository-cache-94fryj18.js → repository-cache-nqcrxh81.js} +17 -17
- package/dist/chunks/{repository-cache-rj7jtxy8.js → repository-cache-nt907s04.js} +1 -1
- package/dist/chunks/{repository-cache-xx8vr308.js → repository-cache-nvjveesx.js} +4 -4
- package/dist/chunks/{repository-cache-wegkxhrn.js → repository-cache-nx4vzyjd.js} +1 -1
- package/dist/chunks/{repository-cache-btnkw9ag.js → repository-cache-nyc4jwvb.js} +3 -3
- package/dist/chunks/{repository-cache-qwz295ec.js → repository-cache-nyqjfy2e.js} +3 -3
- package/dist/chunks/repository-cache-p2w61xv2.js +26 -0
- package/dist/chunks/{repository-cache-1yq9hg58.js → repository-cache-p7vhpwh8.js} +4 -4
- package/dist/chunks/{repository-cache-paw95bap.js → repository-cache-pjrzy1fv.js} +4 -4
- package/dist/chunks/{repository-cache-fp2na9w8.js → repository-cache-pmdb5kqb.js} +9 -9
- package/dist/chunks/{repository-cache-04tv7frf.js → repository-cache-pn1g3a6b.js} +7 -7
- package/dist/chunks/{repository-cache-mawwhskg.js → repository-cache-pq5x890c.js} +35 -35
- package/dist/chunks/{repository-cache-y9b1qepv.js → repository-cache-pxdkb67n.js} +1 -1
- package/dist/chunks/{repository-cache-p32tcm88.js → repository-cache-q5awx74q.js} +18 -18
- package/dist/chunks/{repository-cache-7f08ed09.js → repository-cache-q8kegsck.js} +4 -4
- package/dist/chunks/{repository-cache-crg9fqw5.js → repository-cache-q8kkq9af.js} +30 -30
- package/dist/chunks/{repository-cache-mbdnt60s.js → repository-cache-q8sz04wn.js} +9 -9
- package/dist/chunks/{repository-cache-z7nw8j89.js → repository-cache-qcx27bba.js} +16 -16
- package/dist/chunks/{repository-cache-mfmzhgah.js → repository-cache-qf2y5843.js} +27 -27
- package/dist/chunks/{repository-cache-kj9n5bvh.js → repository-cache-qfz6bxfd.js} +3 -3
- package/dist/chunks/{repository-cache-nc3gng7j.js → repository-cache-qjm7skjg.js} +13 -13
- package/dist/chunks/{repository-cache-9j5jnrz7.js → repository-cache-qxj9svbk.js} +16 -16
- package/dist/chunks/{repository-cache-8h2qa1n6.js → repository-cache-qypgs8zr.js} +11 -11
- package/dist/chunks/{repository-cache-yr0w2dxp.js → repository-cache-r2exqn8m.js} +42 -42
- package/dist/chunks/{repository-cache-aa1zzdyt.js → repository-cache-r2xd20nt.js} +3 -3
- package/dist/chunks/{repository-cache-2axc9xxh.js → repository-cache-r3qynzkv.js} +4 -4
- package/dist/chunks/{repository-cache-qvvdt2ja.js → repository-cache-r49wveyz.js} +13 -13
- package/dist/chunks/{repository-cache-a0vq4gya.js → repository-cache-rc08zntw.js} +16 -16
- package/dist/chunks/repository-cache-rc2b0jp2.js +265 -0
- package/dist/chunks/{repository-cache-77y14vvw.js → repository-cache-rd95s4eh.js} +17 -17
- package/dist/chunks/{repository-cache-e5p1c2fw.js → repository-cache-rn6pxd58.js} +31 -31
- package/dist/chunks/{repository-cache-30dm8cba.js → repository-cache-rr1rxfq5.js} +4 -4
- package/dist/chunks/{repository-cache-d77r7qc3.js → repository-cache-rtywtvhn.js} +13 -13
- package/dist/chunks/{repository-cache-7994hmqy.js → repository-cache-rvses7jn.js} +6 -6
- package/dist/chunks/{repository-cache-90ct6wq4.js → repository-cache-rzg6y5rp.js} +3 -3
- package/dist/chunks/{repository-cache-3t2h34xm.js → repository-cache-s0wqfgtk.js} +1 -1
- package/dist/chunks/{repository-cache-ftsszdwq.js → repository-cache-s70ang1b.js} +13 -13
- package/dist/chunks/{repository-cache-9nkjg9qd.js → repository-cache-s92vvz56.js} +5 -5
- package/dist/chunks/{repository-cache-s1mx7mtb.js → repository-cache-sbqxq8d7.js} +25 -25
- package/dist/chunks/{repository-cache-ppwt3tm7.js → repository-cache-sdepy5w1.js} +8 -8
- package/dist/chunks/{repository-cache-grkapvb9.js → repository-cache-sdhf0kag.js} +17 -17
- package/dist/chunks/{repository-cache-ghrv1g9c.js → repository-cache-sdt5j0rm.js} +3 -3
- package/dist/chunks/{repository-cache-2hetaxtn.js → repository-cache-sejy4w8d.js} +28 -28
- package/dist/chunks/{repository-cache-0mw6d3es.js → repository-cache-sr1zjn91.js} +7 -7
- package/dist/chunks/{repository-cache-08wcsawn.js → repository-cache-sryexa64.js} +7 -7
- package/dist/chunks/{repository-cache-vdhhbsj6.js → repository-cache-syyqk6jb.js} +15 -15
- package/dist/chunks/{repository-cache-481fdjcd.js → repository-cache-szj7gq94.js} +18 -18
- package/dist/chunks/{repository-cache-40xydpb7.js → repository-cache-t6e15y7n.js} +11 -11
- package/dist/chunks/{repository-cache-4cgc2mha.js → repository-cache-tcdd0j6a.js} +37 -37
- package/dist/chunks/{repository-cache-408b6q7j.js → repository-cache-teav5kqk.js} +39 -39
- package/dist/chunks/{repository-cache-pyc3gczw.js → repository-cache-tfz3nrj2.js} +3 -3
- package/dist/chunks/{repository-cache-zr85smw1.js → repository-cache-tg60c1vc.js} +13 -13
- package/dist/chunks/{repository-cache-vs7ka571.js → repository-cache-tvh5czp4.js} +16 -16
- package/dist/chunks/{repository-cache-czmr4k41.js → repository-cache-txkphrpp.js} +4 -4
- package/dist/chunks/{repository-cache-rxc71ntg.js → repository-cache-txraym31.js} +10 -10
- package/dist/chunks/{repository-cache-jcb581g0.js → repository-cache-ty7fwe1m.js} +4 -4
- package/dist/chunks/{repository-cache-2kg89srt.js → repository-cache-v0t96s7a.js} +3 -3
- package/dist/chunks/{repository-cache-3h88s19f.js → repository-cache-v1b2af3n.js} +28 -28
- package/dist/chunks/{repository-cache-8x7spqqh.js → repository-cache-v1bhdy86.js} +13 -13
- package/dist/chunks/{repository-cache-ffqnykrn.js → repository-cache-v5aaewsh.js} +1 -1
- package/dist/chunks/{repository-cache-5zpqhmp2.js → repository-cache-v75htaq3.js} +4 -4
- package/dist/chunks/{repository-cache-fdk2wax1.js → repository-cache-va7fhdra.js} +12 -12
- package/dist/chunks/{repository-cache-0jgpnbrv.js → repository-cache-va9v51gf.js} +25 -25
- package/dist/chunks/{repository-cache-1cr485gj.js → repository-cache-vjezmxj7.js} +9 -9
- package/dist/chunks/{repository-cache-vt4r9rmy.js → repository-cache-vq0qa3sh.js} +7 -7
- package/dist/chunks/{repository-cache-x82vyxap.js → repository-cache-vwz836qd.js} +11 -11
- package/dist/chunks/{repository-cache-v22gz8xn.js → repository-cache-w0ps2z8r.js} +1 -1
- package/dist/chunks/{repository-cache-m9k28zk8.js → repository-cache-w5rnqnzk.js} +18 -18
- package/dist/chunks/{repository-cache-bvzx78na.js → repository-cache-wc4fcavx.js} +15 -15
- package/dist/chunks/{repository-cache-2cjdhjtw.js → repository-cache-wm532k7e.js} +7 -7
- package/dist/chunks/{repository-cache-hy1zxe59.js → repository-cache-ww69p07v.js} +49 -49
- package/dist/chunks/{repository-cache-xz07m27x.js → repository-cache-x4mcewfn.js} +3 -3
- package/dist/chunks/{repository-cache-9rgr5dz2.js → repository-cache-x5gqmg3e.js} +1 -1
- package/dist/chunks/{repository-cache-srqj4rh5.js → repository-cache-xamhfgf7.js} +5 -5
- package/dist/chunks/repository-cache-xgsdyv54.js +563 -0
- package/dist/chunks/{repository-cache-veyyzc6t.js → repository-cache-xhg8qxfh.js} +10 -10
- package/dist/chunks/{repository-cache-sw0fssa3.js → repository-cache-xrs5t3nf.js} +8 -8
- package/dist/chunks/{repository-cache-dwj3j26y.js → repository-cache-xvp44mbq.js} +12 -12
- package/dist/chunks/{repository-cache-ee0tfk34.js → repository-cache-xwc34858.js} +22 -22
- package/dist/chunks/{repository-cache-tpc6d58g.js → repository-cache-xx2fv02h.js} +15 -15
- package/dist/chunks/{repository-cache-mre5t62n.js → repository-cache-y6y8pfrx.js} +9 -9
- package/dist/chunks/{repository-cache-n2r2ftb0.js → repository-cache-y7b49pgm.js} +1 -1
- package/dist/chunks/{repository-cache-k0h67er9.js → repository-cache-y9j6hfb0.js} +13 -13
- package/dist/chunks/{repository-cache-wdt67p1g.js → repository-cache-y9vgbn35.js} +4 -4
- package/dist/chunks/{repository-cache-6jh19kms.js → repository-cache-yk22p589.js} +19 -19
- package/dist/chunks/{repository-cache-749e7hnk.js → repository-cache-yv94a9px.js} +26 -26
- package/dist/chunks/{repository-cache-4zed97g7.js → repository-cache-z42v0f3c.js} +8 -8
- package/dist/chunks/{repository-cache-z7cwk02r.js → repository-cache-zcphwgvb.js} +2 -2
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +118 -118
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +123 -123
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +78 -78
- package/dist/config/integration.js +3 -3
- package/dist/config/normalize.js +91 -91
- package/dist/config/plugin/agent.js +105 -105
- package/dist/config/plugin/command.js +198 -198
- package/dist/config/plugin/compaction.js +140 -140
- package/dist/config/plugin/compatibility.js +121 -121
- package/dist/config/plugin/formatter.js +105 -105
- package/dist/config/plugin/image.js +104 -104
- package/dist/config/plugin/instruction.js +105 -105
- package/dist/config/plugin/location-watcher.js +106 -106
- package/dist/config/plugin/mcp.js +114 -114
- package/dist/config/plugin/policy.js +104 -104
- package/dist/config/plugin/provider.js +104 -104
- package/dist/config/plugin/reference.js +105 -105
- package/dist/config/plugin/shell.js +104 -104
- package/dist/config/plugin/skill-file.js +118 -118
- package/dist/config/plugin/skill.js +122 -122
- package/dist/config/plugin/snapshot.js +104 -104
- package/dist/config/plugin/source.js +107 -107
- package/dist/config/plugin/tool-output.js +105 -105
- package/dist/config/plugin/websearch.js +103 -103
- package/dist/config/plugin/worktree.js +106 -106
- package/dist/config.js +110 -110
- package/dist/credential.js +77 -77
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +8 -8
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +8 -8
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/v1-migration.bun.js +24 -24
- package/dist/effect/app-node-builder.js +274 -274
- package/dist/environment/environment.js +83 -83
- package/dist/environment/index.js +84 -84
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +130 -130
- package/dist/file-mutation.js +85 -85
- package/dist/file-write.js +133 -133
- package/dist/filesystem/file-watch.js +14 -14
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +89 -89
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +92 -92
- package/dist/form.js +79 -79
- package/dist/formatter.js +80 -80
- package/dist/generate.js +97 -97
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +84 -84
- 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 +366 -366
- package/dist/instruction-discovery.js +77 -77
- package/dist/instructions/builtins.js +80 -80
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +82 -82
- package/dist/job.js +71 -71
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +79 -79
- package/dist/location-lifecycle.js +123 -123
- package/dist/location-service-map.js +80 -80
- package/dist/location-services.js +365 -365
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +21 -21
- package/dist/mcp/connection.js +81 -81
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +153 -153
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +81 -81
- package/dist/modal/models.js +84 -84
- package/dist/model-resolver.js +91 -91
- package/dist/model.js +93 -93
- package/dist/models-dev.js +95 -95
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +126 -126
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty.js +69 -69
- package/dist/plugin/agent.js +70 -70
- package/dist/plugin/command.js +91 -91
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +205 -205
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +344 -344
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +88 -88
- package/dist/plugin/module.js +101 -101
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +119 -119
- package/dist/plugin/provider/amazon-bedrock.js +86 -86
- package/dist/plugin/provider/azure.js +108 -108
- package/dist/plugin/provider/chatgpt.js +106 -106
- package/dist/plugin/provider/claude-agent/aisdk.js +92 -92
- package/dist/plugin/provider/claude-agent/claude/query-options.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/sessions.js +8 -8
- package/dist/plugin/provider/claude-agent/claude/status.js +3 -3
- package/dist/plugin/provider/claude-agent/index.js +110 -110
- package/dist/plugin/provider/claude-agent/instructions.js +88 -88
- package/dist/plugin/provider/claude-agent/integration.js +89 -89
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +5 -5
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +86 -86
- package/dist/plugin/provider/claude-agent/session.js +87 -87
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +2 -2
- package/dist/plugin/provider/claude-agent/tools/result.js +2 -2
- package/dist/plugin/provider/claude-agent/tools/server.js +3 -3
- package/dist/plugin/provider/cloudflare-ai-gateway.js +105 -105
- package/dist/plugin/provider/cloudflare-workers-ai.js +105 -105
- package/dist/plugin/provider/configured.js +101 -101
- package/dist/plugin/provider/credential-settings.js +71 -71
- package/dist/plugin/provider/digitalocean.js +88 -88
- package/dist/plugin/provider/github-copilot.js +90 -90
- package/dist/plugin/provider/gitlab.js +88 -88
- package/dist/plugin/provider/google-vertex.js +102 -102
- package/dist/plugin/provider/llmgateway.js +71 -71
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/local.js +111 -111
- package/dist/plugin/provider/modal.js +88 -88
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai-context-caps.js +86 -86
- package/dist/plugin/provider/openai.js +106 -106
- package/dist/plugin/provider/opencode.js +128 -128
- package/dist/plugin/provider/openrouter.js +84 -84
- package/dist/plugin/provider/poe.js +71 -71
- package/dist/plugin/provider/refresh.js +70 -70
- package/dist/plugin/provider/sap-ai-core.js +83 -83
- package/dist/plugin/provider/snowflake-cortex.js +105 -105
- package/dist/plugin/provider/vllm.js +112 -112
- package/dist/plugin/provider/xai.js +84 -84
- package/dist/plugin/provider.js +191 -191
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +120 -120
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/vcs/git.js +77 -77
- package/dist/plugin/vcs/hg.js +79 -79
- package/dist/plugin/verbosity.js +86 -86
- package/dist/plugin/warming.js +105 -105
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +3 -3
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +209 -209
- package/dist/project/icon.js +3 -3
- package/dist/project/schema.js +7 -7
- package/dist/project/sql.js +2 -2
- package/dist/project.js +86 -86
- package/dist/provider.js +92 -92
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +79 -79
- package/dist/reference.js +78 -78
- package/dist/repository-cache.js +74 -74
- package/dist/ripgrep.js +87 -87
- package/dist/rpc.js +80 -80
- package/dist/schedule/check.js +209 -209
- package/dist/schedule/sql.js +4 -4
- package/dist/schedule.js +211 -211
- package/dist/session/blob.js +103 -103
- package/dist/session/command.js +70 -70
- package/dist/session/compaction.js +140 -140
- package/dist/session/context.js +170 -170
- package/dist/session/diff.js +80 -80
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +125 -125
- package/dist/session/execution.js +135 -135
- package/dist/session/generate.js +170 -170
- package/dist/session/history.js +109 -109
- package/dist/session/inbox.js +118 -118
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +71 -71
- package/dist/session/instruction-state.js +4 -4
- package/dist/session/instructions.js +114 -114
- package/dist/session/model-request.js +139 -139
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +134 -134
- package/dist/session/projector.js +114 -114
- package/dist/session/prompt.js +120 -120
- package/dist/session/revert.js +112 -112
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +213 -213
- package/dist/session/runner/model.js +92 -92
- package/dist/session/runner/publish-llm-event.js +121 -121
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +132 -132
- package/dist/session/runner/to-llm-message.js +110 -110
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +149 -149
- package/dist/session/shell.js +119 -119
- package/dist/session/skill.js +120 -120
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +115 -115
- package/dist/session/subagent-job.js +197 -197
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +173 -173
- package/dist/session/to-session-error.js +120 -120
- package/dist/session/transfer.js +125 -125
- package/dist/session.js +205 -205
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +12 -12
- package/dist/shell.js +122 -122
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +124 -124
- package/dist/skill.js +127 -127
- package/dist/snapshot.js +86 -86
- package/dist/tool/mcp.js +154 -154
- package/dist/tool/plugin/artifact.js +196 -196
- package/dist/tool/plugin/edit.js +138 -138
- package/dist/tool/plugin/glob.js +143 -143
- package/dist/tool/plugin/grep.js +143 -143
- package/dist/tool/plugin/image-generate.js +206 -206
- package/dist/tool/plugin/mcp-resource.js +136 -136
- package/dist/tool/plugin/opencode.js +134 -134
- package/dist/tool/plugin/patch.js +139 -139
- package/dist/tool/plugin/question.js +119 -119
- package/dist/tool/plugin/read.js +144 -144
- package/dist/tool/plugin/schedule.js +214 -214
- package/dist/tool/plugin/shell.js +201 -201
- package/dist/tool/plugin/skill.js +124 -124
- package/dist/tool/plugin/subagent.js +204 -204
- package/dist/tool/plugin/todo.js +125 -125
- package/dist/tool/plugin/webfetch.js +125 -125
- package/dist/tool/plugin/websearch.js +126 -126
- package/dist/tool/plugin/write.js +136 -136
- package/dist/tool/read-filesystem.js +90 -90
- package/dist/tool/search.js +85 -85
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +127 -127
- package/dist/usage-limits.js +81 -81
- 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 +84 -84
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +84 -84
- package/dist/vcs.js +82 -82
- package/dist/voice.js +79 -79
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +71 -71
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +1 -1
- package/dist/worktree/git.js +4 -4
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree/strategies.js +82 -82
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/repository-cache-8d14trmr.js +0 -265
- package/dist/chunks/repository-cache-db88sqcr.js +0 -563
- package/dist/chunks/repository-cache-fjk5hyjg.js +0 -26
- /package/dist/chunks/{repository-cache-b3bsgr18.js → repository-cache-4rfkerx3.js} +0 -0
- /package/dist/chunks/{repository-cache-775hqbnd.js → repository-cache-80mg3ag8.js} +0 -0
- /package/dist/chunks/{repository-cache-034tev2y.js → repository-cache-aj7mw0zk.js} +0 -0
- /package/dist/chunks/{repository-cache-vc0wvybf.js → repository-cache-dv70emh1.js} +0 -0
- /package/dist/chunks/{repository-cache-jhwvvc0w.js → repository-cache-ezznq673.js} +0 -0
- /package/dist/chunks/{repository-cache-d4v9tmah.js → repository-cache-gn8tkhbf.js} +0 -0
- /package/dist/chunks/{repository-cache-8wjgamp7.js → repository-cache-rmv7fhs4.js} +0 -0
- /package/dist/chunks/{repository-cache-ag70g5yp.js → repository-cache-rpczda7v.js} +0 -0
- /package/dist/chunks/{repository-cache-j9nxzz3g.js → repository-cache-ze75qvmd.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./repository-cache-
|
|
4
|
+
} from "./repository-cache-grf9tjbj.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./repository-cache-
|
|
7
|
+
} from "./repository-cache-hr016kcx.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
10
|
} from "./repository-cache-bhmrqjy3.js";
|
|
@@ -17,16 +17,16 @@ var exports_persistent_pty = {};
|
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Options: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError4,
|
|
21
|
+
Options: () => Options3,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
|
-
Service: () =>
|
|
24
|
-
UnavailableError: () =>
|
|
23
|
+
Service: () => Service30,
|
|
24
|
+
UnavailableError: () => UnavailableError5,
|
|
25
25
|
UnsupportedError: () => UnsupportedError2,
|
|
26
26
|
available: () => available3,
|
|
27
|
-
configured: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
27
|
+
configured: () => configured3,
|
|
28
|
+
layer: () => layer13,
|
|
29
|
+
node: () => node33
|
|
30
30
|
});
|
|
31
31
|
import { stat } from "node:fs/promises";
|
|
32
32
|
import path from "node:path";
|
|
@@ -45,17 +45,17 @@ import { Global } from "@opencode/util/global";
|
|
|
45
45
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
46
46
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
47
47
|
import { available as available3 } from "#persistent-pty-binary";
|
|
48
|
-
var
|
|
48
|
+
var Options3 = Schema.Struct({
|
|
49
49
|
handoff: Schema.optional(Handoff),
|
|
50
50
|
root: Schema.optional(Schema.String)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class UnavailableError5 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
54
54
|
message: Schema.String
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
59
59
|
ptyID: Pty.ID
|
|
60
60
|
}) {
|
|
61
61
|
}
|
|
@@ -71,9 +71,9 @@ class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedE
|
|
|
71
71
|
}) {
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service30 extends Context.Service()("@opencode/PersistentPty") {
|
|
75
75
|
}
|
|
76
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
76
|
+
var makeLayer = (options = {}) => Layer.effect(Service30, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service90;
|
|
78
78
|
const global = yield* Global.Service;
|
|
79
79
|
const context = yield* Effect.context();
|
|
@@ -96,7 +96,7 @@ var makeLayer = (options = {}) => Layer.effect(Service63, Effect.gen(function* (
|
|
|
96
96
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
97
97
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
98
98
|
if (!found)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
100
100
|
return found;
|
|
101
101
|
});
|
|
102
102
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -158,7 +158,7 @@ var makeLayer = (options = {}) => Layer.effect(Service63, Effect.gen(function* (
|
|
|
158
158
|
});
|
|
159
159
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
160
160
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
161
|
-
return yield* new
|
|
161
|
+
return yield* new UnavailableError5({ message: "lines must be an integer between 1 and 65535" });
|
|
162
162
|
const id = current.get(sessionID);
|
|
163
163
|
if (!id)
|
|
164
164
|
return null;
|
|
@@ -244,7 +244,7 @@ var makeLayer = (options = {}) => Layer.effect(Service63, Effect.gen(function* (
|
|
|
244
244
|
detach: attachment.detach
|
|
245
245
|
};
|
|
246
246
|
});
|
|
247
|
-
return
|
|
247
|
+
return Service30.of({
|
|
248
248
|
list,
|
|
249
249
|
get,
|
|
250
250
|
create,
|
|
@@ -261,17 +261,17 @@ var makeLayer = (options = {}) => Layer.effect(Service63, Effect.gen(function* (
|
|
|
261
261
|
attach
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
267
|
-
layer: options === undefined ?
|
|
264
|
+
var layer13 = makeLayer();
|
|
265
|
+
var configured3 = (options) => makeGlobalNode({
|
|
266
|
+
service: Service30,
|
|
267
|
+
layer: options === undefined ? layer13 : makeLayer(options),
|
|
268
268
|
deps: [node93, Global.node]
|
|
269
269
|
});
|
|
270
|
-
var
|
|
270
|
+
var node33 = configured3();
|
|
271
271
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
272
272
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
273
|
-
var unexpected = (response) => Effect.fail(new
|
|
274
|
-
var unavailable = (error) => new
|
|
273
|
+
var unexpected = (response) => Effect.fail(new UnavailableError5({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
274
|
+
var unavailable = (error) => new UnavailableError5({ message: error instanceof Error ? error.message : String(error) });
|
|
275
275
|
function toInfo(value) {
|
|
276
276
|
const status = value.lifecycle.status;
|
|
277
277
|
return {
|
|
@@ -304,4 +304,4 @@ function fromID(value) {
|
|
|
304
304
|
return parsed;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
export {
|
|
307
|
+
export { Options3, UnavailableError5, NotFoundError4, InvalidCwdError2, UnsupportedError2, Service30, layer13, configured3, node33, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -5,30 +5,30 @@ import {
|
|
|
5
5
|
RelativePath2
|
|
6
6
|
} from "./repository-cache-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./repository-cache-
|
|
8
|
+
Service86
|
|
9
|
+
} from "./repository-cache-tvh5czp4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./repository-cache-
|
|
11
|
+
Service84
|
|
12
|
+
} from "./repository-cache-mz89terr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./repository-cache-
|
|
14
|
+
Service83
|
|
15
|
+
} from "./repository-cache-j686bk8e.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
GlobInput2,
|
|
19
19
|
Entry2
|
|
20
|
-
} from "./repository-cache-
|
|
20
|
+
} from "./repository-cache-ktn9snrz.js";
|
|
21
21
|
import {
|
|
22
22
|
pathType2,
|
|
23
23
|
bounded2
|
|
24
|
-
} from "./repository-cache-
|
|
24
|
+
} from "./repository-cache-s0wqfgtk.js";
|
|
25
25
|
import {
|
|
26
26
|
invocation2,
|
|
27
|
-
|
|
28
|
-
} from "./repository-cache-
|
|
27
|
+
Service66
|
|
28
|
+
} from "./repository-cache-9b9m7ffr.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./repository-cache-
|
|
30
|
+
Service28
|
|
31
|
+
} from "./repository-cache-czq798y2.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
34
|
} from "./repository-cache-9rqn6x4v.js";
|
|
@@ -37,17 +37,17 @@ import {
|
|
|
37
37
|
var exports_glob = {};
|
|
38
38
|
__export(exports_glob, {
|
|
39
39
|
GlobTool: () => exports_glob,
|
|
40
|
-
Input: () =>
|
|
41
|
-
Output: () =>
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
40
|
+
Input: () => Input3,
|
|
41
|
+
Output: () => Output2,
|
|
42
|
+
Plugin: () => Plugin20,
|
|
43
|
+
name: () => name3,
|
|
44
|
+
toModelContent: () => toModelContent2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import path from "path";
|
|
49
|
-
var
|
|
50
|
-
var
|
|
49
|
+
var name3 = "glob";
|
|
50
|
+
var Input3 = Schema.Struct({
|
|
51
51
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
52
52
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
53
53
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -59,34 +59,34 @@ var Input9 = Schema.Struct({
|
|
|
59
59
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
60
60
|
})
|
|
61
61
|
});
|
|
62
|
-
var
|
|
63
|
-
var
|
|
62
|
+
var Output2 = Schema.Array(Entry2);
|
|
63
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
64
64
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
65
65
|
if (truncated)
|
|
66
66
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
67
67
|
return lines.join(`
|
|
68
68
|
`);
|
|
69
69
|
};
|
|
70
|
-
var
|
|
70
|
+
var Plugin20 = {
|
|
71
71
|
id: "opencode.tool.glob",
|
|
72
72
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
73
|
-
const environment = yield*
|
|
74
|
-
const ripgrep = yield*
|
|
75
|
-
const location = yield*
|
|
76
|
-
const access = yield*
|
|
77
|
-
const permission = yield*
|
|
73
|
+
const environment = yield* Service84;
|
|
74
|
+
const ripgrep = yield* Service83;
|
|
75
|
+
const location = yield* Service86;
|
|
76
|
+
const access = yield* Service28;
|
|
77
|
+
const permission = yield* Service66;
|
|
78
78
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
79
|
-
name:
|
|
79
|
+
name: name3,
|
|
80
80
|
options: { codemode: false },
|
|
81
81
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
82
|
-
input:
|
|
83
|
-
output:
|
|
82
|
+
input: Input3,
|
|
83
|
+
output: Output2,
|
|
84
84
|
execute: (input, context) => Effect.gen(function* () {
|
|
85
85
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
86
86
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
87
87
|
yield* access.authorizeExternal([target], context);
|
|
88
88
|
yield* permission.assert({
|
|
89
|
-
action:
|
|
89
|
+
action: name3,
|
|
90
90
|
resources: [input.pattern],
|
|
91
91
|
save: ["*"],
|
|
92
92
|
metadata: {
|
|
@@ -111,11 +111,11 @@ var Plugin31 = {
|
|
|
111
111
|
};
|
|
112
112
|
}).pipe(Effect.map((result) => ({
|
|
113
113
|
output: result.entries,
|
|
114
|
-
content:
|
|
114
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
115
115
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
116
116
|
})), Effect.mapError(toolFailure2(`Unable to find files matching ${input.pattern}`)))
|
|
117
117
|
})).pipe(Effect.orDie);
|
|
118
118
|
})
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { name3, Input3, Output2, toModelContent2, Plugin20, exports_glob };
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/codemode/execution.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
CodeModeExecution: () =>
|
|
6
|
+
var exports_execution = {};
|
|
7
|
+
__export(exports_execution, {
|
|
8
|
+
CodeModeExecution: () => exports_execution,
|
|
9
9
|
Service: () => Service49
|
|
10
10
|
});
|
|
11
11
|
import { Context } from "effect";
|
|
@@ -13,4 +13,4 @@ import { Context } from "effect";
|
|
|
13
13
|
class Service49 extends Context.Service()("@opencode/CodeModeExecution") {
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export { Service49,
|
|
16
|
+
export { Service49, exports_execution };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./repository-cache-gxs71cxp.js";
|
|
4
4
|
import {
|
|
5
5
|
session2
|
|
6
|
-
} from "./repository-cache-
|
|
6
|
+
} from "./repository-cache-bb3pv0r8.js";
|
|
7
7
|
import {
|
|
8
8
|
start2
|
|
9
9
|
} from "./repository-cache-1v2g13eq.js";
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
} from "./repository-cache-sbya78hr.js";
|
|
23
23
|
import {
|
|
24
24
|
content2
|
|
25
|
-
} from "./repository-cache-
|
|
25
|
+
} from "./repository-cache-80mg3ag8.js";
|
|
26
26
|
import {
|
|
27
27
|
make7
|
|
28
28
|
} from "./repository-cache-rj7j5fvs.js";
|
|
29
29
|
import {
|
|
30
30
|
collect2
|
|
31
|
-
} from "./repository-cache-
|
|
31
|
+
} from "./repository-cache-ze75qvmd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
34
|
} from "./repository-cache-9rqn6x4v.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info18
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info18 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info22 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info18, exports_command5 };
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
headers2
|
|
4
4
|
} from "./repository-cache-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./repository-cache-
|
|
6
|
+
ID17,
|
|
7
|
+
Service76,
|
|
8
|
+
node78
|
|
9
|
+
} from "./repository-cache-yv94a9px.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./repository-cache-9rqn6x4v.js";
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info8,
|
|
18
|
+
Service: () => Service22,
|
|
19
|
+
UnavailableError: () => UnavailableError4,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer11,
|
|
22
|
+
node: () => node25
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info8 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError4 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service22 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer11 = Layer.effect(Service22, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service76;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID17.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer9 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError4({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer9 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service22.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node25 = makeLocationNode({
|
|
72
|
+
service: Service22,
|
|
73
|
+
layer: layer11,
|
|
74
|
+
deps: [node78, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError4({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError4({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info8, UnavailableError4, Service22, layer11, node25, exports_usage_limits };
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
} from "./repository-cache-z5v4ffb3.js";
|
|
8
8
|
import {
|
|
9
9
|
root2
|
|
10
|
-
} from "./repository-cache-
|
|
10
|
+
} from "./repository-cache-29rhhbmx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./repository-cache-
|
|
12
|
+
Service86,
|
|
13
|
+
node89
|
|
14
|
+
} from "./repository-cache-tvh5czp4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./repository-cache-
|
|
16
|
+
Service84,
|
|
17
|
+
node86
|
|
18
|
+
} from "./repository-cache-mz89terr.js";
|
|
19
19
|
import {
|
|
20
20
|
invocation2,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./repository-cache-
|
|
21
|
+
Service66,
|
|
22
|
+
node68
|
|
23
|
+
} from "./repository-cache-9b9m7ffr.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
26
|
} from "./repository-cache-9rqn6x4v.js";
|
|
@@ -31,8 +31,8 @@ __export(exports_file_access, {
|
|
|
31
31
|
FileAccess: () => exports_file_access,
|
|
32
32
|
Kind: () => Kind2,
|
|
33
33
|
ResolveInput: () => ResolveInput2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
node: () =>
|
|
34
|
+
Service: () => Service28,
|
|
35
|
+
node: () => node31,
|
|
36
36
|
resolvePath: () => resolvePath2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -46,18 +46,18 @@ var ResolveInput2 = Schema.Struct({
|
|
|
46
46
|
kind: Kind2.pipe(Schema.optional)
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service28 extends Context.Service()("@opencode/FileAccess") {
|
|
50
50
|
}
|
|
51
51
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
52
52
|
const normalized = FSUtil.windowsPath(input);
|
|
53
53
|
return path.resolve(directory, normalized === "~" ? home : normalized.startsWith("~/") || process.platform === "win32" && normalized.startsWith("~\\") ? path.join(home, normalized.slice(2)) : normalized);
|
|
54
54
|
};
|
|
55
55
|
var slash = (value) => value.replaceAll("\\", "/");
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const { files } = yield*
|
|
56
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
57
|
+
const { files } = yield* Service84;
|
|
58
58
|
const exists = (file) => exists2(files, file);
|
|
59
|
-
const location = yield*
|
|
60
|
-
const permission = yield*
|
|
59
|
+
const location = yield* Service86;
|
|
60
|
+
const permission = yield* Service66;
|
|
61
61
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
62
62
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
63
63
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -106,12 +106,12 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
106
106
|
});
|
|
107
107
|
return target;
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service28.of({ resolve, authorizeExternal, authorizeRead });
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node31 = makeLocationNode({
|
|
112
|
+
service: Service28,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node86, node89, node68]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { Kind2, ResolveInput2,
|
|
117
|
+
export { Kind2, ResolveInput2, Service28, resolvePath2, node31, exports_file_access };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./repository-cache-
|
|
2
|
+
ID16
|
|
3
|
+
} from "./repository-cache-sejy4w8d.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./repository-cache-
|
|
6
|
+
} from "./repository-cache-n9yh7hyp.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./repository-cache-
|
|
10
|
+
} from "./repository-cache-5rdk9bd3.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Form } from "@opencode/schema/form";
|
|
16
|
-
var providerID =
|
|
16
|
+
var providerID = ID16.make("cloudflare-workers-ai");
|
|
17
17
|
var CloudflareWorkersAIPlugin2 = define({
|
|
18
18
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
19
19
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
3
|
Service73
|
|
4
|
-
} from "./repository-cache-
|
|
4
|
+
} from "./repository-cache-gh9kfc8w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./repository-cache-
|
|
6
|
+
Service86
|
|
7
|
+
} from "./repository-cache-tvh5czp4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./repository-cache-
|
|
9
|
+
Service70
|
|
10
|
+
} from "./repository-cache-2nz4tm3b.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service89,
|
|
13
13
|
args2
|
|
14
|
-
} from "./repository-cache-
|
|
14
|
+
} from "./repository-cache-hr016kcx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./repository-cache-
|
|
16
|
+
Service32
|
|
17
|
+
} from "./repository-cache-2h56gaw8.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./repository-cache-
|
|
19
|
+
Service6
|
|
20
|
+
} from "./repository-cache-fa5f1x46.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
23
|
} from "./repository-cache-e834z07m.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
var exports_command2 = {};
|
|
33
33
|
__export(exports_command2, {
|
|
34
34
|
ConfigCommandPlugin: () => exports_command2,
|
|
35
|
-
Plugin: () =>
|
|
35
|
+
Plugin: () => Plugin36
|
|
36
36
|
});
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
38
38
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -42,10 +42,10 @@ import { Effect, Option, Schema } from "effect";
|
|
|
42
42
|
import { ChildProcess } from "effect/process";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
45
|
-
var
|
|
45
|
+
var Plugin36 = define({
|
|
46
46
|
id: "opencode.config.command",
|
|
47
47
|
effect: Effect.fn(function* (ctx) {
|
|
48
|
-
const config = yield*
|
|
48
|
+
const config = yield* Service70;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
51
51
|
if (entry.type === "document")
|
|
@@ -55,12 +55,12 @@ var Plugin37 = define({
|
|
|
55
55
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
56
56
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
57
57
|
});
|
|
58
|
-
const location = yield*
|
|
58
|
+
const location = yield* Service86;
|
|
59
59
|
const processes = yield* AppProcess.Service;
|
|
60
|
-
const shell = yield*
|
|
61
|
-
const sessions = yield*
|
|
60
|
+
const shell = yield* Service89;
|
|
61
|
+
const sessions = yield* Service32;
|
|
62
62
|
const agents = yield* Service73;
|
|
63
|
-
const subagents = yield*
|
|
63
|
+
const subagents = yield* Service6;
|
|
64
64
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
65
65
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
66
66
|
});
|
|
@@ -202,4 +202,4 @@ var argumentRegex = /\$(?:ARGUMENTS|([1-9]\d*))/g;
|
|
|
202
202
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
203
203
|
var shellRegex = /!`([^`]+)`/g;
|
|
204
204
|
|
|
205
|
-
export {
|
|
205
|
+
export { Plugin36, exports_command2 };
|