@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service40,
|
|
6
|
+
node42
|
|
7
|
+
} from "./ripgrep-1a2y92ex.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-fcy631f0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Generate: () =>
|
|
16
|
+
var exports_generate2 = {};
|
|
17
|
+
__export(exports_generate2, {
|
|
18
|
+
Generate: () => exports_generate2,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service37,
|
|
21
|
+
UnavailableError: () => UnavailableError2,
|
|
22
|
+
layer: () => layer18,
|
|
23
|
+
node: () => node39
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service37 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer18 = Layer.effect(Service37, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service40;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError2({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service37.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node39 = makeLocationNode({
|
|
77
|
+
service: Service37,
|
|
78
|
+
layer: layer18,
|
|
79
|
+
deps: [node42, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError2, Service37, layer18, node39, exports_generate2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-6m78wcz4.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info21
|
|
11
|
+
} from "./ripgrep-ssc22y53.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID12.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info21.make({
|
|
122
|
+
...Info21.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID12.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -2,42 +2,42 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./ripgrep-ye89p72n.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service60,
|
|
12
|
+
node62
|
|
13
|
+
} from "./ripgrep-9wn2agq9.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event9,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
ListInput: () => ListInput3,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError6,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service59,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node61
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError6 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -75,7 +75,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
75
75
|
return `Access denied to directory: ${this.directory}`;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Content3 = Schema.Struct({
|
|
79
79
|
uri: Schema.String,
|
|
80
80
|
name: Schema.String.pipe(Schema.optional),
|
|
81
81
|
content: Schema.String,
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event9 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service59 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service59, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
|
-
const location = yield*
|
|
115
|
-
const search = yield*
|
|
114
|
+
const location = yield* Service82;
|
|
115
|
+
const search = yield* Service60;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError6({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service59.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError6({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError6({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
147
147
|
}),
|
|
148
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
149
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
150
|
+
const missing = new NotFoundError6({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
151
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
152
|
if (info.type !== "Directory")
|
|
153
153
|
return yield* missing;
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node61 = makeLocationNode({
|
|
175
|
+
service: Service59,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node,
|
|
177
|
+
deps: [FSUtil.node, node86, node62]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError6, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service59, node61, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-xdh6s9ed.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./ripgrep-wbcvfxpg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-sdzwknx0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-6m78wcz4.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID13.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID14.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service81;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-nj7hqrdc.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service86,
|
|
12
12
|
node90
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-2r6y34sj.js";
|
|
14
14
|
import {
|
|
15
15
|
Service85,
|
|
16
16
|
node89
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-eydep5ty.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./ripgrep-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-xw9fg8fb.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID17,
|
|
26
|
+
NotFoundError12
|
|
27
|
+
} from "./ripgrep-b19v66bv.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref4
|
|
30
|
+
} from "./ripgrep-ye89p72n.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service55,
|
|
33
|
+
node57
|
|
34
|
+
} from "./ripgrep-zdxaswdy.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service54
|
|
41
|
+
} from "./ripgrep-ryb7mfzk.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event8,
|
|
53
|
+
Info: () => Info14,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
|
-
ListEntry: () =>
|
|
56
|
+
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service53,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node55
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info14 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
|
-
var
|
|
80
|
+
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event8 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service53 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service86;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service85;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service55;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError12({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service54).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event8.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service53.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node55 = Node.makeGlobalNode({
|
|
260
|
+
service: Service53,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node89, node90, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node89, node90, AppProcess.node, node57]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info14, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event8, Service53, node55, exports_worktree2, OperationError2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-6m78wcz4.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-ssc22y53.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4,
|
|
16
16
|
supports: () => supports2
|
|
17
17
|
});
|
|
18
18
|
function supports2(reasoning) {
|
|
@@ -24,7 +24,7 @@ function supports2(reasoning) {
|
|
|
24
24
|
...reasoning.budget ? [{ type: "budget_tokens", ...reasoning.budget }] : []
|
|
25
25
|
];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
28
28
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
29
29
|
if (!protocol)
|
|
30
30
|
return [];
|
|
@@ -584,4 +584,4 @@ var PROTOCOLS = {
|
|
|
584
584
|
[aisdk2("gitlab-ai-provider")]: gitlab
|
|
585
585
|
};
|
|
586
586
|
|
|
587
|
-
export { supports2,
|
|
587
|
+
export { supports2, resolve4, exports_variant };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-nj7hqrdc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./ripgrep-b0k3m5sv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service58
|
|
9
|
+
} from "./ripgrep-gdbaa3vm.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info14,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-53tbswfk.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin48,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin48 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service58;
|
|
104
|
+
const permission = yield* Service66;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin19 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info14,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin48, exports_opencode };
|