@opencode/core 0.0.0-dev-20958 → 0.0.0-dev-20960
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 +75 -75
- package/dist/chunks/{agent-tz35mf6x.js → bus-00dkx0d4.js} +8 -8
- package/dist/chunks/{agent-7nmmn82v.js → bus-00gkfv3g.js} +5 -5
- package/dist/chunks/{agent-wsrve659.js → bus-0181gbjf.js} +19 -19
- package/dist/chunks/{agent-c9x8k2kr.js → bus-0gkk5ev5.js} +15 -15
- package/dist/chunks/{agent-jt6f8k8z.js → bus-0gw4emb7.js} +26 -26
- package/dist/chunks/{agent-q0xm7vwc.js → bus-0j77ygfz.js} +6 -6
- package/dist/chunks/{agent-6je4cm4t.js → bus-0k3esben.js} +5 -5
- package/dist/chunks/{agent-w86b5zna.js → bus-0t5za6dd.js} +23 -23
- package/dist/chunks/{agent-0vbcp93d.js → bus-0vbcp93d.js} +2 -2
- package/dist/chunks/{agent-egzgxsyx.js → bus-0vhqfmyc.js} +29 -29
- package/dist/chunks/{agent-kvnmdx0p.js → bus-0wq0ysk6.js} +17 -17
- package/dist/chunks/{agent-0ytnbz4y.js → bus-0ytnbz4y.js} +5 -5
- package/dist/chunks/{agent-2mhkbbfb.js → bus-18bsjer9.js} +20 -20
- package/dist/chunks/{agent-xa8dcf8m.js → bus-19gt07c1.js} +11 -11
- package/dist/chunks/{agent-se59bpe2.js → bus-1d5h2wfm.js} +5 -5
- package/dist/chunks/{agent-q8p7dk20.js → bus-1dd2w187.js} +26 -26
- package/dist/chunks/{agent-ze38rjkb.js → bus-1ey2nzn1.js} +11 -11
- package/dist/chunks/{agent-rksbsveg.js → bus-1f5q1a3x.js} +21 -21
- package/dist/chunks/{agent-pfqf91wk.js → bus-1fgrf8ne.js} +20 -20
- package/dist/chunks/{agent-229tzr2x.js → bus-1j8dkxme.js} +13 -13
- package/dist/chunks/bus-1x11rq2a.js +18 -0
- package/dist/chunks/{agent-dzgd3nzk.js → bus-26q6vggz.js} +8 -8
- package/dist/chunks/{agent-0t9wd588.js → bus-2aet7wja.js} +8 -8
- package/dist/chunks/{agent-fww2ha2b.js → bus-2k4mbjc5.js} +10 -10
- package/dist/chunks/{agent-rzhk0pxw.js → bus-2wkctjpk.js} +31 -31
- package/dist/chunks/{agent-jy6v70g9.js → bus-2ws178rw.js} +23 -23
- package/dist/chunks/{agent-wnjv9xrx.js → bus-33raapge.js} +7 -7
- package/dist/chunks/{agent-2qp32f0v.js → bus-380jswzm.js} +4 -4
- package/dist/chunks/{agent-avk7egrj.js → bus-398y121m.js} +18 -18
- package/dist/chunks/{agent-qq4j7qt6.js → bus-3bt0s3jd.js} +43 -43
- package/dist/chunks/{agent-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{agent-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-3hwn7j4h.js → bus-3hwn7j4h.js} +2 -2
- package/dist/chunks/{agent-jzbfat1a.js → bus-3j62vzr6.js} +15 -15
- package/dist/chunks/{agent-31820djj.js → bus-3jgm4556.js} +86 -86
- package/dist/chunks/{agent-tegs1ycp.js → bus-3ppptnan.js} +6 -6
- package/dist/chunks/{agent-wqddz62t.js → bus-3pzne7nj.js} +3 -3
- package/dist/chunks/{agent-bqgyyk6d.js → bus-3q1tbpxr.js} +23 -23
- package/dist/chunks/{agent-328j3ef3.js → bus-3r5g4k1g.js} +8 -8
- package/dist/chunks/{agent-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{agent-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{agent-v9yt08hw.js → bus-3vkqtywc.js} +16 -16
- package/dist/chunks/{agent-addxnjmp.js → bus-3y377wv9.js} +4 -4
- package/dist/chunks/{agent-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{agent-20jknadr.js → bus-41y1pdrr.js} +13 -13
- package/dist/chunks/{agent-v0es1rhs.js → bus-4434d9q2.js} +9 -9
- package/dist/chunks/{agent-h3wb0rf0.js → bus-44d22bhd.js} +5 -5
- package/dist/chunks/{agent-h36gg2tn.js → bus-473fyxsj.js} +4 -4
- package/dist/chunks/{agent-50ea6c2f.js → bus-4eknkaec.js} +50 -50
- package/dist/chunks/{agent-s57b5eh9.js → bus-4g16f462.js} +3 -3
- package/dist/chunks/{agent-dz5zw78w.js → bus-4j0w6qav.js} +34 -34
- package/dist/chunks/{agent-qzkhffvs.js → bus-4kc9f4z3.js} +26 -26
- package/dist/chunks/{agent-4rxtb5vq.js → bus-4pt5zbtp.js} +14 -14
- package/dist/chunks/{agent-fp3zmvgv.js → bus-4r9en7k0.js} +23 -23
- package/dist/chunks/{agent-jrcfabzf.js → bus-4v086v4b.js} +4 -4
- package/dist/chunks/{agent-n1n192bv.js → bus-4z58m4b4.js} +4 -4
- package/dist/chunks/{agent-54ma36ye.js → bus-54ma36ye.js} +1 -1
- package/dist/chunks/{agent-my4zabxr.js → bus-58072hz9.js} +3 -3
- package/dist/chunks/{agent-dm3nnk5j.js → bus-5cz20m1h.js} +30 -30
- package/dist/chunks/{agent-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-r2z489rp.js → bus-5rzwp8tz.js} +3 -3
- package/dist/chunks/{agent-bhgc3dzs.js → bus-6057rnvg.js} +7 -7
- package/dist/chunks/{agent-rzmamy72.js → bus-64vw3q0a.js} +47 -47
- package/dist/chunks/{agent-pmcwe568.js → bus-64x0hgxn.js} +17 -17
- package/dist/chunks/{agent-336bg453.js → bus-6bg0sqtt.js} +46 -46
- package/dist/chunks/{agent-jbnebdpg.js → bus-6bnjf6f4.js} +8 -8
- package/dist/chunks/{agent-jk540des.js → bus-6g107h22.js} +2 -2
- package/dist/chunks/{agent-7fkffz83.js → bus-6pc27hjz.js} +8 -8
- package/dist/chunks/{agent-sx205xp2.js → bus-6sqmzbzs.js} +4 -4
- package/dist/chunks/{agent-sytrzq88.js → bus-6vcqh3nn.js} +18 -18
- package/dist/chunks/{agent-6xb47vfp.js → bus-6xb47vfp.js} +1 -1
- package/dist/chunks/{agent-g6yfr6ja.js → bus-6yz0wx8n.js} +5 -5
- package/dist/chunks/{agent-775gj3j1.js → bus-775gj3j1.js} +2 -2
- package/dist/chunks/{agent-vqhana6f.js → bus-77mnv1p1.js} +24 -24
- package/dist/chunks/{agent-yd4bzqjj.js → bus-782zrs06.js} +5 -5
- package/dist/chunks/{agent-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-0jwsre1p.js → bus-7dqw4kz8.js} +5 -5
- package/dist/chunks/{agent-d40bcff0.js → bus-7f3rbzsp.js} +60 -60
- package/dist/chunks/{agent-wxyjxjzj.js → bus-7fqf872z.js} +11 -11
- package/dist/chunks/{agent-3913b8rm.js → bus-7r26ccq8.js} +12 -12
- package/dist/chunks/{agent-xq456m14.js → bus-81jw5x1j.js} +1 -1
- package/dist/chunks/{agent-816nw50c.js → bus-82zb0sc7.js} +13 -13
- package/dist/chunks/{agent-acqwrbht.js → bus-834j5p15.js} +25 -25
- package/dist/chunks/{agent-84txncab.js → bus-84txncab.js} +1 -1
- package/dist/chunks/{agent-fgem0d3n.js → bus-892mrmp0.js} +8 -8
- package/dist/chunks/{agent-ynj5s4jx.js → bus-89ddhe7z.js} +19 -19
- package/dist/chunks/{agent-8m6m0r52.js → bus-8m6m0r52.js} +1 -1
- package/dist/chunks/{agent-6mp983td.js → bus-8pdz634n.js} +46 -46
- package/dist/chunks/{agent-xbzcmspy.js → bus-8wzg168y.js} +33 -33
- package/dist/chunks/{agent-631jgtsf.js → bus-8xkfk1rq.js} +14 -14
- package/dist/chunks/{agent-91qna3x0.js → bus-91qna3x0.js} +3 -3
- package/dist/chunks/{agent-x3f89s44.js → bus-9c2h48zs.js} +14 -14
- package/dist/chunks/{agent-fnmy9sw4.js → bus-9sbgnbhh.js} +16 -16
- package/dist/chunks/{agent-wa0x4va4.js → bus-9y3p8hw6.js} +4 -4
- package/dist/chunks/{agent-ydp8h3rh.js → bus-9zyrfkt6.js} +27 -27
- package/dist/chunks/{agent-fve7hrpz.js → bus-a3t537pd.js} +14 -14
- package/dist/chunks/{agent-fz67f08d.js → bus-a6hpz6kj.js} +22 -22
- package/dist/chunks/{agent-hkttkzqp.js → bus-a734d9pv.js} +17 -17
- package/dist/chunks/bus-aa1ahzj9.js +26 -0
- package/dist/chunks/{agent-1609qj8w.js → bus-aesxv1ar.js} +15 -15
- package/dist/chunks/{agent-jhfkefc8.js → bus-aff8x0jf.js} +15 -15
- package/dist/chunks/{agent-1j1122ka.js → bus-amky5vfe.js} +31 -34
- package/dist/chunks/{agent-9bx876pj.js → bus-ap1cjxc7.js} +11 -11
- package/dist/chunks/{agent-s777yeyn.js → bus-atw403ht.js} +27 -27
- package/dist/chunks/{agent-ssvc2v8g.js → bus-ax80y0b8.js} +18 -18
- package/dist/chunks/{agent-bb6cbn1x.js → bus-b2ek08gx.js} +91 -91
- package/dist/chunks/{agent-wzvjhsfb.js → bus-bb48m4jz.js} +18 -18
- package/dist/chunks/{agent-b6aa29h5.js → bus-bdqng849.js} +32 -32
- package/dist/chunks/{agent-fs2ks0ah.js → bus-bj04ekg4.js} +31 -31
- package/dist/chunks/{agent-k72nqehm.js → bus-btp8fcp1.js} +34 -34
- package/dist/chunks/{agent-yfwvs8z7.js → bus-btxavp2f.js} +40 -40
- package/dist/chunks/{agent-c1fqxshp.js → bus-c1fqxshp.js} +3 -3
- package/dist/chunks/{agent-0k12ygpv.js → bus-c9011knd.js} +6 -6
- package/dist/chunks/{agent-y5hc63tf.js → bus-cb9bgdnx.js} +24 -24
- package/dist/chunks/{agent-1z2t3sd1.js → bus-cg961tyv.js} +55 -55
- package/dist/chunks/{agent-3cy54vvk.js → bus-cjpmac0s.js} +11 -11
- package/dist/chunks/{agent-csb7xzkw.js → bus-cqk47g7r.js} +20 -20
- package/dist/chunks/{agent-wzhp1wyq.js → bus-crxjpxy3.js} +11 -11
- package/dist/chunks/{agent-hcs07a1d.js → bus-cwewv0hd.js} +13 -13
- package/dist/chunks/{agent-q1bfw64a.js → bus-d0t3dw1s.js} +16 -16
- package/dist/chunks/{agent-c56508zd.js → bus-d416qwxh.js} +188 -188
- package/dist/chunks/{agent-5kxpfrb8.js → bus-d45zy1ke.js} +6 -6
- package/dist/chunks/{agent-ft3hqk2c.js → bus-d4he2qe1.js} +9 -9
- package/dist/chunks/{agent-hqf1mv2f.js → bus-d78rtj1k.js} +19 -19
- package/dist/chunks/{agent-k3xewbbn.js → bus-djc7xb42.js} +23 -23
- package/dist/chunks/{agent-tcxg1jmc.js → bus-dkx8hh7h.js} +22 -22
- package/dist/chunks/{agent-dqxsqydv.js → bus-dqxsqydv.js} +1 -1
- package/dist/chunks/{agent-qqeeq2t9.js → bus-drwq78ky.js} +7 -7
- package/dist/chunks/{agent-ky7xv0tv.js → bus-dwzw3ysq.js} +6 -6
- package/dist/chunks/{agent-5qd3pb7m.js → bus-e3qxr5gk.js} +2 -2
- package/dist/chunks/{agent-rabj4zv4.js → bus-e5c52b1q.js} +9 -9
- package/dist/chunks/bus-eba0thny.js +253 -0
- package/dist/chunks/{agent-y878v9rt.js → bus-ed90f847.js} +47 -47
- package/dist/chunks/{agent-eej6y6fw.js → bus-eej6y6fw.js} +2 -2
- package/dist/chunks/{agent-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-aftyskxv.js → bus-f3j42fy9.js} +22 -22
- package/dist/chunks/{agent-w6htd7zh.js → bus-ff8ymsvv.js} +13 -13
- package/dist/chunks/{agent-wha9pdbd.js → bus-fqwtbb5g.js} +11 -11
- package/dist/chunks/{agent-84v535vz.js → bus-fwgc76aj.js} +30 -30
- package/dist/chunks/{agent-6nydggxm.js → bus-fx806nkn.js} +8 -8
- package/dist/chunks/{agent-nnbhsd2s.js → bus-g0ns0t0h.js} +11 -11
- package/dist/chunks/{agent-46hxsw4n.js → bus-g0szv97q.js} +26 -26
- package/dist/chunks/{agent-2a7p1gyt.js → bus-g4kgqnsj.js} +9 -9
- package/dist/chunks/{agent-d7x0sh0y.js → bus-g686f6pq.js} +9 -9
- package/dist/chunks/{agent-2bkpye9j.js → bus-g8msvjt6.js} +11 -11
- package/dist/chunks/{agent-drnf6xwf.js → bus-gccjnz6h.js} +2 -2
- package/dist/chunks/{agent-3g8j9he4.js → bus-gd0tnyjc.js} +1 -1
- package/dist/chunks/{agent-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{agent-ehapxwsb.js → bus-gd9k1kqd.js} +34 -34
- package/dist/chunks/{agent-x26hza9p.js → bus-ghceazn2.js} +13 -13
- package/dist/chunks/{agent-n7gja7eh.js → bus-gsc0aa41.js} +28 -28
- package/dist/chunks/{agent-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{agent-h7s7r6s9.js → bus-h7s7r6s9.js} +2 -2
- package/dist/chunks/{agent-yzdd1q42.js → bus-h7x4vf5y.js} +43 -43
- package/dist/chunks/{agent-js4pbrmc.js → bus-hcc3q5rr.js} +25 -25
- package/dist/chunks/{agent-sbn7pzv1.js → bus-hf9tj6qr.js} +6 -6
- package/dist/chunks/{agent-hgz4x7wa.js → bus-hgz4x7wa.js} +1 -1
- package/dist/chunks/{agent-afdssyjb.js → bus-hn57h045.js} +4 -4
- package/dist/chunks/{agent-vfy0p931.js → bus-j3wt0nwb.js} +6 -6
- package/dist/chunks/{agent-5cg0xhj4.js → bus-j3z348jk.js} +8 -8
- package/dist/chunks/{agent-70sfpb74.js → bus-j42m18m7.js} +11 -11
- package/dist/chunks/{agent-dvn8h3hj.js → bus-jfwxvc8y.js} +19 -19
- package/dist/chunks/{agent-a60tcv91.js → bus-jk8m7z7w.js} +11 -11
- package/dist/chunks/{agent-fpzj7rn3.js → bus-jqa5tae4.js} +77 -77
- package/dist/chunks/{agent-vy0s0sr4.js → bus-js67rrqy.js} +33 -33
- package/dist/chunks/{agent-q761sv46.js → bus-k1afr8k8.js} +12 -12
- package/dist/chunks/{agent-50z0a1gb.js → bus-k8wpe4va.js} +28 -28
- package/dist/chunks/{agent-fxaymqdw.js → bus-khmqacep.js} +4 -4
- package/dist/chunks/{agent-mv3hx7wz.js → bus-kqv3x6rj.js} +9 -9
- package/dist/chunks/{agent-hkffa77z.js → bus-kqx1b4hy.js} +4 -4
- package/dist/chunks/{agent-n69wn4k7.js → bus-kqy50e42.js} +14 -14
- package/dist/chunks/{agent-hhmdxq56.js → bus-ktc4x85z.js} +3 -3
- package/dist/chunks/{agent-1gpb38yh.js → bus-m22batcp.js} +9 -9
- package/dist/chunks/{agent-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-q91f3t0x.js → bus-maahtrna.js} +27 -27
- package/dist/chunks/{agent-maspj1v3.js → bus-maspj1v3.js} +1 -1
- package/dist/chunks/{agent-0m77ysc4.js → bus-meksxd78.js} +7 -7
- package/dist/chunks/{agent-ffwe724q.js → bus-n2q0s26t.js} +25 -25
- package/dist/chunks/{agent-8kbf19c9.js → bus-n74py125.js} +22 -22
- package/dist/chunks/{agent-vwtghmt7.js → bus-nd1fsjn1.js} +12 -12
- package/dist/chunks/{agent-xa3qyksy.js → bus-nd37ta7v.js} +6 -6
- package/dist/chunks/{agent-hpxsmcpf.js → bus-nm7sf511.js} +13 -13
- package/dist/chunks/{agent-1agemg3z.js → bus-nv3ptt7p.js} +4 -4
- package/dist/chunks/{agent-vch9y4vj.js → bus-nxebrffs.js} +17 -17
- package/dist/chunks/{agent-wk28cg8h.js → bus-nxn41ptx.js} +11 -11
- package/dist/chunks/{agent-sd36kcjb.js → bus-nz1vskxa.js} +13 -13
- package/dist/chunks/{agent-fbmc2kmv.js → bus-nzyq0fma.js} +21 -21
- package/dist/chunks/{agent-wetbxm0p.js → bus-p7zpqra7.js} +9 -9
- package/dist/chunks/{agent-dv1qgsyq.js → bus-pa8pe2x7.js} +8 -8
- package/dist/chunks/{agent-6rctkjjb.js → bus-pfzygb21.js} +33 -33
- package/dist/chunks/{agent-j34bs4nz.js → bus-pg3d8dpb.js} +4 -4
- package/dist/chunks/{agent-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{agent-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{agent-0z54bg9x.js → bus-pmxdg44f.js} +36 -36
- package/dist/chunks/{agent-49ctvpxp.js → bus-ppvdn42r.js} +5 -5
- package/dist/chunks/{agent-jfvkz881.js → bus-prsra7d9.js} +16 -16
- package/dist/chunks/{agent-86qzxe6p.js → bus-qbqbaz6q.js} +4 -4
- package/dist/chunks/{agent-nehy47qm.js → bus-qfqw5kx1.js} +16 -16
- package/dist/chunks/{agent-qnc92qwc.js → bus-qnc92qwc.js} +1 -1
- package/dist/chunks/{agent-6kzp9tjq.js → bus-qne3fa44.js} +5 -5
- package/dist/chunks/{agent-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{agent-t6xdkxwv.js → bus-r0grdksa.js} +18 -18
- package/dist/chunks/{agent-v3dtcwjz.js → bus-r25wmq2t.js} +13 -13
- package/dist/chunks/{agent-7abtwhpm.js → bus-r9c5hhft.js} +331 -331
- package/dist/chunks/{agent-t2fc4mz5.js → bus-ratrq7cm.js} +4 -4
- package/dist/chunks/{agent-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{agent-rert0e01.js → bus-rert0e01.js} +2 -2
- package/dist/chunks/{agent-s8d7rejh.js → bus-rhjbct0v.js} +4 -4
- package/dist/chunks/{agent-rj3eygr5.js → bus-rj3eygr5.js} +2 -2
- package/dist/chunks/{agent-wm327jek.js → bus-rm32pmqw.js} +26 -26
- package/dist/chunks/{agent-vz2qmdjd.js → bus-rmgkpjed.js} +43 -43
- package/dist/chunks/{agent-qvazqvvc.js → bus-rmn1xy97.js} +8 -8
- package/dist/chunks/{agent-tkw33k9w.js → bus-rnpgyt0h.js} +30 -30
- package/dist/chunks/{agent-ya23ecyg.js → bus-rpg8pfb4.js} +45 -45
- package/dist/chunks/{agent-2v1pzyq0.js → bus-rqx3t2mm.js} +6 -6
- package/dist/chunks/{agent-snr1631k.js → bus-rrkmx6ac.js} +4 -4
- package/dist/chunks/{agent-aw43jf4k.js → bus-rsyjv6mg.js} +13 -13
- package/dist/chunks/{agent-sr657sp7.js → bus-s2zv6nyz.js} +5 -5
- package/dist/chunks/{agent-vk9vgbh1.js → bus-s36grbt2.js} +17 -17
- package/dist/chunks/{agent-b4y73578.js → bus-s43j9fc8.js} +47 -47
- package/dist/chunks/{agent-9ng5jy3p.js → bus-s7mtv1bq.js} +9 -9
- package/dist/chunks/{agent-sa8ekw3f.js → bus-sa8ekw3f.js} +2 -2
- package/dist/chunks/{agent-z2qbjhyn.js → bus-sfkj0ta1.js} +5 -5
- package/dist/chunks/{agent-n6mse5q2.js → bus-shshnmxt.js} +6 -6
- package/dist/chunks/{agent-a37v51ty.js → bus-stm29492.js} +20 -20
- package/dist/chunks/{agent-m2tp2zy4.js → bus-sw9j6ksk.js} +30 -30
- package/dist/chunks/{agent-2qetk9d6.js → bus-swm9mrax.js} +23 -23
- package/dist/chunks/{agent-wdpmkj9t.js → bus-sxmekffs.js} +11 -11
- package/dist/chunks/{agent-syv4x271.js → bus-syv4x271.js} +1 -1
- package/dist/chunks/{agent-076ygycp.js → bus-tag4xnf9.js} +24 -24
- package/dist/chunks/{agent-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{agent-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{agent-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{agent-pk8q3hep.js → bus-thwkaytk.js} +34 -34
- package/dist/chunks/{agent-3v8y4w79.js → bus-tkpexp8c.js} +3 -3
- package/dist/chunks/{agent-tm0kqsz3.js → bus-tm0kqsz3.js} +1 -1
- package/dist/chunks/bus-twb1z4g5.js +180 -0
- package/dist/chunks/{agent-tyytaxap.js → bus-tyytaxap.js} +1 -1
- package/dist/chunks/{agent-0zh4dper.js → bus-v4mbb2sh.js} +50 -50
- package/dist/chunks/{agent-shcqsdwj.js → bus-v4vcq6h6.js} +11 -11
- package/dist/chunks/{agent-v7p4zvkq.js → bus-v7p4zvkq.js} +2 -2
- package/dist/chunks/{agent-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-efxe2svv.js → bus-vjawha9d.js} +11 -11
- package/dist/chunks/{agent-a7bcxdzj.js → bus-vktwk5kv.js} +9 -9
- package/dist/chunks/{agent-8f7svxab.js → bus-vxvmm3ng.js} +20 -20
- package/dist/chunks/{agent-vzs5sf6e.js → bus-vzs5sf6e.js} +1 -1
- package/dist/chunks/{agent-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-7v8d6x1k.js → bus-w4650645.js} +7 -7
- package/dist/chunks/{agent-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{agent-nf8gtwm3.js → bus-wd8fgp30.js} +28 -28
- package/dist/chunks/{agent-qk0qxrtr.js → bus-wfpht1wy.js} +34 -34
- package/dist/chunks/{agent-ym3sw0s1.js → bus-wfq5er05.js} +1 -1
- package/dist/chunks/{agent-wk5z6jzv.js → bus-wk5z6jzv.js} +2 -2
- package/dist/chunks/{agent-exe77665.js → bus-wq2yy38y.js} +30 -30
- package/dist/chunks/{agent-1bmjn0qh.js → bus-wwvf330t.js} +11 -11
- package/dist/chunks/{agent-jvkv54gr.js → bus-x7zk3xe8.js} +3 -3
- package/dist/chunks/{agent-qfx0t4ke.js → bus-xcbpqqbd.js} +11 -11
- package/dist/chunks/{agent-g8wr7j18.js → bus-xj1thgjc.js} +5 -5
- package/dist/chunks/{agent-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{agent-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{agent-3gt6es9n.js → bus-yecejfqf.js} +6 -6
- package/dist/chunks/{agent-8f0r14n7.js → bus-ygkay44d.js} +24 -24
- package/dist/chunks/{agent-7j7ddnk0.js → bus-ykfy41bp.js} +12 -12
- package/dist/chunks/{agent-rhraev7y.js → bus-yp2x3t23.js} +4 -4
- package/dist/chunks/{agent-3ef040mj.js → bus-yt8mytmq.js} +42 -42
- package/dist/chunks/{agent-bjx1sjef.js → bus-ywt8jp22.js} +9 -9
- package/dist/chunks/{agent-4a1s5xyh.js → bus-ywyx2haj.js} +15 -15
- package/dist/chunks/{agent-wh82kep3.js → bus-yxfmzf1f.js} +3 -3
- package/dist/chunks/{agent-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-jhxa4x6v.js → bus-z3a0qmaa.js} +11 -11
- package/dist/chunks/{agent-xaafse7q.js → bus-z5tadht1.js} +4 -4
- package/dist/chunks/{agent-btxh7gek.js → bus-z6b1b6at.js} +14 -14
- package/dist/chunks/{agent-kxy5hpjs.js → bus-zad36gve.js} +31 -31
- package/dist/chunks/{agent-w693ecfj.js → bus-zm6e2j1c.js} +10 -10
- package/dist/chunks/{agent-n3z6xa89.js → bus-zpb199nx.js} +2 -2
- package/dist/chunks/{agent-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{agent-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/chunks/{agent-b3f8fkhc.js → bus-zyk1yjk8.js} +5 -5
- 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 +83 -83
- 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 +120 -120
- package/dist/config/plugin/command.js +209 -209
- 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 +118 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- 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 +123 -123
- 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 +368 -368
- 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 +3 -3
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- 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 +86 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- 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 +87 -87
- 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 +127 -127
- 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 +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- 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 +120 -120
- 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 +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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- 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 +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- 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 +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- 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 +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 +3 -3
- 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 +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +11 -11
- 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 +95 -95
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- 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 +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- 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 +114 -114
- package/dist/tool/plugin/write.js +122 -122
- 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/config/plugin/instruction.d.ts +3 -1
- package/dist/types/instruction-discovery.d.ts +2 -3
- 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 +3 -3
- 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 +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/websearch.js +84 -84
- 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/agent-0yjx2tqn.js +0 -118
- package/dist/chunks/agent-1f212xf4.js +0 -253
- package/dist/chunks/agent-gyce5qg1.js +0 -18
- package/dist/chunks/agent-h2s4xrnp.js +0 -26
- /package/dist/chunks/{agent-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3t0ybcrp.js → bus-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-pkyv6v7h.js → bus-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{agent-pyv0edze.js → bus-pyv0edze.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wjj7prxr.js → bus-wjj7prxr.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./bus-cg961tyv.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input8,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin27,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name8 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input8 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input8.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin27 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service56;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name8,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input8,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin38 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name8,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name8, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input8, Plugin27, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-k1afr8k8.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make10 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make10();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make10, LMStudioPlugin2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info11,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info11 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info11, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID13 = Session.ID;
|
|
5
|
+
var Info22 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID13, Info22, SessionSchema2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./bus-3vkqtywc.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service78,
|
|
11
11
|
node82
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-yecejfqf.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service70,
|
|
20
|
+
node74,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./bus-fwgc76aj.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./bus-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID9,
|
|
36
|
+
Info: () => Info19,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service69,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node73,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
53
|
+
var ID9 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,13 +66,13 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info19 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service69 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
75
|
-
const bus = yield*
|
|
73
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service70;
|
|
75
|
+
const bus = yield* Service84;
|
|
76
76
|
const location = yield* Service78;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info19.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -208,8 +208,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
208
208
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
209
209
|
});
|
|
210
210
|
});
|
|
211
|
-
yield* bus.subscribe(
|
|
212
|
-
return
|
|
211
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
212
|
+
return Service69.of({
|
|
213
213
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
214
214
|
reload,
|
|
215
215
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
}));
|
|
231
|
-
var
|
|
231
|
+
var node73 = makeLocationNode({ service: Service69, layer, deps: [node74, node88, node82] });
|
|
232
232
|
function supportsText2(model) {
|
|
233
233
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
234
234
|
}
|
|
@@ -242,9 +242,9 @@ function compatibility2(input) {
|
|
|
242
242
|
function parse5(input) {
|
|
243
243
|
const index = input.indexOf("/");
|
|
244
244
|
return {
|
|
245
|
-
providerID:
|
|
246
|
-
modelID:
|
|
245
|
+
providerID: ID10.make(index === -1 ? input : input.slice(0, index)),
|
|
246
|
+
modelID: ID9.make(index === -1 ? "" : input.slice(index + 1))
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
export {
|
|
250
|
+
export { ID9, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info19, Service69, node73, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
|
-
function
|
|
8
|
+
function make6(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make6 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./bus-77mnv1p1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./bus-cg961tyv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service82;
|
|
57
|
+
const permission = yield* Service56;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./bus-3vkqtywc.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node82
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-yecejfqf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service53,
|
|
11
|
+
node56
|
|
12
|
+
} from "./bus-1f5q1a3x.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service74,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node78
|
|
20
|
+
} from "./bus-9sbgnbhh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service60,
|
|
23
|
+
node64
|
|
24
|
+
} from "./bus-892mrmp0.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service30,
|
|
27
|
+
node33
|
|
28
|
+
} from "./bus-2aet7wja.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-58072hz9.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service62,
|
|
35
|
+
node66
|
|
36
|
+
} from "./bus-6bg0sqtt.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./bus-vjawha9d.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError3,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service29,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node32
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service29 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
91
|
-
const bus = yield*
|
|
90
|
+
var layer = () => Layer.effect(Service29, Effect.gen(function* () {
|
|
91
|
+
const bus = yield* Service84;
|
|
92
92
|
const location = yield* Service78;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service74;
|
|
95
|
+
const environment = yield* Service53;
|
|
96
|
+
const hooks = yield* Service60;
|
|
97
|
+
const environments = yield* Service30;
|
|
98
|
+
const config = yield* Service62;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError3({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError3({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service29.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node32 = makeLocationNode({
|
|
329
|
+
service: Service29,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
|
-
|
|
332
|
+
node88,
|
|
333
333
|
node82,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
335
|
+
node78,
|
|
336
|
+
node56,
|
|
337
|
+
node64,
|
|
338
|
+
node33,
|
|
339
|
+
node66,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError3, RETENTION2, DIRECTORY2, Service29, cleanup2, node32, exports_shell4 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-cg961tyv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service26,
|
|
12
|
+
node30
|
|
13
|
+
} from "./bus-ed90f847.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-k8wpe4va.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions3 = {};
|
|
24
24
|
__export(exports_instructions3, {
|
|
25
25
|
McpInstructions: () => exports_instructions3,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
26
|
+
Service: () => Service22,
|
|
27
|
+
layer: () => layer12,
|
|
28
28
|
node: () => node26
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service22 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service22, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service26;
|
|
68
|
+
return Service22.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make20({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var node26 = makeLocationNode({ service:
|
|
99
|
+
var node26 = makeLocationNode({ service: Service22, layer: layer12, deps: [node30] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service22, layer12, node26, exports_instructions3 };
|