@opencode/core 0.0.0-dev-21458 → 0.0.0-dev-21460
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{ripgrep-hg8tkm75.js → repository-cache-01p087vs.js} +8 -8
- package/dist/chunks/{ripgrep-4d2gzzb2.js → repository-cache-03vjgxp8.js} +3 -3
- package/dist/chunks/{ripgrep-hc033k72.js → repository-cache-09ypmjbv.js} +4 -4
- package/dist/chunks/{ripgrep-53tbswfk.js → repository-cache-0b36yc2a.js} +39 -39
- package/dist/chunks/{ripgrep-vbgdajqt.js → repository-cache-0e8pwxm1.js} +3 -3
- package/dist/chunks/{ripgrep-xj1aydcy.js → repository-cache-0fhevdjt.js} +5 -5
- package/dist/chunks/{ripgrep-rhjbct0v.js → repository-cache-0gdmqesm.js} +4 -4
- package/dist/chunks/{ripgrep-bfrs3k34.js → repository-cache-0krdeasz.js} +4 -4
- package/dist/chunks/{ripgrep-8w348b9w.js → repository-cache-0q346xwt.js} +7 -7
- package/dist/chunks/{ripgrep-9hwaqfsw.js → repository-cache-0r3c1bmw.js} +5 -5
- package/dist/chunks/{ripgrep-ms93yq6r.js → repository-cache-0tzy42a9.js} +8 -8
- package/dist/chunks/{ripgrep-0vbcp93d.js → repository-cache-0vbcp93d.js} +2 -2
- package/dist/chunks/{ripgrep-9f2mr1jq.js → repository-cache-0xxnzx42.js} +11 -11
- package/dist/chunks/{ripgrep-am1tmpj5.js → repository-cache-0zxm2zaw.js} +10 -10
- package/dist/chunks/{ripgrep-fnfphwr6.js → repository-cache-1kccv5dj.js} +7 -7
- package/dist/chunks/{ripgrep-ssc22y53.js → repository-cache-1n547s99.js} +27 -27
- package/dist/chunks/{ripgrep-b19v66bv.js → repository-cache-1p6gkt63.js} +15 -15
- package/dist/chunks/{ripgrep-w39jehkq.js → repository-cache-1pxz8ven.js} +5 -5
- package/dist/chunks/{ripgrep-hsmryvj1.js → repository-cache-1rft7swv.js} +4 -4
- package/dist/chunks/{ripgrep-1ep2p91f.js → repository-cache-27w5k9zf.js} +2 -2
- package/dist/chunks/{ripgrep-t6z5h8be.js → repository-cache-2fpbmj4a.js} +17 -17
- package/dist/chunks/{ripgrep-607tc6va.js → repository-cache-2k8khapm.js} +5 -5
- package/dist/chunks/{ripgrep-vdmef0hv.js → repository-cache-2vwvyx2g.js} +36 -36
- package/dist/chunks/{ripgrep-jwpb8arh.js → repository-cache-2wt8nezh.js} +17 -17
- package/dist/chunks/{ripgrep-hes8zqkx.js → repository-cache-31g1jsst.js} +9 -9
- package/dist/chunks/{ripgrep-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3hwn7j4h.js → repository-cache-3hwn7j4h.js} +2 -2
- package/dist/chunks/{ripgrep-9wetr4xy.js → repository-cache-3m1qjwf2.js} +8 -8
- package/dist/chunks/{ripgrep-868jxd9s.js → repository-cache-3mypk436.js} +32 -32
- package/dist/chunks/{ripgrep-hmgps8tw.js → repository-cache-3n5vhy7z.js} +24 -24
- package/dist/chunks/{ripgrep-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-sqq24m9r.js → repository-cache-3wsyhczt.js} +32 -32
- package/dist/chunks/{ripgrep-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-b0k3m5sv.js → repository-cache-42q84ag7.js} +40 -40
- package/dist/chunks/{ripgrep-m1jhgcxs.js → repository-cache-450x4k77.js} +3 -3
- package/dist/chunks/{ripgrep-n7qpxvtd.js → repository-cache-46xapkgq.js} +21 -21
- package/dist/chunks/{ripgrep-dd35sy3n.js → repository-cache-4n1wqqn5.js} +2 -2
- package/dist/chunks/{ripgrep-4bh89e3b.js → repository-cache-4pka7j6v.js} +5 -5
- package/dist/chunks/{ripgrep-qcqpgb6f.js → repository-cache-4r758bxz.js} +31 -31
- package/dist/chunks/{ripgrep-8xxtntea.js → repository-cache-4tjj4m8n.js} +11 -11
- package/dist/chunks/{ripgrep-rxkx3yrv.js → repository-cache-4tsdpayj.js} +31 -31
- package/dist/chunks/{ripgrep-amt7ef5n.js → repository-cache-4zjv7vh9.js} +8 -8
- package/dist/chunks/{ripgrep-54ma36ye.js → repository-cache-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-6m78wcz4.js → repository-cache-5ky00pdm.js} +26 -26
- package/dist/chunks/{ripgrep-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-e80seqcp.js → repository-cache-5rzwp8tz.js} +3 -3
- package/dist/chunks/{ripgrep-4w1f8scj.js → repository-cache-5zn069ks.js} +20 -20
- package/dist/chunks/{ripgrep-1gbrraea.js → repository-cache-63rqhaqj.js} +14 -14
- package/dist/chunks/{ripgrep-6827pfxn.js → repository-cache-6827pfxn.js} +1 -1
- package/dist/chunks/{ripgrep-6ac9zck1.js → repository-cache-6ac9zck1.js} +2 -2
- package/dist/chunks/{ripgrep-7fkffz83.js → repository-cache-6pc27hjz.js} +8 -8
- package/dist/chunks/{ripgrep-6xb47vfp.js → repository-cache-6xb47vfp.js} +1 -1
- package/dist/chunks/{ripgrep-e0b2kra3.js → repository-cache-6yncxzed.js} +11 -11
- package/dist/chunks/{ripgrep-kkve0fs6.js → repository-cache-6ypv3jsn.js} +34 -34
- package/dist/chunks/{ripgrep-cne4vwe6.js → repository-cache-70q6x9sh.js} +23 -23
- package/dist/chunks/{ripgrep-775gj3j1.js → repository-cache-775gj3j1.js} +2 -2
- package/dist/chunks/{ripgrep-ycn2m60h.js → repository-cache-7amepzc8.js} +11 -11
- package/dist/chunks/{ripgrep-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-bzywf3e9.js → repository-cache-7c5qva4r.js} +3 -3
- package/dist/chunks/{ripgrep-dzrdd8y4.js → repository-cache-7nm86vqr.js} +1 -1
- package/dist/chunks/{ripgrep-zzdkzef9.js → repository-cache-7q1pjkp3.js} +12 -12
- package/dist/chunks/{ripgrep-dadd6d4y.js → repository-cache-7q5zkc9a.js} +19 -19
- package/dist/chunks/{ripgrep-vbc0n61v.js → repository-cache-7q7gc744.js} +21 -21
- package/dist/chunks/{ripgrep-eydep5ty.js → repository-cache-7yn4yp07.js} +16 -16
- package/dist/chunks/{ripgrep-y6mhz57t.js → repository-cache-80scg3y3.js} +4 -4
- package/dist/chunks/{ripgrep-89znhe33.js → repository-cache-89znhe33.js} +1 -1
- package/dist/chunks/{ripgrep-230q3gjt.js → repository-cache-8cgdxtst.js} +19 -19
- package/dist/chunks/{ripgrep-swz7b57b.js → repository-cache-8hr3x0db.js} +2 -2
- package/dist/chunks/{ripgrep-8m6m0r52.js → repository-cache-8m6m0r52.js} +1 -1
- package/dist/chunks/{ripgrep-8mywswrd.js → repository-cache-8mywswrd.js} +1 -1
- package/dist/chunks/{ripgrep-xw9fg8fb.js → repository-cache-8vcf4cwr.js} +2 -2
- package/dist/chunks/{ripgrep-kax56nr6.js → repository-cache-8wejdmph.js} +11 -11
- package/dist/chunks/{ripgrep-gs3s1a1g.js → repository-cache-92swnv4m.js} +8 -8
- package/dist/chunks/{ripgrep-5rkje03p.js → repository-cache-98m99f87.js} +6 -6
- package/dist/chunks/{ripgrep-wh5v440s.js → repository-cache-9gbxqhfr.js} +3 -3
- package/dist/chunks/{ripgrep-bq4j2sbx.js → repository-cache-9n3ec7dh.js} +43 -43
- package/dist/chunks/{ripgrep-vr617c86.js → repository-cache-9nw2rpfz.js} +85 -85
- package/dist/chunks/{ripgrep-9cn598b5.js → repository-cache-9rmnry6z.js} +5 -5
- package/dist/chunks/{ripgrep-vhm2adcw.js → repository-cache-9t8688mm.js} +21 -21
- package/dist/chunks/{ripgrep-t1qm87d4.js → repository-cache-9ts5gs6y.js} +50 -50
- package/dist/chunks/{ripgrep-9wev2pgg.js → repository-cache-9wev2pgg.js} +1 -1
- package/dist/chunks/{ripgrep-a20pjse5.js → repository-cache-a20pjse5.js} +3 -3
- package/dist/chunks/{ripgrep-5tw2jtmr.js → repository-cache-a2abd7c8.js} +15 -15
- package/dist/chunks/{ripgrep-gdbaa3vm.js → repository-cache-a7fmgszc.js} +15 -15
- package/dist/chunks/{ripgrep-cz0dahpr.js → repository-cache-a7rvq0vj.js} +8 -8
- package/dist/chunks/{ripgrep-rncype5f.js → repository-cache-aa3p0grs.js} +19 -19
- package/dist/chunks/{ripgrep-9wn2agq9.js → repository-cache-acpej7js.js} +25 -25
- package/dist/chunks/{ripgrep-034tev2y.js → repository-cache-aj7mw0zk.js} +2 -2
- package/dist/chunks/{ripgrep-h0pyfwgt.js → repository-cache-ar1cg2aj.js} +34 -34
- package/dist/chunks/{ripgrep-emzsebxx.js → repository-cache-awbtvej0.js} +6 -6
- package/dist/chunks/{ripgrep-1sqf9bkf.js → repository-cache-axfvp7va.js} +8 -8
- package/dist/chunks/{ripgrep-yav0wb01.js → repository-cache-b0nz1egw.js} +8 -8
- package/dist/chunks/{ripgrep-06m8zqpz.js → repository-cache-b5cvzhy7.js} +27 -27
- package/dist/chunks/{ripgrep-1a2y92ex.js → repository-cache-b5pzk1w6.js} +28 -28
- package/dist/chunks/{ripgrep-zdxaswdy.js → repository-cache-b97d4gnm.js} +9 -9
- package/dist/chunks/{ripgrep-qw7cqan8.js → repository-cache-bcsnmsfv.js} +65 -65
- package/dist/chunks/{ripgrep-3fnjy7d5.js → repository-cache-begd6zth.js} +22 -22
- package/dist/chunks/{ripgrep-tkmw8vhp.js → repository-cache-bfnqc4d0.js} +15 -15
- package/dist/chunks/{ripgrep-anw46eb6.js → repository-cache-bfvhqt57.js} +6 -6
- package/dist/chunks/{ripgrep-gs3jaab1.js → repository-cache-bh8xtp3j.js} +27 -27
- package/dist/chunks/{ripgrep-245v63zg.js → repository-cache-bhdq219t.js} +11 -11
- package/dist/chunks/{ripgrep-hdavf2z4.js → repository-cache-bk7cr9nn.js} +9 -9
- package/dist/chunks/{ripgrep-bzeyqsqd.js → repository-cache-bzeyqsqd.js} +1 -1
- package/dist/chunks/{ripgrep-mr9jz2wx.js → repository-cache-c1p87g8p.js} +33 -33
- package/dist/chunks/{ripgrep-7bjfyzh8.js → repository-cache-c2qmhs8t.js} +45 -45
- package/dist/chunks/{ripgrep-4rb4nh12.js → repository-cache-c2stk2mm.js} +17 -17
- package/dist/chunks/{ripgrep-pazj47g9.js → repository-cache-c39s302y.js} +4 -4
- package/dist/chunks/{ripgrep-nj7hqrdc.js → repository-cache-cg54xxwj.js} +12 -12
- package/dist/chunks/{ripgrep-v0ymv6m8.js → repository-cache-cj61rx2c.js} +16 -16
- package/dist/chunks/{ripgrep-pwt87mrq.js → repository-cache-cmvvh89a.js} +11 -11
- package/dist/chunks/{ripgrep-vrwbrhmt.js → repository-cache-cq0ra0jh.js} +24 -24
- package/dist/chunks/{ripgrep-y11negt3.js → repository-cache-cqe88zww.js} +1 -1
- package/dist/chunks/{ripgrep-mg37qacw.js → repository-cache-d26ntzqk.js} +14 -14
- package/dist/chunks/{ripgrep-7v685v47.js → repository-cache-d7fp9s3w.js} +37 -37
- package/dist/chunks/{ripgrep-w19xc5wf.js → repository-cache-day0cpb0.js} +17 -17
- package/dist/chunks/{ripgrep-df173w7t.js → repository-cache-djg74ehg.js} +11 -11
- package/dist/chunks/{ripgrep-dpkg50ah.js → repository-cache-dpkg50ah.js} +1 -1
- package/dist/chunks/{ripgrep-y4fgtena.js → repository-cache-dpt9takt.js} +84 -84
- package/dist/chunks/{ripgrep-qqeeq2t9.js → repository-cache-drwq78ky.js} +7 -7
- package/dist/chunks/{ripgrep-kpd84ec7.js → repository-cache-dtnbwmg7.js} +11 -11
- package/dist/chunks/{ripgrep-ppdavc1e.js → repository-cache-e0hwqygg.js} +142 -142
- package/dist/chunks/{ripgrep-7t3xedjm.js → repository-cache-e4514827.js} +34 -34
- package/dist/chunks/{ripgrep-bstm3mwn.js → repository-cache-e6xd5sk6.js} +13 -13
- package/dist/chunks/{ripgrep-vep9yay1.js → repository-cache-e7gxy7fd.js} +4 -4
- package/dist/chunks/{ripgrep-cw4w83nc.js → repository-cache-ecj0sxev.js} +13 -13
- package/dist/chunks/{ripgrep-eej6y6fw.js → repository-cache-eej6y6fw.js} +2 -2
- package/dist/chunks/{ripgrep-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-bvkvrv05.js → repository-cache-eh4p6hf5.js} +31 -31
- package/dist/chunks/{ripgrep-1rw66me6.js → repository-cache-erjn3gam.js} +18 -18
- package/dist/chunks/{ripgrep-y24qngx4.js → repository-cache-es79jehb.js} +11 -11
- package/dist/chunks/{ripgrep-ww55sn04.js → repository-cache-etbdxt5c.js} +13 -13
- package/dist/chunks/{ripgrep-ff0c8932.js → repository-cache-f9056yzv.js} +11 -11
- package/dist/chunks/{ripgrep-2r6y34sj.js → repository-cache-f9h0bmn8.js} +11 -11
- package/dist/chunks/{ripgrep-e2qvw7zx.js → repository-cache-faasdkpb.js} +14 -14
- package/dist/chunks/{ripgrep-fcy631f0.js → repository-cache-fcy631f0.js} +1 -1
- package/dist/chunks/{ripgrep-ryb7mfzk.js → repository-cache-fdrztmbp.js} +18 -18
- package/dist/chunks/{ripgrep-abzgq1nw.js → repository-cache-fk6x8bjb.js} +7 -7
- package/dist/chunks/{ripgrep-dt0gb5zd.js → repository-cache-fmsvjh24.js} +21 -21
- package/dist/chunks/{ripgrep-dpf25vxh.js → repository-cache-fn3caeej.js} +12 -12
- package/dist/chunks/{ripgrep-1xpgrxnn.js → repository-cache-fr5g4ae7.js} +13 -13
- package/dist/chunks/{ripgrep-hdgw5fjw.js → repository-cache-g5wgwq6x.js} +8 -8
- package/dist/chunks/{ripgrep-ar5c37sv.js → repository-cache-g8bf95t1.js} +14 -14
- package/dist/chunks/{ripgrep-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-csqw7sk8.js → repository-cache-gf5160ad.js} +15 -15
- package/dist/chunks/{ripgrep-cv5sbdhn.js → repository-cache-ghnq0868.js} +18 -18
- package/dist/chunks/{ripgrep-68w7pmtx.js → repository-cache-gn85dn78.js} +10 -10
- package/dist/chunks/{ripgrep-dx1ezjzk.js → repository-cache-gne8f8zx.js} +8 -8
- package/dist/chunks/{ripgrep-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-07n27ccy.js → repository-cache-h9hmxamh.js} +25 -25
- package/dist/chunks/{ripgrep-5246atra.js → repository-cache-hcbxgsym.js} +6 -6
- package/dist/chunks/{ripgrep-rjsqaxa7.js → repository-cache-hcv80w8f.js} +6 -6
- package/dist/chunks/{ripgrep-hgz4x7wa.js → repository-cache-hgz4x7wa.js} +1 -1
- package/dist/chunks/{ripgrep-apt503cy.js → repository-cache-hsgb4j0v.js} +6 -6
- package/dist/chunks/{ripgrep-6t9ywwra.js → repository-cache-hwjkc1fd.js} +7 -7
- package/dist/chunks/{ripgrep-f9ewqnvf.js → repository-cache-hxnv0h4d.js} +30 -30
- package/dist/chunks/{ripgrep-725dzmat.js → repository-cache-j4xwnxxe.js} +22 -22
- package/dist/chunks/{ripgrep-q3myhh1r.js → repository-cache-j7e7jnf7.js} +22 -22
- package/dist/chunks/{ripgrep-f34pdxph.js → repository-cache-jgfm49py.js} +82 -28
- package/dist/chunks/{ripgrep-v9ep9kw5.js → repository-cache-jknb9njf.js} +31 -31
- package/dist/chunks/{ripgrep-7vyf5e2n.js → repository-cache-jp7rf1q7.js} +25 -25
- package/dist/chunks/{ripgrep-28k0q56j.js → repository-cache-jsdm87ms.js} +22 -22
- package/dist/chunks/{ripgrep-tzvv02w3.js → repository-cache-k0xvjywy.js} +54 -54
- package/dist/chunks/{ripgrep-68w3xa91.js → repository-cache-k332vpf5.js} +1 -1
- package/dist/chunks/{ripgrep-y8ycp07x.js → repository-cache-k7frbprm.js} +10 -10
- package/dist/chunks/{ripgrep-hxcjpjn2.js → repository-cache-ka6d3s58.js} +23 -23
- package/dist/chunks/{ripgrep-4kvg6bn8.js → repository-cache-kaa2ns5k.js} +23 -23
- package/dist/chunks/{ripgrep-1nwxscpy.js → repository-cache-kerhshr9.js} +5 -5
- package/dist/chunks/{ripgrep-n8gj4qy5.js → repository-cache-khan5c8r.js} +21 -21
- package/dist/chunks/{ripgrep-khmqacep.js → repository-cache-khmqacep.js} +1 -1
- package/dist/chunks/{ripgrep-dq407baf.js → repository-cache-kmj26603.js} +3 -3
- package/dist/chunks/{ripgrep-ag4rn41e.js → repository-cache-kne8f3cn.js} +4 -4
- package/dist/chunks/{ripgrep-kwb1v3vj.js → repository-cache-kwb1v3vj.js} +1 -1
- package/dist/chunks/repository-cache-ky0e2j5w.js +523 -0
- package/dist/chunks/{ripgrep-w7vtcvrx.js → repository-cache-m2r0nwr4.js} +33 -33
- package/dist/chunks/{ripgrep-2h0q315h.js → repository-cache-m8r31wvh.js} +12 -12
- package/dist/chunks/{ripgrep-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-maspj1v3.js → repository-cache-maspj1v3.js} +1 -1
- package/dist/chunks/{ripgrep-7em0bpab.js → repository-cache-maxwxnrc.js} +22 -22
- package/dist/chunks/{ripgrep-mktar7aj.js → repository-cache-mktar7aj.js} +3 -3
- package/dist/chunks/{ripgrep-dd2wt6q1.js → repository-cache-mre6e2bz.js} +22 -22
- package/dist/chunks/{ripgrep-897yn8js.js → repository-cache-mt8bq6wm.js} +3 -3
- package/dist/chunks/{ripgrep-r4fw60a8.js → repository-cache-mv2tdfz1.js} +2 -2
- package/dist/chunks/{ripgrep-6ehbgqat.js → repository-cache-mx9vqzsb.js} +6 -6
- package/dist/chunks/{ripgrep-spcybxfk.js → repository-cache-n42ws626.js} +12 -12
- package/dist/chunks/{ripgrep-b6rsy5zn.js → repository-cache-n89rhept.js} +18 -18
- package/dist/chunks/{ripgrep-pmpk6q9r.js → repository-cache-na2qt776.js} +11 -11
- package/dist/chunks/{ripgrep-c99e4gbg.js → repository-cache-neter18e.js} +12 -12
- package/dist/chunks/{ripgrep-zqecfbxk.js → repository-cache-njn7svrx.js} +11 -11
- package/dist/chunks/{ripgrep-nz56sr1f.js → repository-cache-nz56sr1f.js} +2 -2
- package/dist/chunks/{ripgrep-hcwzd9ve.js → repository-cache-p4ev34c6.js} +3 -3
- package/dist/chunks/{ripgrep-dgzq35zb.js → repository-cache-p50c7myx.js} +3 -3
- package/dist/chunks/{ripgrep-p42hj8p8.js → repository-cache-pa8pe2x7.js} +8 -8
- package/dist/chunks/{ripgrep-5wbw6pv9.js → repository-cache-pjrd54q9.js} +13 -13
- package/dist/chunks/{ripgrep-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-y0g19xg0.js → repository-cache-q3q02nra.js} +44 -19
- package/dist/chunks/repository-cache-q509s3k3.js +18 -0
- package/dist/chunks/{ripgrep-fh3hfgk9.js → repository-cache-q9nxkgyw.js} +18 -18
- package/dist/chunks/{ripgrep-sdzwknx0.js → repository-cache-qaejpsje.js} +26 -26
- package/dist/chunks/{ripgrep-d4he2qe1.js → repository-cache-qmqgtz8f.js} +9 -9
- package/dist/chunks/{ripgrep-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-zh2s0dj1.js → repository-cache-qwwrvzk6.js} +13 -13
- package/dist/chunks/{ripgrep-k63sy5rb.js → repository-cache-r5mam93n.js} +12 -12
- package/dist/chunks/{ripgrep-9jdajzrt.js → repository-cache-rb3bf4ta.js} +21 -21
- package/dist/chunks/repository-cache-rdknsxcs.js +26 -0
- package/dist/chunks/{ripgrep-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-yb81whfj.js → repository-cache-re7drvpd.js} +32 -32
- package/dist/chunks/{ripgrep-jp9kzq14.js → repository-cache-rhgbdkcw.js} +4 -4
- package/dist/chunks/{ripgrep-xdh6s9ed.js → repository-cache-rs7cjgc2.js} +11 -11
- package/dist/chunks/{ripgrep-xb6ffzw0.js → repository-cache-rzvtppca.js} +9 -9
- package/dist/chunks/{ripgrep-21sepexc.js → repository-cache-s3s0e237.js} +11 -11
- package/dist/chunks/{ripgrep-pev3esbk.js → repository-cache-s441vsqw.js} +45 -45
- package/dist/chunks/{ripgrep-hfrgt7j1.js → repository-cache-s5q4smqk.js} +23 -23
- package/dist/chunks/{ripgrep-8w0fc9v5.js → repository-cache-s8764fh1.js} +16 -16
- package/dist/chunks/{ripgrep-tfx4s5nm.js → repository-cache-shgfme6y.js} +9 -9
- package/dist/chunks/{ripgrep-stw0ktd7.js → repository-cache-sk60w5yp.js} +4 -4
- package/dist/chunks/{ripgrep-7hppxa70.js → repository-cache-stgww97k.js} +1 -1
- package/dist/chunks/{ripgrep-9ha6dkfn.js → repository-cache-sy8aafnh.js} +12 -12
- package/dist/chunks/{ripgrep-syv4x271.js → repository-cache-syv4x271.js} +1 -1
- package/dist/chunks/{ripgrep-z96h84jq.js → repository-cache-t445km54.js} +22 -22
- package/dist/chunks/{ripgrep-t2fc4mz5.js → repository-cache-t6vsspdg.js} +7 -7
- package/dist/chunks/{ripgrep-rn08qtw3.js → repository-cache-t9gapptp.js} +16 -16
- package/dist/chunks/{ripgrep-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → repository-cache-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-kmgpx441.js → repository-cache-thdw9z92.js} +11 -11
- package/dist/chunks/{ripgrep-tm0kqsz3.js → repository-cache-tm0kqsz3.js} +1 -1
- package/dist/chunks/{ripgrep-vdxz864t.js → repository-cache-tq6mjjtf.js} +42 -42
- package/dist/chunks/{ripgrep-txm3e8qz.js → repository-cache-txm3e8qz.js} +1 -1
- package/dist/chunks/{ripgrep-tyytaxap.js → repository-cache-tyytaxap.js} +1 -1
- package/dist/chunks/repository-cache-v19kdf3f.js +257 -0
- package/dist/chunks/{ripgrep-v210v162.js → repository-cache-v210v162.js} +2 -2
- package/dist/chunks/{ripgrep-v7p4zvkq.js → repository-cache-v7p4zvkq.js} +2 -2
- package/dist/chunks/{ripgrep-gbqxypma.js → repository-cache-vca9tefh.js} +28 -28
- package/dist/chunks/{ripgrep-jwv7ab79.js → repository-cache-ve45bn9x.js} +6 -6
- package/dist/chunks/{ripgrep-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-pgp1nwjn.js → repository-cache-vfjhn2wd.js} +4 -4
- package/dist/chunks/{ripgrep-d9xyp96y.js → repository-cache-vws1dc27.js} +8 -8
- package/dist/chunks/{ripgrep-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-enrp405z.js → repository-cache-vzvdzsp8.js} +16 -16
- package/dist/chunks/{ripgrep-84txncab.js → repository-cache-w1eejvng.js} +5 -5
- package/dist/chunks/{ripgrep-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-8vya4b9k.js → repository-cache-w5v1nc2x.js} +43 -43
- package/dist/chunks/{ripgrep-9vr292v9.js → repository-cache-w95yk9fa.js} +12 -12
- package/dist/chunks/{ripgrep-1vp80wqe.js → repository-cache-w97r3myk.js} +4 -4
- package/dist/chunks/{ripgrep-xkajykm3.js → repository-cache-waj948mc.js} +13 -13
- package/dist/chunks/{ripgrep-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{ripgrep-tdqqk9tn.js → repository-cache-wb3npxmx.js} +21 -21
- package/dist/chunks/{ripgrep-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-6sdx5bv6.js → repository-cache-wdj21rq2.js} +3 -3
- package/dist/chunks/{ripgrep-33m7zff6.js → repository-cache-wg8mj883.js} +4 -4
- package/dist/chunks/{ripgrep-wjr9rjd7.js → repository-cache-wjr9rjd7.js} +2 -2
- package/dist/chunks/{ripgrep-1rs87y8d.js → repository-cache-x5n6rhaq.js} +21 -21
- package/dist/chunks/{ripgrep-addxnjmp.js → repository-cache-x661k3y3.js} +4 -4
- package/dist/chunks/{ripgrep-wbcvfxpg.js → repository-cache-x99b0ndd.js} +33 -33
- package/dist/chunks/{ripgrep-p8mhfpfb.js → repository-cache-xdx7acry.js} +9 -9
- package/dist/chunks/{ripgrep-906y5cdw.js → repository-cache-xsd5t8ts.js} +7 -7
- package/dist/chunks/{ripgrep-ye89p72n.js → repository-cache-xvpfz61x.js} +2 -2
- package/dist/chunks/{ripgrep-yn7c86qb.js → repository-cache-xwvq48yb.js} +46 -46
- package/dist/chunks/{ripgrep-ce3ajj6n.js → repository-cache-xzcw8fss.js} +33 -33
- package/dist/chunks/{ripgrep-7x97mf13.js → repository-cache-xzmr40r3.js} +17 -17
- package/dist/chunks/{ripgrep-e696dwzt.js → repository-cache-xzyddccp.js} +11 -11
- package/dist/chunks/{ripgrep-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-ekrj3q3n.js → repository-cache-y1seeq9p.js} +15 -15
- package/dist/chunks/{ripgrep-2n3wn4cc.js → repository-cache-y2vmg8pj.js} +12 -12
- package/dist/chunks/{ripgrep-edj082x0.js → repository-cache-y35aym2w.js} +6 -6
- package/dist/chunks/{ripgrep-bydnjh3t.js → repository-cache-y56ehv6b.js} +9 -9
- package/dist/chunks/{ripgrep-y7nndgyc.js → repository-cache-y7nndgyc.js} +2 -2
- package/dist/chunks/{ripgrep-p2kzfj7d.js → repository-cache-y7wkqyfh.js} +16 -16
- package/dist/chunks/{ripgrep-jszh17ab.js → repository-cache-yhyj8seq.js} +17 -17
- package/dist/chunks/{ripgrep-vy2epn4a.js → repository-cache-ypjr4kpw.js} +2 -2
- package/dist/chunks/{ripgrep-w1yzj816.js → repository-cache-yyj6wd33.js} +21 -21
- package/dist/chunks/{ripgrep-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z18fegx4.js → repository-cache-z18fegx4.js} +1 -1
- package/dist/chunks/{ripgrep-mzrmbcee.js → repository-cache-z7e4qa79.js} +28 -28
- package/dist/chunks/{ripgrep-yggz4gjb.js → repository-cache-z8b9xacy.js} +47 -47
- package/dist/chunks/{ripgrep-y6jtz2hz.js → repository-cache-zkbbq4dt.js} +18 -18
- package/dist/chunks/{ripgrep-vnwvh6x6.js → repository-cache-zmtrh7z6.js} +21 -21
- package/dist/chunks/{ripgrep-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +115 -115
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +114 -114
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +162 -162
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +86 -86
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/ripgrep-etg1n2kx.js +0 -517
- package/dist/chunks/ripgrep-g32r42h9.js +0 -257
- package/dist/chunks/ripgrep-gyce5qg1.js +0 -18
- package/dist/chunks/ripgrep-t23bw0vy.js +0 -26
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3t0ybcrp.js → repository-cache-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{ripgrep-m5jcjszt.js → repository-cache-m5jcjszt.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-pkyv6v7h.js → repository-cache-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{ripgrep-pyv0edze.js → repository-cache-pyv0edze.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wjj7prxr.js → repository-cache-wjj7prxr.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service82
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-xvpfz61x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./repository-cache-rb3bf4ta.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service51
|
|
15
|
+
} from "./repository-cache-ghnq0868.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-cache-5zn069ks.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service57
|
|
24
|
+
} from "./repository-cache-42q84ag7.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service14
|
|
27
|
+
} from "./repository-cache-a7fmgszc.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input11,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin47,
|
|
39
|
+
name: () => name11,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name11 = "glob";
|
|
46
|
+
var Input11 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin47 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service65;
|
|
70
|
+
const ripgrep = yield* Service51;
|
|
71
71
|
const location = yield* Service82;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service14;
|
|
73
|
+
const permission = yield* Service57;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name11,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input11,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name11,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin40 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name11, Input11, Output8, toModelContent5, Plugin47, exports_glob };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./repository-cache-j4xwnxxe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./repository-cache-xwvq48yb.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-y35aym2w.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-bzeyqsqd.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin3
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin3 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service47;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service48;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -76,4 +76,4 @@ var Plugin9 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin3, exports_compatibility };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-cache-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options5,
|
|
15
|
+
Service: () => Service41,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured5,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node44,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options5 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service41 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve2(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve3(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve2.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service41.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured5(options) {
|
|
210
|
+
return makeLocationNode({ service: Service41, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node44 = configured5();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options5, Service41, gitbash2, name16, login2, ps2, args2, environment2, resolve2, list3, configured5, node44, exports_select };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-m5jcjszt.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./repository-cache-42q84ag7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service56
|
|
10
|
+
} from "./repository-cache-vca9tefh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill3 = {};
|
|
17
17
|
__export(exports_skill3, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input10,
|
|
19
|
+
Output: () => Output7,
|
|
20
|
+
Plugin: () => Plugin46,
|
|
21
21
|
SkillTool: () => exports_skill3,
|
|
22
22
|
description: () => description4,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name10,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name10 = "skill";
|
|
30
|
+
var Input10 = Schema.Struct({
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin46 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service56;
|
|
51
|
+
const permission = yield* Service57;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name10,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description4,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input10,
|
|
57
|
+
output: Output7,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name10,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin44 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name10, Input10, Output7, description4, toModelOutput2, Plugin46, exports_skill3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9ts5gs6y.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-pkyv6v7h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-5ky00pdm.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service45,
|
|
10
|
+
node: () => node47
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service45 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node47 = LayerNode.unbound(Service45, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service45, node47, exports_service2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./repository-cache-7yn4yp07.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service75,
|
|
6
|
+
Event18
|
|
7
|
+
} from "./repository-cache-70q6x9sh.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin20,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin20 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service84;
|
|
24
|
+
const wellknown = yield* Service75;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin50 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event18.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin20, exports_plugin };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-txm3e8qz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Info10
|
|
12
|
-
} from "./ripgrep-t2fc4mz5.js";
|
|
8
|
+
Info11
|
|
9
|
+
} from "./repository-cache-hcv80w8f.js";
|
|
13
10
|
import {
|
|
14
11
|
Info9
|
|
15
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-t6vsspdg.js";
|
|
13
|
+
import {
|
|
14
|
+
Info10
|
|
15
|
+
} from "./repository-cache-1pxz8ven.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-2k8khapm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info13
|
|
21
|
+
} from "./repository-cache-0r3c1bmw.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-cache-sk60w5yp.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info10, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -435,7 +435,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
435
435
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
436
436
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
437
437
|
return [];
|
|
438
|
-
const provider = decodeValue(
|
|
438
|
+
const provider = decodeValue(Info13, raw, path, diagnostics);
|
|
439
439
|
if (provider === undefined)
|
|
440
440
|
return [];
|
|
441
441
|
const destination = providerID2(name);
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service28
|
|
6
|
+
} from "./repository-cache-c2qmhs8t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./repository-cache-42q84ag7.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_MIMES2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-day0cpb0.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/plugin/mcp-resource.ts
|
|
18
18
|
var exports_mcp_resource = {};
|
|
19
19
|
__export(exports_mcp_resource, {
|
|
20
20
|
McpResourceTools: () => exports_mcp_resource,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin49
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin49 = {
|
|
26
26
|
id: "opencode.tools.mcp-resources",
|
|
27
27
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
28
|
-
const mcp = yield*
|
|
29
|
-
const permission = yield*
|
|
28
|
+
const mcp = yield* Service28;
|
|
29
|
+
const permission = yield* Service57;
|
|
30
30
|
yield* ctx.tool.transform((editor) => {
|
|
31
31
|
editor.add({
|
|
32
32
|
name: "list_mcp_resources",
|
|
@@ -96,4 +96,4 @@ var Plugin41 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin49, exports_mcp_resource };
|