@opencode/core 0.0.0-dev-21491 → 0.0.0-dev-21506
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 +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{managed-policy-02mvvr71.js → model-02mvvr71.js} +3 -3
- package/dist/chunks/{managed-policy-t550f9t1.js → model-02nrjc1r.js} +8 -8
- package/dist/chunks/{managed-policy-aj7mw0zk.js → model-034tev2y.js} +2 -2
- package/dist/chunks/{managed-policy-dys7k0s0.js → model-059731j3.js} +5 -5
- package/dist/chunks/{managed-policy-0rqtsg5n.js → model-097nk7jj.js} +22 -22
- package/dist/chunks/{managed-policy-aznvabbj.js → model-0eje4krr.js} +13 -13
- package/dist/chunks/{managed-policy-qgqsp7s6.js → model-0jqcpeea.js} +38 -38
- package/dist/chunks/{managed-policy-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{managed-policy-07cemqmz.js → model-0w0e9t10.js} +19 -19
- package/dist/chunks/{managed-policy-e02c3zmf.js → model-119vrnyz.js} +32 -32
- package/dist/chunks/{managed-policy-pfw87a65.js → model-144xy37h.js} +29 -29
- package/dist/chunks/{managed-policy-eqye43p9.js → model-17h5khbx.js} +2 -2
- package/dist/chunks/{managed-policy-27w5k9zf.js → model-1ep2p91f.js} +2 -2
- package/dist/chunks/{managed-policy-bzeyqsqd.js → model-1ep4rre3.js} +4 -4
- package/dist/chunks/{managed-policy-9ey36q4m.js → model-1pbps8gm.js} +10 -10
- package/dist/chunks/{managed-policy-5g8dz47n.js → model-1qzqd7y9.js} +18 -17
- package/dist/chunks/{managed-policy-n70y1c66.js → model-26speyvc.js} +27 -27
- package/dist/chunks/{managed-policy-2t04g333.js → model-281sgaqb.js} +8 -8
- package/dist/chunks/{managed-policy-nr9ctgbm.js → model-2ckxs07g.js} +18 -18
- package/dist/chunks/{managed-policy-key7dk4q.js → model-2hawg8d6.js} +7 -7
- package/dist/chunks/{managed-policy-npxcptkq.js → model-2k1yrrb9.js} +24 -24
- package/dist/chunks/{managed-policy-xz4gy2pw.js → model-2k5pzv8p.js} +13 -13
- package/dist/chunks/{managed-policy-3f89j14k.js → model-2re5xsb3.js} +89 -89
- package/dist/chunks/{managed-policy-t423jy7h.js → model-2t1cejgk.js} +11 -11
- package/dist/chunks/{managed-policy-whtqyj4j.js → model-2y4y574v.js} +17 -17
- package/dist/chunks/{managed-policy-qhbzjzz8.js → model-375hpnnp.js} +20 -20
- package/dist/chunks/{managed-policy-f2rcxsa5.js → model-38c2t0gr.js} +5 -5
- package/dist/chunks/{managed-policy-xcqzmser.js → model-39fz5gq7.js} +8 -8
- package/dist/chunks/{managed-policy-bkvtpeby.js → model-3apxagx1.js} +2 -2
- package/dist/chunks/{managed-policy-a9hyd3xt.js → model-3e18q7y0.js} +7 -7
- package/dist/chunks/{managed-policy-9b4s9htt.js → model-3eqfzzpc.js} +23 -23
- package/dist/chunks/{managed-policy-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{managed-policy-7w2pscy5.js → model-3mz3s9dw.js} +28 -28
- package/dist/chunks/{managed-policy-5e7pqmr6.js → model-3p7wkzsm.js} +39 -39
- package/dist/chunks/{managed-policy-c6630jg4.js → model-3p9fx5xs.js} +20 -20
- package/dist/chunks/{managed-policy-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-ezwrbjyz.js → model-46z6bbc3.js} +8 -8
- package/dist/chunks/{managed-policy-0b6dhsgb.js → model-47hbj2pp.js} +33 -33
- package/dist/chunks/{managed-policy-z6c3x22d.js → model-47jkzegy.js} +5 -5
- package/dist/chunks/{managed-policy-6ktqrwxg.js → model-4akb30p9.js} +19 -19
- package/dist/chunks/{managed-policy-r360z3bx.js → model-4cgvcnqc.js} +11 -11
- package/dist/chunks/{managed-policy-0pen1p02.js → model-4cqzk04t.js} +4 -4
- package/dist/chunks/{managed-policy-hzf7nycv.js → model-4kkgmn48.js} +22 -22
- package/dist/chunks/{managed-policy-ptmx7msf.js → model-4pk5qdp0.js} +29 -29
- package/dist/chunks/{managed-policy-5zhxxmww.js → model-4vxbzg96.js} +13 -13
- package/dist/chunks/{managed-policy-54ma36ye.js → model-54ma36ye.js} +1 -1
- package/dist/chunks/{managed-policy-y4m8q82k.js → model-5jd37bg5.js} +5 -5
- package/dist/chunks/{managed-policy-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{managed-policy-w6pwf7d8.js → model-5q6zkt9t.js} +4 -4
- package/dist/chunks/{managed-policy-pjc5aezn.js → model-5qspxpfa.js} +14 -14
- package/dist/chunks/{managed-policy-qdges9q9.js → model-5w3hrgwv.js} +14 -14
- package/dist/chunks/{managed-policy-9hk667w6.js → model-65xqj3gf.js} +28 -28
- package/dist/chunks/{managed-policy-6827pfxn.js → model-6827pfxn.js} +1 -1
- package/dist/chunks/{managed-policy-egfpjxdk.js → model-6bh8c15d.js} +11 -11
- package/dist/chunks/{managed-policy-tgb901z2.js → model-6vca1abt.js} +20 -20
- package/dist/chunks/{managed-policy-qmb9x70h.js → model-6vembv3h.js} +28 -28
- package/dist/chunks/{managed-policy-dknhw0am.js → model-6vjn048p.js} +9 -9
- package/dist/chunks/{managed-policy-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{managed-policy-x8y7t7ay.js → model-6y0zycxh.js} +43 -43
- package/dist/chunks/{managed-policy-g6yfr6ja.js → model-6yz0wx8n.js} +5 -5
- package/dist/chunks/{managed-policy-8c1543jm.js → model-6zrgpeqf.js} +13 -13
- package/dist/chunks/{managed-policy-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/{managed-policy-5yas3zxh.js → model-7bj5zk0h.js} +24 -24
- package/dist/chunks/{managed-policy-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-31cptbhm.js → model-7jabcg2v.js} +14 -14
- package/dist/chunks/{managed-policy-dsjqj3ej.js → model-7pz44b56.js} +11 -11
- package/dist/chunks/{managed-policy-jjs0t1zg.js → model-7x77f1v0.js} +25 -26
- package/dist/chunks/{managed-policy-84txncab.js → model-84txncab.js} +1 -1
- package/dist/chunks/{managed-policy-t55k6nbk.js → model-888zzhja.js} +15 -15
- package/dist/chunks/{managed-policy-ctb4pm8c.js → model-8952chzp.js} +1 -1
- package/dist/chunks/{managed-policy-e0wab7y1.js → model-8dtwfnm6.js} +5 -5
- package/dist/chunks/{managed-policy-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{managed-policy-8mywswrd.js → model-8mywswrd.js} +1 -1
- package/dist/chunks/{managed-policy-j9qea72c.js → model-8p9mr4ny.js} +46 -44
- package/dist/chunks/{managed-policy-013f6n7j.js → model-8pah9whb.js} +4 -4
- package/dist/chunks/{managed-policy-72xkmq2t.js → model-8vamb002.js} +28 -28
- package/dist/chunks/{managed-policy-5qx0x9n9.js → model-93h83n4j.js} +30 -30
- package/dist/chunks/{managed-policy-p50c7myx.js → model-998yhzzq.js} +4 -4
- package/dist/chunks/{managed-policy-mv1r8e9h.js → model-9a2f8bab.js} +5 -5
- package/dist/chunks/{managed-policy-wcxv5kn7.js → model-9g86fe8k.js} +24 -24
- package/dist/chunks/model-9hrj064r.js +26 -0
- package/dist/chunks/{managed-policy-9wev2pgg.js → model-9wev2pgg.js} +1 -1
- package/dist/chunks/{managed-policy-g23shk49.js → model-9yty7s6b.js} +3 -3
- package/dist/chunks/{managed-policy-rsn7nymj.js → model-a2qe2ev9.js} +8 -8
- package/dist/chunks/{managed-policy-4cceg5sd.js → model-a4se8z2x.js} +6 -6
- package/dist/chunks/{managed-policy-aexvs9tr.js → model-ag9wmf18.js} +23 -23
- package/dist/chunks/{managed-policy-y54hr7f3.js → model-anf0zms1.js} +9 -9
- package/dist/chunks/{managed-policy-apva9kdg.js → model-arzs74za.js} +6 -6
- package/dist/chunks/{managed-policy-c3999hsq.js → model-at643fqj.js} +23 -23
- package/dist/chunks/{managed-policy-addxnjmp.js → model-azwe5p1w.js} +4 -4
- package/dist/chunks/{managed-policy-b11a7tx7.js → model-b11a7tx7.js} +1 -1
- package/dist/chunks/{managed-policy-s1zg7ffe.js → model-b1cfp7e8.js} +36 -27
- package/dist/chunks/{managed-policy-zqxtp45f.js → model-b9ehgbqb.js} +4 -4
- package/dist/chunks/{managed-policy-phz50fbd.js → model-bacj9t34.js} +9 -9
- package/dist/chunks/{managed-policy-tvc954gt.js → model-bhqc6ztw.js} +6 -6
- package/dist/chunks/{managed-policy-ywt8jp22.js → model-bjx1sjef.js} +9 -9
- package/dist/chunks/{managed-policy-brf22wj7.js → model-bpxj61qy.js} +16 -16
- package/dist/chunks/{managed-policy-qnase3v7.js → model-bsznzx2j.js} +38 -38
- package/dist/chunks/{managed-policy-dtqg9ce1.js → model-btec747f.js} +5 -5
- package/dist/chunks/{managed-policy-acd4vkpt.js → model-bw9zjykr.js} +6 -6
- package/dist/chunks/{managed-policy-5hd4f9r8.js → model-bxrpwnhh.js} +5 -5
- package/dist/chunks/{managed-policy-kb3x7pf7.js → model-bysh3wsf.js} +12 -12
- package/dist/chunks/{managed-policy-pq3pf99j.js → model-c08hck0b.js} +11 -11
- package/dist/chunks/{managed-policy-8tznkr9f.js → model-c5xv6gzt.js} +8 -8
- package/dist/chunks/{managed-policy-8v6pyhej.js → model-cmwkp3r5.js} +8 -8
- package/dist/chunks/{managed-policy-s633ewaf.js → model-csphqezw.js} +46 -46
- package/dist/chunks/{managed-policy-ybfnsx4m.js → model-d858xzj7.js} +4 -4
- package/dist/chunks/{managed-policy-kyq61knp.js → model-d8vyx0bf.js} +22 -22
- package/dist/chunks/{managed-policy-13x3trj0.js → model-dac595nq.js} +14 -14
- package/dist/chunks/{managed-policy-vq3mbxa1.js → model-dbxp0fmc.js} +4 -4
- package/dist/chunks/{managed-policy-d9sm4xrh.js → model-ddf4n6wt.js} +21 -21
- package/dist/chunks/{managed-policy-fqcgpcra.js → model-depwzj9d.js} +9 -9
- package/dist/chunks/{managed-policy-2mq1h16s.js → model-djszqvmq.js} +9 -9
- package/dist/chunks/{managed-policy-nvdcnaxe.js → model-dkmgwdej.js} +3 -3
- package/dist/chunks/{managed-policy-xfkkasph.js → model-drwq78ky.js} +4 -4
- package/dist/chunks/{managed-policy-74k5whsh.js → model-e4ed32bz.js} +32 -32
- package/dist/chunks/{managed-policy-bsd7119h.js → model-e5g7rz9z.js} +23 -23
- package/dist/chunks/{managed-policy-qt15fkhv.js → model-e7gxn9p4.js} +19 -19
- package/dist/chunks/{managed-policy-9zpps5cv.js → model-e89rsxqp.js} +11 -11
- package/dist/chunks/{managed-policy-ypvpqyv3.js → model-ebs90ymd.js} +34 -34
- package/dist/chunks/{managed-policy-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{managed-policy-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-9b5wfm11.js → model-efg2qyjc.js} +13 -13
- package/dist/chunks/{managed-policy-dx5w3at1.js → model-egbnj0d7.js} +55 -55
- package/dist/chunks/model-f40v7vve.js +257 -0
- package/dist/chunks/{managed-policy-rps5k12g.js → model-f567p7kr.js} +11 -11
- package/dist/chunks/{managed-policy-2n3f9p6t.js → model-f6eb70w4.js} +4 -4
- package/dist/chunks/{managed-policy-rxt37nfn.js → model-f9gdjgpy.js} +24 -24
- package/dist/chunks/{managed-policy-7dqw4kz8.js → model-fcrkznn8.js} +5 -5
- package/dist/chunks/{managed-policy-fcy631f0.js → model-fcy631f0.js} +1 -1
- package/dist/chunks/{managed-policy-vm5k6wy9.js → model-ffhn27st.js} +50 -50
- package/dist/chunks/{managed-policy-v5dkyp31.js → model-fm2qvscf.js} +4 -4
- package/dist/chunks/{managed-policy-395q6j9z.js → model-fn9t717r.js} +6 -6
- package/dist/chunks/{managed-policy-w786zxxk.js → model-fp7gkmgg.js} +3 -3
- package/dist/chunks/{managed-policy-xtxypabt.js → model-fpr4zhmy.js} +12 -12
- package/dist/chunks/{managed-policy-9ww24xgv.js → model-ft76mxxj.js} +4 -4
- package/dist/chunks/{managed-policy-gytf7wjd.js → model-fx1vnbe7.js} +12 -12
- package/dist/chunks/{managed-policy-0rj9qq9v.js → model-g31edv3s.js} +24 -24
- package/dist/chunks/{managed-policy-caz39jgd.js → model-g3vtahr4.js} +19 -19
- package/dist/chunks/{managed-policy-3gext12q.js → model-g634x94t.js} +28 -28
- package/dist/chunks/{managed-policy-vp0bfksy.js → model-g9cxqbhm.js} +3 -4
- package/dist/chunks/{managed-policy-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{managed-policy-ffke7qc3.js → model-gee0q842.js} +24 -24
- package/dist/chunks/{managed-policy-8q7ya8nw.js → model-gfe9tc4x.js} +11 -11
- package/dist/chunks/{managed-policy-m52r3js8.js → model-gg18brya.js} +70 -70
- package/dist/chunks/{managed-policy-285njdc7.js → model-gm80t6jn.js} +35 -35
- package/dist/chunks/{managed-policy-7z9xty5h.js → model-gq1w7sb6.js} +8 -8
- package/dist/chunks/{managed-policy-53tkkxhc.js → model-gs5g8sst.js} +10 -10
- package/dist/chunks/model-gyce5qg1.js +18 -0
- package/dist/chunks/{managed-policy-9dv04wd0.js → model-h53p44pz.js} +18 -18
- package/dist/chunks/{managed-policy-7ax7ztnt.js → model-h5w80xhp.js} +26 -26
- package/dist/chunks/{managed-policy-j8m1p4p1.js → model-h6310vsd.js} +4 -4
- package/dist/chunks/{managed-policy-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-t67zsw2d.js → model-hbc5tqp3.js} +8 -8
- package/dist/chunks/{managed-policy-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{managed-policy-eka1fpr9.js → model-hhyv66vq.js} +8 -8
- package/dist/chunks/{managed-policy-bc8a87a1.js → model-hkhzft4n.js} +29 -29
- package/dist/chunks/{managed-policy-7rfyzhr4.js → model-hy9g3ct7.js} +11 -11
- package/dist/chunks/{managed-policy-f079wcfr.js → model-j0g1y14w.js} +11 -11
- package/dist/chunks/{managed-policy-scp930kh.js → model-j4p30vk2.js} +6 -6
- package/dist/chunks/{managed-policy-kkffvv7t.js → model-jb678r5y.js} +12 -12
- package/dist/chunks/{managed-policy-vj0b9bdb.js → model-jj5620az.js} +4 -4
- package/dist/chunks/{managed-policy-jqnfqjgv.js → model-jqyzchqw.js} +6 -6
- package/dist/chunks/{managed-policy-0fdykq3h.js → model-jr2ksrq3.js} +7 -7
- package/dist/chunks/{managed-policy-pc697a2z.js → model-jvkh9b4k.js} +15 -15
- package/dist/chunks/{managed-policy-9ttm0g3v.js → model-jyhmc03f.js} +11 -11
- package/dist/chunks/{managed-policy-bnjaxb8y.js → model-kecgep65.js} +11 -11
- package/dist/chunks/{managed-policy-61020q5n.js → model-kee9xs5a.js} +10 -10
- package/dist/chunks/{managed-policy-7esn4579.js → model-kektvt0t.js} +9 -9
- package/dist/chunks/{managed-policy-khmqacep.js → model-khmqacep.js} +1 -1
- package/dist/chunks/{managed-policy-84w8zxyr.js → model-kkwkmtv3.js} +11 -11
- package/dist/chunks/{managed-policy-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
- package/dist/chunks/{managed-policy-zeswx609.js → model-ky6xty6m.js} +16 -16
- package/dist/chunks/{managed-policy-wzxagd9j.js → model-kyq9yddx.js} +33 -33
- package/dist/chunks/{managed-policy-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{managed-policy-0f6v0b8k.js → model-mcxd1mvb.js} +33 -33
- package/dist/chunks/{managed-policy-032qaw1g.js → model-mfk0mvfz.js} +3 -3
- package/dist/chunks/{managed-policy-waskdk5r.js → model-mqqhst8y.js} +4 -4
- package/dist/chunks/{managed-policy-x5cd8a5z.js → model-mzeqcj4y.js} +5 -5
- package/dist/chunks/{managed-policy-tgyh3127.js → model-nb2z81by.js} +28 -28
- package/dist/chunks/{managed-policy-5gpthb56.js → model-nfpte2eb.js} +14 -14
- package/dist/chunks/{managed-policy-y0365093.js → model-ngh7x0hb.js} +35 -37
- package/dist/chunks/{managed-policy-83018d4a.js → model-nhg8br5k.js} +11 -11
- package/dist/chunks/{managed-policy-bmzpefkn.js → model-nvrn0rpc.js} +35 -35
- package/dist/chunks/model-nx4dbdvx.js +523 -0
- package/dist/chunks/{managed-policy-nz56sr1f.js → model-nz56sr1f.js} +2 -2
- package/dist/chunks/{managed-policy-s47ddm7x.js → model-p03rm6sa.js} +16 -16
- package/dist/chunks/{managed-policy-prxg8bz4.js → model-p1dsckbq.js} +6 -6
- package/dist/chunks/{managed-policy-0n8gk7ba.js → model-p2237knj.js} +18 -18
- package/dist/chunks/{managed-policy-pc1v25hk.js → model-pc1v25hk.js} +1 -1
- package/dist/chunks/{managed-policy-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-797zm2z1.js → model-pqtz87qt.js} +17 -17
- package/dist/chunks/{managed-policy-79s2vfx4.js → model-pvgxn4e8.js} +13 -13
- package/dist/chunks/{managed-policy-qp1h599v.js → model-q3wfvgvt.js} +19 -19
- package/dist/chunks/{managed-policy-fe01zgkj.js → model-qdf5x4hh.js} +9 -9
- package/dist/chunks/{managed-policy-svznnd2w.js → model-qga2y2xr.js} +54 -54
- package/dist/chunks/{managed-policy-yg9tq0cc.js → model-qmw2t4sc.js} +12 -12
- package/dist/chunks/{managed-policy-a22hfnwm.js → model-qn9wnv8g.js} +22 -22
- package/dist/chunks/{managed-policy-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-f82angv3.js → model-qsjwargm.js} +46 -46
- package/dist/chunks/{managed-policy-krdey6nc.js → model-qv0sc65t.js} +6 -6
- package/dist/chunks/{managed-policy-j81942hj.js → model-qwk3m3t3.js} +31 -31
- package/dist/chunks/{managed-policy-zxt4vfhe.js → model-qwpgb8t5.js} +18 -18
- package/dist/chunks/{managed-policy-30yr1q3d.js → model-qx0ddeyr.js} +15 -15
- package/dist/chunks/{managed-policy-gxrabwdk.js → model-r09mn59h.js} +51 -51
- package/dist/chunks/{managed-policy-yntw0z39.js → model-r47k2kcx.js} +48 -48
- package/dist/chunks/{managed-policy-wpm2rk0p.js → model-r63j37j6.js} +8 -8
- package/dist/chunks/{managed-policy-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-8sze2n9a.js → model-rkprpv83.js} +6 -6
- package/dist/chunks/{managed-policy-qh440tqz.js → model-rpavaw06.js} +25 -25
- package/dist/chunks/{managed-policy-zzjqbrbs.js → model-rrvj5mm5.js} +34 -34
- package/dist/chunks/{managed-policy-01zmxwx5.js → model-rs2p4h37.js} +5 -5
- package/dist/chunks/{managed-policy-qcez1nns.js → model-rw8ryefd.js} +12 -12
- package/dist/chunks/{managed-policy-4dx31ypd.js → model-rwz8d33h.js} +21 -21
- package/dist/chunks/{managed-policy-apnmkvac.js → model-s15sfq84.js} +85 -85
- package/dist/chunks/{managed-policy-22haabc6.js → model-s2ayqtyj.js} +14 -14
- package/dist/chunks/{managed-policy-w1a8hbta.js → model-s85y7g3v.js} +21 -21
- package/dist/chunks/{managed-policy-anvc95jv.js → model-sc122w87.js} +5 -5
- package/dist/chunks/{managed-policy-wah2mdw0.js → model-seqcyr36.js} +4 -4
- package/dist/chunks/{managed-policy-rx66987b.js → model-sjng2d8s.js} +6 -6
- package/dist/chunks/{managed-policy-jrvzjra1.js → model-sr417449.js} +4 -4
- package/dist/chunks/{managed-policy-hzrfc1p4.js → model-ss358qx3.js} +3 -3
- package/dist/chunks/{managed-policy-6z0h4rce.js → model-svs75v6z.js} +22 -22
- package/dist/chunks/{managed-policy-zdbqtfh3.js → model-sxffc3gc.js} +12 -12
- package/dist/chunks/{managed-policy-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{managed-policy-0bc3t8db.js → model-t1d8dt4n.js} +21 -21
- package/dist/chunks/{managed-policy-48mdvxa1.js → model-t1hdc2tq.js} +11 -11
- package/dist/chunks/{managed-policy-syphc160.js → model-t9618mt3.js} +14 -14
- package/dist/chunks/{managed-policy-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-tcezcvh9.js → model-tcezcvh9.js} +1 -1
- package/dist/chunks/{managed-policy-sm8rjw2t.js → model-tcncyrvt.js} +25 -25
- package/dist/chunks/{managed-policy-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-w3x9v1nk.js → model-tk9ew89t.js} +8 -8
- package/dist/chunks/{managed-policy-rksyg9qw.js → model-tm7f4x12.js} +5 -5
- package/dist/chunks/{managed-policy-yfqa18f0.js → model-tmz9z8jm.js} +37 -37
- package/dist/chunks/{managed-policy-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{managed-policy-chnmd5gf.js → model-tz8n52kk.js} +36 -36
- package/dist/chunks/{managed-policy-v210v162.js → model-v210v162.js} +2 -2
- package/dist/chunks/{managed-policy-s8r7r2r2.js → model-v27y90m9.js} +28 -23
- package/dist/chunks/{managed-policy-bajnvr42.js → model-v4fy3qk9.js} +32 -32
- package/dist/chunks/{managed-policy-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{managed-policy-86gap05f.js → model-vcf39g69.js} +16 -16
- package/dist/chunks/{managed-policy-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{managed-policy-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-wakvkjy4.js → model-wakvkjy4.js} +1 -1
- package/dist/chunks/{managed-policy-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-n23ex2vx.js → model-wh7c4t4p.js} +34 -34
- package/dist/chunks/{managed-policy-93sdjx82.js → model-wnfhhngp.js} +43 -43
- package/dist/chunks/{managed-policy-rc68q40s.js → model-wpmx8zxk.js} +33 -33
- package/dist/chunks/{managed-policy-ewh32mer.js → model-wsncy6g1.js} +13 -13
- package/dist/chunks/{managed-policy-rt11jr6s.js → model-wx5pdzv2.js} +13 -13
- package/dist/chunks/{managed-policy-wekfy4qh.js → model-x1z449jw.js} +41 -41
- package/dist/chunks/{managed-policy-9whvwchs.js → model-x5yt3945.js} +22 -22
- package/dist/chunks/{managed-policy-zcgb1d5p.js → model-x9qrfn9j.js} +20 -20
- package/dist/chunks/{managed-policy-3erh292t.js → model-xax4r61v.js} +23 -23
- package/dist/chunks/{managed-policy-1qyhsxqy.js → model-xqsr3wks.js} +30 -30
- package/dist/chunks/{managed-policy-8vcf4cwr.js → model-xw9fg8fb.js} +2 -2
- package/dist/chunks/{managed-policy-hxh3b1aa.js → model-xyx6322v.js} +47 -47
- package/dist/chunks/{managed-policy-qbykmpc4.js → model-xzfxv41j.js} +7 -7
- package/dist/chunks/{managed-policy-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-dpkg50ah.js → model-y71avatq.js} +4 -4
- package/dist/chunks/{managed-policy-d9v4kj4p.js → model-yftbr5kk.js} +25 -25
- package/dist/chunks/{managed-policy-p1evevaf.js → model-yjc5w60m.js} +9 -9
- package/dist/chunks/{managed-policy-ztyn4krw.js → model-yjg8p8vw.js} +14 -14
- package/dist/chunks/{managed-policy-s11bfypk.js → model-yjp1gbyy.js} +16 -16
- package/dist/chunks/{managed-policy-mtmc9eg1.js → model-yjr10ne3.js} +15 -15
- package/dist/chunks/{managed-policy-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-e7gxy7fd.js → model-z0ydvj27.js} +4 -4
- package/dist/chunks/{managed-policy-z18fegx4.js → model-z18fegx4.js} +1 -1
- package/dist/chunks/{managed-policy-4v5nt0pw.js → model-zdfm1n8e.js} +188 -188
- package/dist/chunks/{managed-policy-q5asdkn4.js → model-zee1rnkq.js} +4 -4
- package/dist/chunks/{managed-policy-sfc629sa.js → model-zqp45qky.js} +1 -1
- package/dist/chunks/{managed-policy-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-84fwdand.js → model-ztxz8wab.js} +9 -9
- package/dist/chunks/{managed-policy-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +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 +125 -125
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +80 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- 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 +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- 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 +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- 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 +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- 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 +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/aisdk.d.ts +2 -2
- package/dist/types/pty.d.ts +2 -2
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/sql.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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 +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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/managed-policy-4aerk24h.js +0 -257
- package/dist/chunks/managed-policy-5cr3chvm.js +0 -26
- package/dist/chunks/managed-policy-f81tjggh.js +0 -18
- package/dist/chunks/managed-policy-rngsy1tc.js +0 -523
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-5fjb7ams.js → model-5fjb7ams.js} +0 -0
- /package/dist/chunks/{managed-policy-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service68,
|
|
6
|
+
node72
|
|
7
|
+
} from "./model-wnfhhngp.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-fcy631f0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Generate: () =>
|
|
16
|
+
var exports_generate2 = {};
|
|
17
|
+
__export(exports_generate2, {
|
|
18
|
+
Generate: () => exports_generate2,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service48,
|
|
21
|
+
UnavailableError: () => UnavailableError4,
|
|
22
|
+
layer: () => layer21,
|
|
23
|
+
node: () => node51
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service48 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer21 = Layer.effect(Service48, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service68;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError4({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service48.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node51 = makeLocationNode({
|
|
77
|
+
service: Service48,
|
|
78
|
+
layer: layer21,
|
|
79
|
+
deps: [node72, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError4, Service48, layer21, node51, exports_generate2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin16
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin16 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin47 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin16, exports_mcp_codemode_defaults };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service36
|
|
3
|
+
} from "./model-rpavaw06.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./model-bw9zjykr.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-gyce5qg1.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service62;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-bjx1sjef.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin7,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin7 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin40 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint5);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint5, Plugin7, exports_exa };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./model-8vamb002.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./model-egbnj0d7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service37
|
|
14
|
+
} from "./model-6vembv3h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input8,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin26,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name8
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name8 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input8 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin26 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service75;
|
|
53
|
+
const forms = yield* Service73;
|
|
54
|
+
const websearch = yield* Service37;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name8,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input8,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name8,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name8];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name8, NO_RESULTS2, description3, Input8, Plugin26, exports_websearch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service28,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node31
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service28.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node31 = makeGlobalNode({ service: Service28, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service28, makeLayer2, layer14, node31, exports_model_transport };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer22,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node52,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer22 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer22(input), deps: [] });
|
|
33
|
+
var node52 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer22, configured8, node52, exports_app };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-j0g1y14w.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-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
16
|
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
@@ -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;
|
|
@@ -77,4 +77,4 @@ var Plugin37 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint3,
|
|
80
|
+
export { endpoint3, Plugin5, exports_firecrawl };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-fp7gkmgg.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-998yhzzq.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load5
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-281sgaqb.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-g9cxqbhm.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service76,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node80
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -53,11 +53,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
53
53
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
54
54
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class Service76 extends Context.Service()("@opencode/SessionStore") {
|
|
57
57
|
}
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
59
59
|
const { db } = yield* Service86;
|
|
60
|
-
return
|
|
60
|
+
return Service76.of({
|
|
61
61
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
62
62
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
63
63
|
return row ? fromRow2(row) : undefined;
|
|
@@ -128,6 +128,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
128
128
|
})
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
131
|
+
var node80 = makeGlobalNode({ service: Service76, layer, deps: [node90] });
|
|
132
132
|
|
|
133
|
-
export { ListInput4,
|
|
133
|
+
export { ListInput4, Service76, node80, exports_store };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-fx1vnbe7.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make6 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make9 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make6();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./model-qsjwargm.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin10,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin10 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service64;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin43 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin10, exports_warming };
|