@opencode/core 0.0.0-dev-20845 → 0.0.0-dev-20846
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{websearch-rexg04m1.js → tool-04yjvv9z.js} +3 -3
- package/dist/chunks/{websearch-jvf3yq6v.js → tool-06x8he3q.js} +4 -4
- package/dist/chunks/{websearch-vswsbfgz.js → tool-077nw9md.js} +22 -22
- package/dist/chunks/{websearch-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-gwva2jq6.js → tool-0pksd81t.js} +5 -5
- package/dist/chunks/{websearch-tk7qgmyp.js → tool-0s3jeq9v.js} +10 -10
- package/dist/chunks/{websearch-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{websearch-h9nmvtcp.js → tool-10h6aaxa.js} +11 -11
- package/dist/chunks/{websearch-wavhfayw.js → tool-161awap4.js} +24 -24
- package/dist/chunks/{websearch-w1z493z1.js → tool-1dp4rae7.js} +37 -37
- package/dist/chunks/{websearch-9kjtg0w1.js → tool-1km6676t.js} +8 -8
- package/dist/chunks/{websearch-1kh7kten.js → tool-1qbv9jt9.js} +20 -20
- package/dist/chunks/{websearch-8tzfdcdp.js → tool-1ts7qr1k.js} +8 -8
- package/dist/chunks/{websearch-1t3mepgx.js → tool-206ttqvc.js} +13 -13
- package/dist/chunks/{websearch-engj6hqw.js → tool-232z2e7w.js} +5 -5
- package/dist/chunks/{websearch-nf90gmgp.js → tool-28wtzp1x.js} +11 -11
- package/dist/chunks/{websearch-0g226ptp.js → tool-2b2b10pr.js} +11 -11
- package/dist/chunks/{websearch-qrm3t9gm.js → tool-2c13444x.js} +15 -15
- package/dist/chunks/{websearch-2d0p9y9z.js → tool-2cybgqhz.js} +2 -2
- package/dist/chunks/{websearch-y656zp5d.js → tool-2nmszwhj.js} +44 -44
- package/dist/chunks/{websearch-2vvh33eb.js → tool-2vvh33eb.js} +2 -2
- package/dist/chunks/{websearch-6bre43z2.js → tool-35eesyyp.js} +11 -11
- package/dist/chunks/{websearch-1p1wg8d2.js → tool-36py4jdg.js} +16 -16
- package/dist/chunks/{websearch-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-xxnmbcpy.js → tool-3gwb8r2s.js} +46 -46
- package/dist/chunks/{websearch-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{websearch-nsb8zy01.js → tool-3q7cazx3.js} +8 -8
- package/dist/chunks/{websearch-vhr0yf14.js → tool-3qfxs27s.js} +6 -6
- package/dist/chunks/{websearch-5dkn69vz.js → tool-3sj8yt8v.js} +4 -4
- package/dist/chunks/{websearch-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-hh3s84jy.js → tool-3ssmb346.js} +11 -11
- package/dist/chunks/{websearch-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-091j2xph.js → tool-3wb086fk.js} +28 -28
- package/dist/chunks/{websearch-rwyzk1vj.js → tool-3wmf6f3c.js} +6 -6
- package/dist/chunks/{websearch-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-2bv54bp0.js → tool-48243nkh.js} +10 -10
- package/dist/chunks/{websearch-dhewa6g3.js → tool-4mr2x1vr.js} +28 -28
- package/dist/chunks/{websearch-wgrk21zd.js → tool-4p1ce748.js} +5 -5
- package/dist/chunks/{websearch-wbp5y788.js → tool-4qbazw45.js} +7 -7
- package/dist/chunks/{websearch-f56185ew.js → tool-4r6h9rfp.js} +3 -3
- package/dist/chunks/{websearch-2ccvkpx1.js → tool-4ts7tf6z.js} +2 -2
- package/dist/chunks/{websearch-tk14y25j.js → tool-4xpgt2w9.js} +5 -5
- package/dist/chunks/{websearch-nm9exbtv.js → tool-4yqysksd.js} +32 -32
- package/dist/chunks/{websearch-hppc3qez.js → tool-51zp19xj.js} +42 -42
- package/dist/chunks/{websearch-8pknc86s.js → tool-52tqfb7t.js} +9 -9
- package/dist/chunks/{websearch-c1v03wcp.js → tool-52zf3ryw.js} +4 -4
- package/dist/chunks/{websearch-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{websearch-ggx376j6.js → tool-5hywj11r.js} +24 -24
- package/dist/chunks/{websearch-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{websearch-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
- package/dist/chunks/{websearch-e80seqcp.js → tool-5rzwp8tz.js} +3 -3
- package/dist/chunks/{websearch-jhdf29st.js → tool-5w9yjztw.js} +1 -1
- package/dist/chunks/{websearch-vtt0yr3x.js → tool-607px8n0.js} +7 -7
- package/dist/chunks/{websearch-02ay902v.js → tool-6cf5m0q5.js} +9 -9
- package/dist/chunks/{websearch-97m84bsj.js → tool-6gga028k.js} +23 -23
- package/dist/chunks/{websearch-y18g3psc.js → tool-6qcxfmt4.js} +16 -16
- package/dist/chunks/{websearch-hwf1xm3p.js → tool-6rzkm1az.js} +27 -27
- package/dist/chunks/{websearch-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{websearch-4x3n9ey5.js → tool-6xx70fkw.js} +22 -22
- package/dist/chunks/{websearch-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-m329mjby.js → tool-7gra0nqm.js} +5 -5
- package/dist/chunks/{websearch-bjmt3h04.js → tool-7gx041tx.js} +8 -8
- package/dist/chunks/{websearch-b2ad3jms.js → tool-7j6nyg8b.js} +14 -14
- package/dist/chunks/{websearch-rfm1wj6s.js → tool-7t6rstye.js} +14 -14
- package/dist/chunks/{websearch-vv1q3c5v.js → tool-7wm7ck3f.js} +69 -69
- package/dist/chunks/{websearch-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{websearch-zztrcv6s.js → tool-873mxp7r.js} +6 -6
- package/dist/chunks/{websearch-hy079qxn.js → tool-8ae1krg5.js} +1 -1
- package/dist/chunks/{websearch-p6e4p3jj.js → tool-8ffyemb8.js} +4 -4
- package/dist/chunks/{websearch-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{websearch-91qna3x0.js → tool-91qna3x0.js} +3 -3
- package/dist/chunks/{websearch-5fec3t3w.js → tool-97aeaand.js} +9 -9
- package/dist/chunks/{websearch-yecz5pv7.js → tool-9hy1hzvm.js} +19 -19
- package/dist/chunks/{websearch-d4b9t5sr.js → tool-9s3sw3w2.js} +5 -5
- package/dist/chunks/{websearch-eca5te9y.js → tool-9yr0fr5m.js} +13 -13
- package/dist/chunks/{websearch-hmzbt2r1.js → tool-a0jk4dgc.js} +24 -24
- package/dist/chunks/{websearch-4myehych.js → tool-a3hwe848.js} +4 -4
- package/dist/chunks/{websearch-0fbhksc1.js → tool-a5br798j.js} +31 -31
- package/dist/chunks/{websearch-5346vetp.js → tool-a7xz2w96.js} +21 -21
- package/dist/chunks/{websearch-ne5cj8vn.js → tool-a8105mew.js} +20 -20
- package/dist/chunks/{websearch-p9r3dmyw.js → tool-a9d4ws5f.js} +26 -26
- package/dist/chunks/{websearch-3btaar3f.js → tool-aamadd9d.js} +32 -32
- package/dist/chunks/{websearch-ee1a8rbf.js → tool-aavma884.js} +20 -20
- package/dist/chunks/{websearch-ff3eaey1.js → tool-ac91s02x.js} +29 -29
- package/dist/chunks/{websearch-dbnj43ps.js → tool-afc2jrhf.js} +18 -18
- package/dist/chunks/{websearch-b9mw2aqp.js → tool-aswecc38.js} +10 -10
- package/dist/chunks/{websearch-y3jke7st.js → tool-azwc917b.js} +1 -1
- package/dist/chunks/{websearch-addxnjmp.js → tool-azwe5p1w.js} +4 -4
- package/dist/chunks/{websearch-qne3fa44.js → tool-b674v2dg.js} +5 -5
- package/dist/chunks/{websearch-cv6wkry4.js → tool-bseb4y7x.js} +11 -11
- package/dist/chunks/{websearch-xfahfhyk.js → tool-bxnsh2h7.js} +50 -50
- package/dist/chunks/{websearch-es1vcfrp.js → tool-c1fqxshp.js} +3 -3
- package/dist/chunks/{websearch-sjrcjray.js → tool-c4spg60a.js} +20 -20
- package/dist/chunks/{websearch-vpm8vpz0.js → tool-c8zwaxmp.js} +3 -3
- package/dist/chunks/{websearch-kh07k3gv.js → tool-cdzskg65.js} +23 -23
- package/dist/chunks/{websearch-7yvkazhd.js → tool-ce61gq8c.js} +8 -8
- package/dist/chunks/{websearch-7dh0d45w.js → tool-cr8sv6bh.js} +3 -3
- package/dist/chunks/{websearch-bdmfkcq7.js → tool-ct0x63sa.js} +17 -17
- package/dist/chunks/{websearch-2nnxwdxf.js → tool-cx6hsbt0.js} +17 -17
- package/dist/chunks/{websearch-sc2ayhna.js → tool-cy9nd497.js} +12 -12
- package/dist/chunks/{websearch-qa3qhgw8.js → tool-d216944b.js} +7 -7
- package/dist/chunks/{websearch-3gr7mfrt.js → tool-d8c7d30z.js} +20 -20
- package/dist/chunks/{websearch-e0ewwv29.js → tool-denpq03g.js} +18 -18
- package/dist/chunks/{websearch-jz4m0x6v.js → tool-ds8rcr17.js} +27 -27
- package/dist/chunks/{websearch-eye2dsms.js → tool-dwn2mnsx.js} +9 -9
- package/dist/chunks/{websearch-0ccf4gq7.js → tool-dy6n44gf.js} +34 -34
- package/dist/chunks/{websearch-g0nh73ae.js → tool-dynjzw90.js} +45 -45
- package/dist/chunks/{websearch-6wg7wrda.js → tool-e25ft575.js} +8 -8
- package/dist/chunks/{websearch-er035epz.js → tool-e6d7shk6.js} +14 -14
- package/dist/chunks/{websearch-whaakjyp.js → tool-e9hyd38m.js} +23 -23
- package/dist/chunks/{websearch-k19c7zh8.js → tool-ebg5fsc2.js} +326 -326
- package/dist/chunks/{websearch-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{websearch-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-zsmwbbvy.js → tool-ehbsya0k.js} +23 -23
- package/dist/chunks/{websearch-xsth9hr2.js → tool-eknygh2r.js} +11 -11
- package/dist/chunks/{websearch-ghp5sgdj.js → tool-ers3vfep.js} +4 -4
- package/dist/chunks/{websearch-gpt9y09p.js → tool-evvst45t.js} +9 -9
- package/dist/chunks/{websearch-m4wxmrpq.js → tool-f2hmbx6s.js} +17 -17
- package/dist/chunks/{websearch-tsz26xtv.js → tool-f55gme48.js} +24 -24
- package/dist/chunks/{websearch-0y7gjjxa.js → tool-f8m7rc0r.js} +16 -16
- package/dist/chunks/{websearch-6b6j0b7q.js → tool-fbp33tyy.js} +11 -11
- package/dist/chunks/{websearch-8b0024wb.js → tool-fgqejdyc.js} +4 -4
- package/dist/chunks/{websearch-69qcfv13.js → tool-fm0s3b9b.js} +13 -13
- package/dist/chunks/{websearch-cm1jr1n4.js → tool-fye057qm.js} +8 -8
- package/dist/chunks/{websearch-03c3x67r.js → tool-fyhhm9qw.js} +7 -7
- package/dist/chunks/tool-g0r85kvg.js +253 -0
- package/dist/chunks/{websearch-mesve3we.js → tool-g64bn1a9.js} +9 -9
- package/dist/chunks/{websearch-w79y3adg.js → tool-gce79w0q.js} +19 -19
- package/dist/chunks/{websearch-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-gk8qb678.js → tool-gk8qb678.js} +1 -1
- package/dist/chunks/{websearch-bmqayegw.js → tool-gka1h982.js} +2 -2
- package/dist/chunks/{websearch-5ng2s7kp.js → tool-gr980ggd.js} +35 -35
- package/dist/chunks/{websearch-tdcces3n.js → tool-gsy0a2fc.js} +19 -19
- package/dist/chunks/{websearch-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-xf8yqmad.js → tool-h71w788e.js} +9 -9
- package/dist/chunks/{websearch-h7s7r6s9.js → tool-h7s7r6s9.js} +2 -2
- package/dist/chunks/{websearch-5m7kxt6n.js → tool-h9s2vh22.js} +11 -11
- package/dist/chunks/{websearch-cq1n6b1r.js → tool-hc4fzbfv.js} +5 -5
- package/dist/chunks/{websearch-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{websearch-t64tfqsj.js → tool-hs2agdmc.js} +5 -5
- package/dist/chunks/{websearch-73wr0wn5.js → tool-hvr28mne.js} +11 -11
- package/dist/chunks/{websearch-9hn4sma3.js → tool-j40argf2.js} +15 -15
- package/dist/chunks/{websearch-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-2ntznan2.js → tool-j5p87426.js} +24 -24
- package/dist/chunks/{websearch-kqsasazf.js → tool-j90fxacf.js} +4 -4
- package/dist/chunks/{websearch-8sgx605s.js → tool-jc3pryrp.js} +30 -30
- package/dist/chunks/{websearch-w2q5m1k0.js → tool-jcx2acag.js} +27 -27
- package/dist/chunks/{websearch-a89e0tac.js → tool-jewzahs7.js} +4 -4
- package/dist/chunks/{websearch-cf9c5hgv.js → tool-jg4njqxe.js} +16 -16
- package/dist/chunks/{websearch-exzn1zz0.js → tool-jjb57f1v.js} +7 -7
- package/dist/chunks/{websearch-y7b0a65n.js → tool-jryjd015.js} +10 -10
- package/dist/chunks/{websearch-2ht1hyxn.js → tool-jvzrpfz1.js} +34 -34
- package/dist/chunks/{websearch-8xhpb0mm.js → tool-k0gt402z.js} +20 -20
- package/dist/chunks/{websearch-v1544te7.js → tool-k2sx0fs0.js} +14 -14
- package/dist/chunks/{websearch-sbq4x687.js → tool-k7v23by5.js} +36 -36
- package/dist/chunks/{websearch-qv3czhwy.js → tool-ka1znqm3.js} +22 -22
- package/dist/chunks/{websearch-p7yeqdaq.js → tool-ka6d63ve.js} +16 -16
- package/dist/chunks/{websearch-g73pzdn4.js → tool-kghabkhx.js} +6 -6
- package/dist/chunks/{websearch-khmqacep.js → tool-khmqacep.js} +1 -1
- package/dist/chunks/{websearch-2ryng5r3.js → tool-kqx1b4hy.js} +4 -4
- package/dist/chunks/{websearch-qet4t08v.js → tool-ks9cd2p9.js} +17 -17
- package/dist/chunks/{websearch-nchek2m9.js → tool-ksq90z2j.js} +18 -18
- package/dist/chunks/{websearch-ks9yanxs.js → tool-ktn6hp70.js} +29 -29
- package/dist/chunks/{websearch-a881zpfh.js → tool-kvjzkr2v.js} +9 -9
- package/dist/chunks/{websearch-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-t0sqncza.js → tool-ma48de29.js} +5 -5
- package/dist/chunks/{websearch-pfd09dg8.js → tool-me4kr82p.js} +19 -19
- package/dist/chunks/{websearch-3bm72bj4.js → tool-mmmq1fmj.js} +15 -15
- package/dist/chunks/{websearch-ynmknp8q.js → tool-n61013np.js} +11 -11
- package/dist/chunks/{websearch-j309bc8m.js → tool-neyn3p2v.js} +12 -12
- package/dist/chunks/{websearch-529c1882.js → tool-nnajtnrh.js} +1 -1
- package/dist/chunks/{websearch-byhh6v23.js → tool-np4m03pb.js} +14 -14
- package/dist/chunks/{websearch-m8hcs5as.js → tool-nymhndtm.js} +3 -3
- package/dist/chunks/{websearch-4txdqmcn.js → tool-nypk9e09.js} +10 -10
- package/dist/chunks/{websearch-463e81q2.js → tool-nza4bhrq.js} +8 -8
- package/dist/chunks/{websearch-c590j7n0.js → tool-p0vgqfrd.js} +13 -13
- package/dist/chunks/{websearch-bceny5qf.js → tool-p80z2n38.js} +6 -6
- package/dist/chunks/{websearch-drmqggy3.js → tool-p97g2b6e.js} +3 -3
- package/dist/chunks/{websearch-jmevm6dv.js → tool-pa78zzaq.js} +11 -11
- package/dist/chunks/{websearch-02n9afqs.js → tool-pf7t9ccf.js} +18 -18
- package/dist/chunks/{websearch-tpw6cwsb.js → tool-phz3vpyj.js} +8 -8
- package/dist/chunks/{websearch-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-ftfsgypn.js → tool-pttbbn28.js} +11 -11
- package/dist/chunks/{websearch-8sze2n9a.js → tool-py3kkmfq.js} +6 -6
- package/dist/chunks/{websearch-0j77ygfz.js → tool-q0xm7vwc.js} +6 -6
- package/dist/chunks/{websearch-rvfzqdmm.js → tool-q12r1j28.js} +17 -17
- package/dist/chunks/{websearch-wjwc91bs.js → tool-q46gh8d3.js} +85 -85
- package/dist/chunks/{websearch-qrrsmycy.js → tool-q5tvgb2d.js} +24 -24
- package/dist/chunks/{websearch-dg86z8e6.js → tool-q874veys.js} +13 -13
- package/dist/chunks/tool-qc068m1q.js +18 -0
- package/dist/chunks/{websearch-qgn6gcr1.js → tool-qgn6gcr1.js} +1 -1
- package/dist/chunks/{websearch-94ca0bep.js → tool-qjx1ax0j.js} +5 -5
- package/dist/chunks/{websearch-g6q9qykm.js → tool-qmqgtz8f.js} +9 -9
- package/dist/chunks/{websearch-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{websearch-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-4y1ardx2.js → tool-r19kge9j.js} +13 -13
- package/dist/chunks/{websearch-wzq6jsfv.js → tool-r2n437fd.js} +7 -7
- package/dist/chunks/{websearch-asc7erf4.js → tool-r2p1qcqj.js} +126 -44
- package/dist/chunks/{websearch-bkp6ttkb.js → tool-r3yrp3s1.js} +24 -24
- package/dist/chunks/{websearch-mqcrsfd8.js → tool-r49qeajj.js} +178 -178
- package/dist/chunks/{websearch-v0ezxakm.js → tool-r4bpj27y.js} +28 -28
- package/dist/chunks/{websearch-qrw28b9v.js → tool-r98mf4ja.js} +11 -11
- package/dist/chunks/{websearch-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-z1ajk4qq.js → tool-rdyynte9.js} +3 -3
- package/dist/chunks/{websearch-tkb22qbm.js → tool-rert0e01.js} +2 -2
- package/dist/chunks/{websearch-rhjbct0v.js → tool-rhjbct0v.js} +1 -1
- package/dist/chunks/{websearch-c41wscbt.js → tool-rj3eygr5.js} +2 -2
- package/dist/chunks/{websearch-hcpf260s.js → tool-sa4egyg1.js} +4 -4
- package/dist/chunks/{websearch-dqjpmmqm.js → tool-sa4ztt1z.js} +54 -54
- package/dist/chunks/{websearch-c8ax2afj.js → tool-sa8ekw3f.js} +2 -2
- package/dist/chunks/{websearch-39w50htg.js → tool-sc97ncgc.js} +17 -17
- package/dist/chunks/{websearch-pax1sq1c.js → tool-scdnddsf.js} +2 -2
- package/dist/chunks/{websearch-3hw8948m.js → tool-sfrffybq.js} +16 -16
- package/dist/chunks/{websearch-ez4jw3cg.js → tool-sh82avnb.js} +10 -10
- package/dist/chunks/{websearch-qkrsb4e9.js → tool-smpf7ekm.js} +9 -9
- package/dist/chunks/{websearch-jyn3c76q.js → tool-sp8q6bdg.js} +9 -9
- package/dist/chunks/{websearch-syv4x271.js → tool-syv4x271.js} +1 -1
- package/dist/chunks/{websearch-bd3z6g2t.js → tool-t2m1w25e.js} +20 -20
- package/dist/chunks/{websearch-bdajaf8t.js → tool-t4ajgv8x.js} +50 -50
- package/dist/chunks/{websearch-3heg1ssy.js → tool-t89fqycx.js} +8 -8
- package/dist/chunks/{websearch-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-cbz1spd4.js → tool-tcd69qnc.js} +21 -21
- package/dist/chunks/{websearch-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-4pw397dx.js → tool-tk87kdrg.js} +11 -11
- package/dist/chunks/{websearch-26wtnee4.js → tool-tnqyp7a1.js} +31 -31
- package/dist/chunks/{websearch-3gsd6kkn.js → tool-trz6se4e.js} +15 -15
- package/dist/chunks/{websearch-3zbwr1r2.js → tool-tvb3zepd.js} +13 -13
- package/dist/chunks/{websearch-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{websearch-v0es1rhs.js → tool-v0es1rhs.js} +2 -2
- package/dist/chunks/{websearch-aea0zttc.js → tool-v1rvcdcz.js} +45 -45
- package/dist/chunks/{websearch-3azd9wzv.js → tool-v3dr526e.js} +5 -5
- package/dist/chunks/{websearch-4mdjmm98.js → tool-v4zmjapd.js} +3 -3
- package/dist/chunks/{websearch-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{websearch-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-58g2rxtj.js → tool-vm3fje9a.js} +27 -27
- package/dist/chunks/{websearch-cb63dr15.js → tool-vn1hhbrf.js} +13 -13
- package/dist/chunks/{websearch-r7kv1bh5.js → tool-vn8z3a4b.js} +34 -34
- package/dist/chunks/{websearch-skj7xkre.js → tool-vq6awb9c.js} +11 -11
- package/dist/chunks/{websearch-51f5btjf.js → tool-vqfzq50h.js} +6 -6
- package/dist/chunks/{websearch-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{websearch-34c2xrx6.js → tool-w2mv6cd8.js} +5 -5
- package/dist/chunks/{websearch-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-a6qeya9w.js → tool-wdsf3akg.js} +9 -9
- package/dist/chunks/{websearch-mygssqta.js → tool-wh6z6ktm.js} +10 -10
- package/dist/chunks/{websearch-vhvqpnxg.js → tool-wn5vabxh.js} +11 -11
- package/dist/chunks/{websearch-snp4rkgh.js → tool-wps6h3dy.js} +13 -13
- package/dist/chunks/{websearch-dm603y2d.js → tool-x1ca3zjn.js} +4 -4
- package/dist/chunks/{websearch-6rm5yzkt.js → tool-x3gqap9d.js} +4 -4
- package/dist/chunks/{websearch-edjh399s.js → tool-x6gnqd3s.js} +8 -8
- package/dist/chunks/{websearch-6jgtgznj.js → tool-x9rxmjt5.js} +11 -11
- package/dist/chunks/tool-xap5v11p.js +26 -0
- package/dist/chunks/{websearch-xfkkasph.js → tool-xfkkasph.js} +1 -1
- package/dist/chunks/{websearch-mtvxtq3d.js → tool-xhs59p2n.js} +26 -26
- package/dist/chunks/{websearch-q43487xb.js → tool-xmhymaa3.js} +13 -13
- package/dist/chunks/{websearch-60x5va7n.js → tool-xp6bq807.js} +12 -12
- package/dist/chunks/{websearch-4drexav4.js → tool-xst2akbe.js} +11 -11
- package/dist/chunks/{websearch-0fpcnnbm.js → tool-xzg60s99.js} +46 -46
- package/dist/chunks/{websearch-ap6mjhv7.js → tool-y168gzca.js} +79 -79
- package/dist/chunks/{websearch-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-kqb3yzh9.js → tool-y5rgw10j.js} +11 -11
- package/dist/chunks/{websearch-dpkg50ah.js → tool-y71avatq.js} +4 -4
- package/dist/chunks/{websearch-bacj9t34.js → tool-y7nndgyc.js} +9 -9
- package/dist/chunks/{websearch-p5e5cqbw.js → tool-yhnztd3d.js} +44 -44
- package/dist/chunks/{websearch-dydaqehh.js → tool-ympry5e6.js} +34 -34
- package/dist/chunks/{websearch-yp2x3t23.js → tool-yp2x3t23.js} +1 -1
- package/dist/chunks/{websearch-wjr9rjd7.js → tool-ywt8jp22.js} +6 -6
- package/dist/chunks/{websearch-ph78x2jd.js → tool-yysvbg70.js} +31 -31
- package/dist/chunks/{websearch-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-bb1ydskb.js → tool-z5n5ebyg.js} +15 -15
- package/dist/chunks/{websearch-kpca8vw1.js → tool-z86ahet9.js} +8 -8
- package/dist/chunks/{websearch-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-kztj1kw1.js → tool-zt09jx6h.js} +16 -16
- package/dist/chunks/{websearch-5tjqd32p.js → tool-zw1gkzfw.js} +25 -25
- package/dist/chunks/{websearch-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{websearch-wecqtg5s.js → tool-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- 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 +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- 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 +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +92 -92
- 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 +117 -117
- 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 +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- 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 +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- 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 +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- 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 +14 -14
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- 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 +8 -8
- 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/websearch-0zhbjahh.js +0 -253
- package/dist/chunks/websearch-5qgf7nx2.js +0 -26
- package/dist/chunks/websearch-jqh9b0xq.js +0 -18
- /package/dist/chunks/{websearch-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-bw78ga2c.js → tool-bw78ga2c.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{websearch-pyv0edze.js → tool-pyv0edze.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-7gra0nqm.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service85,
|
|
12
12
|
node89
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-rdyynte9.js";
|
|
14
14
|
import {
|
|
15
15
|
Service84,
|
|
16
16
|
node88
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-sa4egyg1.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-rj3eygr5.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-sa8ekw3f.js";
|
|
24
24
|
import {
|
|
25
25
|
ID17,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-1km6676t.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-scdnddsf.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service54,
|
|
33
|
+
node57
|
|
34
|
+
} from "./tool-6cf5m0q5.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service22
|
|
41
|
+
} from "./tool-k2sx0fs0.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./tool-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event5,
|
|
53
|
+
Info: () => Info4,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service21,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node24
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,9 +73,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info4 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event5 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service21 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service85;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service84;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service54;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service22).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event5.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service21.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node24 = Node.makeGlobalNode({
|
|
260
|
+
service: Service21,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node88, node89, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node88, node89, AppProcess.node, node57]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service21, node24, exports_worktree2, OperationError2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-sa4egyg1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-scdnddsf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service79,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node83
|
|
13
|
+
} from "./tool-gce79w0q.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event20,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID16,
|
|
28
|
+
Info: () => Info26,
|
|
29
|
+
NotFoundError: () => NotFoundError10,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service78,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node82
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event20 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID16 = Pty.ID;
|
|
43
|
+
var Info26 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID16
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID16
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service78 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service84;
|
|
61
61
|
const location = yield* Service81;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service79;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError10({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID16.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service78.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node82 = makeLocationNode({
|
|
273
|
+
service: Service78,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node88, node85,
|
|
275
|
+
deps: [node88, node85, node83]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID16, Info26, CreateInput3, UpdateInput2, NotFoundError10, ExitedError2, Service78, node82, exports_pty, Event20 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-1km6676t.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81,
|
|
9
9
|
node85
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-scdnddsf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service56,
|
|
13
|
+
node59
|
|
14
|
+
} from "./tool-sa4ztt1z.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service24,
|
|
26
|
+
node: () => node27,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service24 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
54
|
const location = yield* Service81;
|
|
55
|
-
const permission = yield*
|
|
55
|
+
const permission = yield* Service56;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service24.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node27 = makeLocationNode({ service: Service24, layer, deps: [FSUtil.node, node85, node59] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service24, resolvePath2, node27, exports_file_access };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
5
|
ID4,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service48
|
|
7
|
+
} from "./tool-np4m03pb.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-c8zwaxmp.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-wdsf3akg.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service48;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-rdyynte9.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service84,
|
|
8
8
|
node88
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-sa4egyg1.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-h7s7r6s9.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-rj3eygr5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-c1fqxshp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./tool-pf7t9ccf.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./tool-kqx1b4hy.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./tool-q874veys.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./tool-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./tool-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node31
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
467
467
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
468
468
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
469
469
|
}));
|
|
470
|
-
var
|
|
470
|
+
var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node88, node89] });
|
|
471
471
|
|
|
472
|
-
export { SessionAlreadyProjected2,
|
|
472
|
+
export { SessionAlreadyProjected2, node31, exports_projector };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-scdnddsf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service24
|
|
9
|
+
} from "./tool-z5n5ebyg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service8
|
|
12
|
+
} from "./tool-jg4njqxe.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./tool-j40argf2.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input5,
|
|
36
|
+
Plugin: () => Plugin6,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name5,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name5 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input5 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin6 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
|
+
const access = yield* Service24;
|
|
63
|
+
const sessionInstructions = yield* Service8;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service81;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name5,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input5,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin46 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent2 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name5, Input5, Plugin6, toModelContent2, exports_read };
|