@opencode/core 0.0.0-dev-275 → 0.0.0-dev-287
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 +89 -89
- 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/{bus-8qxrenr7.js → snapshot-01x5qw2q.js} +9 -9
- package/dist/chunks/{bus-034tev2y.js → snapshot-034tev2y.js} +2 -2
- package/dist/chunks/{bus-kf78hse3.js → snapshot-04hfgynr.js} +17 -17
- package/dist/chunks/{bus-js92w05q.js → snapshot-054thd3h.js} +11 -11
- package/dist/chunks/{bus-mmw6hwzc.js → snapshot-070e0tpn.js} +17 -17
- package/dist/chunks/{bus-8tmhq2sq.js → snapshot-07xh8nyv.js} +25 -25
- package/dist/chunks/{bus-q7rm49kv.js → snapshot-0fdchs18.js} +13 -13
- package/dist/chunks/{bus-0j7gp832.js → snapshot-0j7gp832.js} +1 -1
- package/dist/chunks/{bus-z6wb4d7c.js → snapshot-0kgdmrak.js} +23 -23
- package/dist/chunks/{bus-arth2bzp.js → snapshot-0qe29vfs.js} +21 -21
- package/dist/chunks/{bus-1wk7sp0m.js → snapshot-0shtyb57.js} +24 -24
- package/dist/chunks/{bus-qbj75hz3.js → snapshot-18856ak1.js} +36 -36
- package/dist/chunks/{bus-1aqsckx4.js → snapshot-1aqsckx4.js} +1 -1
- package/dist/chunks/{bus-1ep2p91f.js → snapshot-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-kc03nrdn.js → snapshot-1hsgd8ch.js} +41 -41
- package/dist/chunks/{bus-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-qy40w2mn.js → snapshot-1ygds395.js} +25 -25
- package/dist/chunks/{bus-1yq9hg58.js → snapshot-1yq9hg58.js} +1 -1
- package/dist/chunks/{bus-00j11h94.js → snapshot-1zwvgbbx.js} +46 -46
- package/dist/chunks/{bus-204s3925.js → snapshot-204s3925.js} +1 -1
- package/dist/chunks/{bus-jydzs9jd.js → snapshot-216cdjjz.js} +12 -12
- package/dist/chunks/{bus-tg1716pc.js → snapshot-225e7873.js} +6 -6
- package/dist/chunks/{bus-4v8aj50q.js → snapshot-231nxj68.js} +23 -23
- package/dist/chunks/{bus-0ma4nchc.js → snapshot-26x8chrq.js} +6 -6
- package/dist/chunks/{bus-vhazrdaa.js → snapshot-2941zkdf.js} +27 -27
- package/dist/chunks/{bus-sxdhpgmr.js → snapshot-29z1cymp.js} +31 -31
- package/dist/chunks/{bus-0ebq21h6.js → snapshot-2hz06pja.js} +5 -5
- package/dist/chunks/{bus-w6v1rynq.js → snapshot-2qxh2eh1.js} +15 -15
- package/dist/chunks/{bus-7gn3gxx1.js → snapshot-2r0v86d9.js} +15 -15
- package/dist/chunks/{bus-5e5199mn.js → snapshot-2xtzk7mm.js} +28 -28
- package/dist/chunks/{bus-e5kybrsq.js → snapshot-38cqfa6z.js} +25 -25
- package/dist/chunks/{bus-dtfn9c89.js → snapshot-3a7nzvas.js} +13 -13
- package/dist/chunks/{bus-8vbscmtw.js → snapshot-3fycf4n6.js} +25 -25
- package/dist/chunks/{bus-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-jqqh3nrt.js → snapshot-3pazngbb.js} +35 -35
- package/dist/chunks/{bus-xmx7xj34.js → snapshot-3ryz99p0.js} +4 -4
- package/dist/chunks/{bus-kh233pt5.js → snapshot-3y7ph4ge.js} +10 -10
- package/dist/chunks/{bus-cm8n6e1j.js → snapshot-46c8y99h.js} +17 -17
- package/dist/chunks/{bus-m0qs22fp.js → snapshot-4a5xzjmk.js} +20 -20
- package/dist/chunks/{bus-4dx1dgte.js → snapshot-4dx1dgte.js} +1 -1
- package/dist/chunks/{bus-d4tdxwg3.js → snapshot-4h4vqn4t.js} +4 -4
- package/dist/chunks/{bus-r8d5ttcp.js → snapshot-4msmfn5s.js} +8 -8
- package/dist/chunks/{bus-4pyp9zr9.js → snapshot-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-sm5prsna.js → snapshot-4zzembfn.js} +2 -2
- package/dist/chunks/{bus-qspstntz.js → snapshot-51gvghxj.js} +12 -12
- package/dist/chunks/{bus-k6fx5fwj.js → snapshot-51rnpyxb.js} +18 -18
- package/dist/chunks/{bus-chhg004d.js → snapshot-5hb443sc.js} +22 -22
- package/dist/chunks/{bus-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-hmeh93yc.js → snapshot-60waktgz.js} +29 -29
- package/dist/chunks/{bus-hxch9gky.js → snapshot-611gy84y.js} +22 -22
- package/dist/chunks/{bus-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-zvv2gg2z.js → snapshot-6k6232hn.js} +6 -6
- package/dist/chunks/{bus-226jktjv.js → snapshot-6rqmms3d.js} +11 -11
- package/dist/chunks/{bus-3v50s0nm.js → snapshot-6ss6ngz0.js} +4 -4
- package/dist/chunks/{bus-rjnacbrz.js → snapshot-6twykydk.js} +9 -9
- package/dist/chunks/{bus-76cb1hcw.js → snapshot-76cb1hcw.js} +1 -1
- package/dist/chunks/{bus-2pj77wb6.js → snapshot-79j6qarh.js} +2 -2
- package/dist/chunks/{bus-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-j9mte5pw.js → snapshot-7dyq9a8a.js} +25 -25
- package/dist/chunks/{bus-ac3vkw7y.js → snapshot-7j6as1n5.js} +2 -2
- package/dist/chunks/{bus-0pnx2fzg.js → snapshot-7kaqz624.js} +13 -13
- package/dist/chunks/{bus-c078hgae.js → snapshot-7kr66rt3.js} +147 -39
- package/dist/chunks/{bus-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-2kqka8y6.js → snapshot-7xmajcag.js} +9 -9
- package/dist/chunks/{bus-jwckxkn1.js → snapshot-7xymf1gv.js} +8 -8
- package/dist/chunks/{bus-c0kkxqfe.js → snapshot-7ys5edjy.js} +17 -17
- package/dist/chunks/{bus-w36nberk.js → snapshot-80dydmy6.js} +28 -28
- package/dist/chunks/{bus-t3dqt28d.js → snapshot-84anx1c1.js} +15 -15
- package/dist/chunks/{bus-pjptrb5y.js → snapshot-84mcn12y.js} +35 -35
- package/dist/chunks/{bus-wfz8zxsv.js → snapshot-87pmwd6e.js} +3 -3
- package/dist/chunks/{bus-8b3vzgkx.js → snapshot-8b3vzgkx.js} +1 -1
- package/dist/chunks/{bus-vje3bk9q.js → snapshot-8fcbd70c.js} +7 -7
- package/dist/chunks/{bus-11hfp36g.js → snapshot-8jztxfpf.js} +4 -4
- package/dist/chunks/{bus-q498qw3k.js → snapshot-8ktw2vv7.js} +25 -25
- package/dist/chunks/{bus-kz8v4jkb.js → snapshot-8s98z94r.js} +23 -23
- package/dist/chunks/{bus-darnxsvb.js → snapshot-8shc1k29.js} +6 -6
- package/dist/chunks/{bus-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-fybtq79z.js → snapshot-8y3xkh6a.js} +58 -58
- package/dist/chunks/{bus-90zstvax.js → snapshot-90zstvax.js} +1 -1
- package/dist/chunks/{bus-928v60yv.js → snapshot-93q5pt8n.js} +3 -3
- package/dist/chunks/{bus-95sp4hdf.js → snapshot-95sp4hdf.js} +1 -1
- package/dist/chunks/{bus-p2rrmpys.js → snapshot-9a2mpknv.js} +11 -11
- package/dist/chunks/{bus-x6vg8sze.js → snapshot-9j10ey4x.js} +37 -37
- package/dist/chunks/{bus-hs9b4b47.js → snapshot-9r0x1bva.js} +9 -9
- package/dist/chunks/{bus-8nxx61kp.js → snapshot-9s7aj0t8.js} +23 -23
- package/dist/chunks/{bus-7kx48r5w.js → snapshot-9vy8j3x2.js} +20 -20
- package/dist/chunks/{bus-dpyfckyt.js → snapshot-9ye5q05h.js} +1 -1
- package/dist/chunks/{bus-mh93svdp.js → snapshot-a46j35vk.js} +18 -18
- package/dist/chunks/{bus-z6e3jbzz.js → snapshot-a4j6n3kj.js} +23 -23
- package/dist/chunks/{bus-f0vtm8p6.js → snapshot-a7hv09h9.js} +16 -16
- package/dist/chunks/{bus-qwhg5edk.js → snapshot-a8hyghjg.js} +19 -19
- package/dist/chunks/{bus-a013n6rr.js → snapshot-aasdty3y.js} +32 -32
- package/dist/chunks/{bus-1hm6kjpw.js → snapshot-absbpnym.js} +11 -11
- package/dist/chunks/{bus-sp4h8jpm.js → snapshot-ad7r7r6z.js} +30 -30
- package/dist/chunks/{bus-ncr9krzg.js → snapshot-amch935v.js} +22 -22
- package/dist/chunks/{bus-q6yx0pgq.js → snapshot-askp26bb.js} +9 -9
- package/dist/chunks/{bus-ayjs7tqn.js → snapshot-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-n76e6m8b.js → snapshot-b69aeg09.js} +11 -11
- package/dist/chunks/{bus-b6vsg801.js → snapshot-b6vsg801.js} +2 -2
- package/dist/chunks/{bus-8g0en9rg.js → snapshot-bf7v9sm1.js} +13 -13
- package/dist/chunks/{bus-xd9cc171.js → snapshot-bstexjd6.js} +5 -5
- package/dist/chunks/{bus-y6ycwz8c.js → snapshot-bvbryd13.js} +11 -11
- package/dist/chunks/{bus-2ytpdq6b.js → snapshot-c42zap2t.js} +11 -11
- package/dist/chunks/{bus-jns4gqy7.js → snapshot-c5kjsz6q.js} +4 -4
- package/dist/chunks/{bus-482s3mas.js → snapshot-cczg5y8j.js} +13 -13
- package/dist/chunks/{bus-sqbb0ctm.js → snapshot-ce5fknq2.js} +5 -5
- package/dist/chunks/{bus-34e1kmth.js → snapshot-cefjp1wr.js} +18 -18
- package/dist/chunks/{bus-31wms35x.js → snapshot-cs87y13h.js} +4 -4
- package/dist/chunks/{bus-cwrgdav8.js → snapshot-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-zmg3gahh.js → snapshot-da06fgys.js} +18 -18
- package/dist/chunks/{bus-q17cwwmb.js → snapshot-dg3cm5hs.js} +10 -10
- package/dist/chunks/{bus-dt77769w.js → snapshot-dt77769w.js} +1 -1
- package/dist/chunks/{bus-wwszdvz7.js → snapshot-e4c2h7rv.js} +5 -5
- package/dist/chunks/{bus-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{bus-1tcwzehe.js → snapshot-e92xqcgs.js} +34 -34
- package/dist/chunks/{bus-gcye4jv7.js → snapshot-eahpwh8e.js} +4 -4
- package/dist/chunks/{bus-n3x35gjg.js → snapshot-efpt9zqt.js} +14 -14
- package/dist/chunks/{bus-8hq15dve.js → snapshot-eft2x21j.js} +37 -37
- package/dist/chunks/{bus-mpza5t97.js → snapshot-emcmxg9g.js} +27 -27
- package/dist/chunks/{bus-ksw9k14w.js → snapshot-eqbc6p9m.js} +40 -40
- package/dist/chunks/{bus-m37sd98t.js → snapshot-eqmd2tfz.js} +7 -7
- package/dist/chunks/{bus-8ykqf5wm.js → snapshot-esezyxfc.js} +6 -6
- package/dist/chunks/{bus-ha5ntr8a.js → snapshot-ev8k392h.js} +41 -41
- package/dist/chunks/{bus-3nnrc6vy.js → snapshot-f62swmga.js} +15 -15
- package/dist/chunks/{bus-ryyta8gj.js → snapshot-f94ey9xe.js} +11 -11
- package/dist/chunks/{bus-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-fg9p65nk.js → snapshot-fg9p65nk.js} +2 -2
- package/dist/chunks/{bus-69hetzez.js → snapshot-fka08q05.js} +12 -12
- package/dist/chunks/{bus-rt4hpzta.js → snapshot-fkzmbmqm.js} +33 -33
- package/dist/chunks/{bus-s4vgxntc.js → snapshot-fp83eet1.js} +9 -9
- package/dist/chunks/{bus-wr3re1en.js → snapshot-fznmdakp.js} +4 -4
- package/dist/chunks/{bus-nvgj5k0n.js → snapshot-g6b7f38h.js} +11 -11
- package/dist/chunks/{bus-vrxpgxjt.js → snapshot-g85dk614.js} +16 -16
- package/dist/chunks/{bus-q6sa0fx3.js → snapshot-gct456j9.js} +7 -7
- package/dist/chunks/{bus-2we0z9ck.js → snapshot-gd69t8px.js} +18 -18
- package/dist/chunks/{bus-7248j9gj.js → snapshot-geabss8y.js} +21 -21
- package/dist/chunks/{bus-1efvewcy.js → snapshot-gfapne39.js} +5 -5
- package/dist/chunks/{bus-9fhmc1w3.js → snapshot-gmbafqg8.js} +16 -16
- package/dist/chunks/{bus-hq4c2e72.js → snapshot-grg4dqxx.js} +14 -14
- package/dist/chunks/{bus-hgfegmhz.js → snapshot-hgfegmhz.js} +3 -3
- package/dist/chunks/{bus-hh7kjqtw.js → snapshot-hh7kjqtw.js} +1 -1
- package/dist/chunks/{bus-hpg1pkwy.js → snapshot-hpg1pkwy.js} +1 -1
- package/dist/chunks/{bus-a4ww6fpm.js → snapshot-hvvf9qw8.js} +6 -6
- package/dist/chunks/{bus-96kzvzq7.js → snapshot-hzmw3vrs.js} +11 -11
- package/dist/chunks/{bus-mh65p8pj.js → snapshot-j1jds77h.js} +26 -26
- package/dist/chunks/{bus-10tay87v.js → snapshot-j3y2s533.js} +12 -12
- package/dist/chunks/{bus-meq8xbkf.js → snapshot-j5awqcra.js} +5 -5
- package/dist/chunks/{bus-y4c93yhq.js → snapshot-j5fp2wkk.js} +84 -84
- package/dist/chunks/{bus-dbmp929s.js → snapshot-ja63h2sr.js} +5 -5
- package/dist/chunks/{bus-dev678md.js → snapshot-jedhzf2w.js} +48 -48
- package/dist/chunks/{bus-jfaecv01.js → snapshot-jfaecv01.js} +1 -1
- package/dist/chunks/{bus-mqe7nf5n.js → snapshot-jh74jycr.js} +3 -3
- package/dist/chunks/{bus-dxzy608a.js → snapshot-jk56naz6.js} +6 -6
- package/dist/chunks/{bus-vhjra7pn.js → snapshot-jk66j3kg.js} +10 -10
- package/dist/chunks/{bus-zqs4wz9p.js → snapshot-jm2mtdfm.js} +4 -4
- package/dist/chunks/{bus-xj80yh0e.js → snapshot-jpcc61dj.js} +37 -37
- package/dist/chunks/{bus-k7fcp7vh.js → snapshot-jphwvgs8.js} +8 -8
- package/dist/chunks/{bus-9ew7ajy0.js → snapshot-jshrc2cw.js} +97 -97
- package/dist/chunks/{bus-jtnps1zs.js → snapshot-jtnps1zs.js} +2 -2
- package/dist/chunks/{bus-682dpnwj.js → snapshot-jv2ad532.js} +256 -35
- package/dist/chunks/{bus-t8erkws8.js → snapshot-jv5ccajn.js} +5 -5
- package/dist/chunks/{bus-ehtz5q4m.js → snapshot-jw6dp1eq.js} +21 -21
- package/dist/chunks/{bus-mz45bcy6.js → snapshot-jx7g0qr7.js} +22 -22
- package/dist/chunks/{bus-m5vcha6x.js → snapshot-jyjv6vrg.js} +12 -12
- package/dist/chunks/{bus-p6bk0asb.js → snapshot-k725emr3.js} +18 -18
- package/dist/chunks/{bus-k814nvkf.js → snapshot-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-x7xp1w7g.js → snapshot-k96bjchk.js} +31 -31
- package/dist/chunks/{bus-kcg78dnn.js → snapshot-kcg78dnn.js} +2 -2
- package/dist/chunks/{bus-ehhwdvk1.js → snapshot-kgyfb6et.js} +32 -32
- package/dist/chunks/{bus-knh1jnvy.js → snapshot-kryfa369.js} +27 -27
- package/dist/chunks/{bus-pdw1qznx.js → snapshot-ksez4t81.js} +37 -27
- package/dist/chunks/{bus-kt3bjfbg.js → snapshot-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{bus-28d1e7vq.js → snapshot-m2858arc.js} +45 -45
- package/dist/chunks/{bus-85zye1zb.js → snapshot-m3nys68e.js} +9 -9
- package/dist/chunks/{bus-pexrpc5k.js → snapshot-m5ggasza.js} +9 -9
- package/dist/chunks/{bus-4gpw4gsw.js → snapshot-m827h4cm.js} +3 -3
- package/dist/chunks/{bus-fv7v599h.js → snapshot-m89vktg3.js} +13 -13
- package/dist/chunks/{bus-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-mb7mbhnz.js → snapshot-mb7mbhnz.js} +3 -3
- package/dist/chunks/snapshot-me0dhgxs.js +18 -0
- package/dist/chunks/{bus-g8vb0hj0.js → snapshot-mjszy0h5.js} +30 -30
- package/dist/chunks/{bus-c9t2ty9q.js → snapshot-mtkfycnh.js} +4 -4
- package/dist/chunks/{bus-d1k7zqa6.js → snapshot-mxbmnhdw.js} +9 -9
- package/dist/chunks/{bus-rcds6jmy.js → snapshot-mycyzwd6.js} +13 -13
- package/dist/chunks/{bus-2dsx8k42.js → snapshot-n9xk0tfj.js} +43 -43
- package/dist/chunks/{bus-nah043kf.js → snapshot-nah043kf.js} +1 -1
- package/dist/chunks/{bus-05t31zmj.js → snapshot-ndsa049r.js} +45 -45
- package/dist/chunks/{bus-ghcecwt0.js → snapshot-ndyztvmw.js} +45 -45
- package/dist/chunks/{bus-5e791j03.js → snapshot-nhgkvrhz.js} +3 -3
- package/dist/chunks/{bus-1zmzx9ha.js → snapshot-njef46zj.js} +45 -45
- package/dist/chunks/{bus-b5qmte8y.js → snapshot-npnecasp.js} +8 -8
- package/dist/chunks/{bus-58ect7fx.js → snapshot-nx42e9qw.js} +24 -24
- package/dist/chunks/{bus-gs1x404j.js → snapshot-nzeth2v7.js} +18 -18
- package/dist/chunks/{bus-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-mnad5nn2.js → snapshot-p7gcr6xd.js} +36 -36
- package/dist/chunks/{bus-6g7dge60.js → snapshot-pe6ebwtq.js} +16 -16
- package/dist/chunks/{bus-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{bus-4a32f4de.js → snapshot-pqm0gw65.js} +14 -14
- package/dist/chunks/{bus-gxb4nygb.js → snapshot-pqq5ej44.js} +10 -10
- package/dist/chunks/{bus-rwcj15n0.js → snapshot-ps4ybpaz.js} +344 -344
- package/dist/chunks/{bus-3s914nqp.js → snapshot-pt1qytmh.js} +17 -17
- package/dist/chunks/{bus-z28kzp3s.js → snapshot-px317zgp.js} +4 -4
- package/dist/chunks/{bus-r13t3b9j.js → snapshot-q4gm1j6y.js} +8 -8
- package/dist/chunks/{bus-f0hs2mq3.js → snapshot-qe0c135p.js} +21 -21
- package/dist/chunks/{bus-qp7r0hxv.js → snapshot-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-1kn0xbnj.js → snapshot-qpxsar3x.js} +22 -22
- package/dist/chunks/{bus-qqvy8y24.js → snapshot-qqvy8y24.js} +1 -1
- package/dist/chunks/{bus-q0ye6e4s.js → snapshot-qs2r9sye.js} +2 -2
- package/dist/chunks/{bus-pzsa5b6k.js → snapshot-qzm6q9ch.js} +6 -6
- package/dist/chunks/{bus-r2s7w9p5.js → snapshot-r2s7w9p5.js} +1 -1
- package/dist/chunks/{bus-w2eysc6j.js → snapshot-r41sfy63.js} +6 -6
- package/dist/chunks/{bus-r542h3bh.js → snapshot-r542h3bh.js} +1 -1
- package/dist/chunks/{bus-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/snapshot-rdgpdk3a.js +26 -0
- package/dist/chunks/{bus-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-s7kyse9r.js → snapshot-s7kyse9r.js} +1 -1
- package/dist/chunks/{bus-jjescw8y.js → snapshot-s9cz50wa.js} +8 -8
- package/dist/chunks/{bus-sa3fpqfw.js → snapshot-sa3fpqfw.js} +2 -2
- package/dist/chunks/{bus-tt3yxz2r.js → snapshot-sanxznym.js} +15 -15
- package/dist/chunks/{bus-5rfzbttg.js → snapshot-skw3nab4.js} +3 -3
- package/dist/chunks/{bus-qbc6w44s.js → snapshot-smrcs1yt.js} +18 -18
- package/dist/chunks/{bus-sqrwb7ek.js → snapshot-sqrwb7ek.js} +3 -3
- package/dist/chunks/{bus-svcy3p9a.js → snapshot-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-rk7zzszn.js → snapshot-t2hws329.js} +6 -6
- package/dist/chunks/{bus-hpejq3g9.js → snapshot-tcsn7fpc.js} +9 -9
- package/dist/chunks/{bus-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-nrtmfbdc.js → snapshot-tnvq3v78.js} +9 -9
- package/dist/chunks/{bus-w52wajpr.js → snapshot-ts7mkfs9.js} +3 -3
- package/dist/chunks/{bus-twssxy5n.js → snapshot-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-j4rzh0zg.js → snapshot-v4wzacvx.js} +36 -36
- package/dist/chunks/{bus-b6twm7ry.js → snapshot-v6jepjqd.js} +8 -8
- package/dist/chunks/{bus-17pe40wz.js → snapshot-vad1g313.js} +25 -25
- package/dist/chunks/{bus-83gc5kcm.js → snapshot-vaer57cf.js} +8 -8
- package/dist/chunks/{bus-7xy5j6y0.js → snapshot-vgz459d4.js} +35 -35
- package/dist/chunks/{bus-d9mxzqst.js → snapshot-vh4h0yrs.js} +13 -13
- package/dist/chunks/{bus-vdj2189h.js → snapshot-vkkn64ap.js} +12 -12
- package/dist/chunks/{bus-ef6dy9g0.js → snapshot-vn855jk2.js} +24 -24
- package/dist/chunks/{bus-v0dqmjgm.js → snapshot-vpeh2c4h.js} +47 -47
- package/dist/chunks/{bus-f2xxa684.js → snapshot-vrrm71xh.js} +60 -60
- package/dist/chunks/{bus-degxk2tg.js → snapshot-vv6btxxh.js} +19 -19
- package/dist/chunks/snapshot-vw3fqt8n.js +257 -0
- package/dist/chunks/{bus-86p3vx58.js → snapshot-vz8fyt0a.js} +8 -8
- package/dist/chunks/{bus-wxtbyv82.js → snapshot-w3h37n3b.js} +4 -4
- package/dist/chunks/{bus-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-2992epsb.js → snapshot-w5qeaqdt.js} +3 -3
- package/dist/chunks/{bus-agqd6nxz.js → snapshot-w67s4ywc.js} +8 -8
- package/dist/chunks/{bus-d441h1x7.js → snapshot-w68dkr85.js} +16 -16
- package/dist/chunks/{bus-dgpxhmaz.js → snapshot-w6be7tfp.js} +14 -14
- package/dist/chunks/{bus-3979474a.js → snapshot-w73wdpwy.js} +9 -9
- package/dist/chunks/{bus-p59qfrvx.js → snapshot-w89sbzn0.js} +3 -3
- package/dist/chunks/{bus-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{bus-wegkxhrn.js → snapshot-wegkxhrn.js} +2 -2
- package/dist/chunks/{bus-v4mtj4vv.js → snapshot-wmpfavpb.js} +25 -25
- package/dist/chunks/{bus-m2w2s527.js → snapshot-wmzygan7.js} +4 -4
- package/dist/chunks/{bus-wnhgecwx.js → snapshot-wnhgecwx.js} +1 -1
- package/dist/chunks/{bus-2p4qkans.js → snapshot-x7sfjysx.js} +4 -4
- package/dist/chunks/{bus-vsq2sm2q.js → snapshot-xb87w9ea.js} +23 -23
- package/dist/chunks/{bus-qqpbcr2p.js → snapshot-xt0z8zst.js} +4 -4
- package/dist/chunks/{bus-1cybwrec.js → snapshot-xv2swx2p.js} +48 -48
- package/dist/chunks/{bus-9smg2fxp.js → snapshot-xwc7yx52.js} +86 -86
- package/dist/chunks/{bus-jchjggqf.js → snapshot-y0er5eng.js} +2 -2
- package/dist/chunks/{bus-62qx2g0z.js → snapshot-y4tqh6rd.js} +13 -13
- package/dist/chunks/{bus-09a1qcfh.js → snapshot-y81dtq8s.js} +32 -32
- package/dist/chunks/{bus-fq9s0kxx.js → snapshot-y9j1a3y8.js} +18 -18
- package/dist/chunks/{bus-yara3q77.js → snapshot-yara3q77.js} +2 -2
- package/dist/chunks/{bus-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-7p6s7qrj.js → snapshot-ybp67y4f.js} +11 -11
- package/dist/chunks/{bus-2y8abx4q.js → snapshot-yda73aff.js} +13 -13
- package/dist/chunks/{bus-ddvn7d3w.js → snapshot-ydsespw1.js} +8 -8
- package/dist/chunks/{bus-r2vthv2q.js → snapshot-ydsk09n6.js} +28 -28
- package/dist/chunks/{bus-8bjrjs1n.js → snapshot-yh1frphp.js} +4 -4
- package/dist/chunks/{bus-jywsdv1w.js → snapshot-yh2xa03z.js} +5 -5
- package/dist/chunks/{bus-3fb7g6nx.js → snapshot-yk05r3rx.js} +25 -25
- package/dist/chunks/{bus-hq8347db.js → snapshot-yk34mwqb.js} +13 -13
- package/dist/chunks/{bus-c8zchzzf.js → snapshot-ykxwe7zp.js} +11 -11
- package/dist/chunks/{bus-d2zq2nk9.js → snapshot-yp9gc5tz.js} +14 -14
- package/dist/chunks/{bus-x686a40m.js → snapshot-ypmwhxqj.js} +32 -32
- package/dist/chunks/{bus-6ws2vnt1.js → snapshot-ysadhm59.js} +157 -157
- package/dist/chunks/{bus-41saj7d3.js → snapshot-ytftszmd.js} +8 -8
- package/dist/chunks/{bus-rekbjepc.js → snapshot-yz6b78je.js} +22 -22
- package/dist/chunks/{bus-98w60ksq.js → snapshot-z0bdh4f5.js} +6 -6
- package/dist/chunks/{bus-3sn4w2fq.js → snapshot-zatamnbq.js} +18 -18
- package/dist/chunks/{bus-21g5995g.js → snapshot-ze6grkbw.js} +3 -3
- package/dist/chunks/{bus-1kba74ng.js → snapshot-zefbt337.js} +24 -24
- package/dist/chunks/{bus-x271axaw.js → snapshot-zeryz54m.js} +7 -7
- package/dist/chunks/{bus-yn7vgazy.js → snapshot-zgbwm5kp.js} +5 -5
- package/dist/chunks/{bus-9f3sjfep.js → snapshot-zh7bbm8x.js} +9 -9
- package/dist/chunks/{bus-bcsckb3t.js → snapshot-zn9wbc5r.js} +19 -19
- package/dist/chunks/{bus-ec95eyzx.js → snapshot-zr8ag1ct.js} +4 -4
- package/dist/chunks/{bus-s8sx6y1x.js → snapshot-zwwwwdhn.js} +21 -21
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +93 -93
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +1 -1
- 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 +131 -131
- package/dist/config/plugin/command.js +228 -228
- 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 +138 -138
- 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 +129 -129
- 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 +132 -132
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +128 -128
- 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 +130 -130
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +80 -80
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +102 -102
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +392 -392
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +105 -105
- 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 +155 -155
- 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 +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +121 -121
- 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 +1 -1
- 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 -383
- 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 +1 -1
- package/dist/integration.js +91 -91
- package/dist/job.js +86 -86
- 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 -380
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +119 -119
- package/dist/mcp/instructions.js +175 -175
- package/dist/mcp/oauth.js +85 -85
- 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 +114 -114
- 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 +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +86 -86
- package/dist/plugin/command.js +114 -114
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +3 -3
- 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 -359
- 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 +4 -4
- 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 +131 -131
- 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 +371 -371
- 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 +7 -7
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -96
- 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 +100 -100
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +3 -3
- 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 -237
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- 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 +239 -239
- package/dist/session/execution.js +159 -159
- package/dist/session/generate.js +197 -197
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +144 -144
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- 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 +162 -162
- package/dist/session/model-transport.js +9 -9
- 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 +246 -246
- 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 +5 -5
- package/dist/session/runner/step.js +161 -161
- 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 +1 -1
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +199 -199
- 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 +230 -230
- package/dist/shell/parse.js +7 -9
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +155 -155
- 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 +172 -172
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +167 -167
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +234 -234
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +163 -163
- package/dist/tool/plugin/question.js +143 -143
- package/dist/tool/plugin/read.js +166 -166
- package/dist/tool/plugin/schedule.js +243 -243
- package/dist/tool/plugin/shell.js +230 -230
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +233 -233
- package/dist/tool/plugin/todo.js +150 -150
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +150 -150
- 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/shell/parse.d.ts +0 -1
- package/dist/types/shell/scan.d.ts +1 -0
- package/dist/usage-limits.js +97 -97
- 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 +1 -1
- package/dist/v1/config/plugin.js +1 -1
- 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 +92 -92
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +89 -89
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- 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 -8
- package/dist/chunks/bus-1z47fh1w.js +0 -257
- package/dist/chunks/bus-wtgvz1w4.js +0 -26
- package/dist/chunks/bus-z7bdqmx5.js +0 -18
- /package/dist/chunks/{bus-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kah00gy.js → snapshot-1kah00gy.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → snapshot-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-7stb81gk.js → snapshot-7stb81gk.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → snapshot-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → snapshot-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → snapshot-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ean2d8b5.js → snapshot-ean2d8b5.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → snapshot-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → snapshot-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-ncqqe42p.js → snapshot-ncqqe42p.js} +0 -0
- /package/dist/chunks/{bus-nh4v3znn.js → snapshot-nh4v3znn.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → snapshot-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-stkk57rt.js → snapshot-stkk57rt.js} +0 -0
- /package/dist/chunks/{bus-t03h4f5z.js → snapshot-t03h4f5z.js} +0 -0
- /package/dist/chunks/{bus-ty7weeps.js → snapshot-ty7weeps.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/shell/scan.ts
|
|
6
6
|
var exports_scan = {};
|
|
@@ -173,11 +173,14 @@ function finishBashWord(state) {
|
|
|
173
173
|
state.commandStart ??= state.wordStart;
|
|
174
174
|
state.words.push(state.word);
|
|
175
175
|
state.rawWords.push(state.input.slice(state.wordStart, state.wordEnd));
|
|
176
|
-
state.commandEnd = state.wordEnd;
|
|
177
176
|
}
|
|
178
|
-
if (state.
|
|
179
|
-
state.
|
|
177
|
+
if (state.redirectTarget) {
|
|
178
|
+
if (!state.dupRedirect || !/^(?:\d+-?|-)$/.test(state.input.slice(state.wordStart, state.wordEnd)))
|
|
179
|
+
state.hasFileRedirect = true;
|
|
180
|
+
state.redirectPrefixEnd ??= state.wordEnd;
|
|
181
|
+
}
|
|
180
182
|
state.redirectTarget = false;
|
|
183
|
+
state.dupRedirect = false;
|
|
181
184
|
state.hereString = false;
|
|
182
185
|
state.word = "";
|
|
183
186
|
state.literal = "";
|
|
@@ -251,12 +254,12 @@ function finishBashCommand(state, boundary = false, newline = false) {
|
|
|
251
254
|
if (name >= 0 && !state.words[name])
|
|
252
255
|
state.invalid ??= "invalid-structure";
|
|
253
256
|
if (name >= 0 && !inHeader) {
|
|
254
|
-
const resource = state.input.slice(state.commandStart, state.
|
|
257
|
+
const resource = state.input.slice(state.commandStart, state.wordEnd).replace(/^[ \t\n]+|[ \t\n]+$/g, "");
|
|
255
258
|
const command = {
|
|
256
259
|
resource,
|
|
257
260
|
words: state.words.slice(name),
|
|
258
261
|
rawWords: state.rawWords.slice(name),
|
|
259
|
-
...name === 0 && BASH_DECLARATIONS.has(state.rawWords[0]) && resource.startsWith(state.rawWords[0]) ? { declaration: true } : {},
|
|
262
|
+
...name === 0 && !state.hasRedirect && BASH_DECLARATIONS.has(state.rawWords[0]) && resource.startsWith(state.rawWords[0]) ? { declaration: true } : {},
|
|
260
263
|
...state.redirectWordCount !== undefined && state.redirectWordCount < state.words.length ? { redirectWordCount: state.redirectWordCount - name } : {}
|
|
261
264
|
};
|
|
262
265
|
state.commands.push(command);
|
|
@@ -281,11 +284,35 @@ function finishBashCommand(state, boundary = false, newline = false) {
|
|
|
281
284
|
if (heredoc.owned)
|
|
282
285
|
continue;
|
|
283
286
|
heredoc.owned = true;
|
|
284
|
-
if (newline
|
|
287
|
+
if (newline) {
|
|
285
288
|
heredoc.command = command;
|
|
286
289
|
heredoc.start = state.commandStart;
|
|
287
290
|
}
|
|
288
291
|
}
|
|
292
|
+
} else if (name < 0 && !inHeader && state.commandStart !== undefined && (state.hasFileRedirect || state.hasRedirect && !state.compoundEnd)) {
|
|
293
|
+
const rawSpan = state.input.slice(state.commandStart, state.wordEnd);
|
|
294
|
+
const leading = /^[ \t\n]+/.exec(rawSpan)?.[0].length ?? 0;
|
|
295
|
+
const resource = rawSpan.slice(leading).replace(/[ \t\n]+$/g, "");
|
|
296
|
+
if (resource) {
|
|
297
|
+
const prefixEnd = state.redirectPrefixEnd !== undefined ? Math.max(1, Math.min(resource.length, state.redirectPrefixEnd - state.commandStart - leading)) : resource.length;
|
|
298
|
+
const prefixToken = resource.slice(0, prefixEnd);
|
|
299
|
+
const command = {
|
|
300
|
+
resource,
|
|
301
|
+
words: [prefixToken],
|
|
302
|
+
rawWords: [prefixToken],
|
|
303
|
+
redirectPrefixEnd: prefixEnd
|
|
304
|
+
};
|
|
305
|
+
state.commands.push(command);
|
|
306
|
+
for (const heredoc of state.heredocs) {
|
|
307
|
+
if (heredoc.owned)
|
|
308
|
+
continue;
|
|
309
|
+
heredoc.owned = true;
|
|
310
|
+
if (newline) {
|
|
311
|
+
heredoc.command = command;
|
|
312
|
+
heredoc.start = state.commandStart;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
289
316
|
}
|
|
290
317
|
for (const heredoc of state.heredocs)
|
|
291
318
|
heredoc.owned = true;
|
|
@@ -300,9 +327,11 @@ function finishBashCommand(state, boundary = false, newline = false) {
|
|
|
300
327
|
state.rawWords.length = 0;
|
|
301
328
|
state.commandWordIndex = -1;
|
|
302
329
|
state.commandStart = undefined;
|
|
330
|
+
state.dupRedirect = false;
|
|
303
331
|
state.hasRedirect = false;
|
|
304
|
-
state.
|
|
332
|
+
state.hasFileRedirect = false;
|
|
305
333
|
state.redirectWordCount = undefined;
|
|
334
|
+
state.redirectPrefixEnd = undefined;
|
|
306
335
|
state.ampersandRedirectWords = undefined;
|
|
307
336
|
state.compoundEnd = false;
|
|
308
337
|
state.dangling = false;
|
|
@@ -326,17 +355,18 @@ function scanBash(input, start, depth, context, close, heredocs, outer) {
|
|
|
326
355
|
wordStart: start,
|
|
327
356
|
wordEnd: start,
|
|
328
357
|
commandStart: undefined,
|
|
329
|
-
commandEnd: start,
|
|
330
|
-
resourceEnd: undefined,
|
|
331
358
|
redirectWordCount: undefined,
|
|
359
|
+
redirectPrefixEnd: undefined,
|
|
332
360
|
ampersandRedirectWords: undefined,
|
|
333
361
|
commandWordIndex: -1,
|
|
334
362
|
assignmentWord: false,
|
|
335
363
|
assignmentHeadUnsafe: false,
|
|
336
364
|
invalid: undefined,
|
|
337
365
|
redirectTarget: false,
|
|
366
|
+
dupRedirect: false,
|
|
338
367
|
hereString: false,
|
|
339
368
|
hasRedirect: false,
|
|
369
|
+
hasFileRedirect: false,
|
|
340
370
|
compoundEnd: false,
|
|
341
371
|
dangling: false,
|
|
342
372
|
outer
|
|
@@ -496,8 +526,6 @@ function scanBashOperatorOrSeparator(state, index, depth, context) {
|
|
|
496
526
|
state.invalid ??= "invalid-redirect";
|
|
497
527
|
const fdPrefix = state.wordStarted && !state.assignmentHeadUnsafe && /^(?:\d+|\{[A-Za-z_][A-Za-z0-9_]*\})$/.test(state.word);
|
|
498
528
|
if (fdPrefix) {
|
|
499
|
-
if (state.wordEnd < index)
|
|
500
|
-
state.commandEnd = state.wordEnd;
|
|
501
529
|
state.word = "";
|
|
502
530
|
state.literal = "";
|
|
503
531
|
state.output = "";
|
|
@@ -510,19 +538,23 @@ function scanBashOperatorOrSeparator(state, index, depth, context) {
|
|
|
510
538
|
if (state.redirectWordCount === undefined && state.commandWordIndex >= 0) {
|
|
511
539
|
state.redirectWordCount = state.words.length;
|
|
512
540
|
}
|
|
513
|
-
if (state.dangling && redirect !== "<<<" && state.commandWordIndex >= 0) {
|
|
514
|
-
state.resourceEnd ??= state.commandEnd;
|
|
515
|
-
}
|
|
516
541
|
if (redirect === "<<" || redirect === "<<-") {
|
|
517
542
|
const delimiter = bashHeredocDelimiter(input, index + redirect.length, redirect === "<<-");
|
|
518
543
|
if (!delimiter)
|
|
519
544
|
return { kind: "opaque", reason: "invalid-redirect" };
|
|
545
|
+
state.hasFileRedirect = true;
|
|
546
|
+
state.redirectPrefixEnd ??= " \t".includes(input[index + redirect.length] ?? "") ? index + redirect.length : delimiter.end + 1;
|
|
520
547
|
state.heredocs.push(delimiter);
|
|
521
548
|
state.wordEnd = delimiter.end + 1;
|
|
522
549
|
state.redirectTarget = false;
|
|
550
|
+
state.dupRedirect = false;
|
|
523
551
|
return delimiter.end;
|
|
524
552
|
}
|
|
553
|
+
if (`
|
|
554
|
+
`.includes(input[index + redirect.length] ?? ""))
|
|
555
|
+
state.redirectPrefixEnd ??= index + redirect.length;
|
|
525
556
|
state.redirectTarget = true;
|
|
557
|
+
state.dupRedirect = redirect === "<&" || redirect === ">&";
|
|
526
558
|
state.hereString = redirect === "<<<";
|
|
527
559
|
return index + redirect.length - 1;
|
|
528
560
|
}
|
|
@@ -1483,6 +1515,9 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1483
1515
|
let clause = initialClause;
|
|
1484
1516
|
let after;
|
|
1485
1517
|
let indexable = false;
|
|
1518
|
+
let memberChainStart;
|
|
1519
|
+
let hasMemberAccess = false;
|
|
1520
|
+
let hasFileRedirect = false;
|
|
1486
1521
|
let stopParsing = false;
|
|
1487
1522
|
let commandEnd = start;
|
|
1488
1523
|
let statementHead = true;
|
|
@@ -1490,13 +1525,18 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1490
1525
|
let redirectTarget = false;
|
|
1491
1526
|
let dangling = false;
|
|
1492
1527
|
let invocation = false;
|
|
1528
|
+
const resetMember = () => {
|
|
1529
|
+
indexable = false;
|
|
1530
|
+
memberChainStart = undefined;
|
|
1531
|
+
hasMemberAccess = false;
|
|
1532
|
+
};
|
|
1493
1533
|
const finishWord = (end) => {
|
|
1494
1534
|
if (!started)
|
|
1495
1535
|
return;
|
|
1496
1536
|
if (word === "--%" && words.length > 0 && !expression && !clause && !redirectTarget && !/['"]/.test(input[wordStart]) && !rawWords.at(-1)?.endsWith(",") && !POWERSHELL_PARAMETER_COLON_RE.test(rawWords.at(-1) ?? ""))
|
|
1497
1537
|
stopParsing = true;
|
|
1498
1538
|
if (!redirectTarget) {
|
|
1499
|
-
if (!words.length && !invocation
|
|
1539
|
+
if (!words.length && !invocation)
|
|
1500
1540
|
segment = wordStart;
|
|
1501
1541
|
words.push(word);
|
|
1502
1542
|
rawWords.push(input.slice(wordStart, end));
|
|
@@ -1510,13 +1550,13 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1510
1550
|
};
|
|
1511
1551
|
const finishCommand = (end, required = false) => {
|
|
1512
1552
|
finishWord(end);
|
|
1513
|
-
if (words.length && !expression && !clause)
|
|
1553
|
+
if (words.length && (!expression && !clause || hasFileRedirect))
|
|
1514
1554
|
commands.push({
|
|
1515
1555
|
resource: input.slice(segment, commandEnd).trimEnd(),
|
|
1516
1556
|
words: [...words],
|
|
1517
1557
|
rawWords: [...rawWords],
|
|
1518
1558
|
wordEnds: wordEnds.map((value) => value - segment),
|
|
1519
|
-
...statementHead && !invocation ? { statementHead: true } : {}
|
|
1559
|
+
...statementHead && !invocation && !expression && !clause ? { statementHead: true } : {}
|
|
1520
1560
|
});
|
|
1521
1561
|
else if (!expression && !clause && invocation || required && !words.length && !nestedCommands.length || clause !== undefined && clause !== "member")
|
|
1522
1562
|
invalid = true;
|
|
@@ -1527,11 +1567,12 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1527
1567
|
rawWords.length = 0;
|
|
1528
1568
|
wordEnds.length = 0;
|
|
1529
1569
|
redirectTarget = false;
|
|
1570
|
+
hasFileRedirect = false;
|
|
1530
1571
|
invocation = false;
|
|
1531
1572
|
expression = initialExpression;
|
|
1532
1573
|
clause = initialClause;
|
|
1533
1574
|
after = undefined;
|
|
1534
|
-
|
|
1575
|
+
resetMember();
|
|
1535
1576
|
stopParsing = false;
|
|
1536
1577
|
};
|
|
1537
1578
|
let index = start;
|
|
@@ -1602,9 +1643,15 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1602
1643
|
if (!started && words.length === 0 && !invocation)
|
|
1603
1644
|
expression = true;
|
|
1604
1645
|
quote = char;
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1646
|
+
const dynamicMember = indexable === "member" && /[.:]$/.test(started ? word : words.at(-1) ?? "");
|
|
1647
|
+
standalone = atBoundary || expression && !redirectTarget || dynamicMember;
|
|
1648
|
+
if (dynamicMember)
|
|
1649
|
+
hasMemberAccess = true;
|
|
1650
|
+
else if (standalone) {
|
|
1651
|
+
memberChainStart = index;
|
|
1652
|
+
hasMemberAccess = false;
|
|
1653
|
+
} else
|
|
1654
|
+
resetMember();
|
|
1608
1655
|
started = true;
|
|
1609
1656
|
continue;
|
|
1610
1657
|
}
|
|
@@ -1617,7 +1664,8 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1617
1664
|
finishWord(index);
|
|
1618
1665
|
else if (!atBoundary || !rawSpace) {
|
|
1619
1666
|
started = true;
|
|
1620
|
-
indexable
|
|
1667
|
+
if (!(indexable === "member" && /[\p{L}\p{Nl}\d_]/u.test(escape.value)))
|
|
1668
|
+
resetMember();
|
|
1621
1669
|
word += escape.value;
|
|
1622
1670
|
}
|
|
1623
1671
|
index = escape.end;
|
|
@@ -1638,7 +1686,7 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1638
1686
|
if (end < 0)
|
|
1639
1687
|
return { kind: "opaque", reason: "invalid-structure" };
|
|
1640
1688
|
if (!memberOperator)
|
|
1641
|
-
|
|
1689
|
+
resetMember();
|
|
1642
1690
|
index = end + 1;
|
|
1643
1691
|
continue;
|
|
1644
1692
|
}
|
|
@@ -1670,7 +1718,9 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1670
1718
|
if (redirectTarget || words.length === 0 || clause && clause !== "member")
|
|
1671
1719
|
return { kind: "opaque", reason: "invalid-redirect" };
|
|
1672
1720
|
redirectTarget = !redirect.includes("&");
|
|
1673
|
-
|
|
1721
|
+
if (redirectTarget)
|
|
1722
|
+
hasFileRedirect = true;
|
|
1723
|
+
resetMember();
|
|
1674
1724
|
index += redirect.length - 1;
|
|
1675
1725
|
commandEnd = index + 1;
|
|
1676
1726
|
continue;
|
|
@@ -1705,7 +1755,8 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1705
1755
|
rawWords.length = 0;
|
|
1706
1756
|
wordEnds.length = 0;
|
|
1707
1757
|
expression = false;
|
|
1708
|
-
|
|
1758
|
+
hasFileRedirect = false;
|
|
1759
|
+
resetMember();
|
|
1709
1760
|
if (!assign || char !== "=")
|
|
1710
1761
|
index++;
|
|
1711
1762
|
continue;
|
|
@@ -1726,6 +1777,8 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1726
1777
|
started = true;
|
|
1727
1778
|
index = literal.end;
|
|
1728
1779
|
finishWord(index + 1);
|
|
1780
|
+
memberChainStart = wordStart;
|
|
1781
|
+
hasMemberAccess = false;
|
|
1729
1782
|
indexable = "closed";
|
|
1730
1783
|
continue;
|
|
1731
1784
|
}
|
|
@@ -1735,7 +1788,16 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1735
1788
|
return { kind: "opaque", reason: "invalid-structure" };
|
|
1736
1789
|
if (!started && !words.length && !invocation && hash !== "switch")
|
|
1737
1790
|
expression = true;
|
|
1738
|
-
|
|
1791
|
+
const dynamicMember = indexable === "member" && /[.:]$/.test(started ? word : words.at(-1) ?? "");
|
|
1792
|
+
if (dynamicMember) {
|
|
1793
|
+
indexable = "closed";
|
|
1794
|
+
hasMemberAccess = true;
|
|
1795
|
+
} else if (atBoundary) {
|
|
1796
|
+
memberChainStart = index;
|
|
1797
|
+
hasMemberAccess = false;
|
|
1798
|
+
indexable = "closed";
|
|
1799
|
+
} else
|
|
1800
|
+
resetMember();
|
|
1739
1801
|
word += input.slice(index, end + 1);
|
|
1740
1802
|
started = true;
|
|
1741
1803
|
index = end;
|
|
@@ -1745,7 +1807,12 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1745
1807
|
}
|
|
1746
1808
|
const opener = (char === "$" || atBoundary && char === "@") && input[index + 1] === "(" ? index + 1 : atBoundary && char === "@" && input[index + 1] === "{" ? index + 1 : char === "(" || char === "{" || char === "[" && (inExpression || Boolean(indexable) || !started && !invocation && (!words.length || clause === "block" || clause === "try")) ? index : undefined;
|
|
1747
1809
|
if (opener !== undefined) {
|
|
1810
|
+
const tokenIndex = index;
|
|
1748
1811
|
const openChar = input[opener];
|
|
1812
|
+
const prevMemberWord = started ? word : words.at(-1) ?? "";
|
|
1813
|
+
const dynamicMemberOpener = indexable === "member" && /[.:]$/.test(prevMemberWord);
|
|
1814
|
+
const priorIndexable = Boolean(indexable);
|
|
1815
|
+
const isMethodCall = char === "(" && opener === tokenIndex && memberChainStart !== undefined && (indexable === "member" && started && !/[.:]$/.test(word) || indexable === "closed" && !started && hasMemberAccess);
|
|
1749
1816
|
const standaloneBlock = atBoundary || inExpression || char === "(" || openChar === "{";
|
|
1750
1817
|
const blockClose = openChar === "(" ? ")" : openChar === "[" ? "]" : "}";
|
|
1751
1818
|
const blockHash = openChar === "[" ? true : char === "@" && openChar === "{" ? true : clause === "switch" && openChar === "{" ? "switch" : clause === "clause" && openChar === "{" ? "clause" : close === "]" && char === "(" && started ? "clause" : false;
|
|
@@ -1766,13 +1833,31 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1766
1833
|
started = true;
|
|
1767
1834
|
word += input.slice(index, result.end + 1);
|
|
1768
1835
|
index = result.end;
|
|
1769
|
-
if (
|
|
1836
|
+
if (isMethodCall && memberChainStart !== undefined) {
|
|
1837
|
+
finishWord(index + 1);
|
|
1838
|
+
const callResource = input.slice(memberChainStart, result.end + 1);
|
|
1839
|
+
const head = input.slice(memberChainStart, opener);
|
|
1840
|
+
const args = input.slice(opener, result.end + 1);
|
|
1841
|
+
nestedCommands.push({
|
|
1842
|
+
resource: callResource,
|
|
1843
|
+
words: [head, args],
|
|
1844
|
+
rawWords: [head, args],
|
|
1845
|
+
wordEnds: [head.length, callResource.length]
|
|
1846
|
+
});
|
|
1847
|
+
indexable = "closed";
|
|
1848
|
+
hasMemberAccess = false;
|
|
1849
|
+
} else if (openChar === "[") {
|
|
1770
1850
|
indexable = "closed";
|
|
1851
|
+
if (!priorIndexable)
|
|
1852
|
+
memberChainStart = tokenIndex;
|
|
1771
1853
|
if (input[index + 1] !== "[")
|
|
1772
1854
|
finishWord(index + 1);
|
|
1773
1855
|
} else if (standaloneBlock) {
|
|
1774
1856
|
finishWord(index + 1);
|
|
1775
1857
|
indexable = "closed";
|
|
1858
|
+
if (!dynamicMemberOpener)
|
|
1859
|
+
memberChainStart = tokenIndex;
|
|
1860
|
+
hasMemberAccess = dynamicMemberOpener;
|
|
1776
1861
|
}
|
|
1777
1862
|
if (clause === "paren" && char === "(" || clause && clause !== "paren" && char === "{") {
|
|
1778
1863
|
const completed = clause === "do" || clause === "if" || clause === "try" ? clause : undefined;
|
|
@@ -1796,8 +1881,10 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1796
1881
|
}
|
|
1797
1882
|
if (/\s/.test(char) && char !== `
|
|
1798
1883
|
` && char !== "\r") {
|
|
1884
|
+
const memberOperator = indexable === "member" && /[.:]$/.test(started ? word : words.at(-1) ?? "");
|
|
1799
1885
|
finishWord(index);
|
|
1800
|
-
|
|
1886
|
+
if (!memberOperator)
|
|
1887
|
+
resetMember();
|
|
1801
1888
|
continue;
|
|
1802
1889
|
}
|
|
1803
1890
|
const next = input[index + 1];
|
|
@@ -1816,12 +1903,12 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1816
1903
|
finishWord(index);
|
|
1817
1904
|
index += separator.length - 1;
|
|
1818
1905
|
if (!memberOperator)
|
|
1819
|
-
|
|
1906
|
+
resetMember();
|
|
1820
1907
|
continue;
|
|
1821
1908
|
}
|
|
1822
1909
|
if (!started && !words.length && !invocation) {
|
|
1823
1910
|
index += separator.length - 1;
|
|
1824
|
-
|
|
1911
|
+
resetMember();
|
|
1825
1912
|
continue;
|
|
1826
1913
|
}
|
|
1827
1914
|
}
|
|
@@ -1837,14 +1924,35 @@ function scanPowerShellList(input, start, depth, budget, close, hash = false, sk
|
|
|
1837
1924
|
}
|
|
1838
1925
|
if (!started && !words.length && !invocation && hash !== "switch" && testAt(POWERSHELL_EXPRESSION_RE, input, index))
|
|
1839
1926
|
expression = true;
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1927
|
+
const prevMember = started ? word : words.at(-1) ?? "";
|
|
1928
|
+
if ((atBoundary || indexable === "member" && /[.:]$/.test(prevMember)) && char === "$") {
|
|
1929
|
+
if (testAt(POWERSHELL_INDEXABLE_VAR_RE, input, index + 1)) {
|
|
1930
|
+
if (indexable === "member" && /[.:]$/.test(prevMember))
|
|
1931
|
+
hasMemberAccess = true;
|
|
1932
|
+
else {
|
|
1933
|
+
memberChainStart = index;
|
|
1934
|
+
hasMemberAccess = false;
|
|
1935
|
+
}
|
|
1936
|
+
indexable = "variable";
|
|
1937
|
+
} else
|
|
1938
|
+
resetMember();
|
|
1939
|
+
} else if (indexable === "closed") {
|
|
1940
|
+
indexable = char === "." && input[index + 1] !== "." && (!/\s/.test(input[index + 1] ?? "") || inExpression) || !started && char === ":" && input[index + 1] === ":" || !started && char === "?" && input[index + 1] === "." && input[index + 2] !== "." && (!/\s/.test(input[index + 2] ?? "") || inExpression) ? "member" : !started && char === "?" && input[index + 1] === "[" ? "closed" : false;
|
|
1941
|
+
if (indexable === "member")
|
|
1942
|
+
hasMemberAccess = true;
|
|
1943
|
+
else if (!indexable)
|
|
1944
|
+
resetMember();
|
|
1945
|
+
} else if (indexable === "variable") {
|
|
1946
|
+
indexable = char === "." && input[index + 1] !== "." && (!/\s/.test(input[index + 1] ?? "") || inExpression) || char === ":" && input[index + 1] === ":" ? "member" : char === "." && input[index + 1] === "." || !/[\p{L}\p{Nl}\d_:?]/u.test(char) ? false : "variable";
|
|
1947
|
+
if (indexable === "member")
|
|
1948
|
+
hasMemberAccess = true;
|
|
1949
|
+
else if (!indexable)
|
|
1950
|
+
resetMember();
|
|
1951
|
+
} else if (indexable === "member") {
|
|
1952
|
+
indexable = char === "." && input[index + 1] === "." ? false : char === "." && (!/\s/.test(input[index + 1] ?? "") || inExpression) || char === ":" && (input[index + 1] === ":" || input[index - 1] === ":") || char === "?" && input[index + 1] === "." && input[index + 2] !== "." || /[\p{L}\p{Nl}\d_]/u.test(char) ? "member" : false;
|
|
1953
|
+
if (!indexable)
|
|
1954
|
+
resetMember();
|
|
1955
|
+
}
|
|
1848
1956
|
after = undefined;
|
|
1849
1957
|
started = true;
|
|
1850
1958
|
dangling = false;
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
ID14,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-jx7g0qr7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info23
|
|
11
|
+
} from "./snapshot-k96bjchk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID13.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,10 +118,10 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info23.make({
|
|
122
|
+
...Info23.default(ID14.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
124
|
+
modelID: ID13.make(remote.id),
|
|
125
125
|
providerID: ID14.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./snapshot-vpeh2c4h.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
13
|
var exports_websearch2 = {};
|
|
14
14
|
__export(exports_websearch2, {
|
|
15
15
|
ConfigWebSearchPlugin: () => exports_websearch2,
|
|
16
|
-
Plugin: () =>
|
|
16
|
+
Plugin: () => Plugin52
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin52 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service70;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin34 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin52, exports_websearch2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID8
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-51rnpyxb.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./snapshot-esezyxfc.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-jm2mtdfm.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./snapshot-vpeh2c4h.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin39
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin39 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service70;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin39, exports_agent2 };
|