@opencode/core 0.0.0-dev-20147 → 0.0.0-dev-20148
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{schema-8a6crgjk.js → project-00gqf6qz.js} +32 -32
- package/dist/chunks/{schema-aegspdvt.js → project-028ks1gz.js} +16 -16
- package/dist/chunks/{schema-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-06qxp9s1.js → project-0tg9gd1t.js} +32 -32
- package/dist/chunks/{schema-j34bs4nz.js → project-0xqyf95c.js} +4 -4
- package/dist/chunks/{schema-qsxgc847.js → project-12q9payb.js} +36 -36
- package/dist/chunks/{schema-p2wfcwv1.js → project-1379bkbv.js} +10 -10
- package/dist/chunks/{schema-h2r7bbkd.js → project-13ggeyh8.js} +8 -8
- package/dist/chunks/{schema-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-fxpxkdge.js → project-1rjfexx0.js} +27 -27
- package/dist/chunks/{schema-jvexc5ky.js → project-1txejb65.js} +5 -5
- package/dist/chunks/{schema-80q6mq1f.js → project-1vkbswn5.js} +15 -15
- package/dist/chunks/{schema-9qmdww31.js → project-1vmfgmve.js} +17 -17
- package/dist/chunks/{schema-sp0b9gx5.js → project-1w8cw7jp.js} +10 -10
- package/dist/chunks/{schema-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{schema-mrty011c.js → project-231n3rbg.js} +46 -46
- package/dist/chunks/{schema-s4q2v5s3.js → project-25etkhjy.js} +12 -12
- package/dist/chunks/{schema-44k7vfsg.js → project-26z2qq8v.js} +308 -308
- package/dist/chunks/{schema-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-3497bcg9.js → project-2c9k1ggp.js} +3 -3
- package/dist/chunks/{schema-hx5a9m6n.js → project-2dsj8qey.js} +22 -22
- package/dist/chunks/{schema-n4v0pxzg.js → project-2gnxk3x7.js} +11 -11
- package/dist/chunks/{schema-0jwsre1p.js → project-2k8khapm.js} +5 -5
- package/dist/chunks/{schema-v8mjc2yy.js → project-2p0zs114.js} +5 -5
- package/dist/chunks/{schema-shhpa2wx.js → project-2qckkqeq.js} +16 -16
- package/dist/chunks/{schema-sgajxdys.js → project-2x64qmyk.js} +21 -21
- package/dist/chunks/{schema-1kr2za8g.js → project-32pfbvt3.js} +8 -8
- package/dist/chunks/{schema-1ygqh575.js → project-33w4ejhs.js} +6 -6
- package/dist/chunks/project-34z1xqbm.js +26 -0
- package/dist/chunks/{schema-tqk88y0w.js → project-35v9xa7x.js} +24 -24
- package/dist/chunks/{schema-j0v6s4pa.js → project-39c25vgm.js} +15 -15
- package/dist/chunks/{schema-rph3zd4r.js → project-3a6re68j.js} +6 -6
- package/dist/chunks/{schema-x2rw7g36.js → project-3bc8czyk.js} +5 -5
- package/dist/chunks/{schema-c78bbtc9.js → project-3cfzdc8e.js} +5 -5
- package/dist/chunks/{schema-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-k268tg8b.js → project-3pd9zev7.js} +3 -3
- package/dist/chunks/{schema-g3f2t215.js → project-3s40zm2k.js} +44 -44
- package/dist/chunks/{schema-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-mssxhbmx.js → project-3stws242.js} +30 -30
- package/dist/chunks/{schema-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-6en7jsbn.js → project-3y66thwc.js} +19 -19
- package/dist/chunks/{schema-s3d1hc87.js → project-3yfshrff.js} +20 -20
- package/dist/chunks/{schema-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-6z06gbqc.js → project-43a2xr3n.js} +9 -9
- package/dist/chunks/{schema-y0xmc8cr.js → project-49by82nd.js} +14 -14
- package/dist/chunks/{schema-4knz5bpk.js → project-4cmrr4z8.js} +26 -26
- package/dist/chunks/{schema-n965dgn2.js → project-4cpvyw3a.js} +32 -32
- package/dist/chunks/{schema-1qp06jtb.js → project-4e4vx4m3.js} +11 -11
- package/dist/chunks/{schema-ywmyccm2.js → project-4f9j4b1b.js} +17 -17
- package/dist/chunks/{schema-4xqhn9wd.js → project-4hz583fa.js} +8 -8
- package/dist/chunks/{schema-e6hmchc5.js → project-510m7gjw.js} +5 -5
- package/dist/chunks/{schema-54tcyq79.js → project-54tcyq79.js} +2 -2
- package/dist/chunks/{schema-21zbynkh.js → project-55hk4cga.js} +7 -7
- package/dist/chunks/{schema-57ez7d0k.js → project-57ez7d0k.js} +2 -2
- package/dist/chunks/{schema-scayhw0d.js → project-591pety6.js} +22 -22
- package/dist/chunks/{schema-vjjjrtg8.js → project-5d5dqa2d.js} +3 -3
- package/dist/chunks/{schema-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-5z7zcbfb.js → project-5k5w2ax6.js} +33 -33
- package/dist/chunks/{schema-64fh688z.js → project-5pqmtba2.js} +24 -24
- package/dist/chunks/{schema-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-9e1jtxq5.js → project-5vv6cgd2.js} +24 -24
- package/dist/chunks/{schema-sqtna5cg.js → project-5vvcj01b.js} +18 -18
- package/dist/chunks/{schema-95st8b4j.js → project-5xcwfkw1.js} +22 -22
- package/dist/chunks/{schema-5yzzbxa7.js → project-5xtgfte3.js} +8 -8
- package/dist/chunks/{schema-y5df08dr.js → project-607q5haz.js} +12 -12
- package/dist/chunks/{schema-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{schema-r1ht1y7w.js → project-670rqs4t.js} +15 -15
- package/dist/chunks/{schema-8kkpa49p.js → project-6apxa4qs.js} +5 -5
- package/dist/chunks/{schema-5cmxdwv8.js → project-6bsje7ws.js} +3 -3
- package/dist/chunks/{schema-aezpzgnt.js → project-6bvej4y4.js} +15 -15
- package/dist/chunks/{schema-6h73sxmp.js → project-6h73sxmp.js} +1 -1
- package/dist/chunks/{schema-zg5v86p0.js → project-6kbkabgb.js} +3 -3
- package/dist/chunks/project-6kdq0pjd.js +4 -0
- package/dist/chunks/{schema-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-76yj2t14.js → project-6z7g0rv2.js} +34 -34
- package/dist/chunks/{schema-s28xa88k.js → project-738gt41w.js} +11 -11
- package/dist/chunks/{schema-bawhc7q1.js → project-759azhnc.js} +10 -10
- package/dist/chunks/{schema-hdwy771y.js → project-7amt6rym.js} +11 -11
- package/dist/chunks/{schema-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-02v3faq5.js → project-7evgncf8.js} +11 -11
- package/dist/chunks/{schema-8pgwyz8n.js → project-7nm0e33p.js} +5 -5
- package/dist/chunks/{schema-tp9yn0rb.js → project-7p2b8qdr.js} +4 -4
- package/dist/chunks/{schema-pceeejwg.js → project-7sbbepgg.js} +8 -8
- package/dist/chunks/{schema-raajgtb1.js → project-7thqbr1x.js} +18 -18
- package/dist/chunks/{schema-cxd4szcz.js → project-808tzxy4.js} +3 -3
- package/dist/chunks/{schema-tcezcvh9.js → project-89znhe33.js} +4 -4
- package/dist/chunks/{schema-216v1y3s.js → project-8aqq46j9.js} +18 -18
- package/dist/chunks/{schema-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-b8f26xyk.js → project-8md4ryjs.js} +14 -14
- package/dist/chunks/{schema-6pc27hjz.js → project-8sze2n9a.js} +2 -2
- package/dist/chunks/{schema-aa14mxtt.js → project-8tf9aaab.js} +11 -11
- package/dist/chunks/{schema-s1tzw9nx.js → project-8tn9xbzn.js} +12 -12
- package/dist/chunks/{schema-w1ad28wa.js → project-8tt02aa5.js} +8 -8
- package/dist/chunks/{schema-gvdvajq4.js → project-8zn2t0m2.js} +25 -25
- package/dist/chunks/{schema-edc4vr76.js → project-9173yfyp.js} +325 -325
- package/dist/chunks/{schema-fn7m6sq4.js → project-9m25bn8y.js} +4 -4
- package/dist/chunks/{schema-4p8415jn.js → project-9q81vv6e.js} +20 -20
- package/dist/chunks/project-9sh4wc5j.js +18 -0
- package/dist/chunks/{schema-wc287v3v.js → project-a56qce7e.js} +9 -9
- package/dist/chunks/{schema-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-s2a3m5zj.js → project-acnc4vnw.js} +23 -23
- package/dist/chunks/{schema-f9hw48zx.js → project-aj9wy6bs.js} +5 -5
- package/dist/chunks/{schema-659sfxq9.js → project-ajzsbz6h.js} +11 -11
- package/dist/chunks/{schema-anbdq9pc.js → project-amy7e0d0.js} +18 -18
- package/dist/chunks/{schema-tx9w5tca.js → project-at1kfnmk.js} +8 -8
- package/dist/chunks/{schema-yhbs15xx.js → project-atgvkeyp.js} +11 -11
- package/dist/chunks/{schema-aqkbpc1t.js → project-b4aagq2j.js} +37 -37
- package/dist/chunks/{schema-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-sydz09wp.js → project-b948jtff.js} +30 -30
- package/dist/chunks/{schema-h6ata8bv.js → project-b9h1yx7k.js} +23 -23
- package/dist/chunks/{schema-4rdyamb0.js → project-b9x34m10.js} +11 -11
- package/dist/chunks/{schema-dg5bcj4q.js → project-bdqrk2vk.js} +6 -6
- package/dist/chunks/{schema-qthnzapq.js → project-bgmbvnqs.js} +37 -37
- package/dist/chunks/{schema-bjtzbw4r.js → project-bjtzbw4r.js} +3 -3
- package/dist/chunks/{schema-s56b7sj7.js → project-brs7b7j8.js} +16 -16
- package/dist/chunks/{schema-cv6v52d9.js → project-bvpbr9x9.js} +11 -11
- package/dist/chunks/{schema-01q8mg5a.js → project-bxgg7fv5.js} +89 -89
- package/dist/chunks/{schema-1hhry64t.js → project-bxnt1f3q.js} +10 -10
- package/dist/chunks/{schema-wkbehqst.js → project-bxr2mj1p.js} +48 -48
- package/dist/chunks/{schema-9kgeezcq.js → project-c5y10d50.js} +11 -11
- package/dist/chunks/{schema-9rmbnpj5.js → project-c9k9j98c.js} +2 -2
- package/dist/chunks/{schema-02jbgszr.js → project-cbdz9e3t.js} +13 -13
- package/dist/chunks/{schema-z6zxveg6.js → project-d6qswtfv.js} +5 -5
- package/dist/chunks/{schema-mwm07mde.js → project-d7mzrd1t.js} +6 -6
- package/dist/chunks/{schema-jvzqejyw.js → project-d9hgwdxq.js} +15 -15
- package/dist/chunks/{schema-6y0m36e6.js → project-deaye1t8.js} +32 -32
- package/dist/chunks/{schema-yctgz9ak.js → project-dkyxp74s.js} +3 -3
- package/dist/chunks/{schema-y71avatq.js → project-dpkg50ah.js} +4 -4
- package/dist/chunks/{schema-xmx293k5.js → project-e20z94tv.js} +25 -25
- package/dist/chunks/{schema-wnavy81w.js → project-e6tm7cc1.js} +31 -31
- package/dist/chunks/{schema-e04544d7.js → project-e9mm9j1x.js} +20 -20
- package/dist/chunks/project-ebwh47j8.js +252 -0
- package/dist/chunks/{schema-ecfe7b91.js → project-ecfe7b91.js} +2 -2
- package/dist/chunks/{schema-jdj92c4g.js → project-edbzcyb7.js} +18 -18
- package/dist/chunks/{schema-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-m1tf57me.js → project-emvnsgm3.js} +11 -11
- package/dist/chunks/{schema-j1zk5myr.js → project-en3b06s1.js} +175 -175
- package/dist/chunks/{schema-df71sjqe.js → project-enw43jgc.js} +20 -20
- package/dist/chunks/{schema-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-ddxb0dnv.js → project-ewc044dc.js} +52 -52
- package/dist/chunks/{schema-0mk5rbah.js → project-f2hzm7ym.js} +9 -9
- package/dist/chunks/{schema-9m1qw5e9.js → project-f2pbsgfn.js} +15 -15
- package/dist/chunks/{schema-jw80jp6b.js → project-f3ngv102.js} +4 -4
- package/dist/chunks/{schema-5e82d4zs.js → project-f6m4j3ps.js} +10 -10
- package/dist/chunks/{schema-svr80ky5.js → project-f9zfyzxy.js} +66 -66
- package/dist/chunks/{schema-vmgq4x8b.js → project-ff0svapt.js} +2 -2
- package/dist/chunks/{schema-0kryq94n.js → project-ff2mcvte.js} +8 -8
- package/dist/chunks/{schema-cdyvr9f3.js → project-fh2psg6v.js} +11 -11
- package/dist/chunks/{schema-sb3nhjgb.js → project-fwg9sggt.js} +31 -31
- package/dist/chunks/{schema-02kbzxrb.js → project-g2042726.js} +11 -11
- package/dist/chunks/{schema-cmw1rd1q.js → project-g6jwc295.js} +29 -29
- package/dist/chunks/{schema-achwqtgz.js → project-g7dpewgz.js} +14 -14
- package/dist/chunks/{schema-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-gfvb90ym.js → project-gfvb90ym.js} +2 -2
- package/dist/chunks/{schema-0338tv42.js → project-gk6q9h8v.js} +13 -13
- package/dist/chunks/{schema-qe26s0zb.js → project-grxcxy9j.js} +8 -8
- package/dist/chunks/{schema-2vvj6rba.js → project-gtp0p055.js} +1 -1
- package/dist/chunks/{schema-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-za5cqyrv.js → project-gwn93cvy.js} +18 -18
- package/dist/chunks/{schema-y91sxvbc.js → project-h4tqdznw.js} +37 -37
- package/dist/chunks/{schema-nzyhnfxz.js → project-h6r3nrb9.js} +4 -4
- package/dist/chunks/{schema-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-mjvn4zm4.js → project-h887mp1f.js} +15 -15
- package/dist/chunks/{schema-hf0mkt0x.js → project-hgc9ebpk.js} +1 -1
- package/dist/chunks/{schema-x7x071nx.js → project-hgejsyte.js} +14 -14
- package/dist/chunks/{schema-hkfg6fzm.js → project-hkfg6fzm.js} +2 -2
- package/dist/chunks/{schema-de52ckkz.js → project-hnr8f6ws.js} +4 -4
- package/dist/chunks/{schema-wrsptv21.js → project-hty1v62m.js} +4 -4
- package/dist/chunks/{schema-q11was2t.js → project-j18xhqkk.js} +21 -21
- package/dist/chunks/{schema-w3ba67bf.js → project-j2ymqdpp.js} +5 -5
- package/dist/chunks/{schema-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-r3c4069c.js → project-j9ty9cws.js} +1 -1
- package/dist/chunks/{schema-y0cr4b1c.js → project-je3d475j.js} +4 -4
- package/dist/chunks/{schema-9bs9pkv6.js → project-jypr814b.js} +28 -28
- package/dist/chunks/{schema-k3c624dm.js → project-k3c624dm.js} +3 -3
- package/dist/chunks/{schema-0attd1ej.js → project-k3cfks02.js} +8 -8
- package/dist/chunks/{schema-6hjx5zpb.js → project-k79tzb9n.js} +8 -8
- package/dist/chunks/{schema-58yj0nne.js → project-kb1d48gj.js} +33 -33
- package/dist/chunks/{schema-vvvs0jwh.js → project-kg5xgaem.js} +4 -4
- package/dist/chunks/{schema-9td8kqq4.js → project-ks59g7za.js} +7 -7
- package/dist/chunks/{schema-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-53fyba40.js → project-m6nec9qq.js} +4 -4
- package/dist/chunks/{schema-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-szfqz0v7.js → project-ma6a207m.js} +11 -11
- package/dist/chunks/{schema-9wqzfaac.js → project-ma84hk0x.js} +47 -47
- package/dist/chunks/{schema-fnckqvkz.js → project-mawjpeqt.js} +51 -51
- package/dist/chunks/{schema-fm2djhtr.js → project-mb60e0yq.js} +11 -11
- package/dist/chunks/{schema-3j9d4fgr.js → project-mgb3mzg6.js} +10 -10
- package/dist/chunks/{schema-1bbkgx8g.js → project-mhkvc446.js} +3 -3
- package/dist/chunks/{schema-q8n9d2sh.js → project-mksgfzgs.js} +8 -8
- package/dist/chunks/{schema-xj9an458.js → project-mtfd35rn.js} +11 -11
- package/dist/chunks/{schema-xfkq7hhm.js → project-mwb24k3n.js} +20 -20
- package/dist/chunks/{schema-ceks70kf.js → project-mwdzsd4k.js} +9 -9
- package/dist/chunks/{schema-1ed2t66p.js → project-mzywpf3p.js} +4 -4
- package/dist/chunks/{schema-c131hp6h.js → project-n06veks5.js} +17 -17
- package/dist/chunks/{schema-jd3ht1x4.js → project-n76xbnwv.js} +6 -6
- package/dist/chunks/{schema-9213mvz8.js → project-ng0xzx18.js} +17 -17
- package/dist/chunks/{schema-nq7qbqzc.js → project-nscznvay.js} +9 -9
- package/dist/chunks/{schema-xfk06v0t.js → project-p3rd9cb6.js} +8 -8
- package/dist/chunks/{schema-bpratrbj.js → project-p51z0y8h.js} +8 -8
- package/dist/chunks/{schema-ggxapr4n.js → project-p8rw1xd4.js} +17 -17
- package/dist/chunks/{schema-vh918eyq.js → project-pdhfa141.js} +55 -55
- package/dist/chunks/{schema-8cznwert.js → project-pexf9ky2.js} +10 -10
- package/dist/chunks/{schema-vmwh049b.js → project-phc8pspp.js} +6 -6
- package/dist/chunks/{schema-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{schema-psazpmmj.js → project-psazpmmj.js} +2 -2
- package/dist/chunks/{schema-sc1s8qey.js → project-py32m9ff.js} +17 -17
- package/dist/chunks/{schema-j433k3ah.js → project-q5pc3ste.js} +29 -29
- package/dist/chunks/{schema-9m1eaqh3.js → project-qe064441.js} +33 -33
- package/dist/chunks/{schema-r2m716tb.js → project-qmqgtz8f.js} +9 -9
- package/dist/chunks/{schema-m65z8mqv.js → project-qpaw42s4.js} +45 -45
- package/dist/chunks/{schema-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-phwvgf2n.js → project-qxq66e0p.js} +25 -25
- package/dist/chunks/{schema-es758s33.js → project-r4f3c2d6.js} +18 -18
- package/dist/chunks/{schema-xrk2dg0j.js → project-r6cxhc2n.js} +24 -24
- package/dist/chunks/{schema-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-9hk2fva0.js → project-re17gjtn.js} +13 -13
- package/dist/chunks/{schema-71v07zn3.js → project-rgsxkdhj.js} +25 -25
- package/dist/chunks/{schema-yp2x3t23.js → project-rhraev7y.js} +4 -4
- package/dist/chunks/{schema-ckf8nxjz.js → project-rwm5vee1.js} +4 -4
- package/dist/chunks/{schema-kga0f6yw.js → project-rygdm8gb.js} +7 -7
- package/dist/chunks/{schema-02wmds2c.js → project-s51136xy.js} +4 -4
- package/dist/chunks/{schema-eaj1djv9.js → project-s8d7rejh.js} +6 -6
- package/dist/chunks/{schema-t37tr4jd.js → project-sezhhg0t.js} +37 -37
- package/dist/chunks/{schema-b8abjh2k.js → project-sqemcwjp.js} +32 -32
- package/dist/chunks/{schema-h7e5g0tn.js → project-sqevgg1x.js} +6 -6
- package/dist/chunks/{schema-6c158f61.js → project-sqtd4egc.js} +22 -22
- package/dist/chunks/{schema-1htzjx3s.js → project-t1jwa6v9.js} +9 -9
- package/dist/chunks/{schema-ryr25ayn.js → project-t2fc4mz5.js} +4 -4
- package/dist/chunks/{schema-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-xhsj2xcy.js → project-tc23yakz.js} +6 -6
- package/dist/chunks/{schema-r99neq4v.js → project-td6rvk46.js} +6 -6
- package/dist/chunks/{schema-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{schema-gah6wse8.js → project-te3hdv2t.js} +10 -10
- package/dist/chunks/{schema-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-66dga76z.js → project-twsb81tc.js} +9 -9
- package/dist/chunks/{schema-sp3cfktr.js → project-v53mtj4b.js} +5 -5
- package/dist/chunks/{schema-acd4vkpt.js → project-v6gb7zv2.js} +6 -6
- package/dist/chunks/{schema-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-vevrkrar.js → project-vfqs23xq.js} +24 -24
- package/dist/chunks/{schema-w3d830pe.js → project-vkq3nzng.js} +87 -87
- package/dist/chunks/{schema-r98e92ep.js → project-vncycja5.js} +4 -4
- package/dist/chunks/{schema-m0f2xe1s.js → project-vw4psb2f.js} +44 -44
- package/dist/chunks/{schema-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-e6zwr77z.js → project-w226mdjk.js} +21 -21
- package/dist/chunks/{schema-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-12f5qzcf.js → project-w76yg9p9.js} +10 -10
- package/dist/chunks/{schema-xgdsspm4.js → project-w9wdg20a.js} +30 -30
- package/dist/chunks/{schema-x5aajpce.js → project-w9wkpbtz.js} +10 -10
- package/dist/chunks/{schema-jg25py4x.js → project-wb6av7gs.js} +17 -17
- package/dist/chunks/{schema-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{schema-ha8h07mp.js → project-wdv5dv94.js} +27 -27
- package/dist/chunks/{schema-899k0336.js → project-wjs4m62v.js} +6 -6
- package/dist/chunks/{schema-vtp78vb3.js → project-wmsqsdjg.js} +6 -6
- package/dist/chunks/{schema-cetybxe3.js → project-wrdmc7xc.js} +16 -16
- package/dist/chunks/{schema-61cd6e58.js → project-wrx8dq47.js} +19 -19
- package/dist/chunks/{schema-zffm6dk0.js → project-wtymb63d.js} +24 -24
- package/dist/chunks/{schema-6ftnbkqh.js → project-wyqs0y4m.js} +39 -39
- package/dist/chunks/{schema-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-98yh1srd.js → project-x3f5n13q.js} +22 -22
- package/dist/chunks/{schema-eq20ba7x.js → project-x8cycxf4.js} +6 -6
- package/dist/chunks/{schema-drwq78ky.js → project-xfkkasph.js} +4 -4
- package/dist/chunks/{schema-62v4907p.js → project-xgyn1bnh.js} +26 -26
- package/dist/chunks/{schema-dmqcgk4z.js → project-xkntkrq7.js} +5 -5
- package/dist/chunks/{schema-2jgevnf2.js → project-xm30kf4b.js} +27 -27
- package/dist/chunks/{schema-wbeghawe.js → project-xs9ze5ky.js} +17 -17
- package/dist/chunks/{schema-faj2svbs.js → project-xsgk3b13.js} +9 -9
- package/dist/chunks/{schema-97z86zxn.js → project-xv2m87qv.js} +20 -20
- package/dist/chunks/{schema-ce5fknq2.js → project-xw8eq9f1.js} +5 -5
- package/dist/chunks/{schema-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-ms84bj92.js → project-y7dp1mze.js} +41 -41
- package/dist/chunks/{schema-fm32kww2.js → project-y9emgft6.js} +22 -22
- package/dist/chunks/{schema-9zbf59cj.js → project-ym0rbchm.js} +14 -14
- package/dist/chunks/{schema-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-yrznvahk.js → project-yrznvahk.js} +2 -2
- package/dist/chunks/{schema-xqv87xzy.js → project-z09q57zm.js} +23 -23
- package/dist/chunks/{schema-2k71kv7p.js → project-z0aj456m.js} +4 -4
- package/dist/chunks/{schema-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-z63w68vq.js → project-z63w68vq.js} +2 -2
- package/dist/chunks/{schema-r5xqv1fp.js → project-z8z2pm43.js} +5 -5
- package/dist/chunks/{schema-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- 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 +99 -99
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- 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 +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +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 +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/schema-hxa7m5za.js +0 -4
- package/dist/chunks/schema-p2h6zvwc.js +0 -18
- package/dist/chunks/schema-pvpvsgsg.js +0 -26
- package/dist/chunks/schema-q4hmxj4a.js +0 -252
- /package/dist/chunks/{schema-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → project-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-3y66thwc.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-je3d475j.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./project-49by82nd.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service19,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node22
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service19 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service19.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node22 = makeLocationNode({
|
|
168
|
+
service: Service19,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node84, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service19, node22, exports_vcs };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service32,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service32 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service32.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service32, awaitActivation2, exports_service };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./project-v6gb7zv2.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./project-ma84hk0x.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service63;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./project-pdhfa141.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin9,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name7 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input7 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin9 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service70;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin45 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input7, Plugin9, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./project-q5pc3ste.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service77;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions3 = {};
|
|
18
18
|
__export(exports_instructions3, {
|
|
19
19
|
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
-
make: () =>
|
|
20
|
+
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -109,9 +109,9 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
116
|
return make21({
|
|
117
117
|
key,
|
|
@@ -119,10 +119,10 @@ var make13 = (inventory) => {
|
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update3, make14, exports_instructions3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
@@ -14,15 +14,15 @@ __export(exports_watcher, {
|
|
|
14
14
|
Event: () => Event10,
|
|
15
15
|
Native: () => Native3,
|
|
16
16
|
Options: () => Options7,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service47,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node51,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -57,14 +57,14 @@ var Options7 = Schema.Struct({
|
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service47 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer18 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service47.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service47).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured8(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service47, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node51 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { Event10, hasNativeBinding2, Native3, Options7,
|
|
190
|
+
export { Event10, hasNativeBinding2, Native3, Options7, Service47, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured8, node51, exports_watcher };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service74,
|
|
10
|
+
node: () => node78
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service74 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service74.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service74, node78, exports_hooks };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./project-amy7e0d0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./project-vw4psb2f.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-n76xbnwv.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin46
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin46 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service46;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service47;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin31 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin46, exports_compatibility };
|