@opencode/core 0.0.0-dev-21504 → 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 +85 -85
- 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/{command-02mvvr71.js → model-02mvvr71.js} +3 -3
- package/dist/chunks/{command-t550f9t1.js → model-02nrjc1r.js} +8 -8
- package/dist/chunks/{command-aj7mw0zk.js → model-034tev2y.js} +2 -2
- package/dist/chunks/{command-967benbv.js → model-059731j3.js} +11 -11
- package/dist/chunks/{command-wkhzxvmr.js → model-097nk7jj.js} +22 -22
- package/dist/chunks/{command-96z498kx.js → model-0eje4krr.js} +13 -13
- package/dist/chunks/{command-qd788sr8.js → model-0jqcpeea.js} +38 -38
- package/dist/chunks/{command-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{command-qcmbay3g.js → model-0w0e9t10.js} +22 -22
- package/dist/chunks/{command-1e096zfv.js → model-119vrnyz.js} +35 -35
- package/dist/chunks/{command-na13574c.js → model-144xy37h.js} +27 -27
- package/dist/chunks/{command-bqzx1cnv.js → model-17h5khbx.js} +2 -2
- package/dist/chunks/{command-27w5k9zf.js → model-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-bzeyqsqd.js → model-1ep4rre3.js} +4 -4
- package/dist/chunks/{command-ejrgmtaq.js → model-1pbps8gm.js} +7 -7
- package/dist/chunks/{command-ayyhc25y.js → model-1qzqd7y9.js} +12 -12
- package/dist/chunks/{command-a76s9319.js → model-26speyvc.js} +29 -29
- package/dist/chunks/{command-ws4zn9x6.js → model-281sgaqb.js} +11 -11
- package/dist/chunks/{command-y7cneyn5.js → model-2ckxs07g.js} +21 -21
- package/dist/chunks/{command-chpbykcw.js → model-2hawg8d6.js} +7 -7
- package/dist/chunks/{command-58qhexmz.js → model-2k1yrrb9.js} +21 -21
- package/dist/chunks/{command-g5b8j3v4.js → model-2k5pzv8p.js} +17 -17
- package/dist/chunks/{command-02pca900.js → model-2re5xsb3.js} +90 -90
- package/dist/chunks/{command-52ae0j7r.js → model-2t1cejgk.js} +11 -11
- package/dist/chunks/{command-e6knj4ky.js → model-2y4y574v.js} +15 -15
- package/dist/chunks/{command-zahm10sn.js → model-375hpnnp.js} +17 -17
- package/dist/chunks/{command-9vgsddc0.js → model-38c2t0gr.js} +5 -5
- package/dist/chunks/{command-6y9j254c.js → model-39fz5gq7.js} +8 -8
- package/dist/chunks/{command-hnmmt9bt.js → model-3apxagx1.js} +16 -16
- package/dist/chunks/{command-fkj9mczz.js → model-3e18q7y0.js} +9 -9
- package/dist/chunks/{command-6n0t37d6.js → model-3eqfzzpc.js} +23 -23
- package/dist/chunks/{command-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{command-xsxxgc5h.js → model-3mz3s9dw.js} +28 -28
- package/dist/chunks/{command-1tmptvb5.js → model-3p7wkzsm.js} +37 -37
- package/dist/chunks/{command-0z7sm6e6.js → model-3p9fx5xs.js} +20 -20
- package/dist/chunks/{command-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{command-3ggeeyj8.js → model-46z6bbc3.js} +8 -8
- package/dist/chunks/{command-0ejg1h3y.js → model-47hbj2pp.js} +35 -35
- package/dist/chunks/{command-47jkzegy.js → model-47jkzegy.js} +2 -2
- package/dist/chunks/{command-3n39cpdf.js → model-4akb30p9.js} +17 -17
- package/dist/chunks/{command-zbwvew5n.js → model-4cgvcnqc.js} +14 -14
- package/dist/chunks/{command-kqef9432.js → model-4cqzk04t.js} +4 -4
- package/dist/chunks/{command-kt3b3w9s.js → model-4kkgmn48.js} +24 -24
- package/dist/chunks/{command-xkxvzqg5.js → model-4pk5qdp0.js} +29 -29
- package/dist/chunks/{command-zqgkxsdx.js → model-4vxbzg96.js} +12 -12
- package/dist/chunks/{command-54ma36ye.js → model-54ma36ye.js} +1 -1
- package/dist/chunks/{command-jpjpmxdq.js → model-5jd37bg5.js} +5 -5
- package/dist/chunks/{command-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-9bs1c7ey.js → model-5q6zkt9t.js} +4 -4
- package/dist/chunks/{command-e3qxr5gk.js → model-5qd3pb7m.js} +2 -2
- package/dist/chunks/{command-qznp475s.js → model-5qspxpfa.js} +14 -14
- package/dist/chunks/{command-nhxs7ffw.js → model-5w3hrgwv.js} +14 -14
- package/dist/chunks/{command-3egpthbr.js → model-65xqj3gf.js} +26 -26
- package/dist/chunks/{command-6827pfxn.js → model-6827pfxn.js} +1 -1
- package/dist/chunks/{command-fp13yrwa.js → model-6bh8c15d.js} +9 -9
- package/dist/chunks/{command-xsgk040k.js → model-6vca1abt.js} +20 -20
- package/dist/chunks/{command-djqf971v.js → model-6vembv3h.js} +26 -26
- package/dist/chunks/{command-zq2x8b87.js → model-6vjn048p.js} +12 -12
- package/dist/chunks/{command-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{command-dqrbwv0a.js → model-6y0zycxh.js} +45 -45
- package/dist/chunks/{command-6yz0wx8n.js → model-6yz0wx8n.js} +2 -2
- package/dist/chunks/{command-95mrps0w.js → model-6zrgpeqf.js} +13 -13
- package/dist/chunks/{command-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/{command-1k45a7y4.js → model-7bj5zk0h.js} +27 -27
- package/dist/chunks/{command-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-yjekck1e.js → model-7jabcg2v.js} +48 -48
- package/dist/chunks/{command-jg57jh00.js → model-7pz44b56.js} +13 -13
- package/dist/chunks/{command-jjpxm7bv.js → model-7x77f1v0.js} +20 -20
- package/dist/chunks/{command-84txncab.js → model-84txncab.js} +1 -1
- package/dist/chunks/{command-xyr4e3r8.js → model-888zzhja.js} +15 -15
- package/dist/chunks/{command-283cyrsj.js → model-8952chzp.js} +1 -1
- package/dist/chunks/{command-22rvfkr8.js → model-8dtwfnm6.js} +5 -5
- package/dist/chunks/{command-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{command-8mywswrd.js → model-8mywswrd.js} +1 -1
- package/dist/chunks/{command-s4q0hzws.js → model-8p9mr4ny.js} +44 -42
- package/dist/chunks/{command-ptak7ehw.js → model-8pah9whb.js} +2 -2
- package/dist/chunks/{command-8nr013c3.js → model-8vamb002.js} +28 -28
- package/dist/chunks/{command-t3znd8m3.js → model-93h83n4j.js} +32 -32
- package/dist/chunks/{command-dvj9ct8m.js → model-998yhzzq.js} +3 -3
- package/dist/chunks/{command-nbbt34nq.js → model-9a2f8bab.js} +5 -5
- package/dist/chunks/{command-ect4475a.js → model-9g86fe8k.js} +27 -27
- package/dist/chunks/model-9hrj064r.js +26 -0
- package/dist/chunks/{command-9wev2pgg.js → model-9wev2pgg.js} +1 -1
- package/dist/chunks/{command-y0mtf7j7.js → model-9yty7s6b.js} +5 -5
- package/dist/chunks/{command-qby9dwvd.js → model-a2qe2ev9.js} +8 -8
- package/dist/chunks/{command-jm03v3tw.js → model-a4se8z2x.js} +6 -6
- package/dist/chunks/{command-a4pbv56j.js → model-ag9wmf18.js} +23 -23
- package/dist/chunks/{command-63kpjth9.js → model-anf0zms1.js} +9 -9
- package/dist/chunks/{command-6k581ess.js → model-arzs74za.js} +6 -6
- package/dist/chunks/{command-83dfmwhh.js → model-at643fqj.js} +27 -27
- package/dist/chunks/{command-addxnjmp.js → model-azwe5p1w.js} +4 -4
- package/dist/chunks/{command-b11a7tx7.js → model-b11a7tx7.js} +1 -1
- package/dist/chunks/{command-n6ngdxpd.js → model-b1cfp7e8.js} +23 -23
- package/dist/chunks/{command-3f1rw1kg.js → model-b9ehgbqb.js} +4 -4
- package/dist/chunks/{command-bxqk5pf5.js → model-bacj9t34.js} +9 -9
- package/dist/chunks/{command-mv3xkgvr.js → model-bhqc6ztw.js} +6 -6
- package/dist/chunks/{command-wjr9rjd7.js → model-bjx1sjef.js} +6 -6
- package/dist/chunks/{command-qjxnsekw.js → model-bpxj61qy.js} +22 -22
- package/dist/chunks/{command-4aqng94r.js → model-bsznzx2j.js} +29 -29
- package/dist/chunks/{command-0gapa1rm.js → model-btec747f.js} +5 -5
- package/dist/chunks/{command-9r15s34d.js → model-bw9zjykr.js} +6 -6
- package/dist/chunks/{command-jhk62tbh.js → model-bxrpwnhh.js} +5 -5
- package/dist/chunks/{command-kkm66dmx.js → model-bysh3wsf.js} +7 -7
- package/dist/chunks/{command-p5pcm5fj.js → model-c08hck0b.js} +11 -11
- package/dist/chunks/{command-jjcahp0d.js → model-c5xv6gzt.js} +10 -10
- package/dist/chunks/{command-g0445xdp.js → model-cmwkp3r5.js} +4 -4
- package/dist/chunks/{command-mx1fmt33.js → model-csphqezw.js} +50 -50
- package/dist/chunks/{command-z0aj456m.js → model-d858xzj7.js} +4 -4
- package/dist/chunks/{command-e9zd77c1.js → model-d8vyx0bf.js} +22 -22
- package/dist/chunks/{command-hr3ck4k2.js → model-dac595nq.js} +14 -14
- package/dist/chunks/{command-0g6q6pfz.js → model-dbxp0fmc.js} +4 -4
- package/dist/chunks/{command-8rs56nfj.js → model-ddf4n6wt.js} +24 -24
- package/dist/chunks/{command-r9w3djhf.js → model-depwzj9d.js} +8 -8
- package/dist/chunks/{command-cpneeje0.js → model-djszqvmq.js} +9 -9
- package/dist/chunks/{command-4bzs8rv8.js → model-dkmgwdej.js} +3 -3
- package/dist/chunks/{command-drwq78ky.js → model-drwq78ky.js} +1 -1
- package/dist/chunks/{command-cf25jgjj.js → model-e4ed32bz.js} +35 -35
- package/dist/chunks/{command-b7k2jn9m.js → model-e5g7rz9z.js} +23 -23
- package/dist/chunks/{command-z9h9mhtp.js → model-e7gxn9p4.js} +17 -17
- package/dist/chunks/{command-s81df8he.js → model-e89rsxqp.js} +11 -11
- package/dist/chunks/{command-4kj8c1s4.js → model-ebs90ymd.js} +34 -34
- package/dist/chunks/{command-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{command-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-ybc3kgcz.js → model-efg2qyjc.js} +15 -15
- package/dist/chunks/{command-v0g0brx6.js → model-egbnj0d7.js} +61 -61
- package/dist/chunks/model-f40v7vve.js +257 -0
- package/dist/chunks/{command-qqjrwnjf.js → model-f567p7kr.js} +19 -19
- package/dist/chunks/{command-89f0qmxx.js → model-f6eb70w4.js} +4 -4
- package/dist/chunks/{command-72c5e6kf.js → model-f9gdjgpy.js} +19 -19
- package/dist/chunks/{command-fcrkznn8.js → model-fcrkznn8.js} +1 -1
- package/dist/chunks/{command-fcy631f0.js → model-fcy631f0.js} +1 -1
- package/dist/chunks/{command-ge44mx5n.js → model-ffhn27st.js} +50 -50
- package/dist/chunks/{command-ratrq7cm.js → model-fm2qvscf.js} +4 -4
- package/dist/chunks/{command-tt8gc4fv.js → model-fn9t717r.js} +6 -6
- package/dist/chunks/{command-cevbxveq.js → model-fp7gkmgg.js} +3 -3
- package/dist/chunks/{command-9nyvt9wv.js → model-fpr4zhmy.js} +12 -12
- package/dist/chunks/{command-et0erakc.js → model-ft76mxxj.js} +4 -4
- package/dist/chunks/{command-sxjy2bbv.js → model-fx1vnbe7.js} +14 -14
- package/dist/chunks/{command-1hy1achk.js → model-g31edv3s.js} +25 -25
- package/dist/chunks/{command-kks3c8v7.js → model-g3vtahr4.js} +19 -19
- package/dist/chunks/{command-3vvdcvz1.js → model-g634x94t.js} +25 -25
- package/dist/chunks/{command-z9d3cvam.js → model-g9cxqbhm.js} +2 -2
- package/dist/chunks/{command-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-r54ry9rd.js → model-gee0q842.js} +28 -28
- package/dist/chunks/{command-h1k4kx5h.js → model-gfe9tc4x.js} +11 -11
- package/dist/chunks/{command-z5bz21w3.js → model-gg18brya.js} +70 -70
- package/dist/chunks/{command-qk8cm41f.js → model-gm80t6jn.js} +30 -30
- package/dist/chunks/{command-pkcmhgjr.js → model-gq1w7sb6.js} +8 -8
- package/dist/chunks/{command-e5cywx9b.js → model-gs5g8sst.js} +10 -10
- package/dist/chunks/model-gyce5qg1.js +18 -0
- package/dist/chunks/{command-xx33v6n7.js → model-h53p44pz.js} +18 -18
- package/dist/chunks/{command-qkgtmd8v.js → model-h5w80xhp.js} +18 -18
- package/dist/chunks/{command-jpqeh2wc.js → model-h6310vsd.js} +4 -4
- package/dist/chunks/{command-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-hbbqk0nf.js → model-hbc5tqp3.js} +8 -8
- package/dist/chunks/{command-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{command-j7aq1t3e.js → model-hhyv66vq.js} +8 -8
- package/dist/chunks/{command-pwfkmcqs.js → model-hkhzft4n.js} +29 -29
- package/dist/chunks/{command-7ean6v8x.js → model-hy9g3ct7.js} +11 -11
- package/dist/chunks/{command-56zeqtav.js → model-j0g1y14w.js} +11 -11
- package/dist/chunks/{command-w8wm14nc.js → model-j4p30vk2.js} +9 -9
- package/dist/chunks/{command-8sse9e5v.js → model-jb678r5y.js} +16 -16
- package/dist/chunks/{command-pv162s98.js → model-jj5620az.js} +4 -4
- package/dist/chunks/{command-g02fgy81.js → model-jqyzchqw.js} +6 -6
- package/dist/chunks/{command-c61wj0cv.js → model-jr2ksrq3.js} +7 -7
- package/dist/chunks/{command-x0mpvren.js → model-jvkh9b4k.js} +14 -14
- package/dist/chunks/{command-a4xtrzqb.js → model-jyhmc03f.js} +11 -11
- package/dist/chunks/{command-r014m902.js → model-kecgep65.js} +11 -11
- package/dist/chunks/{command-1m2v2j5e.js → model-kee9xs5a.js} +10 -10
- package/dist/chunks/{command-e39nsbtg.js → model-kektvt0t.js} +9 -9
- package/dist/chunks/{command-fxaymqdw.js → model-khmqacep.js} +4 -4
- package/dist/chunks/{command-cgh16r15.js → model-kkwkmtv3.js} +11 -11
- package/dist/chunks/{command-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
- package/dist/chunks/{command-dcncen4d.js → model-ky6xty6m.js} +16 -16
- package/dist/chunks/{command-g8qdqr0p.js → model-kyq9yddx.js} +35 -35
- package/dist/chunks/{command-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{command-q13f50ex.js → model-mcxd1mvb.js} +33 -33
- package/dist/chunks/{command-pgyp9qgz.js → model-mfk0mvfz.js} +3 -3
- package/dist/chunks/{command-kqv3x6rj.js → model-mqqhst8y.js} +9 -9
- package/dist/chunks/{command-nt51sm0f.js → model-mzeqcj4y.js} +5 -5
- package/dist/chunks/{command-97kmb959.js → model-nb2z81by.js} +30 -30
- package/dist/chunks/{command-vdp67131.js → model-nfpte2eb.js} +18 -18
- package/dist/chunks/{command-w2v961ax.js → model-ngh7x0hb.js} +33 -35
- package/dist/chunks/{command-389fpadm.js → model-nhg8br5k.js} +15 -15
- package/dist/chunks/{command-0depx116.js → model-nvrn0rpc.js} +37 -37
- package/dist/chunks/{command-sr1qwj5a.js → model-nx4dbdvx.js} +347 -347
- package/dist/chunks/{command-nz56sr1f.js → model-nz56sr1f.js} +2 -2
- package/dist/chunks/{command-ck6mh85g.js → model-p03rm6sa.js} +16 -16
- package/dist/chunks/{command-asnmz69s.js → model-p1dsckbq.js} +9 -9
- package/dist/chunks/{command-wkpdpa51.js → model-p2237knj.js} +20 -20
- package/dist/chunks/{command-dh62xe4r.js → model-pc1v25hk.js} +3 -3
- package/dist/chunks/{command-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{command-v2m8q0xf.js → model-pqtz87qt.js} +17 -17
- package/dist/chunks/{command-hqhd8mr3.js → model-pvgxn4e8.js} +13 -13
- package/dist/chunks/{command-2g8sxgxk.js → model-q3wfvgvt.js} +19 -19
- package/dist/chunks/{command-2me2cgjk.js → model-qdf5x4hh.js} +9 -9
- package/dist/chunks/{command-va3y7zmk.js → model-qga2y2xr.js} +56 -56
- package/dist/chunks/{command-n1dcq2q6.js → model-qmw2t4sc.js} +12 -12
- package/dist/chunks/{command-1q5vfyvt.js → model-qn9wnv8g.js} +28 -28
- package/dist/chunks/{command-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{command-3wyzm26w.js → model-qsjwargm.js} +48 -48
- package/dist/chunks/{command-f8e526k5.js → model-qv0sc65t.js} +3 -3
- package/dist/chunks/{command-90mddc2j.js → model-qwk3m3t3.js} +26 -26
- package/dist/chunks/{command-37q05ven.js → model-qwpgb8t5.js} +18 -18
- package/dist/chunks/{command-xwqx1eeb.js → model-qx0ddeyr.js} +18 -18
- package/dist/chunks/{command-3c8ew9jt.js → model-r09mn59h.js} +52 -52
- package/dist/chunks/{command-wbsnpf72.js → model-r47k2kcx.js} +48 -48
- package/dist/chunks/{command-wpm2rk0p.js → model-r63j37j6.js} +8 -8
- package/dist/chunks/{command-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-6pc27hjz.js → model-rkprpv83.js} +6 -6
- package/dist/chunks/{command-fkhc0ppg.js → model-rpavaw06.js} +25 -25
- package/dist/chunks/{command-tk1wxqb9.js → model-rrvj5mm5.js} +34 -34
- package/dist/chunks/{command-yph07088.js → model-rs2p4h37.js} +5 -5
- package/dist/chunks/{command-eh4k6x00.js → model-rw8ryefd.js} +22 -22
- package/dist/chunks/{command-zp3b7061.js → model-rwz8d33h.js} +24 -24
- package/dist/chunks/{command-dwr5n885.js → model-s15sfq84.js} +81 -81
- package/dist/chunks/{command-q7jg6b3k.js → model-s2ayqtyj.js} +14 -14
- package/dist/chunks/{command-77qajvn3.js → model-s85y7g3v.js} +21 -21
- package/dist/chunks/{command-w7ef2pdc.js → model-sc122w87.js} +4 -4
- package/dist/chunks/{command-zdzmwh5k.js → model-seqcyr36.js} +4 -4
- package/dist/chunks/{command-16swm0z2.js → model-sjng2d8s.js} +6 -6
- package/dist/chunks/{command-8br0tfcm.js → model-sr417449.js} +4 -4
- package/dist/chunks/{command-5epte933.js → model-ss358qx3.js} +3 -3
- package/dist/chunks/{command-y99cwb6p.js → model-svs75v6z.js} +22 -22
- package/dist/chunks/{command-wsphkq72.js → model-sxffc3gc.js} +12 -12
- package/dist/chunks/{command-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{command-32ca7668.js → model-t1d8dt4n.js} +21 -21
- package/dist/chunks/{command-fkcvtbd2.js → model-t1hdc2tq.js} +11 -11
- package/dist/chunks/{command-v9txjfgp.js → model-t9618mt3.js} +16 -16
- package/dist/chunks/{command-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → model-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-ecmkrhds.js → model-tcncyrvt.js} +23 -23
- package/dist/chunks/{command-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{command-73t188jy.js → model-tk9ew89t.js} +8 -8
- package/dist/chunks/{command-mgwe8qfe.js → model-tm7f4x12.js} +5 -5
- package/dist/chunks/{command-4w7ecc6g.js → model-tmz9z8jm.js} +30 -30
- package/dist/chunks/{command-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{command-qhm64xy3.js → model-tz8n52kk.js} +41 -41
- package/dist/chunks/{command-0javqkgf.js → model-v210v162.js} +9 -9
- package/dist/chunks/{command-948dh3hk.js → model-v27y90m9.js} +24 -24
- package/dist/chunks/{command-y26vasy8.js → model-v4fy3qk9.js} +29 -29
- package/dist/chunks/{command-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{command-as1q5j0q.js → model-vcf39g69.js} +13 -13
- package/dist/chunks/{command-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{command-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-wakvkjy4.js → model-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{command-8gazrhqj.js → model-wh7c4t4p.js} +36 -36
- package/dist/chunks/{command-m4rj2mnd.js → model-wnfhhngp.js} +45 -45
- package/dist/chunks/{command-9h6sayvh.js → model-wpmx8zxk.js} +33 -33
- package/dist/chunks/{command-mez53n4j.js → model-wsncy6g1.js} +13 -13
- package/dist/chunks/{command-dy3angj7.js → model-wx5pdzv2.js} +13 -13
- package/dist/chunks/{command-tdrv5nbk.js → model-x1z449jw.js} +44 -44
- package/dist/chunks/{command-tfsj72j2.js → model-x5yt3945.js} +19 -19
- package/dist/chunks/{command-emyrjxnr.js → model-x9qrfn9j.js} +20 -20
- package/dist/chunks/{command-mmqg1qye.js → model-xax4r61v.js} +23 -23
- package/dist/chunks/{command-zttg29zn.js → model-xqsr3wks.js} +35 -35
- package/dist/chunks/{command-8vcf4cwr.js → model-xw9fg8fb.js} +2 -2
- package/dist/chunks/{command-t7e2bcer.js → model-xyx6322v.js} +47 -47
- package/dist/chunks/{command-n6mnjzyz.js → model-xzfxv41j.js} +7 -7
- package/dist/chunks/{command-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-dpkg50ah.js → model-y71avatq.js} +4 -4
- package/dist/chunks/{command-mnves5jb.js → model-yftbr5kk.js} +30 -30
- package/dist/chunks/{command-k9yvbbgh.js → model-yjc5w60m.js} +7 -7
- package/dist/chunks/{command-s5fqv55p.js → model-yjg8p8vw.js} +14 -14
- package/dist/chunks/{command-4rsh6n8g.js → model-yjp1gbyy.js} +12 -12
- package/dist/chunks/{command-r3npp4de.js → model-yjr10ne3.js} +17 -17
- package/dist/chunks/{command-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-e7gxy7fd.js → model-z0ydvj27.js} +4 -4
- package/dist/chunks/{command-z18fegx4.js → model-z18fegx4.js} +1 -1
- package/dist/chunks/{command-jad02azz.js → model-zdfm1n8e.js} +191 -191
- package/dist/chunks/{command-ckf8nxjz.js → model-zee1rnkq.js} +4 -4
- package/dist/chunks/{command-whq7nv3n.js → model-zqp45qky.js} +1 -1
- package/dist/chunks/{command-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-t8afp1a1.js → model-ztxz8wab.js} +9 -9
- package/dist/chunks/{command-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +118 -118
- 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 +119 -119
- 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 +78 -78
- 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 +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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +85 -85
- 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 +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- 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 +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +3 -3
- 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 +76 -76
- 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 +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- 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 +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 +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 +134 -134
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +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 +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- 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 +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/session/model-request.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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +84 -84
- 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/command-06zctecw.js +0 -257
- package/dist/chunks/command-kj2kg6z0.js +0 -26
- package/dist/chunks/command-phz3h32g.js +0 -18
- /package/dist/chunks/{command-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5fjb7ams.js → model-5fjb7ams.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service82
|
|
8
|
+
} from "./model-3apxagx1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service51
|
|
11
|
+
} from "./model-ddf4n6wt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service58
|
|
14
|
+
} from "./model-nhg8br5k.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service50,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-pvgxn4e8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./model-egbnj0d7.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service49,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-qx0ddeyr.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin25,
|
|
42
|
+
name: () => name7,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name7 = "patch";
|
|
89
|
+
var Input7 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output6 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin25 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service51;
|
|
112
|
+
const access = yield* Service49;
|
|
113
|
+
const fileMutation = yield* Service50;
|
|
114
|
+
const formatter = yield* Service58;
|
|
115
|
+
const location = yield* Service82;
|
|
116
|
+
const permission = yield* Service75;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin39 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name7, Input7, Applied2, Output6, toModelContent4, Plugin25, exports_patch };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service72,
|
|
4
|
+
node76
|
|
5
|
+
} from "./model-wpmx8zxk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID9,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service71,
|
|
19
|
+
node75
|
|
20
|
+
} from "./model-119vrnyz.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service70,
|
|
23
|
+
node74
|
|
24
|
+
} from "./model-1qzqd7y9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID8,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service69,
|
|
30
|
+
node73,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-e4ed32bz.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./model-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: () => Service68,
|
|
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
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID9,
|
|
63
|
+
modelID: ID8,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID9,
|
|
73
|
+
modelID: ID8,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID9,
|
|
84
|
+
modelID: ID8,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID9,
|
|
95
|
+
modelID: ID8,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID9,
|
|
107
|
+
modelID: ID8,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID9,
|
|
117
|
+
modelID: ID8,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service68 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -234,7 +234,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
234
234
|
return tokenSettings(specifier, credential.access);
|
|
235
235
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
236
236
|
return { auth: "sigv4" };
|
|
237
|
-
if (model.providerID ===
|
|
237
|
+
if (model.providerID === ID9.azure)
|
|
238
238
|
return tokenSettings(specifier, "azure-cli");
|
|
239
239
|
return {};
|
|
240
240
|
};
|
|
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
272
|
+
var layer27 = Layer.effect(Service68, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service71;
|
|
274
|
+
const models = yield* Service69;
|
|
275
|
+
const integrations = yield* Service72;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service70;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
280
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
281
281
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
282
282
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
283
283
|
const runtimeInfo = {
|
|
@@ -304,7 +304,7 @@ var layer25 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service68.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
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)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
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;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
326
|
-
layer:
|
|
327
|
-
deps: [
|
|
324
|
+
var node72 = makeLocationNode({
|
|
325
|
+
service: Service68,
|
|
326
|
+
layer: layer27,
|
|
327
|
+
deps: [node75, node73, node76, Npm.node, node74]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service68, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer27, node72, exports_model_resolver };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./model-qmw2t4sc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
node78
|
|
10
|
+
} from "./model-mcxd1mvb.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-azwe5p1w.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-8vamb002.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event16,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID10,
|
|
41
|
+
Info: () => Info20,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service72,
|
|
49
|
+
node: () => node76
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
72
|
+
var ID10 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info20 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID10,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service72 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service74;
|
|
117
|
+
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info20.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service72.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node76 = makeLocationNode({
|
|
633
|
+
service: Service72,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node78, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service72, node76, exports_integration, Event16 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service67,
|
|
3
|
+
node71,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-kektvt0t.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node66
|
|
9
|
+
} from "./model-bw9zjykr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service45
|
|
12
|
+
} from "./model-xqsr3wks.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-f40v7vve.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service67, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service45);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node66.replace(Layer.succeed(Service62, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node71.replace(Layer.succeed(Service67, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./model-qsjwargm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./model-r09mn59h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin43,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin43 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service64;
|
|
28
|
+
const mcp = yield* Service29;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin43, register2, exports_mcp2 };
|