@opencode/core 0.0.0-dev-21106 → 0.0.0-dev-21107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{location-services-z6171qj4.js → tool-output-01h3a36h.js} +28 -28
- package/dist/chunks/{location-services-ffsgb9yq.js → tool-output-03368f8h.js} +26 -26
- package/dist/chunks/{location-services-y88c22bj.js → tool-output-0b5g1ynf.js} +4 -4
- package/dist/chunks/{location-services-chj935f8.js → tool-output-0gkagqrr.js} +11 -11
- package/dist/chunks/{location-services-6hjx5zpb.js → tool-output-0jq9fyba.js} +9 -9
- package/dist/chunks/{location-services-gnbn4h0h.js → tool-output-0m8fs28f.js} +2 -2
- package/dist/chunks/{location-services-scp5ngm2.js → tool-output-0nwc5kee.js} +18 -18
- package/dist/chunks/{location-services-xxa1172v.js → tool-output-0p78r4x4.js} +10 -10
- package/dist/chunks/{location-services-rntq0wr5.js → tool-output-0r6s63y7.js} +1 -1
- package/dist/chunks/{location-services-0vbcp93d.js → tool-output-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-services-278mzw34.js → tool-output-0x5yx3bz.js} +9 -9
- package/dist/chunks/{location-services-s7zbh9mg.js → tool-output-11zcqr0c.js} +18 -18
- package/dist/chunks/{location-services-1vpyt6w9.js → tool-output-15zejkyp.js} +25 -25
- package/dist/chunks/{location-services-bnb2m7vh.js → tool-output-1ncy2y84.js} +9 -9
- package/dist/chunks/{location-services-9tqvd253.js → tool-output-1zmkb8s9.js} +4 -4
- package/dist/chunks/{location-services-vr5k6743.js → tool-output-28fn03bn.js} +13 -13
- package/dist/chunks/{location-services-tdcr03np.js → tool-output-2aqr53fq.js} +9 -9
- package/dist/chunks/{location-services-a0rzy1ew.js → tool-output-2c0ahkfh.js} +22 -22
- package/dist/chunks/{location-services-eahhehpg.js → tool-output-2k71kv7p.js} +4 -4
- package/dist/chunks/{location-services-7dqw4kz8.js → tool-output-2k8khapm.js} +5 -5
- package/dist/chunks/{location-services-8y5sne0z.js → tool-output-2vk74zb2.js} +15 -15
- package/dist/chunks/{location-services-mb2rzwp2.js → tool-output-2z0vpwpb.js} +14 -14
- package/dist/chunks/{location-services-h7s7r6s9.js → tool-output-31xfzrxg.js} +5 -5
- package/dist/chunks/{location-services-1tmzd80p.js → tool-output-3bazwrz0.js} +8 -8
- package/dist/chunks/{location-services-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-yqc6bamn.js → tool-output-3g8j9he4.js} +1 -1
- package/dist/chunks/{location-services-h9kwetak.js → tool-output-3gfqta41.js} +13 -13
- package/dist/chunks/{location-services-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3hwn7j4h.js → tool-output-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-services-rnhrd9ke.js → tool-output-3jd31z68.js} +19 -19
- package/dist/chunks/{location-services-mnxc4h6z.js → tool-output-3rgzm53c.js} +27 -27
- package/dist/chunks/{location-services-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-x661k3y3.js → tool-output-3y377wv9.js} +4 -4
- package/dist/chunks/{location-services-3zsf4n22.js → tool-output-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-0ft0yr9w.js → tool-output-40jpxat6.js} +6 -6
- package/dist/chunks/{location-services-btvs9fn2.js → tool-output-4434d9q2.js} +9 -9
- package/dist/chunks/{location-services-zsb6ammf.js → tool-output-4cczkxn0.js} +3 -3
- package/dist/chunks/{location-services-htmqamza.js → tool-output-4ek1fza7.js} +23 -23
- package/dist/chunks/{location-services-dgym8gdj.js → tool-output-4fey8vza.js} +34 -34
- package/dist/chunks/{location-services-0wxtr9f2.js → tool-output-4py6xhxg.js} +12 -12
- package/dist/chunks/{location-services-7dbmnfn4.js → tool-output-52fpbh6z.js} +8 -8
- package/dist/chunks/{location-services-fcjdc125.js → tool-output-533mvt3d.js} +21 -21
- package/dist/chunks/{location-services-fghpxytk.js → tool-output-5342vq26.js} +12 -12
- package/dist/chunks/{location-services-54ma36ye.js → tool-output-54ma36ye.js} +1 -1
- package/dist/chunks/{location-services-1j8yzcpc.js → tool-output-58hng72m.js} +5 -5
- package/dist/chunks/{location-services-5m9w47nd.js → tool-output-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-zysvs9g8.js → tool-output-5n8bzj3g.js} +41 -41
- package/dist/chunks/{location-services-e3qxr5gk.js → tool-output-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-services-hz8xhk9p.js → tool-output-5qy53gv6.js} +11 -11
- package/dist/chunks/{location-services-ks2azddx.js → tool-output-5t9vx4rq.js} +9 -9
- package/dist/chunks/{location-services-bkmex65f.js → tool-output-62esjtgn.js} +7 -7
- package/dist/chunks/{location-services-mwn5775p.js → tool-output-65cxbzac.js} +9 -9
- package/dist/chunks/{location-services-ry4dxtnx.js → tool-output-6azzqc0z.js} +3 -3
- package/dist/chunks/{location-services-0by4cv8g.js → tool-output-6djpdt2h.js} +17 -17
- package/dist/chunks/{location-services-gqgz49fy.js → tool-output-6g5esjj0.js} +23 -23
- package/dist/chunks/{location-services-bzh6wz94.js → tool-output-6m2fchhq.js} +11 -11
- package/dist/chunks/{location-services-7xxhw447.js → tool-output-6p9zhm8s.js} +5 -5
- package/dist/chunks/{location-services-6xb47vfp.js → tool-output-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-services-0d56ha6q.js → tool-output-7612f9d9.js} +26 -26
- package/dist/chunks/{location-services-775gj3j1.js → tool-output-775gj3j1.js} +2 -2
- package/dist/chunks/{location-services-m2svmn72.js → tool-output-7b1rpwgp.js} +3 -3
- package/dist/chunks/{location-services-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
- package/dist/chunks/tool-output-7esqvdrt.js +26 -0
- package/dist/chunks/{location-services-hy1va3t8.js → tool-output-7gfgfe5t.js} +11 -11
- package/dist/chunks/{location-services-5r6s66xm.js → tool-output-7gpjaa72.js} +30 -30
- package/dist/chunks/{location-services-9m5zssg8.js → tool-output-7hjg3qr5.js} +50 -50
- package/dist/chunks/{location-services-gvdcyqq1.js → tool-output-7kx77xh0.js} +12 -12
- package/dist/chunks/{location-services-6jcfgqfv.js → tool-output-7skpr4yr.js} +21 -21
- package/dist/chunks/{location-services-84txncab.js → tool-output-84txncab.js} +1 -1
- package/dist/chunks/{location-services-64j9cy2v.js → tool-output-87k58gkv.js} +4 -4
- package/dist/chunks/{location-services-5e8c4hth.js → tool-output-896w72mm.js} +14 -14
- package/dist/chunks/{location-services-0xezjjjn.js → tool-output-8ank75fn.js} +8 -8
- package/dist/chunks/{location-services-kbckpb3k.js → tool-output-8fkk14fj.js} +11 -11
- package/dist/chunks/{location-services-8zhzggcd.js → tool-output-8fq9cdtt.js} +11 -11
- package/dist/chunks/{location-services-e5y4m074.js → tool-output-8j77w7ez.js} +11 -11
- package/dist/chunks/{location-services-8m6m0r52.js → tool-output-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-services-hbq4e136.js → tool-output-8n6avrs4.js} +11 -11
- package/dist/chunks/{location-services-4v7ngy20.js → tool-output-8wbxkt1z.js} +4 -4
- package/dist/chunks/{location-services-gywhxt4f.js → tool-output-9044jed8.js} +3 -3
- package/dist/chunks/{location-services-j09zfasm.js → tool-output-91qna3x0.js} +3 -3
- package/dist/chunks/{location-services-evx684vz.js → tool-output-9296v61x.js} +9 -9
- package/dist/chunks/{location-services-1rhdwmpp.js → tool-output-9bmm07as.js} +15 -15
- package/dist/chunks/{location-services-34kgva51.js → tool-output-9dv1jfw1.js} +17 -17
- package/dist/chunks/{location-services-eegbd1nb.js → tool-output-9my2x6wz.js} +10 -10
- package/dist/chunks/{location-services-pby3wrs0.js → tool-output-9qh33kv4.js} +16 -16
- package/dist/chunks/{location-services-9gf2ktjb.js → tool-output-9t2yzk0x.js} +6 -6
- package/dist/chunks/{location-services-cknd69cm.js → tool-output-9xm2b2ta.js} +8 -8
- package/dist/chunks/{location-services-tf6n1kae.js → tool-output-a26ckshg.js} +45 -45
- package/dist/chunks/{location-services-6p69xtgv.js → tool-output-a2kqt7yy.js} +15 -15
- package/dist/chunks/{location-services-bcrzxpkv.js → tool-output-a5ekmvfj.js} +19 -19
- package/dist/chunks/{location-services-4bjwhnbm.js → tool-output-a80hgxqz.js} +20 -20
- package/dist/chunks/{location-services-77yn7j3n.js → tool-output-ah84bfqd.js} +27 -27
- package/dist/chunks/{location-services-58r1jg05.js → tool-output-ahf6grxb.js} +15 -15
- package/dist/chunks/{location-services-5bdbc12f.js → tool-output-ak9msbxp.js} +6 -6
- package/dist/chunks/{location-services-19rsyt1c.js → tool-output-akfer8xa.js} +1 -1
- package/dist/chunks/{location-services-er1tw77y.js → tool-output-amce43sf.js} +22 -22
- package/dist/chunks/{location-services-sycxn284.js → tool-output-amzat5vn.js} +21 -21
- package/dist/chunks/{location-services-ge04r35n.js → tool-output-b19hasgs.js} +5 -5
- package/dist/chunks/{location-services-k1140vbz.js → tool-output-b5ns35kd.js} +18 -18
- package/dist/chunks/{location-services-bacj9t34.js → tool-output-bacj9t34.js} +2 -2
- package/dist/chunks/{location-services-kw2spxn4.js → tool-output-benaxzdw.js} +2 -2
- package/dist/chunks/{location-services-s5btqgfz.js → tool-output-bfarv9hj.js} +53 -53
- package/dist/chunks/{location-services-k2gjqwpp.js → tool-output-bfegkxfd.js} +8 -8
- package/dist/chunks/{location-services-ntk88cs4.js → tool-output-bg0ab6ke.js} +4 -4
- package/dist/chunks/{location-services-9c2ce4kp.js → tool-output-bhg3hqkd.js} +28 -28
- package/dist/chunks/{location-services-bjx1sjef.js → tool-output-bjx1sjef.js} +2 -2
- package/dist/chunks/{location-services-kqv3x6rj.js → tool-output-bmr56wjg.js} +9 -9
- package/dist/chunks/{location-services-z6c3x22d.js → tool-output-bx0gyb4h.js} +5 -5
- package/dist/chunks/{location-services-548m99gt.js → tool-output-bxhwdmpf.js} +17 -17
- package/dist/chunks/{location-services-c1fqxshp.js → tool-output-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-services-xa9ys1dk.js → tool-output-c4jhdyz3.js} +16 -16
- package/dist/chunks/{location-services-tnz01zr5.js → tool-output-cc1d1de7.js} +10 -10
- package/dist/chunks/{location-services-mwjx7n7y.js → tool-output-cg27wf5h.js} +304 -304
- package/dist/chunks/{location-services-0rv9k1bd.js → tool-output-cmcw90at.js} +45 -45
- package/dist/chunks/{location-services-89226jmx.js → tool-output-cnvq06kx.js} +4 -4
- package/dist/chunks/{location-services-52tmw1jj.js → tool-output-dg8dvwgd.js} +10 -10
- package/dist/chunks/{location-services-xbvnm2ed.js → tool-output-dmkhjyd8.js} +7 -7
- package/dist/chunks/{location-services-dqxsqydv.js → tool-output-dqxsqydv.js} +1 -1
- package/dist/chunks/{location-services-rma58dd1.js → tool-output-dzn6zjdt.js} +34 -34
- package/dist/chunks/{location-services-qv7ea5pm.js → tool-output-dzwfbtgn.js} +26 -26
- package/dist/chunks/{location-services-cygrsq30.js → tool-output-e09bbf7h.js} +22 -22
- package/dist/chunks/{location-services-e6eeg2pk.js → tool-output-e1armjht.js} +31 -31
- package/dist/chunks/{location-services-e80seqcp.js → tool-output-e80seqcp.js} +1 -1
- package/dist/chunks/{location-services-cfz2qr34.js → tool-output-e8fsf4jj.js} +31 -31
- package/dist/chunks/{location-services-tbznjfkf.js → tool-output-e8qq2qb7.js} +4 -4
- package/dist/chunks/{location-services-67kwpczx.js → tool-output-e8re3nba.js} +14 -14
- package/dist/chunks/{location-services-te4j4htj.js → tool-output-ec3zzpe3.js} +33 -33
- package/dist/chunks/{location-services-2j00ac8a.js → tool-output-ed65qe44.js} +13 -13
- package/dist/chunks/{location-services-eej6y6fw.js → tool-output-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-services-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-qc2c1fqt.js → tool-output-f0mzc1a5.js} +37 -37
- package/dist/chunks/{location-services-v6rz958s.js → tool-output-f6nm7q73.js} +23 -23
- package/dist/chunks/{location-services-ysm8xkcf.js → tool-output-fbr2cbta.js} +32 -32
- package/dist/chunks/{location-services-fcy631f0.js → tool-output-fcy631f0.js} +1 -1
- package/dist/chunks/{location-services-fn9t717r.js → tool-output-fn9t717r.js} +3 -3
- package/dist/chunks/{location-services-2sejkfem.js → tool-output-ft3hqk2c.js} +9 -9
- package/dist/chunks/{location-services-djaw7b23.js → tool-output-fteeg136.js} +11 -11
- package/dist/chunks/{location-services-5yzzbxa7.js → tool-output-g0445xdp.js} +8 -8
- package/dist/chunks/{location-services-ytqr7vs8.js → tool-output-g3z8fmgm.js} +2 -2
- package/dist/chunks/{location-services-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-38596mmf.js → tool-output-gmm8fkqt.js} +3 -3
- package/dist/chunks/tool-output-grnq534p.js +257 -0
- package/dist/chunks/{location-services-3mqpzj3c.js → tool-output-gtyp3v7n.js} +25 -25
- package/dist/chunks/{location-services-kqdsm7er.js → tool-output-gx2rmat0.js} +12 -12
- package/dist/chunks/{location-services-xdrba4jw.js → tool-output-h04zhhvt.js} +9 -9
- package/dist/chunks/{location-services-qwtectgj.js → tool-output-h43vj0zt.js} +16 -16
- package/dist/chunks/{location-services-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-83peqxcv.js → tool-output-hc42tqs2.js} +4 -4
- package/dist/chunks/{location-services-n9s1y3ra.js → tool-output-hcfbb8m3.js} +4 -4
- package/dist/chunks/{location-services-hgz4x7wa.js → tool-output-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-services-khmqacep.js → tool-output-hq3c8me3.js} +4 -4
- package/dist/chunks/{location-services-n7d88tpn.js → tool-output-hzrfc1p4.js} +3 -3
- package/dist/chunks/{location-services-9w1af9qb.js → tool-output-j0hekj3x.js} +22 -22
- package/dist/chunks/{location-services-qcjrpjwa.js → tool-output-j55j0vay.js} +7 -7
- package/dist/chunks/{location-services-ztak1syt.js → tool-output-jb1yd8b6.js} +12 -12
- package/dist/chunks/{location-services-wc20fpmx.js → tool-output-jb9mn43j.js} +17 -17
- package/dist/chunks/{location-services-bda90bqx.js → tool-output-jkx9kfq8.js} +29 -29
- package/dist/chunks/tool-output-jqh9b0xq.js +18 -0
- package/dist/chunks/{location-services-1ze76vsx.js → tool-output-k5hxj8k3.js} +48 -48
- package/dist/chunks/{location-services-nk454yk1.js → tool-output-k6n9r6x9.js} +3 -3
- package/dist/chunks/{location-services-ryzasrd4.js → tool-output-kacxkzp8.js} +43 -43
- package/dist/chunks/{location-services-dthcv1wz.js → tool-output-kafx12aa.js} +8 -8
- package/dist/chunks/{location-services-fzg7cpa7.js → tool-output-kdsq7b80.js} +11 -11
- package/dist/chunks/{location-services-2b73xj9b.js → tool-output-kjsrb11v.js} +3 -3
- package/dist/chunks/{location-services-rbynycgd.js → tool-output-kq9sgcg8.js} +15 -15
- package/dist/chunks/{location-services-70yx33t2.js → tool-output-krdey6nc.js} +3 -3
- package/dist/chunks/{location-services-kwb1v3vj.js → tool-output-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-services-4dx3mpd0.js → tool-output-ky8tb5p2.js} +3 -3
- package/dist/chunks/{location-services-s60aqfjt.js → tool-output-m6n8cqg4.js} +27 -27
- package/dist/chunks/{location-services-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-762r0j46.js → tool-output-ma15yhyh.js} +5 -5
- package/dist/chunks/{location-services-maspj1v3.js → tool-output-maspj1v3.js} +1 -1
- package/dist/chunks/{location-services-vqvqkmng.js → tool-output-mdee9cge.js} +14 -14
- package/dist/chunks/{location-services-859s541j.js → tool-output-mqbd7g5r.js} +11 -11
- package/dist/chunks/{location-services-h9wp8z5w.js → tool-output-n1n192bv.js} +4 -4
- package/dist/chunks/{location-services-tyekzr88.js → tool-output-n64rk8nt.js} +3 -3
- package/dist/chunks/{location-services-d0k1g5nx.js → tool-output-n8dykrk6.js} +6 -6
- package/dist/chunks/{location-services-979pd12m.js → tool-output-n8s6b8z8.js} +12 -12
- package/dist/chunks/{location-services-9qgs4twx.js → tool-output-nqt17azn.js} +11 -11
- package/dist/chunks/{location-services-3zjzsznw.js → tool-output-p4djwky6.js} +16 -16
- package/dist/chunks/{location-services-v1szxf8c.js → tool-output-phb9r7tb.js} +31 -31
- package/dist/chunks/{location-services-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → tool-output-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-s8n139ky.js → tool-output-pqxnwpek.js} +4 -4
- package/dist/chunks/{location-services-py3kkmfq.js → tool-output-py3kkmfq.js} +2 -2
- package/dist/chunks/{location-services-rpg9c19m.js → tool-output-q5asdkn4.js} +4 -4
- package/dist/chunks/{location-services-xk6vykwg.js → tool-output-qefxx717.js} +165 -165
- package/dist/chunks/{location-services-11ndvexq.js → tool-output-qgpdbx62.js} +15 -15
- package/dist/chunks/{location-services-qnc92qwc.js → tool-output-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-services-ad746bsv.js → tool-output-qr8m035q.js} +11 -11
- package/dist/chunks/{location-services-653zxppr.js → tool-output-qre1cjed.js} +9 -9
- package/dist/chunks/{location-services-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-m8d65krt.js → tool-output-qsh63st8.js} +9 -9
- package/dist/chunks/{location-services-taj93ebv.js → tool-output-r2wxtxw6.js} +16 -16
- package/dist/chunks/{location-services-sh5rpbpc.js → tool-output-r4hp03yv.js} +1 -1
- package/dist/chunks/{location-services-degx4mba.js → tool-output-r7nqe98r.js} +26 -26
- package/dist/chunks/{location-services-2vke4pdf.js → tool-output-r9bv3gpp.js} +87 -87
- package/dist/chunks/{location-services-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-rert0e01.js → tool-output-rert0e01.js} +2 -2
- package/dist/chunks/{location-services-rj3eygr5.js → tool-output-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-services-ssvhepmq.js → tool-output-rqqrckg0.js} +28 -28
- package/dist/chunks/{location-services-fayr1t93.js → tool-output-s0q9dz9s.js} +65 -65
- package/dist/chunks/{location-services-ft8ey32c.js → tool-output-sa7bb2tp.js} +1 -1
- package/dist/chunks/{location-services-sa8ekw3f.js → tool-output-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-services-vyq134yh.js → tool-output-sacqkzdh.js} +23 -23
- package/dist/chunks/{location-services-62b6r9gt.js → tool-output-sd53vgfk.js} +14 -14
- package/dist/chunks/{location-services-7kk48pxy.js → tool-output-sfgkfzbx.js} +18 -18
- package/dist/chunks/{location-services-h4x85t77.js → tool-output-sm1zwwqr.js} +20 -20
- package/dist/chunks/{location-services-dmyw4w9k.js → tool-output-sqg3zcxb.js} +13 -13
- package/dist/chunks/{location-services-wfsnrcf2.js → tool-output-ssh3qp3e.js} +5 -5
- package/dist/chunks/{location-services-6b6pzbqj.js → tool-output-swps22qz.js} +10 -10
- package/dist/chunks/{location-services-syv4x271.js → tool-output-syv4x271.js} +1 -1
- package/dist/chunks/{location-services-e01edv31.js → tool-output-t01je07b.js} +6 -6
- package/dist/chunks/{location-services-33qe6zx4.js → tool-output-t46q35ac.js} +21 -21
- package/dist/chunks/{location-services-s8d7rejh.js → tool-output-t550f9t1.js} +4 -4
- package/dist/chunks/{location-services-grzrst1y.js → tool-output-t760r0v7.js} +6 -6
- package/dist/chunks/{location-services-zy513mdr.js → tool-output-t7xh5d6v.js} +8 -8
- package/dist/chunks/{location-services-a4hk43zv.js → tool-output-tahwk2yc.js} +13 -13
- package/dist/chunks/{location-services-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → tool-output-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-fxh8jgjs.js → tool-output-tfgdn8y4.js} +19 -19
- package/dist/chunks/{location-services-kw7rcx37.js → tool-output-tgycnz6r.js} +50 -50
- package/dist/chunks/{location-services-0e8vet4q.js → tool-output-thvynrj3.js} +11 -11
- package/dist/chunks/{location-services-k3bj973j.js → tool-output-tkc9kv8c.js} +33 -33
- package/dist/chunks/{location-services-jfqtm2ew.js → tool-output-tkmwgdpd.js} +7 -7
- package/dist/chunks/{location-services-tm0kqsz3.js → tool-output-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-services-tyytaxap.js → tool-output-tyytaxap.js} +1 -1
- package/dist/chunks/{location-services-30h8q41b.js → tool-output-v24zhtzr.js} +17 -17
- package/dist/chunks/{location-services-p1342kz7.js → tool-output-v29b0dxv.js} +15 -15
- package/dist/chunks/{location-services-v7p4zvkq.js → tool-output-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-services-42ta3yv6.js → tool-output-v9ngkz6k.js} +20 -20
- package/dist/chunks/{location-services-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-ydwws4tr.js → tool-output-vfvywm3n.js} +12 -12
- package/dist/chunks/{location-services-706phk7x.js → tool-output-vjjaysxc.js} +2 -2
- package/dist/chunks/{location-services-dpfc21fw.js → tool-output-vvpskrme.js} +9 -9
- package/dist/chunks/{location-services-ah0p05m1.js → tool-output-vwbadyhr.js} +4 -4
- package/dist/chunks/{location-services-vzs5sf6e.js → tool-output-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-ny5mns9s.js → tool-output-vzynrrjd.js} +18 -18
- package/dist/chunks/{location-services-2pqjgx71.js → tool-output-w1qs94fw.js} +32 -32
- package/dist/chunks/{location-services-w2h15q85.js → tool-output-w39jehkq.js} +5 -5
- package/dist/chunks/{location-services-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-eswm4xzm.js → tool-output-w4a8jmgt.js} +5 -5
- package/dist/chunks/{location-services-8waf3vza.js → tool-output-w921dxx8.js} +46 -46
- package/dist/chunks/{location-services-jz10bmv8.js → tool-output-wa8vv1fs.js} +8 -8
- package/dist/chunks/{location-services-wd87259q.js → tool-output-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-7jyptewp.js → tool-output-wr5f0mpr.js} +20 -20
- package/dist/chunks/{location-services-wygx0h61.js → tool-output-wt1xcks8.js} +21 -21
- package/dist/chunks/{location-services-tt34s15d.js → tool-output-wt41kpwr.js} +82 -82
- package/dist/chunks/{location-services-yqad5krn.js → tool-output-x5psnpj7.js} +28 -28
- package/dist/chunks/{location-services-6g6g97n0.js → tool-output-x82db1es.js} +11 -11
- package/dist/chunks/{location-services-e3x2st6d.js → tool-output-x8rs868f.js} +32 -32
- package/dist/chunks/{location-services-ajzsbz6h.js → tool-output-xdjq0qq8.js} +14 -14
- package/dist/chunks/{location-services-1tgfvtjy.js → tool-output-xf64mr7k.js} +17 -17
- package/dist/chunks/{location-services-xfkkasph.js → tool-output-xfkkasph.js} +1 -1
- package/dist/chunks/{location-services-h8dg8d02.js → tool-output-xk048zvw.js} +12 -12
- package/dist/chunks/{location-services-jeb2epxq.js → tool-output-xnfeye1a.js} +15 -15
- package/dist/chunks/{location-services-4s6xf1pa.js → tool-output-xtx6j1wk.js} +45 -45
- package/dist/chunks/{location-services-7tkggmat.js → tool-output-xvjnyne3.js} +24 -24
- package/dist/chunks/{location-services-k82gsvwq.js → tool-output-xw6avn3p.js} +5 -5
- package/dist/chunks/{location-services-sfvwbqhk.js → tool-output-y168q3qk.js} +4 -4
- package/dist/chunks/{location-services-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-rpsbzg2t.js → tool-output-y1n4p2mq.js} +24 -24
- package/dist/chunks/{location-services-3ez2zsgj.js → tool-output-y1p34exz.js} +9 -9
- package/dist/chunks/{location-services-y71avatq.js → tool-output-y71avatq.js} +1 -1
- package/dist/chunks/{location-services-k6e47qvb.js → tool-output-y9ecf5vt.js} +13 -13
- package/dist/chunks/{location-services-6anx6hye.js → tool-output-y9s9xvs6.js} +8 -8
- package/dist/chunks/{location-services-br0e8tcs.js → tool-output-ydjc2qnb.js} +13 -13
- package/dist/chunks/{location-services-5220mkhv.js → tool-output-ykxnpq60.js} +13 -13
- package/dist/chunks/{location-services-r8xr0va3.js → tool-output-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-services-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-bpdrcxe3.js → tool-output-z6nff98x.js} +43 -43
- package/dist/chunks/{location-services-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-q3cd1dmr.js → tool-output-zrqcsdz0.js} +13 -13
- package/dist/chunks/{location-services-h462p6mc.js → tool-output-zt8s8fb6.js} +18 -18
- package/dist/chunks/{location-services-vgr4p7dw.js → tool-output-zwz7qm57.js} +21 -21
- package/dist/chunks/{location-services-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-services-9sgsjpgv.js → tool-output-zz2n01x7.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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 +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 +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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +80 -80
- 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 +111 -111
- package/dist/mcp/instructions.js +129 -129
- 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-retry.js +1 -1
- package/dist/model.js +96 -96
- 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 +113 -113
- 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 +74 -74
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +95 -95
- 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 +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 +138 -138
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +4 -4
- 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 +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +87 -87
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- 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 +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/account/sql.d.ts +3 -3
- package/dist/types/codemode/tool.d.ts +9 -9
- package/dist/types/config/discovery.d.ts +2 -2
- package/dist/types/config/plugin/entry-observer.d.ts +1 -1
- package/dist/types/config/plugin/instruction.d.ts +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/credential/sql.d.ts +1 -1
- package/dist/types/database/drizzle/effect-sqlite/driver.d.ts +1 -1
- package/dist/types/database/migration/20260805200742_import_legacy_credentials.d.ts +1 -1
- package/dist/types/database/path.d.ts +16 -16
- package/dist/types/database/sqlite.bun.d.ts +1 -1
- package/dist/types/database/sqlite.node.d.ts +1 -1
- package/dist/types/database/sqlite.workerd.d.ts +1 -1
- package/dist/types/effect/websocket-constructor.d.ts +2 -1
- package/dist/types/environment/files.d.ts +1 -1
- package/dist/types/event/sql.d.ts +2 -2
- package/dist/types/file-mutation.d.ts +4 -3
- package/dist/types/filesystem.d.ts +1 -1
- package/dist/types/form.d.ts +55 -55
- package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +27 -27
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +80 -80
- package/dist/types/github-copilot/responses/tool/file-search.d.ts +1 -1
- package/dist/types/github-copilot/responses/tool/image-generation.d.ts +5 -5
- package/dist/types/github-copilot/responses/tool/web-search-preview.d.ts +1 -1
- package/dist/types/github-copilot/responses/tool/web-search.d.ts +1 -1
- package/dist/types/image/photon-wasm.workerd.d.ts +1 -1
- package/dist/types/image/photon.d.ts +5 -5
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/integration.d.ts +257 -257
- package/dist/types/kv/sql.d.ts +1 -1
- package/dist/types/managed-policy.d.ts +2 -2
- package/dist/types/mcp/client.d.ts +74 -74
- package/dist/types/mcp/index.d.ts +1 -1
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/model-resolver.d.ts +1 -1
- package/dist/types/model.d.ts +73 -73
- package/dist/types/permission/sql.d.ts +1 -1
- package/dist/types/permission.d.ts +1 -1
- package/dist/types/plugin/command.d.ts +1 -1
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/module.d.ts +7 -7
- package/dist/types/plugin/provider/azure.d.ts +2 -2
- package/dist/types/plugin/provider/chatgpt.d.ts +2 -2
- package/dist/types/plugin/provider/digitalocean.d.ts +1 -1
- package/dist/types/plugin/provider/github-copilot.d.ts +2 -2
- package/dist/types/plugin/provider/gitlab.d.ts +1 -1
- package/dist/types/plugin/provider/lmstudio.d.ts +2 -2
- package/dist/types/plugin/provider/local.d.ts +3 -3
- package/dist/types/plugin/provider/ollama.d.ts +2 -2
- package/dist/types/plugin/provider/opencode.d.ts +1 -1
- package/dist/types/plugin/provider/poe.d.ts +1 -1
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +1 -1
- package/dist/types/plugin/provider/vllm.d.ts +2 -2
- package/dist/types/plugin/supervisor.d.ts +2 -2
- package/dist/types/plugin/websearch/exa.d.ts +1 -1
- package/dist/types/plugin/websearch/firecrawl.d.ts +1 -1
- package/dist/types/plugin/websearch/index.d.ts +1 -1
- package/dist/types/plugin/websearch/mcp.d.ts +1 -1
- package/dist/types/plugin/websearch/parallel.d.ts +1 -1
- package/dist/types/plugin/websearch/tavily.d.ts +1 -1
- package/dist/types/plugin/websearch/tinyfish.d.ts +1 -1
- package/dist/types/project/sql.d.ts +75 -75
- package/dist/types/provider.d.ts +1 -1
- package/dist/types/session/command.d.ts +1 -1
- package/dist/types/session/compaction.d.ts +1 -1
- package/dist/types/session/diff.d.ts +1 -1
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/session/execution.d.ts +2 -2
- package/dist/types/session/generate.d.ts +1 -1
- package/dist/types/session/history.d.ts +826 -826
- package/dist/types/session/inbox.d.ts +110 -110
- package/dist/types/session/instruction-entry.d.ts +2 -2
- package/dist/types/session/instruction-state.d.ts +1 -1
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/prompt.d.ts +7 -7
- package/dist/types/session/revert.d.ts +1 -1
- package/dist/types/session/runner/index.d.ts +42 -46
- package/dist/types/session/runner/step.d.ts +86 -96
- package/dist/types/session/session.d.ts +27 -27
- package/dist/types/session/skill.d.ts +1 -1
- package/dist/types/session/sql.d.ts +139 -139
- package/dist/types/session/stats.d.ts +1 -1
- package/dist/types/session/store.d.ts +5 -5
- package/dist/types/session/subagent-completion.d.ts +1 -1
- package/dist/types/session/title.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +26 -26
- package/dist/types/session.d.ts +5 -5
- package/dist/types/shell/result.d.ts +14 -14
- package/dist/types/state.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +2 -2
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/skill.d.ts +1 -1
- package/dist/types/tool/plugin/webfetch.d.ts +1 -1
- package/dist/types/tool/read-filesystem.d.ts +4 -4
- package/dist/types/tool/runtime.d.ts +1 -1
- package/dist/types/util/error.d.ts +36 -32
- package/dist/types/v1/config/agent.d.ts +2 -2
- package/dist/types/v1/config/error.d.ts +51 -46
- package/dist/types/v1/config/migrate.d.ts +14 -14
- package/dist/types/v1/config/permission.d.ts +3 -3
- package/dist/types/wellknown.d.ts +4 -6
- package/dist/types/workspace/sql.d.ts +1 -1
- package/dist/types/worktree/git.d.ts +3 -3
- package/dist/types/worktree/sql.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +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/voice.js +88 -88
- package/dist/websearch.js +86 -86
- 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 +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 +9 -9
- package/dist/chunks/location-services-9sh4wc5j.js +0 -18
- package/dist/chunks/location-services-kd6e3p5z.js +0 -26
- package/dist/chunks/location-services-yy75bg6z.js +0 -257
- /package/dist/chunks/{location-services-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → tool-output-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → tool-output-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t0ybcrp.js → tool-output-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → tool-output-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → tool-output-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → tool-output-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → tool-output-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → tool-output-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → tool-output-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → tool-output-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → tool-output-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → tool-output-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → tool-output-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jze0r7bz.js → tool-output-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → tool-output-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-pkyv6v7h.js → tool-output-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-services-pyv0edze.js → tool-output-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → tool-output-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wjj7prxr.js → tool-output-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → tool-output-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → tool-output-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./tool-output-xtx6j1wk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./tool-output-cmcw90at.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin36
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin36 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service49;
|
|
26
|
+
const compaction = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin33 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin36, exports_compaction };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-thvynrj3.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-output-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin5,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin5 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin6 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin6 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin5, exports_firecrawl };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-output-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Service42
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-output-vvpskrme.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-output-hzrfc1p4.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-output-krdey6nc.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-output-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -87,8 +87,8 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./tool-output-h04zhhvt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./tool-output-n8dykrk6.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-output-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-jqh9b0xq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service74
|
|
15
|
+
} from "./tool-output-8ank75fn.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-output-krdey6nc.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service59
|
|
23
|
+
} from "./tool-output-wr5f0mpr.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service56;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service74;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service59;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service73;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./tool-output-e1armjht.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
isAISDK2,
|
|
@@ -16,23 +16,23 @@ import {
|
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
18
|
Service76,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node79
|
|
20
|
+
} from "./tool-output-zwz7qm57.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service70,
|
|
23
|
+
node73
|
|
24
|
+
} from "./tool-output-2aqr53fq.js";
|
|
25
25
|
import {
|
|
26
26
|
ID11,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
29
|
Service75,
|
|
30
|
-
|
|
30
|
+
node78,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-output-p4djwky6.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service69,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer27,
|
|
52
|
+
node: () => node72,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service69 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
274
|
+
var layer27 = Layer.effect(Service69, Effect.gen(function* () {
|
|
275
275
|
const providers = yield* Service76;
|
|
276
276
|
const models = yield* Service75;
|
|
277
|
-
const integrations = yield*
|
|
277
|
+
const integrations = yield* Service82;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service70;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
282
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
|
|
283
283
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
284
284
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
285
285
|
const runtimeInfo = {
|
|
@@ -306,7 +306,7 @@ var layer24 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service69.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [
|
|
326
|
+
var node72 = makeLocationNode({
|
|
327
|
+
service: Service69,
|
|
328
|
+
layer: layer27,
|
|
329
|
+
deps: [node79, node78, node86, Npm.node, node73]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service69, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer27, node72, exports_model_resolver };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID9,
|
|
3
|
+
Info18,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-output-hzrfc1p4.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-output-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service86,
|
|
11
11
|
node90
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-output-n64rk8nt.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service85,
|
|
16
|
+
node89
|
|
17
|
+
} from "./tool-output-xk048zvw.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-output-4fey8vza.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service56,
|
|
24
|
+
node58
|
|
25
|
+
} from "./tool-output-n8dykrk6.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-output-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-output-c1fqxshp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node57
|
|
34
|
+
} from "./tool-output-sm1zwwqr.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./tool-output-0b5g1ynf.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./tool-output-kq9sgcg8.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-output-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node38
|
|
47
|
+
} from "./tool-output-wt1xcks8.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node70
|
|
51
|
+
} from "./tool-output-thvynrj3.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError9,
|
|
54
54
|
InvalidListCursorError2,
|
|
@@ -62,58 +62,58 @@ import {
|
|
|
62
62
|
BusyError2,
|
|
63
63
|
InboxConflictError2,
|
|
64
64
|
SkillNotFoundError2
|
|
65
|
-
} from "./
|
|
66
|
-
import {
|
|
67
|
-
ListInput4,
|
|
68
|
-
Service67,
|
|
69
|
-
node71
|
|
70
|
-
} from "./location-services-pby3wrs0.js";
|
|
65
|
+
} from "./tool-output-krdey6nc.js";
|
|
71
66
|
import {
|
|
72
|
-
|
|
67
|
+
ListInput5,
|
|
68
|
+
Service65,
|
|
73
69
|
node67
|
|
74
|
-
} from "./
|
|
70
|
+
} from "./tool-output-9qh33kv4.js";
|
|
75
71
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
72
|
+
Service58,
|
|
73
|
+
node60
|
|
74
|
+
} from "./tool-output-h43vj0zt.js";
|
|
75
|
+
import {
|
|
76
|
+
Service53,
|
|
77
|
+
node56
|
|
78
|
+
} from "./tool-output-f0mzc1a5.js";
|
|
79
79
|
import {
|
|
80
80
|
llmClient2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./tool-output-775gj3j1.js";
|
|
82
82
|
import {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
83
|
+
Service41,
|
|
84
|
+
node44
|
|
85
|
+
} from "./tool-output-zz2n01x7.js";
|
|
86
86
|
import {
|
|
87
87
|
generate2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./tool-output-9dv1jfw1.js";
|
|
89
89
|
import {
|
|
90
90
|
execute2
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./tool-output-wa8vv1fs.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} from "./
|
|
93
|
+
Service60,
|
|
94
|
+
node62
|
|
95
|
+
} from "./tool-output-nqt17azn.js";
|
|
96
96
|
import {
|
|
97
97
|
DestinationNotFoundError2,
|
|
98
98
|
DestinationNotDirectoryError2,
|
|
99
99
|
DestinationUnavailableError2,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
100
|
+
Service34,
|
|
101
|
+
node37
|
|
102
|
+
} from "./tool-output-bfarv9hj.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
104
|
+
Service47,
|
|
105
|
+
node50
|
|
106
|
+
} from "./tool-output-52fpbh6z.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./
|
|
108
|
+
make14
|
|
109
|
+
} from "./tool-output-tkc9kv8c.js";
|
|
110
110
|
import {
|
|
111
111
|
TurnRangeError2,
|
|
112
112
|
turn2
|
|
113
|
-
} from "./
|
|
113
|
+
} from "./tool-output-qsh63st8.js";
|
|
114
114
|
import {
|
|
115
115
|
__export
|
|
116
|
-
} from "./
|
|
116
|
+
} from "./tool-output-9rqn6x4v.js";
|
|
117
117
|
|
|
118
118
|
// src/session.ts
|
|
119
119
|
var exports_session = {};
|
|
@@ -124,9 +124,9 @@ __export(exports_session, {
|
|
|
124
124
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
125
125
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
126
126
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
127
|
-
ID: () =>
|
|
127
|
+
ID: () => ID9,
|
|
128
128
|
InboxConflictError: () => InboxConflictError2,
|
|
129
|
-
Info: () =>
|
|
129
|
+
Info: () => Info18,
|
|
130
130
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
131
131
|
ListAnchor: () => ListAnchor2,
|
|
132
132
|
ListCursor: () => ListCursor2,
|
|
@@ -135,13 +135,13 @@ __export(exports_session, {
|
|
|
135
135
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
136
136
|
NotFoundError: () => NotFoundError9,
|
|
137
137
|
PromptConflictError: () => PromptConflictError2,
|
|
138
|
-
Service: () =>
|
|
138
|
+
Service: () => Service32,
|
|
139
139
|
Session: () => exports_session,
|
|
140
140
|
SessionSchema: () => SessionSchema2,
|
|
141
141
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
142
142
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
143
143
|
TurnRangeError: () => TurnRangeError2,
|
|
144
|
-
node: () =>
|
|
144
|
+
node: () => node35
|
|
145
145
|
});
|
|
146
146
|
import { DateTime, Effect, Layer, Schema, Context, Stream } from "effect";
|
|
147
147
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -151,28 +151,28 @@ import { Model } from "@opencode/schema/model";
|
|
|
151
151
|
import path from "path";
|
|
152
152
|
import { Node } from "@opencode/util/effect/app-node";
|
|
153
153
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
154
|
-
var ListInput3 =
|
|
154
|
+
var ListInput3 = ListInput5;
|
|
155
155
|
var DefaultListLimit = 50;
|
|
156
|
-
class
|
|
156
|
+
class Service32 extends Context.Service()("@opencode/Session") {
|
|
157
157
|
}
|
|
158
|
-
var layer = Layer.effect(
|
|
158
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const database = yield* Service86;
|
|
161
161
|
const db = database.db;
|
|
162
|
-
const bus = yield*
|
|
162
|
+
const bus = yield* Service85;
|
|
163
163
|
const projects = yield* Service80;
|
|
164
|
-
const execution = yield*
|
|
164
|
+
const execution = yield* Service53;
|
|
165
165
|
const llm = yield* LLMClient.Service;
|
|
166
|
-
const transport = yield*
|
|
167
|
-
const store = yield*
|
|
168
|
-
const instances = yield*
|
|
169
|
-
const moves = yield*
|
|
170
|
-
const jobs = yield*
|
|
171
|
-
const environments = yield*
|
|
172
|
-
const locations = yield*
|
|
173
|
-
const sessions = yield*
|
|
166
|
+
const transport = yield* Service41;
|
|
167
|
+
const store = yield* Service65;
|
|
168
|
+
const instances = yield* Service56;
|
|
169
|
+
const moves = yield* Service34;
|
|
170
|
+
const jobs = yield* Service58;
|
|
171
|
+
const environments = yield* Service47;
|
|
172
|
+
const locations = yield* Service60;
|
|
173
|
+
const sessions = yield* make14();
|
|
174
174
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
175
|
-
const result =
|
|
175
|
+
const result = Service32.of({
|
|
176
176
|
create: Effect.fn("Session.create")(function* (input) {
|
|
177
177
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
178
178
|
const recorded = yield* store.get(sessionID);
|
|
@@ -301,11 +301,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
301
301
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
302
302
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
303
303
|
const session = yield* result.get(input.sessionID);
|
|
304
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
304
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service86, database), Effect.provideService(LLMClient.Service, llm));
|
|
305
305
|
}),
|
|
306
306
|
command: Effect.fn("Session.command")(function* (input) {
|
|
307
307
|
const session = yield* result.get(input.sessionID);
|
|
308
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
308
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service56, instances));
|
|
309
309
|
}),
|
|
310
310
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
311
311
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -347,27 +347,27 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
347
347
|
});
|
|
348
348
|
return result;
|
|
349
349
|
}));
|
|
350
|
-
var
|
|
351
|
-
service:
|
|
350
|
+
var node35 = Node.makeGlobalNode({
|
|
351
|
+
service: Service32,
|
|
352
352
|
layer,
|
|
353
353
|
deps: [
|
|
354
|
-
|
|
355
|
-
|
|
354
|
+
node60,
|
|
355
|
+
node50,
|
|
356
356
|
node90,
|
|
357
|
-
|
|
357
|
+
node89,
|
|
358
358
|
node84,
|
|
359
|
-
|
|
360
|
-
|
|
359
|
+
node56,
|
|
360
|
+
node44,
|
|
361
361
|
llmClient2,
|
|
362
|
-
|
|
362
|
+
node67,
|
|
363
|
+
node58,
|
|
363
364
|
node57,
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
node69,
|
|
365
|
+
node37,
|
|
366
|
+
node38,
|
|
367
|
+
node62,
|
|
368
368
|
FSUtil.node,
|
|
369
|
-
|
|
369
|
+
node70
|
|
370
370
|
]
|
|
371
371
|
});
|
|
372
372
|
|
|
373
|
-
export { ListAnchor2, ListCursor2, ListInput3,
|
|
373
|
+
export { ListAnchor2, ListCursor2, ListInput3, Service32, node35, exports_session };
|