@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,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./ripgrep-
|
|
5
|
+
} from "./ripgrep-86gy2e90.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./ripgrep-
|
|
10
|
+
Info20
|
|
11
|
+
} from "./ripgrep-d3fk46xw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./ripgrep-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -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 = ID11.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 Info20.make({
|
|
122
|
+
...Info20.default(ID12.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID11.make(remote.id),
|
|
125
|
+
providerID: ID12.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"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./ripgrep-
|
|
3
|
+
Service55
|
|
4
|
+
} from "./ripgrep-rbnhhjf8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./ripgrep-
|
|
6
|
+
Service72
|
|
7
|
+
} from "./ripgrep-68zvyq3x.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
10
|
} from "./ripgrep-qsdy395h.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin48
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin48 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service55;
|
|
27
|
+
const output = yield* Service72;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin4 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin48, exports_tool_output };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./ripgrep-
|
|
2
|
+
Service56
|
|
3
|
+
} from "./ripgrep-7jxgd9ay.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./ripgrep-
|
|
5
|
+
Service80
|
|
6
|
+
} from "./ripgrep-a3w6cej7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./ripgrep-
|
|
8
|
+
Service55
|
|
9
|
+
} from "./ripgrep-rbnhhjf8.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./ripgrep-
|
|
12
|
+
} from "./ripgrep-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./ripgrep-
|
|
15
|
+
Service45
|
|
16
|
+
} from "./ripgrep-n4h5z8fw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./ripgrep-9rqn6x4v.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin34
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin34 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service45;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service55;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service80;
|
|
44
|
+
const watcher = yield* Service56;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -174,4 +174,4 @@ function isUrl(source) {
|
|
|
174
174
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
export {
|
|
177
|
+
export { Plugin34, exports_instruction };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./ripgrep-
|
|
4
|
+
} from "./ripgrep-8wx9bhg6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./ripgrep-
|
|
6
|
+
node59
|
|
7
|
+
} from "./ripgrep-7jxgd9ay.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./ripgrep-
|
|
9
|
+
Service8,
|
|
10
|
+
node10
|
|
11
|
+
} from "./ripgrep-5cfq97pr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./ripgrep-
|
|
13
|
+
Service49
|
|
14
|
+
} from "./ripgrep-3220qrgn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./ripgrep-
|
|
16
|
+
Service25
|
|
17
|
+
} from "./ripgrep-q509s3k3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
node17,
|
|
20
20
|
ID2
|
|
21
|
-
} from "./ripgrep-
|
|
21
|
+
} from "./ripgrep-zky955f5.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./ripgrep-
|
|
23
|
+
Service5,
|
|
24
|
+
node6
|
|
25
|
+
} from "./ripgrep-g0445xdp.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./ripgrep-
|
|
30
|
+
} from "./ripgrep-pnjc2gnv.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make7,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./ripgrep-
|
|
34
|
+
} from "./ripgrep-s9x4dfc6.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./ripgrep-
|
|
37
|
+
Service4,
|
|
38
|
+
node5
|
|
39
|
+
} from "./ripgrep-mda08b8j.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./ripgrep-
|
|
41
|
+
Service3,
|
|
42
|
+
node4
|
|
43
|
+
} from "./ripgrep-prq7hedt.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
46
|
} from "./ripgrep-9rqn6x4v.js";
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer3,
|
|
53
|
+
node: () => node3
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -136,15 +136,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
136
136
|
pending: [...pending]
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
142
|
-
const sdk = yield*
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
139
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
+
const managed = yield* Service49;
|
|
141
|
+
const registry = yield* Service25;
|
|
142
|
+
const sdk = yield* Service4;
|
|
143
|
+
const instance = yield* Service5;
|
|
144
|
+
const sources = yield* Service8;
|
|
145
|
+
const modules = yield* make7();
|
|
146
146
|
const bus = yield* Service85;
|
|
147
|
-
const updates = yield*
|
|
147
|
+
const updates = yield* Service3;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
node11,
|
|
223
|
+
node17,
|
|
224
|
+
node5,
|
|
226
225
|
node6,
|
|
227
|
-
|
|
226
|
+
node10,
|
|
227
|
+
node4,
|
|
228
228
|
node89,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node59,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export {
|
|
240
|
+
export { layer3, node3, exports_supervisor };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./ripgrep-
|
|
4
|
+
} from "./ripgrep-8wx9bhg6.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./ripgrep-
|
|
7
|
+
} from "./ripgrep-qmm8f62j.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
10
|
} from "./ripgrep-3t0ybcrp.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError2,
|
|
20
|
+
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service19,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
available: () => available2,
|
|
25
|
+
configured: () => configured2,
|
|
26
|
+
layer: () => layer9,
|
|
27
|
+
node: () => node22
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,25 +35,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
+
var Options2 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service19 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service85;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service19.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer9 = makeLayer();
|
|
263
|
+
var configured2 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service19,
|
|
265
|
+
layer: options === undefined ? layer9 : makeLayer(options),
|
|
266
266
|
deps: [node89, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node22 = configured2();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options2, UnavailableError2, NotFoundError2, Service19, layer9, configured2, node22, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
requestExecutor2
|
|
3
3
|
} from "./ripgrep-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./ripgrep-
|
|
5
|
+
ID13,
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./ripgrep-1rwjpbn5.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
11
|
} from "./ripgrep-9rqn6x4v.js";
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service58,
|
|
18
18
|
UnavailableError: () => UnavailableError4,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer26,
|
|
21
|
+
node: () => node61
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -37,18 +37,28 @@ class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service58 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer26 = Layer.effect(Service58, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
|
|
44
|
+
const integrations = yield* Service77;
|
|
45
|
+
let hosted;
|
|
46
|
+
const findConnection = (provider) => integrations.get(ID13.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
|
|
46
47
|
const models = Effect.fn("Voice.models")(function* () {
|
|
47
|
-
const
|
|
48
|
+
const host = hosted;
|
|
49
|
+
const list = yield* Effect.forEach(Realtime.engines, (engine) => host?.models.includes(engine.model) ? Effect.succeed({
|
|
48
50
|
model: engine.model,
|
|
49
51
|
provider: engine.provider,
|
|
50
52
|
transports: engine.transports,
|
|
51
|
-
available:
|
|
53
|
+
available: true,
|
|
54
|
+
integration: host.integration,
|
|
55
|
+
...host.workspace === undefined ? {} : { workspace: host.workspace }
|
|
56
|
+
}) : findConnection(engine.provider).pipe(Effect.map((connection) => ({
|
|
57
|
+
model: engine.model,
|
|
58
|
+
provider: engine.provider,
|
|
59
|
+
transports: engine.transports,
|
|
60
|
+
available: Boolean(connection),
|
|
61
|
+
...connection ? { integration: engine.provider } : {}
|
|
52
62
|
}))));
|
|
53
63
|
const first = list.find((item) => item.available)?.model;
|
|
54
64
|
return first ? { models: list, default: first } : { models: list };
|
|
@@ -57,6 +67,8 @@ var layer24 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
57
67
|
const engine = Realtime.engine(input.model);
|
|
58
68
|
if (!engine)
|
|
59
69
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
70
|
+
if (hosted?.models.includes(input.model))
|
|
71
|
+
return yield* hosted.session(input);
|
|
60
72
|
const connection = yield* findConnection(engine.provider);
|
|
61
73
|
const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
|
|
62
74
|
if (credential?.type !== "key")
|
|
@@ -64,14 +76,27 @@ var layer24 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
64
76
|
service: engine.provider,
|
|
65
77
|
message: missingKeyMessage[engine.provider]
|
|
66
78
|
});
|
|
67
|
-
|
|
79
|
+
const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
|
|
80
|
+
return { transport };
|
|
81
|
+
});
|
|
82
|
+
const instruct = Effect.fn("Voice.instruct")(function* (input) {
|
|
83
|
+
if (!hosted)
|
|
84
|
+
return yield* new InvalidRequestError2({ message: "Only hosted voice sessions take instructions" });
|
|
85
|
+
return yield* hosted.instruct(input);
|
|
86
|
+
});
|
|
87
|
+
return Service58.of({
|
|
88
|
+
models,
|
|
89
|
+
session,
|
|
90
|
+
instruct,
|
|
91
|
+
host: (host) => Effect.sync(() => {
|
|
92
|
+
hosted = host;
|
|
93
|
+
})
|
|
68
94
|
});
|
|
69
|
-
return Service62.of({ models, session });
|
|
70
95
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
96
|
+
var node61 = makeLocationNode({
|
|
97
|
+
service: Service58,
|
|
98
|
+
layer: layer26,
|
|
99
|
+
deps: [node81, requestExecutor2]
|
|
75
100
|
});
|
|
76
101
|
var missingKeyMessage = {
|
|
77
102
|
openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
|
|
@@ -79,4 +104,4 @@ var missingKeyMessage = {
|
|
|
79
104
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
80
105
|
};
|
|
81
106
|
|
|
82
|
-
export { InvalidRequestError2, UnavailableError4,
|
|
107
|
+
export { InvalidRequestError2, UnavailableError4, Service58, layer26, node61, exports_voice };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./ripgrep-
|
|
3
|
+
} from "./ripgrep-8eadsrjy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./ripgrep-
|
|
7
|
+
} from "./ripgrep-1rwjpbn5.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|