@opencode/core 0.0.0-dev-261 → 0.0.0-dev-275
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/account/sql.js +1 -1
- package/dist/agent.js +91 -91
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +83 -83
- package/dist/chunks/{mime-j8c8vpy0.js → bus-00j11h94.js} +55 -55
- package/dist/chunks/{mime-034tev2y.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{mime-9kq27ct5.js → bus-05t31zmj.js} +59 -45
- package/dist/chunks/{mime-05ga3jym.js → bus-09a1qcfh.js} +32 -32
- package/dist/chunks/{mime-6fpf7z8r.js → bus-0ebq21h6.js} +5 -5
- package/dist/chunks/{mime-sqjzf8x2.js → bus-0j7gp832.js} +4 -4
- package/dist/chunks/{mime-vzppetdn.js → bus-0ma4nchc.js} +3 -3
- package/dist/chunks/{mime-d1zc5akg.js → bus-0pnx2fzg.js} +13 -13
- package/dist/chunks/{mime-kk2a6haj.js → bus-10tay87v.js} +12 -12
- package/dist/chunks/{mime-11hfp36g.js → bus-11hfp36g.js} +1 -1
- package/dist/chunks/{mime-qatgy48x.js → bus-17pe40wz.js} +24 -24
- package/dist/chunks/{mime-1aqsckx4.js → bus-1aqsckx4.js} +1 -1
- package/dist/chunks/{mime-q5fg6nv3.js → bus-1cybwrec.js} +50 -50
- package/dist/chunks/{mime-ew1cbhhw.js → bus-1efvewcy.js} +5 -5
- package/dist/chunks/{mime-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{mime-7s9zy64f.js → bus-1hm6kjpw.js} +9 -9
- package/dist/chunks/{mime-r1b7wght.js → bus-1kba74ng.js} +24 -24
- package/dist/chunks/{mime-qsawh7eg.js → bus-1kn0xbnj.js} +51 -27
- package/dist/chunks/{mime-5g59k7nb.js → bus-1tcwzehe.js} +48 -38
- package/dist/chunks/{mime-mf0cbe1f.js → bus-1wk7sp0m.js} +24 -24
- package/dist/chunks/{mime-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{mime-p7vhpwh8.js → bus-1yq9hg58.js} +5 -5
- package/dist/chunks/bus-1z47fh1w.js +257 -0
- package/dist/chunks/{mime-dbqn72gh.js → bus-1zmzx9ha.js} +36 -36
- package/dist/chunks/{mime-204s3925.js → bus-204s3925.js} +1 -1
- package/dist/chunks/{mime-cpbq744t.js → bus-21g5995g.js} +3 -3
- package/dist/chunks/{mime-91xttez3.js → bus-226jktjv.js} +11 -11
- package/dist/chunks/{mime-tdjh7w66.js → bus-28d1e7vq.js} +50 -50
- package/dist/chunks/{mime-de5ev1ss.js → bus-2992epsb.js} +5 -5
- package/dist/chunks/{mime-3h56g0x5.js → bus-2dsx8k42.js} +43 -43
- package/dist/chunks/{mime-mpqhh0ff.js → bus-2kqka8y6.js} +9 -9
- package/dist/chunks/{mime-ej397f02.js → bus-2p4qkans.js} +4 -4
- package/dist/chunks/{mime-dmbvkkjp.js → bus-2pj77wb6.js} +2 -2
- package/dist/chunks/{mime-xqpnzpk3.js → bus-2we0z9ck.js} +14 -14
- package/dist/chunks/{mime-eek85r7s.js → bus-2y8abx4q.js} +13 -13
- package/dist/chunks/{mime-zeba2tf9.js → bus-2ytpdq6b.js} +11 -11
- package/dist/chunks/{mime-msj7tqt3.js → bus-31wms35x.js} +8 -8
- package/dist/chunks/{mime-4a1s8y4n.js → bus-34e1kmth.js} +18 -18
- package/dist/chunks/{mime-0rhd3fk1.js → bus-3979474a.js} +9 -9
- package/dist/chunks/{mime-fym7nwga.js → bus-3fb7g6nx.js} +23 -23
- package/dist/chunks/{mime-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-ghzabfw7.js → bus-3nnrc6vy.js} +15 -15
- package/dist/chunks/{mime-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{mime-0cjt6hj4.js → bus-3s914nqp.js} +17 -17
- package/dist/chunks/{mime-xr2mnjhn.js → bus-3sn4w2fq.js} +16 -16
- package/dist/chunks/{mime-d8p3t516.js → bus-3v50s0nm.js} +4 -4
- package/dist/chunks/{mime-x2kc3zfh.js → bus-41saj7d3.js} +8 -8
- package/dist/chunks/{mime-yvg33581.js → bus-482s3mas.js} +15 -15
- package/dist/chunks/{mime-69nya0q4.js → bus-4a32f4de.js} +16 -16
- package/dist/chunks/{mime-4dx1dgte.js → bus-4dx1dgte.js} +1 -1
- package/dist/chunks/{mime-kzcsdwss.js → bus-4gpw4gsw.js} +3 -3
- package/dist/chunks/{mime-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
- package/dist/chunks/{mime-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{mime-ys5ht53z.js → bus-4v8aj50q.js} +26 -26
- package/dist/chunks/{mime-zfvpppwm.js → bus-58ect7fx.js} +24 -24
- package/dist/chunks/{mime-3xm4v4zv.js → bus-5e5199mn.js} +28 -28
- package/dist/chunks/{mime-p36gpr4j.js → bus-5e791j03.js} +3 -3
- package/dist/chunks/{mime-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{mime-c5q03pmb.js → bus-5rfzbttg.js} +5 -5
- package/dist/chunks/{mime-2135gcnk.js → bus-62qx2g0z.js} +13 -13
- package/dist/chunks/bus-682dpnwj.js +390 -0
- package/dist/chunks/{mime-qkevpenz.js → bus-69hetzez.js} +12 -12
- package/dist/chunks/{mime-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{mime-qx2f3s6n.js → bus-6g7dge60.js} +21 -21
- package/dist/chunks/{mime-6447hfkj.js → bus-6ws2vnt1.js} +197 -197
- package/dist/chunks/{mime-9zk9amhx.js → bus-7248j9gj.js} +21 -21
- package/dist/chunks/{mime-76cb1hcw.js → bus-76cb1hcw.js} +1 -1
- package/dist/chunks/{mime-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-1w8p0a18.js → bus-7gn3gxx1.js} +15 -15
- package/dist/chunks/{mime-7ssbg7yb.js → bus-7kx48r5w.js} +23 -23
- package/dist/chunks/{mime-90g6tx1j.js → bus-7p6s7qrj.js} +11 -11
- package/dist/chunks/{mime-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{mime-vh5h3cx2.js → bus-7xy5j6y0.js} +29 -29
- package/dist/chunks/{mime-h2atfgt1.js → bus-83gc5kcm.js} +8 -8
- package/dist/chunks/{mime-k989ntyt.js → bus-85zye1zb.js} +9 -9
- package/dist/chunks/{mime-k9xb07cm.js → bus-86p3vx58.js} +10 -10
- package/dist/chunks/{mime-25h84942.js → bus-8b3vzgkx.js} +4 -4
- package/dist/chunks/{mime-cw43sd18.js → bus-8bjrjs1n.js} +4 -4
- package/dist/chunks/{mime-1wpsahk2.js → bus-8g0en9rg.js} +10 -10
- package/dist/chunks/{mime-98sj2w4a.js → bus-8hq15dve.js} +37 -37
- package/dist/chunks/{mime-1ene02nc.js → bus-8nxx61kp.js} +31 -31
- package/dist/chunks/{mime-njqr3cdm.js → bus-8qxrenr7.js} +9 -9
- package/dist/chunks/{mime-mpc1wbnc.js → bus-8tmhq2sq.js} +28 -28
- package/dist/chunks/{mime-dgy529yc.js → bus-8vbscmtw.js} +28 -28
- package/dist/chunks/{mime-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{mime-d390zwf3.js → bus-8ykqf5wm.js} +8 -8
- package/dist/chunks/{mime-90zstvax.js → bus-90zstvax.js} +1 -1
- package/dist/chunks/{mime-2b25mbj3.js → bus-928v60yv.js} +3 -3
- package/dist/chunks/{mime-xk2zn0cv.js → bus-95sp4hdf.js} +4 -4
- package/dist/chunks/{mime-ztytxe50.js → bus-96kzvzq7.js} +11 -11
- package/dist/chunks/{mime-tspwpfmw.js → bus-98w60ksq.js} +3 -3
- package/dist/chunks/{mime-1hma5w09.js → bus-9ew7ajy0.js} +97 -97
- package/dist/chunks/{mime-v7a0snhq.js → bus-9f3sjfep.js} +9 -9
- package/dist/chunks/{mime-ddb1fpa4.js → bus-9fhmc1w3.js} +18 -18
- package/dist/chunks/{mime-85aybcep.js → bus-9smg2fxp.js} +77 -77
- package/dist/chunks/{mime-nj6nnwwx.js → bus-a013n6rr.js} +30 -30
- package/dist/chunks/{mime-c4phwmq5.js → bus-a4ww6fpm.js} +6 -6
- package/dist/chunks/{mime-0h3385jp.js → bus-ac3vkw7y.js} +2 -2
- package/dist/chunks/{mime-36qx82yz.js → bus-agqd6nxz.js} +2 -2
- package/dist/chunks/{mime-sefdxvs5.js → bus-arth2bzp.js} +23 -23
- package/dist/chunks/{mime-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/{mime-mgvjndd7.js → bus-b5qmte8y.js} +10 -10
- package/dist/chunks/{mime-h5060pr3.js → bus-b6twm7ry.js} +11 -11
- package/dist/chunks/{mime-b6vsg801.js → bus-b6vsg801.js} +2 -2
- package/dist/chunks/{mime-4yscp7k1.js → bus-bcsckb3t.js} +23 -23
- package/dist/chunks/bus-c078hgae.js +2050 -0
- package/dist/chunks/{mime-hbe771na.js → bus-c0kkxqfe.js} +17 -17
- package/dist/chunks/{mime-3k3cm4zk.js → bus-c8zchzzf.js} +11 -11
- package/dist/chunks/{mime-ssfehs1z.js → bus-c9t2ty9q.js} +4 -4
- package/dist/chunks/{mime-mz88wxq7.js → bus-chhg004d.js} +22 -22
- package/dist/chunks/{mime-ekd6nmzx.js → bus-cm8n6e1j.js} +18 -13
- package/dist/chunks/{mime-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
- package/dist/chunks/{mime-kpj4bnmp.js → bus-d1k7zqa6.js} +9 -9
- package/dist/chunks/{mime-hkv8mm0v.js → bus-d2zq2nk9.js} +16 -16
- package/dist/chunks/{mime-ya13x5xa.js → bus-d441h1x7.js} +16 -16
- package/dist/chunks/{mime-bvk25jmh.js → bus-d4tdxwg3.js} +4 -4
- package/dist/chunks/{mime-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{mime-bcyfntnp.js → bus-d9mxzqst.js} +17 -17
- package/dist/chunks/{mime-z2dgfpsc.js → bus-darnxsvb.js} +6 -6
- package/dist/chunks/{mime-avgzkss2.js → bus-dbmp929s.js} +5 -5
- package/dist/chunks/{mime-enkpkfwx.js → bus-ddvn7d3w.js} +8 -8
- package/dist/chunks/{mime-8p46qq0s.js → bus-degxk2tg.js} +19 -19
- package/dist/chunks/{mime-kehv92bx.js → bus-dev678md.js} +51 -51
- package/dist/chunks/{mime-8f7wz2tq.js → bus-dgpxhmaz.js} +15 -15
- package/dist/chunks/{mime-4thnqhg3.js → bus-dpyfckyt.js} +1 -1
- package/dist/chunks/{mime-dt77769w.js → bus-dt77769w.js} +1 -1
- package/dist/chunks/{mime-zba90nwx.js → bus-dtfn9c89.js} +13 -13
- package/dist/chunks/{mime-8pyn3tva.js → bus-dxzy608a.js} +6 -6
- package/dist/chunks/{mime-xmcerbsc.js → bus-e5kybrsq.js} +23 -23
- package/dist/chunks/{mime-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{mime-ecgyc3nf.js → bus-ec95eyzx.js} +4 -4
- package/dist/chunks/{mime-9wkv0v86.js → bus-ef6dy9g0.js} +27 -27
- package/dist/chunks/{mime-7qrckcvm.js → bus-ehhwdvk1.js} +24 -24
- package/dist/chunks/{mime-jgmjv1sa.js → bus-ehtz5q4m.js} +30 -30
- package/dist/chunks/{mime-v4g74xq2.js → bus-f0hs2mq3.js} +21 -21
- package/dist/chunks/{mime-1kmbt0nq.js → bus-f0vtm8p6.js} +16 -16
- package/dist/chunks/{mime-kt9zkheb.js → bus-f2xxa684.js} +62 -62
- package/dist/chunks/{mime-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{mime-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
- package/dist/chunks/{mime-nf5vm8zn.js → bus-fq9s0kxx.js} +31 -31
- package/dist/chunks/{mime-m6jwak7z.js → bus-fv7v599h.js} +13 -13
- package/dist/chunks/{mime-6zh541c7.js → bus-fybtq79z.js} +58 -58
- package/dist/chunks/{mime-ape62p7n.js → bus-g8vb0hj0.js} +30 -30
- package/dist/chunks/{mime-gd8sx287.js → bus-gcye4jv7.js} +4 -4
- package/dist/chunks/{mime-abne355d.js → bus-ghcecwt0.js} +47 -47
- package/dist/chunks/{mime-6vkwvj03.js → bus-gs1x404j.js} +21 -21
- package/dist/chunks/{mime-dn75kjkt.js → bus-gxb4nygb.js} +10 -10
- package/dist/chunks/{mime-t6t8h010.js → bus-ha5ntr8a.js} +42 -42
- package/dist/chunks/{mime-mg356nz4.js → bus-hgfegmhz.js} +58 -26
- package/dist/chunks/{mime-hh7kjqtw.js → bus-hh7kjqtw.js} +1 -1
- package/dist/chunks/{mime-7q2ytnwk.js → bus-hmeh93yc.js} +29 -29
- package/dist/chunks/{mime-k4s79gcj.js → bus-hpejq3g9.js} +9 -9
- package/dist/chunks/{mime-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
- package/dist/chunks/{mime-bx6g05dx.js → bus-hq4c2e72.js} +17 -17
- package/dist/chunks/{mime-9esxa6rs.js → bus-hq8347db.js} +13 -13
- package/dist/chunks/{mime-0eq01nmm.js → bus-hs9b4b47.js} +9 -9
- package/dist/chunks/{mime-dt8yqcce.js → bus-hxch9gky.js} +19 -19
- package/dist/chunks/{mime-zeg6dwe8.js → bus-j4rzh0zg.js} +37 -37
- package/dist/chunks/{mime-4tdcetb8.js → bus-j9mte5pw.js} +27 -27
- package/dist/chunks/{mime-dja1b12h.js → bus-jchjggqf.js} +2 -2
- package/dist/chunks/{mime-jfaecv01.js → bus-jfaecv01.js} +1 -1
- package/dist/chunks/{mime-crttzga9.js → bus-jjescw8y.js} +8 -8
- package/dist/chunks/{mime-7h09t6vy.js → bus-jns4gqy7.js} +4 -4
- package/dist/chunks/{mime-dtpswqs3.js → bus-jqqh3nrt.js} +28 -28
- package/dist/chunks/{mime-2qwjmz35.js → bus-js92w05q.js} +11 -11
- package/dist/chunks/{mime-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
- package/dist/chunks/{mime-hj8ktf3x.js → bus-jwckxkn1.js} +11 -11
- package/dist/chunks/{mime-4hebgate.js → bus-jydzs9jd.js} +12 -12
- package/dist/chunks/{mime-e11a9bx3.js → bus-jywsdv1w.js} +3 -3
- package/dist/chunks/{mime-fg9n74ny.js → bus-k6fx5fwj.js} +22 -22
- package/dist/chunks/{mime-c4vfmmrn.js → bus-k7fcp7vh.js} +8 -8
- package/dist/chunks/{mime-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{mime-zjqm9jqg.js → bus-kc03nrdn.js} +47 -47
- package/dist/chunks/{mime-wwgpyqzb.js → bus-kcg78dnn.js} +9 -9
- package/dist/chunks/{mime-dgzhj2a3.js → bus-kf78hse3.js} +17 -17
- package/dist/chunks/{mime-ych9pyce.js → bus-kh233pt5.js} +10 -10
- package/dist/chunks/{mime-904xv1p5.js → bus-knh1jnvy.js} +27 -27
- package/dist/chunks/{mime-hw311zkt.js → bus-ksw9k14w.js} +46 -53
- package/dist/chunks/{mime-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{mime-q5654s0t.js → bus-kz8v4jkb.js} +27 -27
- package/dist/chunks/{mime-f1md2d8q.js → bus-m0qs22fp.js} +19 -19
- package/dist/chunks/{mime-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{mime-zcf14pnt.js → bus-m2w2s527.js} +4 -4
- package/dist/chunks/{mime-vmfhgzt5.js → bus-m37sd98t.js} +4 -4
- package/dist/chunks/{mime-c3gnxtmm.js → bus-m5vcha6x.js} +12 -12
- package/dist/chunks/{mime-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-mb7mbhnz.js → bus-mb7mbhnz.js} +3 -3
- package/dist/chunks/{mime-aes06p6b.js → bus-meq8xbkf.js} +5 -5
- package/dist/chunks/{mime-f004ykrw.js → bus-mh65p8pj.js} +25 -25
- package/dist/chunks/{mime-h3pj7a7m.js → bus-mh93svdp.js} +18 -18
- package/dist/chunks/{mime-w81tm3vv.js → bus-mmw6hwzc.js} +17 -17
- package/dist/chunks/{mime-50x74c5d.js → bus-mnad5nn2.js} +33 -33
- package/dist/chunks/{mime-4qxqnvmw.js → bus-mpza5t97.js} +29 -29
- package/dist/chunks/{mime-2zp5a6yg.js → bus-mqe7nf5n.js} +3 -3
- package/dist/chunks/{mime-45xte6ee.js → bus-mz45bcy6.js} +26 -26
- package/dist/chunks/{mime-ykcxy4jb.js → bus-n3x35gjg.js} +14 -14
- package/dist/chunks/{mime-sg2p3jg1.js → bus-n76e6m8b.js} +11 -11
- package/dist/chunks/{mime-nah043kf.js → bus-nah043kf.js} +1 -1
- package/dist/chunks/{mime-8dnnkdqt.js → bus-ncr9krzg.js} +22 -22
- package/dist/chunks/{mime-9pf0pmfk.js → bus-nrtmfbdc.js} +11 -11
- package/dist/chunks/{mime-y24rddh5.js → bus-nvgj5k0n.js} +14 -14
- package/dist/chunks/{mime-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{mime-xcmevbrr.js → bus-p2rrmpys.js} +11 -11
- package/dist/chunks/{mime-y2bdgeyh.js → bus-p59qfrvx.js} +3 -3
- package/dist/chunks/{mime-br6xvyb6.js → bus-p6bk0asb.js} +21 -21
- package/dist/chunks/{mime-kprjpmw6.js → bus-pdw1qznx.js} +33 -33
- package/dist/chunks/{mime-6evmzryz.js → bus-pexrpc5k.js} +9 -9
- package/dist/chunks/{mime-jw5zbn3z.js → bus-pjptrb5y.js} +37 -37
- package/dist/chunks/{mime-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{mime-nym9wyb3.js → bus-pzsa5b6k.js} +6 -6
- package/dist/chunks/{mime-s4fkafj4.js → bus-q0ye6e4s.js} +2 -2
- package/dist/chunks/{mime-hk82q6eb.js → bus-q17cwwmb.js} +12 -12
- package/dist/chunks/{mime-1dtbfpzr.js → bus-q498qw3k.js} +28 -28
- package/dist/chunks/{mime-hcaakz9a.js → bus-q6sa0fx3.js} +14 -14
- package/dist/chunks/{mime-bgwcavjj.js → bus-q6yx0pgq.js} +9 -9
- package/dist/chunks/{mime-hbqfs0kq.js → bus-q7rm49kv.js} +11 -11
- package/dist/chunks/{mime-sj7qk1wq.js → bus-qbc6w44s.js} +20 -20
- package/dist/chunks/{mime-09npetjp.js → bus-qbj75hz3.js} +36 -36
- package/dist/chunks/{mime-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
- package/dist/chunks/{mime-1kn6jdkn.js → bus-qqpbcr2p.js} +4 -4
- package/dist/chunks/{mime-qqvy8y24.js → bus-qqvy8y24.js} +1 -1
- package/dist/chunks/{mime-x3a4n8aj.js → bus-qspstntz.js} +13 -13
- package/dist/chunks/{mime-91a9ea02.js → bus-qwhg5edk.js} +21 -21
- package/dist/chunks/{mime-1nwvfgjk.js → bus-qy40w2mn.js} +25 -25
- package/dist/chunks/{mime-gy1k9bkm.js → bus-r13t3b9j.js} +5 -5
- package/dist/chunks/{mime-xp4cjnvy.js → bus-r2s7w9p5.js} +4 -4
- package/dist/chunks/{mime-q8jvga0v.js → bus-r2vthv2q.js} +53 -53
- package/dist/chunks/{mime-r542h3bh.js → bus-r542h3bh.js} +1 -1
- package/dist/chunks/{mime-2e3yfjq6.js → bus-r8d5ttcp.js} +8 -8
- package/dist/chunks/{mime-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{mime-y3a4nh1w.js → bus-rcds6jmy.js} +19 -19
- package/dist/chunks/{mime-tr6n2pd7.js → bus-rekbjepc.js} +22 -22
- package/dist/chunks/{mime-vrcsa8qx.js → bus-rjnacbrz.js} +9 -9
- package/dist/chunks/{mime-ksxm71aw.js → bus-rk7zzszn.js} +8 -8
- package/dist/chunks/{mime-3f6130kj.js → bus-rt4hpzta.js} +27 -27
- package/dist/chunks/{mime-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{mime-zw960apb.js → bus-rwcj15n0.js} +353 -353
- package/dist/chunks/{mime-87vy0wwt.js → bus-ryyta8gj.js} +11 -11
- package/dist/chunks/{mime-pcc4d2n5.js → bus-s4vgxntc.js} +9 -9
- package/dist/chunks/{mime-2kg89srt.js → bus-s7kyse9r.js} +4 -4
- package/dist/chunks/{mime-z6b5kr5f.js → bus-s8sx6y1x.js} +23 -23
- package/dist/chunks/{mime-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
- package/dist/chunks/{mime-qnt4yn7k.js → bus-sm5prsna.js} +2 -2
- package/dist/chunks/{mime-9e3hvwnw.js → bus-sp4h8jpm.js} +30 -30
- package/dist/chunks/{mime-sqbb0ctm.js → bus-sqbb0ctm.js} +5 -5
- package/dist/chunks/{mime-6vmee23j.js → bus-sqrwb7ek.js} +3 -3
- package/dist/chunks/{mime-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
- package/dist/chunks/{mime-qevqwm2d.js → bus-sxdhpgmr.js} +29 -29
- package/dist/chunks/{mime-bpyckyws.js → bus-t3dqt28d.js} +15 -15
- package/dist/chunks/{mime-78p2h4ex.js → bus-t8erkws8.js} +5 -5
- package/dist/chunks/{mime-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{mime-h6sym59v.js → bus-tg1716pc.js} +6 -6
- package/dist/chunks/{mime-ajntjgfc.js → bus-tt3yxz2r.js} +15 -15
- package/dist/chunks/{mime-twssxy5n.js → bus-twssxy5n.js} +2 -2
- package/dist/chunks/{mime-kdd90951.js → bus-v0dqmjgm.js} +53 -53
- package/dist/chunks/{mime-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{mime-fddcjhj2.js → bus-v4mtj4vv.js} +25 -25
- package/dist/chunks/{mime-jjv1q8d4.js → bus-vdj2189h.js} +14 -14
- package/dist/chunks/{mime-0j9k711p.js → bus-vhazrdaa.js} +15 -15
- package/dist/chunks/{mime-48es43h7.js → bus-vhjra7pn.js} +10 -10
- package/dist/chunks/{mime-kewx5hse.js → bus-vje3bk9q.js} +7 -7
- package/dist/chunks/{mime-jjmhfyts.js → bus-vrxpgxjt.js} +13 -13
- package/dist/chunks/{mime-hz5a1k95.js → bus-vsq2sm2q.js} +26 -26
- package/dist/chunks/{mime-5enarcya.js → bus-w2eysc6j.js} +6 -6
- package/dist/chunks/{mime-gqwtxsn1.js → bus-w36nberk.js} +33 -33
- package/dist/chunks/{mime-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-107zh63q.js → bus-w52wajpr.js} +3 -3
- package/dist/chunks/{mime-x7qkck9a.js → bus-w6v1rynq.js} +15 -15
- package/dist/chunks/{mime-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{mime-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{mime-wegkxhrn.js → bus-wegkxhrn.js} +2 -2
- package/dist/chunks/{mime-f0ay53g6.js → bus-wfz8zxsv.js} +3 -3
- package/dist/chunks/{mime-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
- package/dist/chunks/{mime-0h8y3ex8.js → bus-wr3re1en.js} +4 -4
- package/dist/chunks/bus-wtgvz1w4.js +26 -0
- package/dist/chunks/{mime-gw7tqdxz.js → bus-wwszdvz7.js} +5 -5
- package/dist/chunks/{mime-czey47wt.js → bus-wxtbyv82.js} +4 -4
- package/dist/chunks/{mime-b4hen3e4.js → bus-x271axaw.js} +7 -7
- package/dist/chunks/{mime-sdvfaqjv.js → bus-x686a40m.js} +22 -22
- package/dist/chunks/{mime-d64mgb0d.js → bus-x6vg8sze.js} +37 -37
- package/dist/chunks/{mime-7q3qfmpr.js → bus-x7xp1w7g.js} +29 -29
- package/dist/chunks/{mime-xd9cc171.js → bus-xd9cc171.js} +1 -1
- package/dist/chunks/bus-xj80yh0e.js +407 -0
- package/dist/chunks/{mime-c6x7d2ts.js → bus-xmx7xj34.js} +4 -4
- package/dist/chunks/{mime-1dy1zrej.js → bus-y4c93yhq.js} +89 -89
- package/dist/chunks/{mime-tt26s4vq.js → bus-y6ycwz8c.js} +11 -11
- package/dist/chunks/{mime-yara3q77.js → bus-yara3q77.js} +2 -2
- package/dist/chunks/{mime-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{mime-w4ykgd89.js → bus-yn7vgazy.js} +5 -5
- package/dist/chunks/{mime-p87480bx.js → bus-z28kzp3s.js} +9 -9
- package/dist/chunks/{mime-5f3qf23k.js → bus-z6e3jbzz.js} +20 -20
- package/dist/chunks/{mime-17x7vgjp.js → bus-z6wb4d7c.js} +29 -29
- package/dist/chunks/bus-z7bdqmx5.js +18 -0
- package/dist/chunks/{mime-2hrk5wbs.js → bus-zmg3gahh.js} +15 -15
- package/dist/chunks/{mime-29db0j4x.js → bus-zqs4wz9p.js} +4 -4
- package/dist/chunks/{mime-x6tax50b.js → bus-zvv2gg2z.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +8 -4
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +91 -91
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +129 -129
- package/dist/config/plugin/command.js +226 -226
- package/dist/config/plugin/compaction.js +169 -169
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +129 -129
- package/dist/config/plugin/mcp.js +136 -136
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +132 -132
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +93 -93
- package/dist/database/database.js +80 -80
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +107 -107
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +392 -391
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +84 -84
- package/dist/file-access.js +153 -153
- package/dist/file-mutation.js +106 -106
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +235 -235
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +114 -114
- package/dist/form.js +92 -92
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +119 -119
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +103 -103
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +383 -382
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +97 -97
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +99 -99
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +173 -173
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +380 -379
- package/dist/location.js +101 -101
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +121 -121
- package/dist/mcp/instructions.js +175 -175
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -120
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +100 -100
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +84 -84
- package/dist/plugin/command.js +112 -112
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +232 -232
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +359 -358
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +129 -129
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +179 -179
- package/dist/plugin/sdk.js +86 -86
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +367 -366
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +102 -102
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +107 -107
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +237 -236
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +245 -244
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +195 -195
- package/dist/session/diff.js +100 -100
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +243 -243
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +195 -195
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +146 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +160 -160
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +244 -244
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +159 -159
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +146 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +193 -193
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +240 -240
- package/dist/session/usage.js +1 -1
- package/dist/session.js +232 -232
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +6 -2007
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +148 -148
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +103 -103
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +174 -174
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +163 -163
- package/dist/tool/plugin/grep.js +163 -163
- package/dist/tool/plugin/image-generate.js +236 -236
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +159 -159
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +243 -242
- package/dist/tool/plugin/shell.js +232 -231
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +233 -233
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +163 -163
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/codemode/tool.d.ts +39 -0
- package/dist/types/schedule/check.d.ts +35 -4
- package/dist/types/schedule/sql.d.ts +3 -0
- package/dist/types/shell/parse.d.ts +2 -6
- package/dist/types/tool/plugin/schedule.d.ts +12 -0
- package/dist/types/tool/plugin/shell.d.ts +1 -2
- package/dist/types/tool.d.ts +14 -0
- package/dist/usage-limits.js +99 -99
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -104
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +103 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +100 -100
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +91 -91
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +112 -112
- package/package.json +8 -17
- package/dist/chunks/mime-1hm0b4am.js +0 -257
- package/dist/chunks/mime-2dkjcnxp.js +0 -18
- package/dist/chunks/mime-52zxaxjc.js +0 -26
- package/dist/chunks/mime-vf16q2b1.js +0 -356
- package/dist/chunks/mime-z8xs1n5t.js +0 -222
- package/dist/shell/parser-wasm.bun.js +0 -8
- package/dist/shell/parser-wasm.node.js +0 -11
- package/dist/shell/parser-wasm.workerd.js +0 -5
- package/dist/types/shell/parser-wasm.bun.d.ts +0 -5
- package/dist/types/shell/parser-wasm.node.d.ts +0 -5
- package/dist/types/shell/parser-wasm.workerd.d.ts +0 -5
- /package/dist/chunks/{mime-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kah00gy.js → bus-1kah00gy.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-7stb81gk.js → bus-7stb81gk.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-beh6qq61.js → bus-beh6qq61.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ean2d8b5.js → bus-ean2d8b5.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{mime-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
- /package/dist/chunks/{mime-nh4v3znn.js → bus-nh4v3znn.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-stkk57rt.js → bus-stkk57rt.js} +0 -0
- /package/dist/chunks/{mime-t03h4f5z.js → bus-t03h4f5z.js} +0 -0
- /package/dist/chunks/{mime-ty7weeps.js → bus-ty7weeps.js} +0 -0
- /package/dist/chunks/{mime-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./bus-d441h1x7.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./bus-hq4c2e72.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./bus-v0dqmjgm.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source3
|
|
17
|
+
} from "./bus-mpza5t97.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service9
|
|
20
|
+
} from "./bus-rjnacbrz.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-dxzy608a.js";
|
|
24
24
|
import {
|
|
25
25
|
ignore2,
|
|
26
26
|
scan2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-nah043kf.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/config/plugin/skill.ts
|
|
33
|
-
var
|
|
34
|
-
__export(
|
|
35
|
-
ConfigSkillPlugin: () =>
|
|
36
|
-
Plugin: () =>
|
|
33
|
+
var exports_skill2 = {};
|
|
34
|
+
__export(exports_skill2, {
|
|
35
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
36
|
+
Plugin: () => Plugin21
|
|
37
37
|
});
|
|
38
38
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
39
39
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
40
40
|
import { Global } from "@opencode/util/global";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
43
|
-
var
|
|
43
|
+
var Plugin21 = define({
|
|
44
44
|
id: "opencode.config.skill",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const config = yield*
|
|
47
|
-
const discovery = yield*
|
|
46
|
+
const config = yield* Service62;
|
|
47
|
+
const discovery = yield* Service9;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const global = yield* Global.Service;
|
|
50
|
-
const location = yield*
|
|
51
|
-
const watcher = yield*
|
|
50
|
+
const location = yield* Service82;
|
|
51
|
+
const watcher = yield* Service63;
|
|
52
52
|
const loaded = {
|
|
53
53
|
entries: yield* config.entries(),
|
|
54
54
|
skills: []
|
|
@@ -91,7 +91,7 @@ var Plugin11 = define({
|
|
|
91
91
|
const sources = () => {
|
|
92
92
|
const result = [];
|
|
93
93
|
const add = (source) => {
|
|
94
|
-
if (result.some((item) =>
|
|
94
|
+
if (result.some((item) => Source3.equals(item, source)))
|
|
95
95
|
return;
|
|
96
96
|
result.push(source);
|
|
97
97
|
};
|
|
@@ -116,7 +116,7 @@ var Plugin11 = define({
|
|
|
116
116
|
};
|
|
117
117
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
118
118
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
119
|
-
source:
|
|
119
|
+
source: Source3.key(source),
|
|
120
120
|
cause
|
|
121
121
|
}).pipe(Effect.as([]))));
|
|
122
122
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -144,7 +144,7 @@ var Plugin11 = define({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
yield* Effect.logDebug("skill source loaded", {
|
|
147
|
-
source:
|
|
147
|
+
source: Source3.key(source),
|
|
148
148
|
type: source.type,
|
|
149
149
|
directories,
|
|
150
150
|
skills: skills.map((skill) => skill.id)
|
|
@@ -163,7 +163,7 @@ var Plugin11 = define({
|
|
|
163
163
|
if (file) {
|
|
164
164
|
yield* Effect.logInfo("skills rescanned", {
|
|
165
165
|
file,
|
|
166
|
-
sources: current.map(
|
|
166
|
+
sources: current.map(Source3.key),
|
|
167
167
|
skills: loaded.skills.map((skill) => skill.id)
|
|
168
168
|
});
|
|
169
169
|
}
|
|
@@ -179,4 +179,4 @@ var Plugin11 = define({
|
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { Plugin21, exports_skill2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-mz45bcy6.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-zvv2gg2z.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-86p3vx58.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-w36nberk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID15,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-fq9s0kxx.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID15.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-11hfp36g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node73
|
|
7
|
+
} from "./bus-1kba74ng.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service69,
|
|
17
|
+
node: () => node72,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service69 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service70;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service69.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node72 = makeLocationNode({ service: Service69, layer, deps: [node73] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service69, readText2, syncTextBom2, node72, exports_file_mutation };
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import {
|
|
2
|
+
scan4,
|
|
3
|
+
scanPowerShell2
|
|
4
|
+
} from "./bus-c078hgae.js";
|
|
5
|
+
import {
|
|
6
|
+
name17,
|
|
7
|
+
ps2
|
|
8
|
+
} from "./bus-rcds6jmy.js";
|
|
9
|
+
import {
|
|
10
|
+
match3
|
|
11
|
+
} from "./bus-1aqsckx4.js";
|
|
12
|
+
import {
|
|
13
|
+
__export
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
|
+
|
|
16
|
+
// src/shell/parse.ts
|
|
17
|
+
var exports_parse = {};
|
|
18
|
+
__export(exports_parse, {
|
|
19
|
+
ShellParse: () => exports_parse,
|
|
20
|
+
scan: () => scan3,
|
|
21
|
+
scanPortable: () => scanPortable2
|
|
22
|
+
});
|
|
23
|
+
import { Effect } from "effect";
|
|
24
|
+
import os from "os";
|
|
25
|
+
import path from "path";
|
|
26
|
+
var CWD = new Set(["cd", "chdir", "popd", "pushd", "push-location", "set-location"]);
|
|
27
|
+
var POWERSHELL_PATH_FLAG_RE = /^-(?:p(?:ath|at|a)?|lp|l(?:i(?:t(?:e(?:r(?:a(?:l(?:p(?:a(?:t(?:h)?)?)?)?)?)?)?)?)?)?|psp(?:a(?:t(?:h)?)?)?):?$/i;
|
|
28
|
+
var ARITY = {
|
|
29
|
+
cat: 1,
|
|
30
|
+
cd: 1,
|
|
31
|
+
chmod: 1,
|
|
32
|
+
chown: 1,
|
|
33
|
+
cp: 1,
|
|
34
|
+
echo: 1,
|
|
35
|
+
env: 1,
|
|
36
|
+
export: 1,
|
|
37
|
+
grep: 1,
|
|
38
|
+
kill: 1,
|
|
39
|
+
killall: 1,
|
|
40
|
+
ln: 1,
|
|
41
|
+
ls: 1,
|
|
42
|
+
mkdir: 1,
|
|
43
|
+
mv: 1,
|
|
44
|
+
ps: 1,
|
|
45
|
+
pwd: 1,
|
|
46
|
+
rm: 1,
|
|
47
|
+
rmdir: 1,
|
|
48
|
+
sleep: 1,
|
|
49
|
+
source: 1,
|
|
50
|
+
tail: 1,
|
|
51
|
+
touch: 1,
|
|
52
|
+
unset: 1,
|
|
53
|
+
which: 1,
|
|
54
|
+
aws: 3,
|
|
55
|
+
az: 3,
|
|
56
|
+
bazel: 2,
|
|
57
|
+
brew: 2,
|
|
58
|
+
bun: 2,
|
|
59
|
+
"bun run": 3,
|
|
60
|
+
"bun x": 3,
|
|
61
|
+
cargo: 2,
|
|
62
|
+
"cargo add": 3,
|
|
63
|
+
"cargo run": 3,
|
|
64
|
+
cdk: 2,
|
|
65
|
+
cf: 2,
|
|
66
|
+
cmake: 2,
|
|
67
|
+
composer: 2,
|
|
68
|
+
consul: 2,
|
|
69
|
+
"consul kv": 3,
|
|
70
|
+
crictl: 2,
|
|
71
|
+
deno: 2,
|
|
72
|
+
"deno task": 3,
|
|
73
|
+
doctl: 3,
|
|
74
|
+
docker: 2,
|
|
75
|
+
"docker builder": 3,
|
|
76
|
+
"docker compose": 3,
|
|
77
|
+
"docker container": 3,
|
|
78
|
+
"docker image": 3,
|
|
79
|
+
"docker network": 3,
|
|
80
|
+
"docker volume": 3,
|
|
81
|
+
eksctl: 2,
|
|
82
|
+
"eksctl create": 3,
|
|
83
|
+
firebase: 2,
|
|
84
|
+
flyctl: 2,
|
|
85
|
+
gcloud: 3,
|
|
86
|
+
gh: 3,
|
|
87
|
+
git: 2,
|
|
88
|
+
"git config": 3,
|
|
89
|
+
"git remote": 3,
|
|
90
|
+
"git stash": 3,
|
|
91
|
+
go: 2,
|
|
92
|
+
gradle: 2,
|
|
93
|
+
helm: 2,
|
|
94
|
+
heroku: 2,
|
|
95
|
+
hugo: 2,
|
|
96
|
+
ip: 2,
|
|
97
|
+
"ip addr": 3,
|
|
98
|
+
"ip link": 3,
|
|
99
|
+
"ip netns": 3,
|
|
100
|
+
"ip route": 3,
|
|
101
|
+
kind: 2,
|
|
102
|
+
"kind create": 3,
|
|
103
|
+
kubectl: 2,
|
|
104
|
+
"kubectl kustomize": 3,
|
|
105
|
+
"kubectl rollout": 3,
|
|
106
|
+
kustomize: 2,
|
|
107
|
+
make: 2,
|
|
108
|
+
mc: 2,
|
|
109
|
+
"mc admin": 3,
|
|
110
|
+
minikube: 2,
|
|
111
|
+
mongosh: 2,
|
|
112
|
+
mysql: 2,
|
|
113
|
+
mvn: 2,
|
|
114
|
+
ng: 2,
|
|
115
|
+
npm: 2,
|
|
116
|
+
"npm exec": 3,
|
|
117
|
+
"npm init": 3,
|
|
118
|
+
"npm run": 3,
|
|
119
|
+
"npm view": 3,
|
|
120
|
+
npx: 2,
|
|
121
|
+
nvm: 2,
|
|
122
|
+
nx: 2,
|
|
123
|
+
openssl: 2,
|
|
124
|
+
"openssl req": 3,
|
|
125
|
+
"openssl x509": 3,
|
|
126
|
+
pip: 2,
|
|
127
|
+
pipenv: 2,
|
|
128
|
+
pnpm: 2,
|
|
129
|
+
"pnpm dlx": 3,
|
|
130
|
+
"pnpm exec": 3,
|
|
131
|
+
"pnpm run": 3,
|
|
132
|
+
poetry: 2,
|
|
133
|
+
podman: 2,
|
|
134
|
+
"podman container": 3,
|
|
135
|
+
"podman image": 3,
|
|
136
|
+
psql: 2,
|
|
137
|
+
pulumi: 2,
|
|
138
|
+
"pulumi stack": 3,
|
|
139
|
+
python: 2,
|
|
140
|
+
pyenv: 2,
|
|
141
|
+
rake: 2,
|
|
142
|
+
rbenv: 2,
|
|
143
|
+
"redis-cli": 2,
|
|
144
|
+
rustup: 2,
|
|
145
|
+
serverless: 2,
|
|
146
|
+
sfdx: 3,
|
|
147
|
+
skaffold: 2,
|
|
148
|
+
sls: 2,
|
|
149
|
+
sst: 2,
|
|
150
|
+
swift: 2,
|
|
151
|
+
systemctl: 2,
|
|
152
|
+
terraform: 2,
|
|
153
|
+
"terraform workspace": 3,
|
|
154
|
+
tmux: 2,
|
|
155
|
+
turbo: 2,
|
|
156
|
+
ufw: 2,
|
|
157
|
+
vault: 2,
|
|
158
|
+
"vault auth": 3,
|
|
159
|
+
"vault kv": 3,
|
|
160
|
+
vercel: 2,
|
|
161
|
+
volta: 2,
|
|
162
|
+
wp: 2,
|
|
163
|
+
yarn: 2,
|
|
164
|
+
"yarn dlx": 3,
|
|
165
|
+
"yarn run": 3
|
|
166
|
+
};
|
|
167
|
+
var PREFIX_LENGTH = Math.max(...Object.values(ARITY));
|
|
168
|
+
function scan3(command, shell, cwd) {
|
|
169
|
+
return Effect.suspend(() => {
|
|
170
|
+
const powershell = ps2(shell);
|
|
171
|
+
const shellName = name17(shell);
|
|
172
|
+
const scanned = powershell ? scanPowerShell2(command) : scan4(command, shellName === "bash" || shellName === "zsh" ? shellName : "posix");
|
|
173
|
+
if (scanned.kind === "opaque")
|
|
174
|
+
return Effect.fail(new Error(`Portable shell scanner cannot analyze command: ${scanned.reason}`));
|
|
175
|
+
const output = { commands: [], directories: [] };
|
|
176
|
+
for (const item of scanned.commands) {
|
|
177
|
+
if (item.declaration)
|
|
178
|
+
continue;
|
|
179
|
+
const words = item.redirectWordCount === undefined ? item.rawWords : item.rawWords.slice(0, item.redirectWordCount);
|
|
180
|
+
if (powershell && item.statementHead && /^foreach(?:-|$)/i.test(words[0] ?? "") && words.length > 1 && words.slice(1).every((word) => word.startsWith("{")))
|
|
181
|
+
continue;
|
|
182
|
+
const parts = powershell ? words.flatMap((raw, index) => {
|
|
183
|
+
const text = !raw.includes("`$") && /['"`]/.test(raw) ? item.words[index] ?? raw : raw.replaceAll("`$", "\x00");
|
|
184
|
+
if (!/^-[A-Za-z_?][\w?-]*(?::|$)/.test(raw))
|
|
185
|
+
return [{ type: "word", text }];
|
|
186
|
+
const colon = text.indexOf(":");
|
|
187
|
+
if (colon >= 0)
|
|
188
|
+
return colon + 1 < text.length ? [
|
|
189
|
+
{ type: "command_parameter", text: text.slice(0, colon) },
|
|
190
|
+
{ type: "word", text: text.slice(colon + 1) }
|
|
191
|
+
] : [{ type: "command_parameter", text: text.slice(0, colon) }];
|
|
192
|
+
return [{ type: "command_parameter", text }];
|
|
193
|
+
}) : item.rawWords.map((raw, index) => {
|
|
194
|
+
const word = item.words[index] ?? raw;
|
|
195
|
+
return {
|
|
196
|
+
type: "word",
|
|
197
|
+
text: isStaticBashWord(raw) ? word.replaceAll("$", "\x00") : "$",
|
|
198
|
+
unquotedTilde: raw.startsWith("~")
|
|
199
|
+
};
|
|
200
|
+
});
|
|
201
|
+
const directoryCommand = unwrapDirectoryCommand(words, parts, powershell);
|
|
202
|
+
if (directoryCommand) {
|
|
203
|
+
output.directories.push(...directoryArgs(directoryCommand, powershell, cwd, shell));
|
|
204
|
+
if (directoryCommand === parts)
|
|
205
|
+
continue;
|
|
206
|
+
}
|
|
207
|
+
const selected = prefix(words.slice(0, PREFIX_LENGTH));
|
|
208
|
+
const conventional = `${selected.join(" ")} *`;
|
|
209
|
+
const end = item.wordEnds?.[selected.length - 1];
|
|
210
|
+
const save = !powershell || end === undefined || match3(item.resource, conventional) ? conventional : (() => {
|
|
211
|
+
const boundary = item.wordEnds?.find((value) => value >= end && (value >= item.resource.length || /\s/.test(item.resource[value]))) ?? end;
|
|
212
|
+
const separator = /^\s+(?:`(?:\r\n|\r|\n)\s*)?/.exec(item.resource.slice(boundary))?.[0];
|
|
213
|
+
return `${item.resource.slice(0, boundary)}${separator ?? " "}*`;
|
|
214
|
+
})();
|
|
215
|
+
output.commands.push({
|
|
216
|
+
resource: item.resource,
|
|
217
|
+
save
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
return Effect.succeed(output);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
var scanPortable2 = scan3;
|
|
224
|
+
function unwrapDirectoryCommand(rawWords, parts, powershell) {
|
|
225
|
+
const head = powershell ? rawWords[0]?.toLowerCase() : rawWords[0];
|
|
226
|
+
if (CWD.has(head ?? ""))
|
|
227
|
+
return parts;
|
|
228
|
+
if (powershell)
|
|
229
|
+
return;
|
|
230
|
+
let index = 0;
|
|
231
|
+
while (rawWords[index] === "builtin" || rawWords[index] === "command") {
|
|
232
|
+
const wrapper = rawWords[index];
|
|
233
|
+
index++;
|
|
234
|
+
while (rawWords[index]?.startsWith("-")) {
|
|
235
|
+
const flag = rawWords[index];
|
|
236
|
+
index++;
|
|
237
|
+
if (flag === "--")
|
|
238
|
+
break;
|
|
239
|
+
if (wrapper === "command" && /^-[p]*[vV]/.test(flag))
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
return index > 0 && CWD.has(rawWords[index] ?? "") ? parts.slice(index) : undefined;
|
|
244
|
+
}
|
|
245
|
+
function isStaticBashWord(raw) {
|
|
246
|
+
let quote;
|
|
247
|
+
for (let index = 0;index < raw.length; index++) {
|
|
248
|
+
const char = raw[index];
|
|
249
|
+
const next = raw[index + 1] ?? "";
|
|
250
|
+
if (quote === "'") {
|
|
251
|
+
if (char === "'")
|
|
252
|
+
quote = undefined;
|
|
253
|
+
continue;
|
|
254
|
+
}
|
|
255
|
+
if (quote === "$'") {
|
|
256
|
+
if (char === "\\") {
|
|
257
|
+
index++;
|
|
258
|
+
continue;
|
|
259
|
+
}
|
|
260
|
+
if (char === "'")
|
|
261
|
+
quote = undefined;
|
|
262
|
+
continue;
|
|
263
|
+
}
|
|
264
|
+
if (quote === '"') {
|
|
265
|
+
if (char === "\\" && '$`"\\\n'.includes(next)) {
|
|
266
|
+
index++;
|
|
267
|
+
continue;
|
|
268
|
+
}
|
|
269
|
+
if (char === '"') {
|
|
270
|
+
quote = undefined;
|
|
271
|
+
continue;
|
|
272
|
+
}
|
|
273
|
+
if (char === "`" || char === "$" && (/[A-Za-z_0-9@*#?$!({[-]/.test(next) || raw.startsWith("\\\n", index + 1)))
|
|
274
|
+
return false;
|
|
275
|
+
continue;
|
|
276
|
+
}
|
|
277
|
+
if (char === "\\") {
|
|
278
|
+
index++;
|
|
279
|
+
continue;
|
|
280
|
+
}
|
|
281
|
+
if (char === "'") {
|
|
282
|
+
quote = "'";
|
|
283
|
+
continue;
|
|
284
|
+
}
|
|
285
|
+
if (char === '"') {
|
|
286
|
+
quote = '"';
|
|
287
|
+
continue;
|
|
288
|
+
}
|
|
289
|
+
if (char === "$" && next === "'") {
|
|
290
|
+
quote = "$'";
|
|
291
|
+
index++;
|
|
292
|
+
continue;
|
|
293
|
+
}
|
|
294
|
+
if (char === "$" && next === '"') {
|
|
295
|
+
quote = '"';
|
|
296
|
+
index++;
|
|
297
|
+
continue;
|
|
298
|
+
}
|
|
299
|
+
if (char === "`" || (char === "<" || char === ">" || char === "=") && next === "(" || char === "$" && (/[A-Za-z_0-9@*#?$!({[-]/.test(next) || raw.startsWith("\\\n", index + 1)))
|
|
300
|
+
return false;
|
|
301
|
+
}
|
|
302
|
+
return quote === undefined;
|
|
303
|
+
}
|
|
304
|
+
function directoryArgs(command, powershell, cwd, shell) {
|
|
305
|
+
if (!powershell) {
|
|
306
|
+
let endOfOptions = false;
|
|
307
|
+
return command.slice(1).filter((part) => {
|
|
308
|
+
if (endOfOptions)
|
|
309
|
+
return true;
|
|
310
|
+
if (part.text === "--") {
|
|
311
|
+
endOfOptions = true;
|
|
312
|
+
return false;
|
|
313
|
+
}
|
|
314
|
+
return !part.text.startsWith("-");
|
|
315
|
+
}).map((part) => directoryArgument(part.text, powershell, cwd, shell, part.unquotedTilde)).filter((part) => part !== undefined);
|
|
316
|
+
}
|
|
317
|
+
const directories = [];
|
|
318
|
+
let path2 = false;
|
|
319
|
+
let endOfParameters = false;
|
|
320
|
+
for (const part of command.slice(1)) {
|
|
321
|
+
if (!endOfParameters && part.text === "--") {
|
|
322
|
+
endOfParameters = true;
|
|
323
|
+
continue;
|
|
324
|
+
}
|
|
325
|
+
if (path2) {
|
|
326
|
+
const value = directoryArgument(part.text, powershell, cwd, shell);
|
|
327
|
+
if (value)
|
|
328
|
+
directories.push(value);
|
|
329
|
+
path2 = false;
|
|
330
|
+
continue;
|
|
331
|
+
}
|
|
332
|
+
if (!endOfParameters && part.type === "command_parameter") {
|
|
333
|
+
path2 = POWERSHELL_PATH_FLAG_RE.test(part.text);
|
|
334
|
+
continue;
|
|
335
|
+
}
|
|
336
|
+
const value = directoryArgument(part.text, powershell, cwd, shell);
|
|
337
|
+
if (value)
|
|
338
|
+
directories.push(value);
|
|
339
|
+
}
|
|
340
|
+
return directories;
|
|
341
|
+
}
|
|
342
|
+
function directoryArgument(value, powershell, cwd, shell, unquotedTilde = false) {
|
|
343
|
+
if (!powershell)
|
|
344
|
+
return expandKnownDirectory(value, false, unquotedTilde);
|
|
345
|
+
const quote = value[0];
|
|
346
|
+
const text = (quote === '"' || quote === "'") && value.at(-1) === quote ? value.slice(1, -1) : value;
|
|
347
|
+
return expandKnownDirectory(text.replace(/\$\{env:([^}]+)\}/gi, (_, key) => environment(key) ?? "").replace(/\$env:([A-Za-z_][A-Za-z0-9_]*)/gi, (_, key) => environment(key) ?? "").replace(/\$(?:\{(HOME|PWD|PSHOME)\}|(HOME|PWD|PSHOME)(?=$|[\\/]))/gi, (_, braced, bare) => {
|
|
348
|
+
const key = (braced ?? bare ?? "").toUpperCase();
|
|
349
|
+
if (key === "HOME")
|
|
350
|
+
return os.homedir();
|
|
351
|
+
if (key === "PWD")
|
|
352
|
+
return cwd;
|
|
353
|
+
return path.dirname(shell);
|
|
354
|
+
}), true);
|
|
355
|
+
}
|
|
356
|
+
function expandKnownDirectory(value, powershell, unquotedTilde = false) {
|
|
357
|
+
if (value.includes("$") || value.includes("`") || powershell && value.startsWith("("))
|
|
358
|
+
return;
|
|
359
|
+
const resolved = value.replaceAll("\x00", "$");
|
|
360
|
+
if (resolved === "~")
|
|
361
|
+
return os.homedir();
|
|
362
|
+
if (resolved.startsWith("~/") || process.platform === "win32" && resolved.startsWith("~\\")) {
|
|
363
|
+
return path.join(os.homedir(), resolved.slice(2));
|
|
364
|
+
}
|
|
365
|
+
if (unquotedTilde && process.platform !== "win32") {
|
|
366
|
+
const userMatch = /^~([A-Za-z0-9._-]+)(?=$|\/)/.exec(resolved);
|
|
367
|
+
if (userMatch) {
|
|
368
|
+
const user = userMatch[1];
|
|
369
|
+
const home = user === "root" ? process.platform === "darwin" ? "/var/root" : "/root" : path.join(process.platform === "darwin" ? "/Users" : "/home", user);
|
|
370
|
+
return path.join(home, resolved.slice(user.length + 1));
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
return resolved;
|
|
374
|
+
}
|
|
375
|
+
function environment(key) {
|
|
376
|
+
if (process.platform !== "win32")
|
|
377
|
+
return process.env[key];
|
|
378
|
+
const name = Object.keys(process.env).find((item) => item.toLowerCase() === key.toLowerCase());
|
|
379
|
+
return name ? process.env[name] : undefined;
|
|
380
|
+
}
|
|
381
|
+
function prefix(tokens) {
|
|
382
|
+
for (let length = tokens.length;length > 0; length--) {
|
|
383
|
+
const arity = ARITY[tokens.slice(0, length).join(" ")];
|
|
384
|
+
if (arity !== undefined)
|
|
385
|
+
return tokens.slice(0, arity);
|
|
386
|
+
}
|
|
387
|
+
return tokens.slice(0, 1);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export { scan3, scanPortable2, exports_parse };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./bus-d441h1x7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./bus-v0dqmjgm.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-dxzy608a.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-nah043kf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin26
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin26 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service62;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service63;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
|
|
|
81
81
|
return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export {
|
|
84
|
+
export { Plugin26, exports_compatibility };
|