@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-2r6y34sj.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-xdh6s9ed.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-eydep5ty.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-wbcvfxpg.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-addxnjmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-sdzwknx0.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service13
|
|
21
|
+
} from "./ripgrep-am1tmpj5.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-6m78wcz4.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-ssc22y53.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
resolve4
|
|
33
|
+
} from "./ripgrep-5rkje03p.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID5,
|
|
36
|
+
Input15,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-1rs87y8d.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import {
|
|
@@ -73,7 +73,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
73
73
|
var RemoteResponse = Schema.Struct({
|
|
74
74
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
75
75
|
websearch: Schema.Struct({
|
|
76
|
-
providerID:
|
|
76
|
+
providerID: ID5
|
|
77
77
|
}).pipe(Schema.optional),
|
|
78
78
|
mcp: Schema.Struct({
|
|
79
79
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -124,7 +124,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
124
124
|
}
|
|
125
125
|
function oauth(http) {
|
|
126
126
|
return {
|
|
127
|
-
integrationID:
|
|
127
|
+
integrationID: ID14.make("opencode"),
|
|
128
128
|
method: {
|
|
129
129
|
id: methodID,
|
|
130
130
|
type: "oauth",
|
|
@@ -192,7 +192,7 @@ var OpencodePlugin2 = define({
|
|
|
192
192
|
const bus = yield* Service85;
|
|
193
193
|
const client = yield* HttpClient.HttpClient;
|
|
194
194
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
195
|
-
const managed = yield*
|
|
195
|
+
const managed = yield* Service13;
|
|
196
196
|
const scope = yield* Scope.Scope;
|
|
197
197
|
const loading = Semaphore.makeUnsafe(1);
|
|
198
198
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -246,7 +246,7 @@ var OpencodePlugin2 = define({
|
|
|
246
246
|
providers.update(providerID, (provider) => {
|
|
247
247
|
if (source && source.provider !== provider)
|
|
248
248
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
249
|
-
provider.integrationID =
|
|
249
|
+
provider.integrationID = ID14.make("opencode");
|
|
250
250
|
if (item.canonical !== undefined)
|
|
251
251
|
provider.canonical = item.canonical;
|
|
252
252
|
if (item.name !== undefined)
|
|
@@ -284,7 +284,7 @@ var OpencodePlugin2 = define({
|
|
|
284
284
|
providers.models.update(providerID, modelID, (model) => {
|
|
285
285
|
if (config.capabilities?.reasoning !== undefined)
|
|
286
286
|
model.variants = [
|
|
287
|
-
...
|
|
287
|
+
...resolve4({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
288
288
|
];
|
|
289
289
|
for (const variant of config.variants ?? []) {
|
|
290
290
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -320,7 +320,7 @@ var OpencodePlugin2 = define({
|
|
|
320
320
|
sourceConnection: snapshot.connection
|
|
321
321
|
});
|
|
322
322
|
}
|
|
323
|
-
const item = providers.get(
|
|
323
|
+
const item = providers.get(ID13.opencode);
|
|
324
324
|
if (!item)
|
|
325
325
|
return;
|
|
326
326
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -332,7 +332,7 @@ var OpencodePlugin2 = define({
|
|
|
332
332
|
});
|
|
333
333
|
});
|
|
334
334
|
yield* ctx.model.transform((models) => {
|
|
335
|
-
const item = models.provider.get(
|
|
335
|
+
const item = models.provider.get(ID13.opencode);
|
|
336
336
|
if (!item)
|
|
337
337
|
return;
|
|
338
338
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -366,7 +366,7 @@ var OpencodePlugin2 = define({
|
|
|
366
366
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
367
367
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
368
368
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
369
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
369
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
370
370
|
query: input.query,
|
|
371
371
|
providerID: descriptor.providerID
|
|
372
372
|
}));
|
|
@@ -427,7 +427,7 @@ var OpencodePlugin2 = define({
|
|
|
427
427
|
});
|
|
428
428
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
429
429
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
430
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
430
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
431
431
|
});
|
|
432
432
|
yield* guard(snapshot);
|
|
433
433
|
const polling = yield* FiberHandle.make();
|
|
@@ -438,7 +438,7 @@ var OpencodePlugin2 = define({
|
|
|
438
438
|
onlyIfMissing: true
|
|
439
439
|
});
|
|
440
440
|
});
|
|
441
|
-
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
441
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
442
442
|
yield* poll();
|
|
443
443
|
})
|
|
444
444
|
});
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./ripgrep-eydep5ty.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./ripgrep-230q3gjt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service83,
|
|
11
|
+
node87
|
|
12
|
+
} from "./ripgrep-b19v66bv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Ref4,
|
|
15
|
+
Service82,
|
|
16
|
+
node86
|
|
17
|
+
} from "./ripgrep-ye89p72n.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-zdxaswdy.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service66,
|
|
26
|
+
node69
|
|
27
|
+
} from "./ripgrep-b0k3m5sv.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service50,
|
|
30
|
+
node52
|
|
31
|
+
} from "./ripgrep-1gbrraea.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service49,
|
|
41
|
+
node: () => node51
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service49 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service85;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service82;
|
|
53
|
+
const permission = yield* Service66;
|
|
54
|
+
const forms = yield* Service80;
|
|
55
|
+
const rpc = yield* Service50;
|
|
56
|
+
const project = yield* Service83;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -76,19 +76,19 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
76
76
|
yield* forms.close;
|
|
77
77
|
yield* rpc.close;
|
|
78
78
|
yield* bus.publish(LocationEvent.Shutdown, {}, {
|
|
79
|
-
location:
|
|
79
|
+
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service49.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node51 = makeLocationNode({
|
|
89
|
+
service: Service49,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node89,
|
|
91
|
+
deps: [node89, node86, node69, node87, node84, node52]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service49, node51, exports_location_lifecycle };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./ripgrep-yn7c86qb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service38
|
|
7
|
+
} from "./ripgrep-06m8zqpz.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin8
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin8 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service46;
|
|
27
|
+
const snapshot = yield* Service38;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin40 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin8, exports_snapshot };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service51,
|
|
3
|
+
node53
|
|
4
|
+
} from "./ripgrep-rxkx3yrv.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions4 = {};
|
|
17
17
|
__export(exports_instructions4, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service22,
|
|
20
|
+
node: () => node25
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,18 +61,18 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service22 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service51;
|
|
68
|
+
return Service22.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
75
|
+
return make20({
|
|
76
76
|
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node25 = makeLocationNode({ service: Service22, layer, deps: [node53] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service22, node25, exports_instructions4 };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service82
|
|
13
|
+
} from "./ripgrep-ye89p72n.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-tdqqk9tn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin20,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin20 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service82;
|
|
37
37
|
if (location.vcs && location.vcs.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin20, exports_hg };
|