@opencode/core 0.0.0-dev-21453 → 0.0.0-dev-21458
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{command-034tev2y.js → ripgrep-034tev2y.js} +2 -2
- package/dist/chunks/{command-j89nzgjf.js → ripgrep-06m8zqpz.js} +25 -25
- package/dist/chunks/{command-kks8wa7e.js → ripgrep-07n27ccy.js} +25 -25
- package/dist/chunks/{command-0vbcp93d.js → ripgrep-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-bh5ww8rh.js → ripgrep-1a2y92ex.js} +44 -44
- package/dist/chunks/{command-1ep2p91f.js → ripgrep-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-v8cs5gsq.js → ripgrep-1gbrraea.js} +20 -20
- package/dist/chunks/{command-9pkkzrmj.js → ripgrep-1nwxscpy.js} +5 -5
- package/dist/chunks/{command-qes6m8vb.js → ripgrep-1rs87y8d.js} +25 -25
- package/dist/chunks/{command-a8q1nc8j.js → ripgrep-1rw66me6.js} +21 -21
- package/dist/chunks/{command-tz35mf6x.js → ripgrep-1sqf9bkf.js} +5 -5
- package/dist/chunks/{command-y8b4jftr.js → ripgrep-1vp80wqe.js} +7 -7
- package/dist/chunks/{command-cp7wvvqd.js → ripgrep-1xpgrxnn.js} +13 -13
- package/dist/chunks/{command-wazpdbd3.js → ripgrep-21sepexc.js} +14 -14
- package/dist/chunks/{command-ej25e5st.js → ripgrep-230q3gjt.js} +23 -23
- package/dist/chunks/{command-3gq0bdpp.js → ripgrep-245v63zg.js} +9 -9
- package/dist/chunks/{command-15k3sgvy.js → ripgrep-28k0q56j.js} +13 -13
- package/dist/chunks/{command-4ppxeyv4.js → ripgrep-2h0q315h.js} +14 -14
- package/dist/chunks/{command-ravky6v4.js → ripgrep-2n3wn4cc.js} +27 -27
- package/dist/chunks/{command-6p77gfgj.js → ripgrep-2r6y34sj.js} +3 -3
- package/dist/chunks/{command-rvmmw9hn.js → ripgrep-33m7zff6.js} +4 -4
- package/dist/chunks/{command-4a84bgxb.js → ripgrep-3fnjy7d5.js} +31 -31
- package/dist/chunks/{command-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3hwn7j4h.js → ripgrep-3hwn7j4h.js} +2 -2
- package/dist/chunks/{command-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-3zsf4n22.js → ripgrep-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-abhakzek.js → ripgrep-4bh89e3b.js} +5 -5
- package/dist/chunks/{command-mk379379.js → ripgrep-4d2gzzb2.js} +3 -3
- package/dist/chunks/{command-gcyw4s3t.js → ripgrep-4kvg6bn8.js} +26 -26
- package/dist/chunks/{command-b9dbntts.js → ripgrep-4rb4nh12.js} +11 -11
- package/dist/chunks/{command-cqhbfnr1.js → ripgrep-4w1f8scj.js} +32 -32
- package/dist/chunks/{command-dqqwr2kk.js → ripgrep-5246atra.js} +11 -11
- package/dist/chunks/{command-b7eb9p8b.js → ripgrep-53tbswfk.js} +42 -42
- package/dist/chunks/{command-54ma36ye.js → ripgrep-54ma36ye.js} +1 -1
- package/dist/chunks/{command-5m9w47nd.js → ripgrep-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-vzrdb6x9.js → ripgrep-5rkje03p.js} +6 -6
- package/dist/chunks/{command-3xzwacgq.js → ripgrep-5tw2jtmr.js} +15 -15
- package/dist/chunks/{command-nq0h700v.js → ripgrep-5wbw6pv9.js} +13 -13
- package/dist/chunks/{command-7dqw4kz8.js → ripgrep-607tc6va.js} +5 -5
- package/dist/chunks/{command-6827pfxn.js → ripgrep-6827pfxn.js} +1 -1
- package/dist/chunks/{command-q99gfpgg.js → ripgrep-68w3xa91.js} +3 -3
- package/dist/chunks/{command-g1bk0rvk.js → ripgrep-68w7pmtx.js} +13 -13
- package/dist/chunks/{command-1j8r0rfw.js → ripgrep-6ac9zck1.js} +2 -2
- package/dist/chunks/{command-vvccsdf3.js → ripgrep-6ehbgqat.js} +6 -6
- package/dist/chunks/{command-6snphvfm.js → ripgrep-6m78wcz4.js} +32 -32
- package/dist/chunks/{command-87gdc6tq.js → ripgrep-6sdx5bv6.js} +3 -3
- package/dist/chunks/{command-syv31cvt.js → ripgrep-6t9ywwra.js} +9 -9
- package/dist/chunks/{command-6xb47vfp.js → ripgrep-6xb47vfp.js} +1 -1
- package/dist/chunks/{command-yppjc11p.js → ripgrep-725dzmat.js} +22 -22
- package/dist/chunks/{command-775gj3j1.js → ripgrep-775gj3j1.js} +2 -2
- package/dist/chunks/{command-vmyf36rx.js → ripgrep-7bjfyzh8.js} +48 -48
- package/dist/chunks/{command-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-0g0zhkr3.js → ripgrep-7em0bpab.js} +13 -13
- package/dist/chunks/{command-1p07q0wb.js → ripgrep-7fkffz83.js} +2 -2
- package/dist/chunks/{command-nr352xqj.js → ripgrep-7hppxa70.js} +1 -1
- package/dist/chunks/{command-rf7bhes0.js → ripgrep-7t3xedjm.js} +36 -36
- package/dist/chunks/{command-cr1mssy2.js → ripgrep-7v685v47.js} +41 -41
- package/dist/chunks/{command-wedt70z2.js → ripgrep-7vyf5e2n.js} +26 -26
- package/dist/chunks/{command-zsd94d5t.js → ripgrep-7x97mf13.js} +20 -20
- package/dist/chunks/{command-84txncab.js → ripgrep-84txncab.js} +1 -1
- package/dist/chunks/{command-rscrykr4.js → ripgrep-868jxd9s.js} +33 -33
- package/dist/chunks/{command-xkpx58x0.js → ripgrep-897yn8js.js} +3 -3
- package/dist/chunks/{command-tcezcvh9.js → ripgrep-89znhe33.js} +4 -4
- package/dist/chunks/{command-8m6m0r52.js → ripgrep-8m6m0r52.js} +1 -1
- package/dist/chunks/{command-8mywswrd.js → ripgrep-8mywswrd.js} +1 -1
- package/dist/chunks/{command-gc8554r3.js → ripgrep-8vya4b9k.js} +45 -45
- package/dist/chunks/{command-avnbws58.js → ripgrep-8w0fc9v5.js} +18 -18
- package/dist/chunks/{command-frsbz4zz.js → ripgrep-8w348b9w.js} +7 -7
- package/dist/chunks/{command-s5ng6h1y.js → ripgrep-8xxtntea.js} +11 -11
- package/dist/chunks/{command-4bw5k2yb.js → ripgrep-906y5cdw.js} +7 -7
- package/dist/chunks/{command-z2vhj21h.js → ripgrep-9cn598b5.js} +5 -5
- package/dist/chunks/{command-sbdjwzg5.js → ripgrep-9f2mr1jq.js} +19 -19
- package/dist/chunks/{command-wy4tkx13.js → ripgrep-9ha6dkfn.js} +10 -10
- package/dist/chunks/{command-47jkzegy.js → ripgrep-9hwaqfsw.js} +5 -5
- package/dist/chunks/{command-anffd6jp.js → ripgrep-9jdajzrt.js} +21 -21
- package/dist/chunks/{command-zf2st5d0.js → ripgrep-9vr292v9.js} +12 -12
- package/dist/chunks/{command-z5kwvp43.js → ripgrep-9wetr4xy.js} +10 -10
- package/dist/chunks/{command-9wev2pgg.js → ripgrep-9wev2pgg.js} +1 -1
- package/dist/chunks/{command-3q9enysw.js → ripgrep-9wn2agq9.js} +32 -32
- package/dist/chunks/{command-7v6vae4w.js → ripgrep-a20pjse5.js} +3 -3
- package/dist/chunks/{command-kbznsqxf.js → ripgrep-abzgq1nw.js} +14 -14
- package/dist/chunks/{command-3y377wv9.js → ripgrep-addxnjmp.js} +4 -4
- package/dist/chunks/{command-zvt5dnpc.js → ripgrep-ag4rn41e.js} +4 -4
- package/dist/chunks/{command-vkdxcejq.js → ripgrep-am1tmpj5.js} +10 -10
- package/dist/chunks/{command-w0n6gnt9.js → ripgrep-amt7ef5n.js} +11 -11
- package/dist/chunks/{command-22pq31c6.js → ripgrep-anw46eb6.js} +6 -6
- package/dist/chunks/{command-69thrbjb.js → ripgrep-apt503cy.js} +9 -9
- package/dist/chunks/{command-9h10jqva.js → ripgrep-ar5c37sv.js} +18 -18
- package/dist/chunks/{command-ma9kyv73.js → ripgrep-b0k3m5sv.js} +52 -52
- package/dist/chunks/{command-mr3qe865.js → ripgrep-b19v66bv.js} +46 -46
- package/dist/chunks/{command-ns3jj6y3.js → ripgrep-b6rsy5zn.js} +18 -18
- package/dist/chunks/{command-wp5fex1h.js → ripgrep-bfrs3k34.js} +4 -4
- package/dist/chunks/{command-h69hk4jg.js → ripgrep-bq4j2sbx.js} +48 -48
- package/dist/chunks/{command-2sq9cs44.js → ripgrep-bstm3mwn.js} +15 -15
- package/dist/chunks/{command-k2xckaw8.js → ripgrep-bvkvrv05.js} +28 -28
- package/dist/chunks/{command-prq7hedt.js → ripgrep-bydnjh3t.js} +9 -9
- package/dist/chunks/{command-1ep4rre3.js → ripgrep-bzeyqsqd.js} +4 -4
- package/dist/chunks/{command-ejndb8vb.js → ripgrep-bzywf3e9.js} +5 -5
- package/dist/chunks/{command-0akze81x.js → ripgrep-c99e4gbg.js} +17 -17
- package/dist/chunks/{command-dshe5yp9.js → ripgrep-ce3ajj6n.js} +35 -35
- package/dist/chunks/{command-dfse8kb6.js → ripgrep-cne4vwe6.js} +20 -20
- package/dist/chunks/{command-tyk0w0pd.js → ripgrep-csqw7sk8.js} +11 -11
- package/dist/chunks/{command-hqct51j7.js → ripgrep-cv5sbdhn.js} +17 -17
- package/dist/chunks/{command-86jr8x5y.js → ripgrep-cw4w83nc.js} +10 -10
- package/dist/chunks/{command-jr1c3etd.js → ripgrep-cz0dahpr.js} +11 -11
- package/dist/chunks/{command-cwa6csj7.js → ripgrep-d4he2qe1.js} +9 -9
- package/dist/chunks/{command-86br03e3.js → ripgrep-d9xyp96y.js} +8 -8
- package/dist/chunks/{command-d9xzyqvc.js → ripgrep-dadd6d4y.js} +22 -22
- package/dist/chunks/{command-x084xcqe.js → ripgrep-dd2wt6q1.js} +21 -21
- package/dist/chunks/{command-zbqtqq82.js → ripgrep-dd35sy3n.js} +2 -2
- package/dist/chunks/{command-vsm45mx7.js → ripgrep-df173w7t.js} +11 -11
- package/dist/chunks/{command-dgzq35zb.js → ripgrep-dgzq35zb.js} +3 -3
- package/dist/chunks/{command-hztdnym9.js → ripgrep-dpf25vxh.js} +17 -17
- package/dist/chunks/{command-dpkg50ah.js → ripgrep-dpkg50ah.js} +1 -1
- package/dist/chunks/{command-tt8gc4fv.js → ripgrep-dq407baf.js} +6 -6
- package/dist/chunks/{command-3ycmgy45.js → ripgrep-dt0gb5zd.js} +20 -20
- package/dist/chunks/{command-2xdwzbmw.js → ripgrep-dx1ezjzk.js} +8 -8
- package/dist/chunks/{command-8ybx9dv8.js → ripgrep-dzrdd8y4.js} +1 -1
- package/dist/chunks/{command-87g5j40b.js → ripgrep-e0b2kra3.js} +11 -11
- package/dist/chunks/{command-jn4zdy1z.js → ripgrep-e2qvw7zx.js} +16 -16
- package/dist/chunks/{command-54ckgp8f.js → ripgrep-e696dwzt.js} +11 -11
- package/dist/chunks/{command-r2z489rp.js → ripgrep-e80seqcp.js} +3 -3
- package/dist/chunks/{command-61bp3nch.js → ripgrep-edj082x0.js} +6 -6
- package/dist/chunks/{command-eej6y6fw.js → ripgrep-eej6y6fw.js} +2 -2
- package/dist/chunks/{command-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-hx1srwd5.js → ripgrep-ekrj3q3n.js} +15 -15
- package/dist/chunks/{command-axp4ehpq.js → ripgrep-emzsebxx.js} +6 -6
- package/dist/chunks/{command-pz7h80dq.js → ripgrep-enrp405z.js} +12 -12
- package/dist/chunks/{command-kbyad70m.js → ripgrep-etg1n2kx.js} +335 -335
- package/dist/chunks/{command-zej84cff.js → ripgrep-eydep5ty.js} +4 -4
- package/dist/chunks/{command-xzb6sdgh.js → ripgrep-f34pdxph.js} +26 -26
- package/dist/chunks/{command-n7er3eab.js → ripgrep-f9ewqnvf.js} +35 -35
- package/dist/chunks/{command-fcy631f0.js → ripgrep-fcy631f0.js} +1 -1
- package/dist/chunks/{command-3db954pa.js → ripgrep-ff0c8932.js} +11 -11
- package/dist/chunks/{command-6x8zv1ga.js → ripgrep-fh3hfgk9.js} +15 -15
- package/dist/chunks/{command-3se1dkn2.js → ripgrep-fnfphwr6.js} +9 -9
- package/dist/chunks/ripgrep-g32r42h9.js +257 -0
- package/dist/chunks/{command-k0vsesgg.js → ripgrep-gbqxypma.js} +24 -24
- package/dist/chunks/{command-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-khehvdjk.js → ripgrep-gdbaa3vm.js} +18 -18
- package/dist/chunks/{command-nyzqtb2y.js → ripgrep-gs3jaab1.js} +23 -23
- package/dist/chunks/{command-2eegacq4.js → ripgrep-gs3s1a1g.js} +8 -8
- package/dist/chunks/ripgrep-gyce5qg1.js +18 -0
- package/dist/chunks/{command-r0etpgas.js → ripgrep-h0pyfwgt.js} +32 -32
- package/dist/chunks/{command-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-am1vdybj.js → ripgrep-hc033k72.js} +4 -4
- package/dist/chunks/{command-ppqq8y70.js → ripgrep-hcwzd9ve.js} +5 -5
- package/dist/chunks/{command-4pmb27zq.js → ripgrep-hdavf2z4.js} +7 -7
- package/dist/chunks/{command-31dmbqtz.js → ripgrep-hdgw5fjw.js} +8 -8
- package/dist/chunks/{command-5thbj1d7.js → ripgrep-hes8zqkx.js} +10 -10
- package/dist/chunks/{command-w5xp9r00.js → ripgrep-hfrgt7j1.js} +17 -17
- package/dist/chunks/{command-m28354wd.js → ripgrep-hg8tkm75.js} +8 -8
- package/dist/chunks/{command-hgz4x7wa.js → ripgrep-hgz4x7wa.js} +1 -1
- package/dist/chunks/{command-53tqp3se.js → ripgrep-hmgps8tw.js} +29 -29
- package/dist/chunks/{command-b3eecbxp.js → ripgrep-hsmryvj1.js} +4 -4
- package/dist/chunks/{command-hqcwm3sg.js → ripgrep-hxcjpjn2.js} +20 -20
- package/dist/chunks/{command-v20a42cg.js → ripgrep-jp9kzq14.js} +4 -4
- package/dist/chunks/{command-bh36nkqs.js → ripgrep-jszh17ab.js} +12 -12
- package/dist/chunks/{command-26v53g8c.js → ripgrep-jwpb8arh.js} +12 -12
- package/dist/chunks/{command-fvvr5s83.js → ripgrep-jwv7ab79.js} +6 -6
- package/dist/chunks/{command-q5vfa25v.js → ripgrep-k63sy5rb.js} +16 -16
- package/dist/chunks/{command-tzv31cm4.js → ripgrep-kax56nr6.js} +13 -13
- package/dist/chunks/{command-khmqacep.js → ripgrep-khmqacep.js} +1 -1
- package/dist/chunks/{command-tdyk1y3q.js → ripgrep-kkve0fs6.js} +35 -35
- package/dist/chunks/{command-nxq8z62t.js → ripgrep-kmgpx441.js} +14 -14
- package/dist/chunks/{command-zj8bmmts.js → ripgrep-kpd84ec7.js} +15 -15
- package/dist/chunks/{command-kwb1v3vj.js → ripgrep-kwb1v3vj.js} +1 -1
- package/dist/chunks/{command-hgr5fehx.js → ripgrep-m1jhgcxs.js} +3 -3
- package/dist/chunks/{command-58072hz9.js → ripgrep-m5jcjszt.js} +3 -3
- package/dist/chunks/{command-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-maspj1v3.js → ripgrep-maspj1v3.js} +1 -1
- package/dist/chunks/{command-5f9rj60p.js → ripgrep-mg37qacw.js} +14 -14
- package/dist/chunks/{command-bhz4wbbx.js → ripgrep-mktar7aj.js} +6 -6
- package/dist/chunks/{command-mfp0neqk.js → ripgrep-mr9jz2wx.js} +29 -29
- package/dist/chunks/{command-8s1fj8xg.js → ripgrep-ms93yq6r.js} +8 -8
- package/dist/chunks/{command-gjs4gkbj.js → ripgrep-mzrmbcee.js} +21 -21
- package/dist/chunks/{command-amznas3s.js → ripgrep-n7qpxvtd.js} +32 -32
- package/dist/chunks/{command-14e2z5dd.js → ripgrep-n8gj4qy5.js} +21 -21
- package/dist/chunks/{command-sp9nn688.js → ripgrep-nj7hqrdc.js} +12 -12
- package/dist/chunks/{command-nz56sr1f.js → ripgrep-nz56sr1f.js} +2 -2
- package/dist/chunks/{command-bn5wyt58.js → ripgrep-p2kzfj7d.js} +23 -23
- package/dist/chunks/{command-p37cw4rj.js → ripgrep-p42hj8p8.js} +8 -8
- package/dist/chunks/{command-6n4b0dsb.js → ripgrep-p8mhfpfb.js} +9 -9
- package/dist/chunks/{command-s3k0j0zg.js → ripgrep-pazj47g9.js} +4 -4
- package/dist/chunks/{command-85bd81md.js → ripgrep-pev3esbk.js} +36 -36
- package/dist/chunks/{command-a3c7ahw6.js → ripgrep-pgp1nwjn.js} +4 -4
- package/dist/chunks/{command-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{command-njwf2h5j.js → ripgrep-pmpk6q9r.js} +11 -11
- package/dist/chunks/{command-3at1kaya.js → ripgrep-ppdavc1e.js} +191 -191
- package/dist/chunks/{command-1fdxsekg.js → ripgrep-pwt87mrq.js} +13 -13
- package/dist/chunks/{command-z07xh9t5.js → ripgrep-q3myhh1r.js} +44 -44
- package/dist/chunks/{command-rcas954y.js → ripgrep-qcqpgb6f.js} +21 -21
- package/dist/chunks/{command-57b9ws8p.js → ripgrep-qqeeq2t9.js} +4 -4
- package/dist/chunks/{command-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{command-cywftvdx.js → ripgrep-qw7cqan8.js} +64 -64
- package/dist/chunks/{command-cyqt27pd.js → ripgrep-r4fw60a8.js} +5 -5
- package/dist/chunks/{command-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-s8d7rejh.js → ripgrep-rhjbct0v.js} +4 -4
- package/dist/chunks/{command-x1ge9cxs.js → ripgrep-rjsqaxa7.js} +8 -8
- package/dist/chunks/{command-y28amm4t.js → ripgrep-rn08qtw3.js} +16 -16
- package/dist/chunks/{command-4q8stq7x.js → ripgrep-rncype5f.js} +20 -20
- package/dist/chunks/{command-48pg14e9.js → ripgrep-rxkx3yrv.js} +24 -24
- package/dist/chunks/{command-jy9jz103.js → ripgrep-ryb7mfzk.js} +21 -21
- package/dist/chunks/{command-5kxh3622.js → ripgrep-sdzwknx0.js} +28 -28
- package/dist/chunks/{command-k1nwc2sn.js → ripgrep-spcybxfk.js} +10 -10
- package/dist/chunks/{command-5hy62t2w.js → ripgrep-sqq24m9r.js} +32 -32
- package/dist/chunks/{command-bc4d43x0.js → ripgrep-ssc22y53.js} +32 -32
- package/dist/chunks/{command-m89j5wza.js → ripgrep-stw0ktd7.js} +4 -4
- package/dist/chunks/{command-gws60q17.js → ripgrep-swz7b57b.js} +2 -2
- package/dist/chunks/{command-syv4x271.js → ripgrep-syv4x271.js} +1 -1
- package/dist/chunks/{command-jj5bew2e.js → ripgrep-t1qm87d4.js} +50 -50
- package/dist/chunks/ripgrep-t23bw0vy.js +26 -0
- package/dist/chunks/{command-ratrq7cm.js → ripgrep-t2fc4mz5.js} +4 -4
- package/dist/chunks/{command-byat028d.js → ripgrep-t6z5h8be.js} +19 -19
- package/dist/chunks/{command-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-xmhs9py1.js → ripgrep-tdqqk9tn.js} +21 -21
- package/dist/chunks/{command-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{command-3c1qz3w8.js → ripgrep-tfx4s5nm.js} +9 -9
- package/dist/chunks/{command-jnwbf985.js → ripgrep-tkmw8vhp.js} +18 -18
- package/dist/chunks/{command-tm0kqsz3.js → ripgrep-tm0kqsz3.js} +1 -1
- package/dist/chunks/{command-81f7vt2z.js → ripgrep-txm3e8qz.js} +4 -4
- package/dist/chunks/{command-tyytaxap.js → ripgrep-tyytaxap.js} +1 -1
- package/dist/chunks/{command-497kckq0.js → ripgrep-tzvv02w3.js} +56 -56
- package/dist/chunks/{command-06x1kmm3.js → ripgrep-v0ymv6m8.js} +16 -16
- package/dist/chunks/{command-tx0gtb9m.js → ripgrep-v210v162.js} +9 -9
- package/dist/chunks/{command-v7p4zvkq.js → ripgrep-v7p4zvkq.js} +2 -2
- package/dist/chunks/{command-hkk11q6k.js → ripgrep-v9ep9kw5.js} +37 -37
- package/dist/chunks/{command-qmmgpbwc.js → ripgrep-vbc0n61v.js} +28 -28
- package/dist/chunks/{command-37txpjr1.js → ripgrep-vbgdajqt.js} +10 -10
- package/dist/chunks/{command-y02z6wf6.js → ripgrep-vdmef0hv.js} +36 -36
- package/dist/chunks/{command-yy6cvr68.js → ripgrep-vdxz864t.js} +37 -37
- package/dist/chunks/{command-76p14g35.js → ripgrep-vep9yay1.js} +4 -4
- package/dist/chunks/{command-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{command-vvx0ahez.js → ripgrep-vhm2adcw.js} +27 -27
- package/dist/chunks/{command-mf528kyb.js → ripgrep-vnwvh6x6.js} +24 -24
- package/dist/chunks/{command-rpnyj0cb.js → ripgrep-vr617c86.js} +89 -89
- package/dist/chunks/{command-y9pep639.js → ripgrep-vrwbrhmt.js} +21 -21
- package/dist/chunks/{command-s5r7j2ea.js → ripgrep-vy2epn4a.js} +4 -4
- package/dist/chunks/{command-vzs5sf6e.js → ripgrep-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-mkhd10ty.js → ripgrep-w19xc5wf.js} +20 -20
- package/dist/chunks/{command-a37705eh.js → ripgrep-w1yzj816.js} +20 -20
- package/dist/chunks/{command-4xpgt2w9.js → ripgrep-w39jehkq.js} +5 -5
- package/dist/chunks/{command-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-xvc40k3r.js → ripgrep-w7vtcvrx.js} +35 -35
- package/dist/chunks/{command-wakvkjy4.js → ripgrep-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-p6ern3p6.js → ripgrep-wbcvfxpg.js} +20 -20
- package/dist/chunks/{command-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{command-jksyzxb8.js → ripgrep-wh5v440s.js} +5 -5
- package/dist/chunks/{command-bjx1sjef.js → ripgrep-wjr9rjd7.js} +6 -6
- package/dist/chunks/{command-yetrppan.js → ripgrep-ww55sn04.js} +16 -16
- package/dist/chunks/{command-d53g1a3y.js → ripgrep-xb6ffzw0.js} +9 -9
- package/dist/chunks/{command-bx2c7yn7.js → ripgrep-xdh6s9ed.js} +11 -11
- package/dist/chunks/{command-461nxmbv.js → ripgrep-xj1aydcy.js} +5 -5
- package/dist/chunks/{command-9tjr5tfj.js → ripgrep-xkajykm3.js} +12 -12
- package/dist/chunks/{command-xw9fg8fb.js → ripgrep-xw9fg8fb.js} +2 -2
- package/dist/chunks/{command-gknwg3d3.js → ripgrep-y0g19xg0.js} +19 -19
- package/dist/chunks/{command-53fvhgkr.js → ripgrep-y11negt3.js} +5 -5
- package/dist/chunks/{command-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-vty708x5.js → ripgrep-y24qngx4.js} +14 -14
- package/dist/chunks/{command-1vge1skc.js → ripgrep-y4fgtena.js} +88 -88
- package/dist/chunks/{command-xhw0dpzq.js → ripgrep-y6jtz2hz.js} +15 -15
- package/dist/chunks/{command-etttfj1t.js → ripgrep-y6mhz57t.js} +4 -4
- package/dist/chunks/{command-y7nndgyc.js → ripgrep-y7nndgyc.js} +2 -2
- package/dist/chunks/{command-xfwyxa0r.js → ripgrep-y8ycp07x.js} +14 -14
- package/dist/chunks/{command-qrtwq0eh.js → ripgrep-yav0wb01.js} +8 -8
- package/dist/chunks/{command-xfjms2yf.js → ripgrep-yb81whfj.js} +32 -32
- package/dist/chunks/{command-34a37mbe.js → ripgrep-ycn2m60h.js} +14 -14
- package/dist/chunks/{command-wgzgvsr8.js → ripgrep-ye89p72n.js} +17 -17
- package/dist/chunks/{command-dd1wce65.js → ripgrep-yggz4gjb.js} +45 -45
- package/dist/chunks/{command-f6znfd8x.js → ripgrep-yn7c86qb.js} +47 -47
- package/dist/chunks/{command-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-z18fegx4.js → ripgrep-z18fegx4.js} +1 -1
- package/dist/chunks/{command-y0t9c3b8.js → ripgrep-z96h84jq.js} +26 -26
- package/dist/chunks/{command-p84vce2c.js → ripgrep-zdxaswdy.js} +11 -11
- package/dist/chunks/{command-xebswx6q.js → ripgrep-zh2s0dj1.js} +13 -13
- package/dist/chunks/{command-nhsdda1g.js → ripgrep-zqecfbxk.js} +14 -14
- package/dist/chunks/{command-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-gf0da6cn.js → ripgrep-zzdkzef9.js} +19 -19
- 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 +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +10 -10
- 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 +93 -93
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +155 -155
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- 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 +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +139 -139
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/command-m1grcskh.js +0 -257
- package/dist/chunks/command-mr3dex66.js +0 -26
- package/dist/chunks/command-rap9a73h.js +0 -18
- /package/dist/chunks/{command-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → ripgrep-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → ripgrep-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → ripgrep-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5qd3pb7m.js → ripgrep-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → ripgrep-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → ripgrep-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → ripgrep-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → ripgrep-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → ripgrep-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → ripgrep-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → ripgrep-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-pkyv6v7h.js → ripgrep-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{command-pyv0edze.js → ripgrep-pyv0edze.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → ripgrep-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → ripgrep-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → ripgrep-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wjj7prxr.js → ripgrep-wjj7prxr.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → ripgrep-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./ripgrep-eydep5ty.js";
|
|
8
8
|
import {
|
|
9
9
|
Event20,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./ripgrep-wbcvfxpg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service82,
|
|
15
|
+
node86
|
|
16
|
+
} from "./ripgrep-ye89p72n.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service64,
|
|
19
19
|
node66
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-9jdajzrt.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service80,
|
|
24
|
+
node84
|
|
25
|
+
} from "./ripgrep-230q3gjt.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID14,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service79,
|
|
34
|
+
node83
|
|
35
|
+
} from "./ripgrep-sdzwknx0.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options2,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service26,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured2,
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node29
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service26 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options2 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service82;
|
|
116
|
+
const environment = yield* Service64;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service80;
|
|
119
|
+
const integration = yield* Service79;
|
|
120
|
+
const credentials = yield* Service81;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID14.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service81, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError2({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service81, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID15.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -420,7 +420,7 @@ var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service26.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured2(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service26,
|
|
536
|
+
layer: layer14(options),
|
|
537
|
+
deps: [node86, node66, node89, node84, node83, node85]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node29 = configured2();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service26, Options2, layer14, configured2, node29, exports_mcp4 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options8,
|
|
15
|
+
Service: () => Service73,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured8,
|
|
@@ -21,7 +21,7 @@ __export(exports_select, {
|
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node76,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options8 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service73 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,7 +199,7 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service73.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
@@ -207,8 +207,8 @@ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured8(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service73, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node76 = configured8();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options8, Service73, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list4, configured8, node76, exports_select };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service82
|
|
8
|
+
} from "./ripgrep-ye89p72n.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service64
|
|
11
|
+
} from "./ripgrep-9jdajzrt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./ripgrep-kpd84ec7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service42,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-xkajykm3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service66
|
|
22
|
+
} from "./ripgrep-b0k3m5sv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service58,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-gdbaa3vm.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin36,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin36 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service64;
|
|
112
|
+
const access = yield* Service58;
|
|
113
|
+
const fileMutation = yield* Service42;
|
|
114
|
+
const formatter = yield* Service57;
|
|
115
|
+
const location = yield* Service82;
|
|
116
|
+
const permission = yield* Service66;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin30 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin36, exports_patch };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-eydep5ty.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node49
|
|
7
|
+
} from "./ripgrep-725dzmat.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service4,
|
|
10
|
+
node6
|
|
11
|
+
} from "./ripgrep-2n3wn4cc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./ripgrep-am1tmpj5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service21
|
|
17
|
+
} from "./ripgrep-gyce5qg1.js";
|
|
18
18
|
import {
|
|
19
19
|
node16,
|
|
20
20
|
ID2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./ripgrep-28k0q56j.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service9,
|
|
24
|
+
node11
|
|
25
|
+
} from "./ripgrep-p42hj8p8.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./ripgrep-etg1n2kx.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make4,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-ycn2m60h.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service5,
|
|
38
|
+
node7
|
|
39
|
+
} from "./ripgrep-9ha6dkfn.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service6,
|
|
42
|
+
node8
|
|
43
|
+
} from "./ripgrep-bydnjh3t.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer4,
|
|
53
|
+
node: () => node5
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -136,15 +136,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
136
136
|
pending: [...pending]
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
139
|
+
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
+
const managed = yield* Service13;
|
|
141
|
+
const registry = yield* Service21;
|
|
142
|
+
const sdk = yield* Service5;
|
|
143
|
+
const instance = yield* Service9;
|
|
144
|
+
const sources = yield* Service4;
|
|
145
|
+
const modules = yield* make4();
|
|
146
146
|
const bus = yield* Service85;
|
|
147
|
-
const updates = yield*
|
|
147
|
+
const updates = yield* Service6;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -221,13 +221,13 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
223
|
node16,
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
224
|
+
node7,
|
|
225
|
+
node11,
|
|
226
|
+
node6,
|
|
227
|
+
node8,
|
|
228
228
|
node89,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node49,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export {
|
|
240
|
+
export { layer4, node5, exports_supervisor };
|