@opencode/core 0.0.0-dev-21458 → 0.0.0-dev-21463
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/agent.js +66 -66
- package/dist/aisdk-native.js +70 -70
- package/dist/aisdk.js +75 -75
- package/dist/app.js +9 -9
- package/dist/bus.js +54 -54
- package/dist/chunks/{ripgrep-vy2epn4a.js → ripgrep-06h1tyz4.js} +4 -4
- package/dist/chunks/{ripgrep-ag4rn41e.js → ripgrep-06x8he3q.js} +3 -3
- package/dist/chunks/{ripgrep-ww55sn04.js → ripgrep-09c1zjrt.js} +15 -15
- package/dist/chunks/{ripgrep-v210v162.js → ripgrep-0javqkgf.js} +7 -7
- package/dist/chunks/{ripgrep-1rs87y8d.js → ripgrep-0nmqjfd0.js} +23 -23
- package/dist/chunks/{ripgrep-xdh6s9ed.js → ripgrep-124s2bhj.js} +10 -10
- package/dist/chunks/{ripgrep-emzsebxx.js → ripgrep-1fmrbde1.js} +5 -5
- package/dist/chunks/{ripgrep-w7vtcvrx.js → ripgrep-1gvanxjs.js} +32 -32
- package/dist/chunks/{ripgrep-4kvg6bn8.js → ripgrep-1jshh0hj.js} +20 -20
- package/dist/chunks/{ripgrep-sdzwknx0.js → ripgrep-1rwjpbn5.js} +24 -24
- package/dist/chunks/{ripgrep-hdgw5fjw.js → ripgrep-1w5qwmmm.js} +7 -7
- package/dist/chunks/{ripgrep-zzdkzef9.js → ripgrep-1zd1rgqx.js} +17 -17
- package/dist/chunks/{ripgrep-amt7ef5n.js → ripgrep-22v61q2t.js} +9 -9
- package/dist/chunks/{ripgrep-y8ycp07x.js → ripgrep-230myn37.js} +14 -14
- package/dist/chunks/{ripgrep-6ac9zck1.js → ripgrep-251hxpd6.js} +1 -1
- package/dist/chunks/{ripgrep-1ep2p91f.js → ripgrep-27w5k9zf.js} +1 -1
- package/dist/chunks/{ripgrep-ar5c37sv.js → ripgrep-298dhb3n.js} +17 -17
- package/dist/chunks/{ripgrep-tzvv02w3.js → ripgrep-29mhb2se.js} +48 -48
- package/dist/chunks/{ripgrep-edj082x0.js → ripgrep-2r363r85.js} +3 -3
- package/dist/chunks/{ripgrep-d4he2qe1.js → ripgrep-2sejkfem.js} +7 -7
- package/dist/chunks/{ripgrep-2h0q315h.js → ripgrep-2sstcm55.js} +10 -10
- package/dist/chunks/{ripgrep-mzrmbcee.js → ripgrep-2wqnbphr.js} +12 -12
- package/dist/chunks/{ripgrep-yggz4gjb.js → ripgrep-2wvr9kck.js} +45 -45
- package/dist/chunks/{ripgrep-cz0dahpr.js → ripgrep-312nns96.js} +6 -6
- package/dist/chunks/{ripgrep-am1tmpj5.js → ripgrep-3220qrgn.js} +8 -8
- package/dist/chunks/{ripgrep-7hppxa70.js → ripgrep-3k2tm6e9.js} +1 -1
- package/dist/chunks/{ripgrep-68w3xa91.js → ripgrep-3mqyb98t.js} +3 -3
- package/dist/chunks/ripgrep-3qcx2nn5.js +257 -0
- package/dist/chunks/{ripgrep-hc033k72.js → ripgrep-3vt2dxg2.js} +2 -2
- package/dist/chunks/{ripgrep-pgp1nwjn.js → ripgrep-44ak30pa.js} +3 -3
- package/dist/chunks/{ripgrep-1rw66me6.js → ripgrep-49j0r9af.js} +17 -17
- package/dist/chunks/{ripgrep-dt0gb5zd.js → ripgrep-4kjvvtcf.js} +13 -13
- package/dist/chunks/{ripgrep-w39jehkq.js → ripgrep-4xpgt2w9.js} +3 -3
- package/dist/chunks/{ripgrep-f9ewqnvf.js → ripgrep-4yszj04w.js} +31 -31
- package/dist/chunks/{ripgrep-rxkx3yrv.js → ripgrep-4zd5n188.js} +22 -22
- package/dist/chunks/{ripgrep-b0k3m5sv.js → ripgrep-50ttpepc.js} +46 -46
- package/dist/chunks/{ripgrep-dzrdd8y4.js → ripgrep-560zx63f.js} +1 -1
- package/dist/chunks/{ripgrep-9jdajzrt.js → ripgrep-57pprckc.js} +19 -19
- package/dist/chunks/{ripgrep-2n3wn4cc.js → ripgrep-5cfq97pr.js} +25 -25
- package/dist/chunks/{ripgrep-m1jhgcxs.js → ripgrep-5cwz5tfs.js} +2 -2
- package/dist/chunks/{ripgrep-q3myhh1r.js → ripgrep-5d51bkr7.js} +44 -44
- package/dist/chunks/{ripgrep-vep9yay1.js → ripgrep-5g57z1ma.js} +3 -3
- package/dist/chunks/{ripgrep-hxcjpjn2.js → ripgrep-5h8zx44a.js} +17 -17
- package/dist/chunks/{ripgrep-5wbw6pv9.js → ripgrep-5kk0g6xv.js} +9 -9
- package/dist/chunks/{ripgrep-n7qpxvtd.js → ripgrep-5wdmk2gh.js} +28 -28
- package/dist/chunks/{ripgrep-e696dwzt.js → ripgrep-68zvyq3x.js} +8 -8
- package/dist/chunks/{ripgrep-apt503cy.js → ripgrep-6dx9d91q.js} +8 -8
- package/dist/chunks/{ripgrep-3fnjy7d5.js → ripgrep-6gya5b2a.js} +35 -35
- package/dist/chunks/{ripgrep-9wn2agq9.js → ripgrep-6mjf37c3.js} +30 -30
- package/dist/chunks/{ripgrep-y4fgtena.js → ripgrep-6s32m78n.js} +83 -83
- package/dist/chunks/{ripgrep-06m8zqpz.js → ripgrep-6ypqa0d2.js} +26 -26
- package/dist/chunks/{ripgrep-6sdx5bv6.js → ripgrep-713a57ta.js} +1 -1
- package/dist/chunks/{ripgrep-nj7hqrdc.js → ripgrep-72x17vkx.js} +7 -7
- package/dist/chunks/{ripgrep-t6z5h8be.js → ripgrep-75d596k4.js} +19 -19
- package/dist/chunks/{ripgrep-8w348b9w.js → ripgrep-77jva0j9.js} +6 -6
- package/dist/chunks/{ripgrep-607tc6va.js → ripgrep-7dqw4kz8.js} +4 -4
- package/dist/chunks/{ripgrep-ce3ajj6n.js → ripgrep-7e8r663x.js} +32 -32
- package/dist/chunks/{ripgrep-725dzmat.js → ripgrep-7jxgd9ay.js} +19 -19
- package/dist/chunks/{ripgrep-6m78wcz4.js → ripgrep-86gy2e90.js} +27 -27
- package/dist/chunks/{ripgrep-wbcvfxpg.js → ripgrep-8eadsrjy.js} +25 -25
- package/dist/chunks/{ripgrep-ryb7mfzk.js → ripgrep-8fmaj9a8.js} +18 -18
- package/dist/chunks/{ripgrep-hes8zqkx.js → ripgrep-8hs2d1kn.js} +10 -10
- package/dist/chunks/{ripgrep-ekrj3q3n.js → ripgrep-8sjwbqp5.js} +16 -16
- package/dist/chunks/{ripgrep-xw9fg8fb.js → ripgrep-8vcf4cwr.js} +1 -1
- package/dist/chunks/{ripgrep-eydep5ty.js → ripgrep-8wx9bhg6.js} +1 -1
- package/dist/chunks/{ripgrep-qcqpgb6f.js → ripgrep-91af422c.js} +15 -15
- package/dist/chunks/{ripgrep-v9ep9kw5.js → ripgrep-989d504g.js} +36 -36
- package/dist/chunks/{ripgrep-r4fw60a8.js → ripgrep-9ms3qzpy.js} +4 -4
- package/dist/chunks/{ripgrep-kmgpx441.js → ripgrep-9nhbmbq3.js} +9 -9
- package/dist/chunks/{ripgrep-fh3hfgk9.js → ripgrep-9xj3p3b6.js} +17 -17
- package/dist/chunks/{ripgrep-1vp80wqe.js → ripgrep-a0b0pnyt.js} +1 -1
- package/dist/chunks/{ripgrep-ye89p72n.js → ripgrep-a3w6cej7.js} +15 -15
- package/dist/chunks/{ripgrep-e2qvw7zx.js → ripgrep-abwmzdm0.js} +10 -10
- package/dist/chunks/{ripgrep-9vr292v9.js → ripgrep-agt495f3.js} +10 -10
- package/dist/chunks/{ripgrep-p2kzfj7d.js → ripgrep-avj6wgd7.js} +25 -25
- package/dist/chunks/{ripgrep-csqw7sk8.js → ripgrep-axkwkzd9.js} +11 -11
- package/dist/chunks/{ripgrep-8w0fc9v5.js → ripgrep-ayvmmyqf.js} +19 -19
- package/dist/chunks/{ripgrep-h0pyfwgt.js → ripgrep-b1hts85v.js} +22 -22
- package/dist/chunks/{ripgrep-gdbaa3vm.js → ripgrep-b7pfhk9a.js} +16 -16
- package/dist/chunks/{ripgrep-9f2mr1jq.js → ripgrep-bd8280h5.js} +17 -17
- package/dist/chunks/{ripgrep-4w1f8scj.js → ripgrep-bh4seszr.js} +30 -30
- package/dist/chunks/{ripgrep-hsmryvj1.js → ripgrep-bj5f8pf2.js} +4 -4
- package/dist/chunks/{ripgrep-wjr9rjd7.js → ripgrep-bjx1sjef.js} +4 -4
- package/dist/chunks/{ripgrep-gbqxypma.js → ripgrep-bmff2rpw.js} +24 -24
- package/dist/chunks/{ripgrep-e0b2kra3.js → ripgrep-bqwheb6v.js} +9 -9
- package/dist/chunks/{ripgrep-y24qngx4.js → ripgrep-c1kvbfjw.js} +12 -12
- package/dist/chunks/ripgrep-cb080mpn.js +26 -0
- package/dist/chunks/{ripgrep-xkajykm3.js → ripgrep-cph4sz5z.js} +11 -11
- package/dist/chunks/{ripgrep-5246atra.js → ripgrep-cvb5s8dx.js} +11 -11
- package/dist/chunks/{ripgrep-9cn598b5.js → ripgrep-cys88cvv.js} +5 -5
- package/dist/chunks/{ripgrep-ssc22y53.js → ripgrep-d3fk46xw.js} +28 -28
- package/dist/chunks/{ripgrep-abzgq1nw.js → ripgrep-d9ddtp67.js} +13 -13
- package/dist/chunks/{ripgrep-5rkje03p.js → ripgrep-dcf9rm2z.js} +5 -5
- package/dist/chunks/{ripgrep-b19v66bv.js → ripgrep-dfe61pt0.js} +41 -41
- package/dist/chunks/{ripgrep-dd2wt6q1.js → ripgrep-dgwfvztm.js} +17 -17
- package/dist/chunks/{ripgrep-xj1aydcy.js → ripgrep-dhb2hta4.js} +3 -3
- package/dist/chunks/{ripgrep-tfx4s5nm.js → ripgrep-dtt6326j.js} +7 -7
- package/dist/chunks/{ripgrep-hg8tkm75.js → ripgrep-e0d821cc.js} +6 -6
- package/dist/chunks/{ripgrep-7bjfyzh8.js → ripgrep-e1kmgh1g.js} +46 -46
- package/dist/chunks/{ripgrep-rncype5f.js → ripgrep-e225h40x.js} +17 -17
- package/dist/chunks/{ripgrep-7t3xedjm.js → ripgrep-e33zja9b.js} +33 -33
- package/dist/chunks/{ripgrep-enrp405z.js → ripgrep-edswj8x3.js} +17 -17
- package/dist/chunks/{ripgrep-bstm3mwn.js → ripgrep-eev4j3tf.js} +12 -12
- package/dist/chunks/{ripgrep-8vya4b9k.js → ripgrep-efw5yz4r.js} +43 -43
- package/dist/chunks/{ripgrep-c99e4gbg.js → ripgrep-eh2h7xf4.js} +15 -15
- package/dist/chunks/{ripgrep-zqecfbxk.js → ripgrep-eyakfeqd.js} +13 -13
- package/dist/chunks/{ripgrep-jszh17ab.js → ripgrep-f6egx6pd.js} +22 -22
- package/dist/chunks/{ripgrep-p8mhfpfb.js → ripgrep-fmcqyzhx.js} +7 -7
- package/dist/chunks/{ripgrep-t2fc4mz5.js → ripgrep-fqb2p7cx.js} +3 -3
- package/dist/chunks/{ripgrep-ff0c8932.js → ripgrep-fs83kz7m.js} +9 -9
- package/dist/chunks/{ripgrep-jp9kzq14.js → ripgrep-fxq1hvsx.js} +3 -3
- package/dist/chunks/{ripgrep-p42hj8p8.js → ripgrep-g0445xdp.js} +7 -7
- package/dist/chunks/{ripgrep-n8gj4qy5.js → ripgrep-g1962y70.js} +19 -19
- package/dist/chunks/{ripgrep-mg37qacw.js → ripgrep-g2kqvpw2.js} +19 -14
- package/dist/chunks/{ripgrep-y7nndgyc.js → ripgrep-g686f6pq.js} +7 -7
- package/dist/chunks/{ripgrep-w19xc5wf.js → ripgrep-g721rhm1.js} +18 -18
- package/dist/chunks/{ripgrep-b6rsy5zn.js → ripgrep-gd45gbwy.js} +15 -15
- package/dist/chunks/{ripgrep-9hwaqfsw.js → ripgrep-gj71zhbs.js} +3 -3
- package/dist/chunks/{ripgrep-yb81whfj.js → ripgrep-gjbmpe49.js} +30 -30
- package/dist/chunks/{ripgrep-vdxz864t.js → ripgrep-gk6en6xk.js} +35 -35
- package/dist/chunks/{ripgrep-868jxd9s.js → ripgrep-gw2dacjw.js} +27 -27
- package/dist/chunks/{ripgrep-y11negt3.js → ripgrep-h0qy9bnt.js} +5 -5
- package/dist/chunks/{ripgrep-qw7cqan8.js → ripgrep-h47csjds.js} +64 -64
- package/dist/chunks/{ripgrep-vdmef0hv.js → ripgrep-h6vdgmbd.js} +32 -32
- package/dist/chunks/{ripgrep-rjsqaxa7.js → ripgrep-hcv80w8f.js} +3 -3
- package/dist/chunks/{ripgrep-cne4vwe6.js → ripgrep-hd44qvhb.js} +14 -14
- package/dist/chunks/{ripgrep-bvkvrv05.js → ripgrep-hfj6ba10.js} +17 -17
- package/dist/chunks/{ripgrep-w1yzj816.js → ripgrep-hhvzr4qm.js} +21 -21
- package/dist/chunks/{ripgrep-df173w7t.js → ripgrep-hm49vy5t.js} +9 -9
- package/dist/chunks/{ripgrep-ms93yq6r.js → ripgrep-hpfvhvya.js} +7 -7
- package/dist/chunks/{ripgrep-khmqacep.js → ripgrep-hq3c8me3.js} +3 -3
- package/dist/chunks/{ripgrep-53tbswfk.js → ripgrep-hs6ysvtc.js} +32 -32
- package/dist/chunks/{ripgrep-897yn8js.js → ripgrep-htbjkf0w.js} +1 -1
- package/dist/chunks/{ripgrep-pev3esbk.js → ripgrep-hxsbxgw0.js} +34 -34
- package/dist/chunks/{ripgrep-4rb4nh12.js → ripgrep-j0pnngg3.js} +21 -21
- package/dist/chunks/{ripgrep-8xxtntea.js → ripgrep-j4axjra1.js} +9 -9
- package/dist/chunks/{ripgrep-dpf25vxh.js → ripgrep-jga877gc.js} +16 -16
- package/dist/chunks/{ripgrep-7v685v47.js → ripgrep-jqvncec7.js} +41 -41
- package/dist/chunks/{ripgrep-mr9jz2wx.js → ripgrep-jv8w58zf.js} +27 -27
- package/dist/chunks/{ripgrep-y0g19xg0.js → ripgrep-jx1ed50p.js} +45 -20
- package/dist/chunks/{ripgrep-wh5v440s.js → ripgrep-jyarf421.js} +4 -4
- package/dist/chunks/{ripgrep-7x97mf13.js → ripgrep-k7ct3b4w.js} +17 -17
- package/dist/chunks/{ripgrep-kpd84ec7.js → ripgrep-k8yk4ekq.js} +13 -13
- package/dist/chunks/{ripgrep-d9xyp96y.js → ripgrep-k9s1epkc.js} +7 -7
- package/dist/chunks/{ripgrep-zdxaswdy.js → ripgrep-k9tfrms9.js} +8 -8
- package/dist/chunks/{ripgrep-swz7b57b.js → ripgrep-kxpg0xct.js} +1 -1
- package/dist/chunks/{ripgrep-230q3gjt.js → ripgrep-kzrm98pv.js} +19 -19
- package/dist/chunks/{ripgrep-cw4w83nc.js → ripgrep-m1q28qka.js} +8 -8
- package/dist/chunks/{ripgrep-9ha6dkfn.js → ripgrep-mda08b8j.js} +9 -9
- package/dist/chunks/{ripgrep-k63sy5rb.js → ripgrep-mez1mdm0.js} +18 -18
- package/dist/chunks/{ripgrep-1gbrraea.js → ripgrep-mk60gw4q.js} +13 -13
- package/dist/chunks/{ripgrep-kax56nr6.js → ripgrep-mmjfp5s5.js} +10 -10
- package/dist/chunks/{ripgrep-m5jcjszt.js → ripgrep-my4zabxr.js} +3 -3
- package/dist/chunks/{ripgrep-gs3jaab1.js → ripgrep-n4h5z8fw.js} +21 -21
- package/dist/chunks/{ripgrep-vbc0n61v.js → ripgrep-nfj18b9m.js} +26 -26
- package/dist/chunks/{ripgrep-1sqf9bkf.js → ripgrep-ng3918dk.js} +4 -4
- package/dist/chunks/{ripgrep-2r6y34sj.js → ripgrep-nyg27w76.js} +2 -2
- package/dist/chunks/{ripgrep-dgzq35zb.js → ripgrep-p50c7myx.js} +1 -1
- package/dist/chunks/{ripgrep-1a2y92ex.js → ripgrep-pa098ddb.js} +42 -42
- package/dist/chunks/{ripgrep-pwt87mrq.js → ripgrep-pd1jyj3n.js} +14 -14
- package/dist/chunks/{ripgrep-v0ymv6m8.js → ripgrep-pkwzmj2h.js} +14 -14
- package/dist/chunks/{ripgrep-etg1n2kx.js → ripgrep-pnjc2gnv.js} +340 -334
- package/dist/chunks/{ripgrep-dadd6d4y.js → ripgrep-pq2gcbye.js} +18 -18
- package/dist/chunks/{ripgrep-bzywf3e9.js → ripgrep-prc3rt3m.js} +5 -5
- package/dist/chunks/{ripgrep-bydnjh3t.js → ripgrep-prq7hedt.js} +7 -7
- package/dist/chunks/{ripgrep-vrwbrhmt.js → ripgrep-prsxfqy1.js} +19 -19
- package/dist/chunks/{ripgrep-anw46eb6.js → ripgrep-pxnwhmcf.js} +6 -6
- package/dist/chunks/{ripgrep-7fkffz83.js → ripgrep-py3kkmfq.js} +3 -3
- package/dist/chunks/{ripgrep-kkve0fs6.js → ripgrep-pz39tkx9.js} +33 -33
- package/dist/chunks/{ripgrep-gyce5qg1.js → ripgrep-q509s3k3.js} +4 -4
- package/dist/chunks/{ripgrep-z96h84jq.js → ripgrep-q59jvvg4.js} +22 -22
- package/dist/chunks/{ripgrep-fnfphwr6.js → ripgrep-q9z8ctd8.js} +7 -7
- package/dist/chunks/{ripgrep-bq4j2sbx.js → ripgrep-qhdh8prp.js} +42 -42
- package/dist/chunks/{ripgrep-7em0bpab.js → ripgrep-qmm8f62j.js} +16 -16
- package/dist/chunks/{ripgrep-gs3s1a1g.js → ripgrep-qwjmgwmn.js} +7 -7
- package/dist/chunks/{ripgrep-e80seqcp.js → ripgrep-r2z489rp.js} +2 -2
- package/dist/chunks/{ripgrep-vhm2adcw.js → ripgrep-r565a100.js} +24 -24
- package/dist/chunks/{ripgrep-21sepexc.js → ripgrep-r8ay4eh8.js} +13 -13
- package/dist/chunks/{ripgrep-yn7c86qb.js → ripgrep-rbnhhjf8.js} +43 -43
- package/dist/chunks/{ripgrep-6t9ywwra.js → ripgrep-rbzr3q5g.js} +5 -5
- package/dist/chunks/{ripgrep-sqq24m9r.js → ripgrep-rf4xhyrq.js} +30 -30
- package/dist/chunks/{ripgrep-9wetr4xy.js → ripgrep-rfmtd9hm.js} +7 -7
- package/dist/chunks/{ripgrep-vbgdajqt.js → ripgrep-rpbyp8pn.js} +8 -8
- package/dist/chunks/{ripgrep-68w7pmtx.js → ripgrep-rqbrrxj6.js} +12 -12
- package/dist/chunks/{ripgrep-1xpgrxnn.js → ripgrep-rvn8t98y.js} +13 -13
- package/dist/chunks/{ripgrep-cv5sbdhn.js → ripgrep-rvnqf66d.js} +11 -11
- package/dist/chunks/{ripgrep-pazj47g9.js → ripgrep-s7158cf1.js} +4 -4
- package/dist/chunks/{ripgrep-hcwzd9ve.js → ripgrep-s7pm50yw.js} +4 -4
- package/dist/chunks/{ripgrep-rhjbct0v.js → ripgrep-s8d7rejh.js} +3 -3
- package/dist/chunks/{ripgrep-tkmw8vhp.js → ripgrep-s96dfbc8.js} +16 -16
- package/dist/chunks/{ripgrep-ycn2m60h.js → ripgrep-s9x4dfc6.js} +12 -12
- package/dist/chunks/{ripgrep-ppdavc1e.js → ripgrep-sjxt2y8n.js} +183 -183
- package/dist/chunks/{ripgrep-vnwvh6x6.js → ripgrep-skxfb30d.js} +25 -25
- package/dist/chunks/{ripgrep-6ehbgqat.js → ripgrep-sxzvkvgj.js} +5 -5
- package/dist/chunks/{ripgrep-33m7zff6.js → ripgrep-szj64q0v.js} +4 -4
- package/dist/chunks/{ripgrep-89znhe33.js → ripgrep-tcezcvh9.js} +3 -3
- package/dist/chunks/{ripgrep-dq407baf.js → ripgrep-tt8gc4fv.js} +3 -3
- package/dist/chunks/{ripgrep-pmpk6q9r.js → ripgrep-tz783a2y.js} +10 -10
- package/dist/chunks/{ripgrep-dx1ezjzk.js → ripgrep-v8351vk8.js} +5 -5
- package/dist/chunks/{ripgrep-y6mhz57t.js → ripgrep-vbfgae2j.js} +3 -3
- package/dist/chunks/{ripgrep-xb6ffzw0.js → ripgrep-vbnktpmr.js} +8 -8
- package/dist/chunks/{ripgrep-tdqqk9tn.js → ripgrep-vc4gp4va.js} +18 -18
- package/dist/chunks/{ripgrep-bfrs3k34.js → ripgrep-w7jyze1k.js} +1 -1
- package/dist/chunks/{ripgrep-f34pdxph.js → ripgrep-w8tjtray.js} +91 -37
- package/dist/chunks/{ripgrep-4bh89e3b.js → ripgrep-waskajng.js} +4 -4
- package/dist/chunks/{ripgrep-hfrgt7j1.js → ripgrep-wqgd9sqk.js} +11 -11
- package/dist/chunks/{ripgrep-4d2gzzb2.js → ripgrep-wthbqfdd.js} +2 -2
- package/dist/chunks/{ripgrep-addxnjmp.js → ripgrep-x661k3y3.js} +3 -3
- package/dist/chunks/{ripgrep-y6jtz2hz.js → ripgrep-x831e2b7.js} +14 -14
- package/dist/chunks/{ripgrep-stw0ktd7.js → ripgrep-x83knd5j.js} +2 -2
- package/dist/chunks/{ripgrep-07n27ccy.js → ripgrep-xc4hpcyp.js} +20 -20
- package/dist/chunks/{ripgrep-qqeeq2t9.js → ripgrep-xfkkasph.js} +6 -6
- package/dist/chunks/{ripgrep-jwpb8arh.js → ripgrep-xg2cxak3.js} +13 -13
- package/dist/chunks/{ripgrep-5tw2jtmr.js → ripgrep-xh90p7br.js} +13 -13
- package/dist/chunks/{ripgrep-7vyf5e2n.js → ripgrep-xk3573b9.js} +30 -30
- package/dist/chunks/{ripgrep-zh2s0dj1.js → ripgrep-y2w3p8tb.js} +12 -12
- package/dist/chunks/{ripgrep-hdavf2z4.js → ripgrep-ye7bjynm.js} +7 -7
- package/dist/chunks/{ripgrep-mktar7aj.js → ripgrep-yj7k2rcj.js} +1 -1
- package/dist/chunks/{ripgrep-245v63zg.js → ripgrep-ykpagz71.js} +9 -9
- package/dist/chunks/{ripgrep-dd35sy3n.js → ripgrep-yn91e0pt.js} +1 -1
- package/dist/chunks/{ripgrep-vr617c86.js → ripgrep-yrwfzynx.js} +80 -80
- package/dist/chunks/{ripgrep-hmgps8tw.js → ripgrep-ywrpet35.js} +28 -28
- package/dist/chunks/{ripgrep-yav0wb01.js → ripgrep-z1ggpzpx.js} +5 -5
- package/dist/chunks/{ripgrep-rn08qtw3.js → ripgrep-z55zg8mm.js} +14 -14
- package/dist/chunks/{ripgrep-spcybxfk.js → ripgrep-z7669q6a.js} +4 -4
- package/dist/chunks/{ripgrep-28k0q56j.js → ripgrep-zky955f5.js} +14 -14
- package/dist/codemode/instructions.js +6 -6
- package/dist/command.js +64 -64
- package/dist/config/discovery.js +66 -66
- package/dist/config/normalize.js +78 -78
- package/dist/config/plugin/agent.js +92 -92
- package/dist/config/plugin/command.js +175 -175
- package/dist/config/plugin/compaction.js +121 -121
- package/dist/config/plugin/compatibility.js +108 -108
- package/dist/config/plugin/formatter.js +91 -91
- package/dist/config/plugin/image.js +90 -90
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +90 -90
- package/dist/config/plugin/mcp.js +97 -97
- package/dist/config/plugin/policy.js +91 -91
- package/dist/config/plugin/provider.js +90 -90
- package/dist/config/plugin/reference.js +92 -92
- package/dist/config/plugin/shell.js +92 -92
- package/dist/config/plugin/skill-file.js +81 -81
- package/dist/config/plugin/skill.js +111 -111
- package/dist/config/plugin/snapshot.js +90 -90
- package/dist/config/plugin/source.js +93 -93
- package/dist/config/plugin/tool-output.js +91 -91
- package/dist/config/plugin/websearch.js +91 -91
- package/dist/config/plugin/worktree.js +92 -92
- package/dist/config.js +96 -96
- package/dist/credential.js +66 -66
- package/dist/database/database.js +53 -53
- package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +6 -6
- package/dist/database/drizzle/index.js +8 -8
- package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
- package/dist/database/drizzle.js +8 -8
- package/dist/database/migration.gen.js +42 -42
- package/dist/database/migration.js +44 -44
- package/dist/database/v1-migration.bun.js +11 -11
- package/dist/effect/app-node-builder.js +238 -238
- package/dist/environment/environment.js +70 -70
- package/dist/environment/index.js +70 -70
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +84 -84
- package/dist/file-mutation.js +71 -71
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +187 -187
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +79 -79
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +80 -80
- package/dist/form.js +65 -65
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +69 -69
- package/dist/generate.js +82 -82
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +80 -80
- package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +2 -2
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +314 -314
- package/dist/instruction-discovery.js +69 -69
- package/dist/instructions/builtins.js +69 -69
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +70 -70
- package/dist/job.js +63 -63
- package/dist/kv.js +58 -58
- package/dist/location-activity.js +72 -72
- package/dist/location-lifecycle.js +87 -87
- package/dist/location-service-map.js +68 -68
- package/dist/location-services.js +312 -312
- package/dist/location.js +69 -69
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +19 -19
- package/dist/mcp/index.js +83 -83
- package/dist/mcp/instructions.js +106 -106
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +67 -67
- package/dist/modal/models.js +80 -80
- package/dist/model-resolver.js +79 -79
- package/dist/model.js +79 -79
- package/dist/models-dev.js +87 -87
- package/dist/permission/saved.js +71 -71
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +89 -89
- package/dist/persistent-pty/index.js +73 -73
- package/dist/persistent-pty.js +57 -57
- package/dist/plugin/agent.js +61 -61
- package/dist/plugin/command.js +78 -78
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +180 -180
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +286 -285
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +91 -91
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +82 -82
- package/dist/plugin/provider/amazon-bedrock.js +71 -71
- package/dist/plugin/provider/azure.js +91 -91
- package/dist/plugin/provider/chatgpt.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +88 -88
- package/dist/plugin/provider/cloudflare-workers-ai.js +88 -88
- package/dist/plugin/provider/configured.js +87 -87
- package/dist/plugin/provider/digitalocean.js +73 -73
- package/dist/plugin/provider/github-copilot.js +75 -75
- package/dist/plugin/provider/gitlab.js +73 -73
- package/dist/plugin/provider/google-vertex.js +88 -88
- package/dist/plugin/provider/llmgateway.js +61 -61
- package/dist/plugin/provider/lmstudio.js +97 -97
- package/dist/plugin/provider/local.js +94 -94
- package/dist/plugin/provider/modal.js +73 -73
- package/dist/plugin/provider/ollama.js +97 -97
- package/dist/plugin/provider/openai.js +89 -89
- package/dist/plugin/provider/opencode.js +81 -78
- package/dist/plugin/provider/openrouter.js +72 -72
- package/dist/plugin/provider/poe.js +61 -61
- package/dist/plugin/provider/sap-ai-core.js +71 -71
- package/dist/plugin/provider/snowflake-cortex.js +89 -89
- package/dist/plugin/provider/vercel.js +71 -71
- package/dist/plugin/provider/vllm.js +97 -97
- package/dist/plugin/provider/xai.js +72 -72
- package/dist/plugin/provider.js +133 -130
- package/dist/plugin/sdk.js +61 -61
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +109 -109
- package/dist/plugin/supervisor.js +305 -304
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/vcs/git.js +68 -68
- package/dist/plugin/vcs/hg.js +68 -68
- package/dist/plugin/verbosity.js +74 -74
- package/dist/plugin/warming.js +89 -89
- package/dist/plugin/websearch/exa.js +4 -4
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +186 -186
- package/dist/project/schema.js +7 -7
- package/dist/project/sql.js +2 -2
- package/dist/project.js +70 -70
- package/dist/provider.js +78 -78
- package/dist/pty.js +80 -80
- package/dist/reference/instructions.js +70 -70
- package/dist/reference.js +72 -72
- package/dist/repository-cache.js +63 -63
- package/dist/ripgrep.js +71 -71
- package/dist/rpc.js +68 -68
- package/dist/session/command.js +59 -59
- package/dist/session/compaction.js +106 -106
- package/dist/session/context.js +129 -129
- package/dist/session/diff.js +69 -69
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +117 -117
- package/dist/session/execution.js +106 -106
- package/dist/session/generate.js +128 -128
- package/dist/session/history.js +9 -9
- package/dist/session/inbox.js +72 -72
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +64 -64
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +77 -77
- package/dist/session/model-request.js +94 -94
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +106 -106
- package/dist/session/projector.js +68 -68
- package/dist/session/prompt.js +85 -85
- package/dist/session/revert.js +74 -74
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +190 -190
- package/dist/session/runner/model.js +79 -79
- package/dist/session/runner/publish-llm-event.js +91 -91
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +100 -100
- package/dist/session/runner/to-llm-message.js +10 -10
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +133 -133
- package/dist/session/shell.js +101 -101
- package/dist/session/skill.js +83 -83
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +70 -70
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +132 -132
- package/dist/session/to-session-error.js +90 -90
- package/dist/session/transfer.js +114 -114
- package/dist/session.js +177 -177
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +104 -104
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +85 -85
- package/dist/skill.js +94 -94
- package/dist/snapshot.js +73 -73
- package/dist/tool/mcp.js +107 -107
- package/dist/tool/plugin/edit.js +94 -94
- package/dist/tool/plugin/glob.js +98 -98
- package/dist/tool/plugin/grep.js +98 -98
- package/dist/tool/plugin/mcp-resource.js +97 -97
- package/dist/tool/plugin/opencode.js +87 -87
- package/dist/tool/plugin/patch.js +96 -96
- package/dist/tool/plugin/question.js +85 -85
- package/dist/tool/plugin/read.js +99 -99
- package/dist/tool/plugin/shell.js +179 -179
- package/dist/tool/plugin/skill.js +87 -87
- package/dist/tool/plugin/subagent.js +180 -180
- package/dist/tool/plugin/todo.js +112 -112
- package/dist/tool/plugin/webfetch.js +90 -90
- package/dist/tool/plugin/websearch.js +94 -94
- package/dist/tool/plugin/write.js +96 -96
- package/dist/tool/read-filesystem.js +78 -78
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +11 -11
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- package/dist/types/voice.d.ts +30 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +72 -72
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +74 -74
- package/dist/vcs.js +71 -71
- package/dist/voice.js +67 -67
- package/dist/websearch.js +67 -67
- package/dist/wellknown/plugin.js +57 -57
- package/dist/wellknown.js +62 -62
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +63 -63
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree/strategies.js +70 -70
- package/dist/worktree.js +78 -78
- package/package.json +8 -8
- package/dist/chunks/ripgrep-g32r42h9.js +0 -257
- package/dist/chunks/ripgrep-t23bw0vy.js +0 -26
- /package/dist/chunks/{ripgrep-t1qm87d4.js → ripgrep-14w7p54a.js} +0 -0
- /package/dist/chunks/{ripgrep-jwv7ab79.js → ripgrep-3mkjzvwp.js} +0 -0
- /package/dist/chunks/{ripgrep-034tev2y.js → ripgrep-aj7mw0zk.js} +0 -0
- /package/dist/chunks/{ripgrep-1nwxscpy.js → ripgrep-x6pyv2yz.js} +0 -0
- /package/dist/chunks/{ripgrep-906y5cdw.js → ripgrep-yrbjxrxk.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./ripgrep-
|
|
3
|
+
} from "./ripgrep-72x17vkx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./ripgrep-
|
|
5
|
+
Service68
|
|
6
|
+
} from "./ripgrep-50ttpepc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./ripgrep-
|
|
8
|
+
Service14
|
|
9
|
+
} from "./ripgrep-b7pfhk9a.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
12
|
} from "./ripgrep-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info4,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./ripgrep-
|
|
19
|
+
} from "./ripgrep-hs6ysvtc.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
22
|
} from "./ripgrep-9rqn6x4v.js";
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin31,
|
|
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 Plugin31 = {
|
|
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* Service14;
|
|
104
|
+
const permission = yield* Service68;
|
|
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 Plugin48 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info4,
|
|
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, Plugin31, exports_opencode };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./ripgrep-
|
|
2
|
+
Service80
|
|
3
|
+
} from "./ripgrep-a3w6cej7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./ripgrep-
|
|
5
|
+
Service65
|
|
6
|
+
} from "./ripgrep-57pprckc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service51,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./ripgrep-
|
|
11
|
+
} from "./ripgrep-cph4sz5z.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./ripgrep-
|
|
13
|
+
Service12
|
|
14
|
+
} from "./ripgrep-k8yk4ekq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./ripgrep-
|
|
16
|
+
Service68
|
|
17
|
+
} from "./ripgrep-50ttpepc.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service14,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./ripgrep-
|
|
21
|
+
} from "./ripgrep-b7pfhk9a.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
24
|
} from "./ripgrep-6prwharc.js";
|
|
@@ -30,17 +30,17 @@ import {
|
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input7,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin24,
|
|
36
|
+
name: () => name7
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name7 = "edit";
|
|
43
|
+
var Input7 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin24 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service14;
|
|
197
|
+
const fileMutation = yield* Service51;
|
|
198
|
+
const environment = yield* Service65;
|
|
199
|
+
const formatter = yield* Service12;
|
|
200
|
+
const location = yield* Service80;
|
|
201
|
+
const permission = yield* Service68;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name7,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input7,
|
|
207
|
+
output: Output5,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin45 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name7, Input7, Output5, Plugin24, exports_edit };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./ripgrep-
|
|
2
|
+
Service73,
|
|
3
|
+
node77
|
|
4
|
+
} from "./ripgrep-pa098ddb.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./ripgrep-
|
|
7
|
+
} from "./ripgrep-my4zabxr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./ripgrep-9rqn6x4v.js";
|
|
@@ -14,9 +14,9 @@ var exports_model = {};
|
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service41,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node43,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service41 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service73;
|
|
59
|
+
return Service41.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node43 = makeLocationNode({ service: Service41, layer, deps: [node77] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service41, resolved2, node43, exports_model };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./ripgrep-
|
|
3
|
+
} from "./ripgrep-8wx9bhg6.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./ripgrep-
|
|
6
|
+
} from "./ripgrep-d3fk46xw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./ripgrep-
|
|
8
|
+
Service47,
|
|
9
|
+
Event8
|
|
10
|
+
} from "./ripgrep-989d504g.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service47;
|
|
42
42
|
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event8.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./ripgrep-
|
|
2
|
+
Service55
|
|
3
|
+
} from "./ripgrep-rbnhhjf8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./ripgrep-
|
|
5
|
+
Service9
|
|
6
|
+
} from "./ripgrep-hxsbxgw0.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
9
|
} from "./ripgrep-qsdy395h.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin38
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin38 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service55;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin17 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin38, exports_compaction };
|
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./ripgrep-
|
|
4
|
+
} from "./ripgrep-nyg27w76.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./ripgrep-
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./ripgrep-a3w6cej7.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
12
|
+
Service75,
|
|
13
13
|
node79
|
|
14
|
-
} from "./ripgrep-
|
|
14
|
+
} from "./ripgrep-d3fk46xw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./ripgrep-
|
|
16
|
+
ID18,
|
|
17
|
+
Service84,
|
|
18
|
+
node88
|
|
19
|
+
} from "./ripgrep-prsxfqy1.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./ripgrep-
|
|
22
|
+
} from "./ripgrep-yj7k2rcj.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./ripgrep-
|
|
25
|
+
} from "./ripgrep-s8d7rejh.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./ripgrep-
|
|
28
|
+
} from "./ripgrep-z1ggpzpx.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./ripgrep-
|
|
30
|
+
Service69,
|
|
31
|
+
node73
|
|
32
|
+
} from "./ripgrep-xg2cxak3.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./ripgrep-
|
|
35
|
+
} from "./ripgrep-50ttpepc.js";
|
|
36
36
|
import {
|
|
37
37
|
make14
|
|
38
|
-
} from "./ripgrep-
|
|
38
|
+
} from "./ripgrep-axkwkzd9.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./ripgrep-
|
|
43
|
-
import {
|
|
44
|
-
Service23,
|
|
45
|
-
node26
|
|
46
|
-
} from "./ripgrep-ww55sn04.js";
|
|
40
|
+
Service45,
|
|
41
|
+
node47
|
|
42
|
+
} from "./ripgrep-n4h5z8fw.js";
|
|
47
43
|
import {
|
|
48
44
|
Service33,
|
|
49
|
-
|
|
50
|
-
} from "./ripgrep-
|
|
45
|
+
node36
|
|
46
|
+
} from "./ripgrep-09c1zjrt.js";
|
|
51
47
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./ripgrep-
|
|
48
|
+
Service43,
|
|
49
|
+
node45
|
|
50
|
+
} from "./ripgrep-xc4hpcyp.js";
|
|
55
51
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
} from "./ripgrep-
|
|
52
|
+
Service27,
|
|
53
|
+
node30
|
|
54
|
+
} from "./ripgrep-pz39tkx9.js";
|
|
59
55
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} from "./ripgrep-
|
|
56
|
+
Service26,
|
|
57
|
+
node29
|
|
58
|
+
} from "./ripgrep-hhvzr4qm.js";
|
|
63
59
|
import {
|
|
64
|
-
|
|
60
|
+
Service23,
|
|
65
61
|
node27
|
|
66
|
-
} from "./ripgrep-
|
|
62
|
+
} from "./ripgrep-9xj3p3b6.js";
|
|
67
63
|
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./ripgrep-
|
|
64
|
+
Service32,
|
|
65
|
+
node35
|
|
66
|
+
} from "./ripgrep-pq2gcbye.js";
|
|
71
67
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./ripgrep-
|
|
68
|
+
Service24,
|
|
69
|
+
node28
|
|
70
|
+
} from "./ripgrep-x831e2b7.js";
|
|
75
71
|
import {
|
|
76
|
-
|
|
72
|
+
Service29,
|
|
77
73
|
node32
|
|
78
|
-
} from "./ripgrep-
|
|
74
|
+
} from "./ripgrep-gjbmpe49.js";
|
|
75
|
+
import {
|
|
76
|
+
Service41,
|
|
77
|
+
node43
|
|
78
|
+
} from "./ripgrep-y2w3p8tb.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
81
|
} from "./ripgrep-9rqn6x4v.js";
|
|
@@ -83,33 +83,33 @@ import {
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service22,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node26
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service22 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
97
|
-
const model = yield*
|
|
94
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service84;
|
|
96
|
+
const builtins = yield* Service33;
|
|
97
|
+
const model = yield* Service75;
|
|
98
98
|
const db = (yield* Service86).db;
|
|
99
|
-
const discovery = yield*
|
|
100
|
-
const entries = yield*
|
|
101
|
-
const location = yield*
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
108
|
-
const store = yield*
|
|
109
|
-
const registry = yield*
|
|
99
|
+
const discovery = yield* Service45;
|
|
100
|
+
const entries = yield* Service24;
|
|
101
|
+
const location = yield* Service80;
|
|
102
|
+
const mcpInstructions = yield* Service26;
|
|
103
|
+
const mcpTools = yield* Service27;
|
|
104
|
+
const models = yield* Service41;
|
|
105
|
+
const request = yield* Service29;
|
|
106
|
+
const referenceInstructions = yield* Service23;
|
|
107
|
+
const skillInstructions = yield* Service32;
|
|
108
|
+
const store = yield* Service69;
|
|
109
|
+
const registry = yield* Service43;
|
|
110
110
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
|
-
const agent = yield* agents.get(
|
|
112
|
+
const agent = yield* agents.get(ID18.make("title"));
|
|
113
113
|
if (!agent)
|
|
114
114
|
return;
|
|
115
115
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service22.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node26 = makeLocationNode({
|
|
203
|
+
service: Service22,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
|
-
|
|
206
|
+
node88,
|
|
207
207
|
node79,
|
|
208
208
|
node90,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
node24,
|
|
212
|
-
node86,
|
|
213
|
-
node19,
|
|
209
|
+
node36,
|
|
210
|
+
node47,
|
|
214
211
|
node28,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
node71,
|
|
212
|
+
node84,
|
|
213
|
+
node29,
|
|
214
|
+
node30,
|
|
219
215
|
node27,
|
|
220
|
-
|
|
216
|
+
node43,
|
|
217
|
+
node32,
|
|
218
|
+
node73,
|
|
219
|
+
node35,
|
|
220
|
+
node45
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service22, node26, exports_context };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./ripgrep-
|
|
2
|
+
Service78
|
|
3
|
+
} from "./ripgrep-kzrm98pv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./ripgrep-
|
|
5
|
+
Service68
|
|
6
|
+
} from "./ripgrep-50ttpepc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./ripgrep-
|
|
13
|
+
Service17
|
|
14
|
+
} from "./ripgrep-0nmqjfd0.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
17
|
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input3,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin19,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description2,
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name3 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input3 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin19 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service68;
|
|
53
|
+
const forms = yield* Service78;
|
|
54
|
+
const websearch = yield* Service17;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name3,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description2,
|
|
59
|
+
input: Input3,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name3,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name3];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name3, NO_RESULTS2, description2, Input3, Plugin19, exports_websearch };
|