@opencode/core 0.0.0-dev-20079 → 0.0.0-dev-20082
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 +90 -90
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-lifecycle-93eat1mg.js → mime-00kjgt8x.js} +37 -37
- package/dist/chunks/{location-lifecycle-w1ahv8v5.js → mime-038cbjbn.js} +15 -15
- package/dist/chunks/{location-lifecycle-kp06gxjd.js → mime-05ay0q20.js} +42 -42
- package/dist/chunks/{location-lifecycle-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-lifecycle-d1khqved.js → mime-0r7yqxbf.js} +5 -5
- package/dist/chunks/{location-lifecycle-rzs3gq0x.js → mime-0tzy42a9.js} +8 -8
- package/dist/chunks/{location-lifecycle-fzdjqjqe.js → mime-153c4z9z.js} +20 -20
- package/dist/chunks/{location-lifecycle-24sw7gsr.js → mime-16q9e8vm.js} +12 -12
- package/dist/chunks/{location-lifecycle-g4exfbqr.js → mime-170hdxs4.js} +4 -4
- package/dist/chunks/mime-182s9w42.js +507 -0
- package/dist/chunks/{location-lifecycle-9ep9adm8.js → mime-1a12bnb5.js} +3 -3
- package/dist/chunks/{location-lifecycle-f2n192rq.js → mime-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-lifecycle-fbhyvh8e.js → mime-1bpqmtaz.js} +16 -16
- package/dist/chunks/{location-lifecycle-mrsgn7my.js → mime-1d35eqgr.js} +5 -5
- package/dist/chunks/{location-lifecycle-w73bfpmg.js → mime-1dah21z9.js} +37 -37
- package/dist/chunks/{location-lifecycle-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-lifecycle-v5d989bc.js → mime-1ef46ta4.js} +13 -13
- package/dist/chunks/{location-lifecycle-kwcx68me.js → mime-1fypxrxq.js} +43 -43
- package/dist/chunks/{location-lifecycle-0gaj4617.js → mime-1nzs1dt7.js} +6 -6
- package/dist/chunks/{location-lifecycle-qarqz51c.js → mime-1p7zzgff.js} +13 -13
- package/dist/chunks/{location-lifecycle-trzcm3tj.js → mime-1q9kvn7y.js} +23 -23
- package/dist/chunks/{location-lifecycle-8x37xyr8.js → mime-1rzq4h8b.js} +8 -8
- package/dist/chunks/{location-lifecycle-33w4ejhs.js → mime-1ygqh575.js} +6 -6
- package/dist/chunks/{location-lifecycle-a2a6ph37.js → mime-209t9eg4.js} +13 -13
- package/dist/chunks/{location-lifecycle-21r38tys.js → mime-21r38tys.js} +1 -1
- package/dist/chunks/{location-lifecycle-2402vzrj.js → mime-2402vzrj.js} +1 -1
- package/dist/chunks/{location-lifecycle-a0nn69n9.js → mime-26nae1tf.js} +11 -11
- package/dist/chunks/{location-lifecycle-29x78va6.js → mime-29x78va6.js} +2 -2
- package/dist/chunks/{location-lifecycle-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-lifecycle-2tba787a.js → mime-2bekqz3a.js} +18 -18
- package/dist/chunks/{location-lifecycle-p0s3dwrr.js → mime-2gw68b84.js} +23 -23
- package/dist/chunks/{location-lifecycle-7dqw4kz8.js → mime-2k8khapm.js} +5 -5
- package/dist/chunks/{location-lifecycle-tfkjwah6.js → mime-2kdwgsh2.js} +14 -14
- package/dist/chunks/{location-lifecycle-qdt77h2n.js → mime-2mfz3bef.js} +3 -3
- package/dist/chunks/{location-lifecycle-h04fec9s.js → mime-2s2q4h4d.js} +6 -6
- package/dist/chunks/{location-lifecycle-vkbv809h.js → mime-2s5q0hbn.js} +55 -55
- package/dist/chunks/{location-lifecycle-56mhcpbk.js → mime-2vm2mn6r.js} +37 -37
- package/dist/chunks/{location-lifecycle-06x8he3q.js → mime-2vs2nh1n.js} +4 -4
- package/dist/chunks/{location-lifecycle-dcvbrmh9.js → mime-2xnfx9dh.js} +22 -22
- package/dist/chunks/{location-lifecycle-kx8hngxs.js → mime-30vqxvem.js} +6 -6
- package/dist/chunks/{location-lifecycle-er667zkn.js → mime-35kmpahp.js} +4 -4
- package/dist/chunks/{location-lifecycle-nmnv9rqk.js → mime-37mgqk6f.js} +23 -23
- package/dist/chunks/{location-lifecycle-6jxte08d.js → mime-39jcvt2n.js} +2 -2
- package/dist/chunks/{location-lifecycle-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-lifecycle-eqnkvkjj.js → mime-3t50tqxz.js} +15 -15
- package/dist/chunks/{location-lifecycle-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-lifecycle-ag9w8cw1.js → mime-3w0fmcng.js} +5 -5
- package/dist/chunks/{location-lifecycle-7gcp8pkf.js → mime-3wrtxrr4.js} +6 -6
- package/dist/chunks/{location-lifecycle-3zsf4n22.js → mime-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-lifecycle-6phrjhr6.js → mime-41km3kz5.js} +23 -23
- package/dist/chunks/{location-lifecycle-cmzswfdp.js → mime-44d35g97.js} +26 -26
- package/dist/chunks/{location-lifecycle-e3fdxhn1.js → mime-4b4ywecx.js} +10 -10
- package/dist/chunks/{location-lifecycle-zfkp2819.js → mime-4crc4jdm.js} +1 -1
- package/dist/chunks/{location-lifecycle-rm0ybym0.js → mime-4fvze959.js} +43 -43
- package/dist/chunks/{location-lifecycle-4gm3tq08.js → mime-54g84kz9.js} +13 -13
- package/dist/chunks/{location-lifecycle-531map3w.js → mime-55b8r06m.js} +76 -76
- package/dist/chunks/{location-lifecycle-drwq78ky.js → mime-57b9ws8p.js} +5 -5
- package/dist/chunks/{location-lifecycle-57ez7d0k.js → mime-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-lifecycle-cam1ayvb.js → mime-5bev5725.js} +8 -8
- package/dist/chunks/{location-lifecycle-ecqqbvyr.js → mime-5cmajn7h.js} +9 -9
- package/dist/chunks/{location-lifecycle-5daktx2q.js → mime-5daktx2q.js} +1 -1
- package/dist/chunks/{location-lifecycle-5ekn9679.js → mime-5ekn9679.js} +1 -1
- package/dist/chunks/{location-lifecycle-z3nay82g.js → mime-5fb55ywp.js} +9 -9
- package/dist/chunks/{location-lifecycle-71k1amkv.js → mime-5s4prcyn.js} +36 -36
- package/dist/chunks/{location-lifecycle-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-lifecycle-zbh9kwq1.js → mime-5w36kk3z.js} +29 -29
- package/dist/chunks/{location-lifecycle-dv1qgsyq.js → mime-5yzzbxa7.js} +8 -8
- package/dist/chunks/{location-lifecycle-gd0x7v4t.js → mime-646tc8py.js} +6 -6
- package/dist/chunks/{location-lifecycle-bya39qz1.js → mime-6540dvt1.js} +7 -7
- package/dist/chunks/{location-lifecycle-669tq793.js → mime-669tq793.js} +1 -1
- package/dist/chunks/{location-lifecycle-6fatt4mk.js → mime-6hjx5zpb.js} +9 -9
- package/dist/chunks/{location-lifecycle-ybqc9gtf.js → mime-6j8bnvkm.js} +2 -2
- package/dist/chunks/{location-lifecycle-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-lifecycle-vnfc2q6g.js → mime-6r5c0w9g.js} +29 -29
- package/dist/chunks/{location-lifecycle-ackbfy2k.js → mime-6rfetefd.js} +3 -3
- package/dist/chunks/{location-lifecycle-v11xek3k.js → mime-77a7k1x9.js} +32 -32
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-1efpx20h.js → mime-7p4zv7at.js} +15 -14
- package/dist/chunks/{location-lifecycle-5paxxmhy.js → mime-7r6qf5r7.js} +22 -22
- package/dist/chunks/{location-lifecycle-evjk3azk.js → mime-7tycp833.js} +9 -9
- package/dist/chunks/{location-lifecycle-a6rtn05v.js → mime-7wny7pda.js} +17 -17
- package/dist/chunks/{location-lifecycle-9wc7tdkr.js → mime-82e83hjb.js} +18 -18
- package/dist/chunks/{location-lifecycle-mhjfzxr8.js → mime-83m6sd17.js} +4 -4
- package/dist/chunks/{location-lifecycle-dbb8vp5z.js → mime-86qzxe6p.js} +4 -4
- package/dist/chunks/{location-lifecycle-7k4trpze.js → mime-887dxsd3.js} +15 -15
- package/dist/chunks/{location-lifecycle-tcezcvh9.js → mime-89znhe33.js} +4 -4
- package/dist/chunks/{location-lifecycle-9ry0r7nj.js → mime-8ac1j38b.js} +23 -23
- package/dist/chunks/{location-lifecycle-0my6m5t2.js → mime-8cawjpeg.js} +87 -87
- package/dist/chunks/{location-lifecycle-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-lifecycle-9mjazamh.js → mime-8wpn150k.js} +8 -8
- package/dist/chunks/{location-lifecycle-94ek1h2f.js → mime-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-lifecycle-z9kjrvxh.js → mime-94qf5r5e.js} +11 -11
- package/dist/chunks/{location-lifecycle-zpzacb1g.js → mime-9522f170.js} +9 -9
- package/dist/chunks/{location-lifecycle-j41zh890.js → mime-95demef3.js} +22 -22
- package/dist/chunks/{location-lifecycle-nb8z3sb6.js → mime-96hjzxkc.js} +14 -14
- package/dist/chunks/{location-lifecycle-21t6fa69.js → mime-97sgz6yw.js} +17 -17
- package/dist/chunks/{location-lifecycle-7zgec7h4.js → mime-a1bdy4ck.js} +13 -13
- package/dist/chunks/{location-lifecycle-306r0xtt.js → mime-a7hf18pz.js} +18 -18
- package/dist/chunks/{location-lifecycle-aaet6srn.js → mime-aaet6srn.js} +2 -2
- package/dist/chunks/{location-lifecycle-18s9r5gn.js → mime-ae0nwvy8.js} +4 -4
- package/dist/chunks/{location-lifecycle-y5df08dr.js → mime-afed7ext.js} +12 -12
- package/dist/chunks/{location-lifecycle-1z08k0r1.js → mime-ajt4fata.js} +8 -8
- package/dist/chunks/{location-lifecycle-0q40c6p6.js → mime-amgtyp96.js} +18 -18
- package/dist/chunks/{location-lifecycle-2w9khnp1.js → mime-anq3081s.js} +13 -13
- package/dist/chunks/{location-lifecycle-1gnq4k7b.js → mime-b2vtx10y.js} +32 -32
- package/dist/chunks/{location-lifecycle-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-lifecycle-3r61ngk9.js → mime-b95dy7zp.js} +16 -16
- package/dist/chunks/{location-lifecycle-tyq5db9e.js → mime-bbjzvta2.js} +12 -12
- package/dist/chunks/{location-lifecycle-zypmjmgb.js → mime-bc3t5yes.js} +24 -24
- package/dist/chunks/mime-bdqechhr.js +26 -0
- package/dist/chunks/{location-lifecycle-qs1cbs9d.js → mime-bg87x2pg.js} +13 -13
- package/dist/chunks/{location-lifecycle-f38mbwqt.js → mime-bpcm8v83.js} +6 -6
- package/dist/chunks/{location-lifecycle-pg8ttqrz.js → mime-bshz36e2.js} +43 -43
- package/dist/chunks/{location-lifecycle-pxnzp80q.js → mime-btb741xx.js} +4 -4
- package/dist/chunks/{location-lifecycle-1pwc4c2w.js → mime-c1ckp43n.js} +7 -7
- package/dist/chunks/{location-lifecycle-jrh1janw.js → mime-c8cch34d.js} +10 -10
- package/dist/chunks/{location-lifecycle-gr6sb7t2.js → mime-cf1secj6.js} +25 -25
- package/dist/chunks/{location-lifecycle-frz8dvr7.js → mime-cjwramev.js} +8 -8
- package/dist/chunks/{location-lifecycle-ckecvw8r.js → mime-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-lifecycle-332s0etf.js → mime-d1r7fz6b.js} +11 -11
- package/dist/chunks/{location-lifecycle-yt0fqk68.js → mime-d2aac7k2.js} +5 -5
- package/dist/chunks/{location-lifecycle-ths5nwb1.js → mime-d44j1b50.js} +10 -10
- package/dist/chunks/{location-lifecycle-vv97ra8n.js → mime-d866bxqg.js} +11 -11
- package/dist/chunks/{location-lifecycle-12y94dz0.js → mime-de35ch4m.js} +10 -10
- package/dist/chunks/{location-lifecycle-qq11w61w.js → mime-dfe8djrf.js} +4 -4
- package/dist/chunks/{location-lifecycle-je42r6cz.js → mime-dp1ryh00.js} +24 -24
- package/dist/chunks/{location-lifecycle-e0rwsjxg.js → mime-dqm8k5gs.js} +35 -35
- package/dist/chunks/{location-lifecycle-9tpqnd1t.js → mime-ds0wtj4e.js} +1 -1
- package/dist/chunks/{location-lifecycle-6z9mwsmt.js → mime-dtt66365.js} +22 -22
- package/dist/chunks/{location-lifecycle-0httgp45.js → mime-dy59ndr5.js} +52 -52
- package/dist/chunks/{location-lifecycle-rvwa2653.js → mime-e0ps24dg.js} +21 -21
- package/dist/chunks/{location-lifecycle-bpcnfm2r.js → mime-e18zzkty.js} +10 -10
- package/dist/chunks/{location-lifecycle-15hj9zcg.js → mime-e8yv0hf3.js} +9 -9
- package/dist/chunks/{location-lifecycle-s0hza5ac.js → mime-ec87kc5z.js} +4 -4
- package/dist/chunks/{location-lifecycle-5syd9exq.js → mime-ed1snsbs.js} +33 -33
- package/dist/chunks/{location-lifecycle-e3t1k4fp.js → mime-eefhezaq.js} +126 -126
- package/dist/chunks/{location-lifecycle-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-lifecycle-09ww3nkz.js → mime-ekv8efyj.js} +8 -8
- package/dist/chunks/{location-lifecycle-eqhwn6nh.js → mime-emzh0g24.js} +27 -27
- package/dist/chunks/{location-lifecycle-mhkvc446.js → mime-eq1pz5kg.js} +3 -3
- package/dist/chunks/{location-lifecycle-erw5rpbs.js → mime-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-lifecycle-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-lifecycle-xvbd2t9n.js → mime-evbat1kq.js} +45 -45
- package/dist/chunks/{location-lifecycle-gwyzdwgr.js → mime-ey8kmd5x.js} +18 -18
- package/dist/chunks/{location-lifecycle-dagkn99r.js → mime-ezyw3hyt.js} +1 -1
- package/dist/chunks/{location-lifecycle-r8pe3876.js → mime-f0p6wgfs.js} +17 -17
- package/dist/chunks/{location-lifecycle-dx1am6a9.js → mime-f1q6nvme.js} +1 -1
- package/dist/chunks/{location-lifecycle-hw583fet.js → mime-f2dxdeh3.js} +15 -15
- package/dist/chunks/{location-lifecycle-j0hvv6pf.js → mime-fcmgfk6f.js} +22 -22
- package/dist/chunks/{location-lifecycle-d8mt368w.js → mime-fee1sgdn.js} +33 -33
- package/dist/chunks/{location-lifecycle-3bc8czyk.js → mime-fhz5gfgy.js} +5 -5
- package/dist/chunks/{location-lifecycle-qk40f6qf.js → mime-fp67s591.js} +23 -23
- package/dist/chunks/{location-lifecycle-08rawchj.js → mime-fpnx24t4.js} +3 -3
- package/dist/chunks/{location-lifecycle-ha1n41tc.js → mime-fs57cj69.js} +7 -7
- package/dist/chunks/{location-lifecycle-s942n1t7.js → mime-g2y161wv.js} +5 -5
- package/dist/chunks/{location-lifecycle-jaay1cxn.js → mime-g51zwe1j.js} +12 -12
- package/dist/chunks/{location-lifecycle-6xcwnmh5.js → mime-ga3gdcep.js} +8 -8
- package/dist/chunks/{location-lifecycle-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-lifecycle-y2e1z292.js → mime-gqegm53c.js} +11 -11
- package/dist/chunks/{location-lifecycle-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-lifecycle-ah1gfr63.js → mime-gxvazm9p.js} +11 -11
- package/dist/chunks/{location-lifecycle-t80y27b5.js → mime-h0cakgky.js} +8 -8
- package/dist/chunks/{location-lifecycle-h6r3nrb9.js → mime-h6r3nrb9.js} +1 -1
- package/dist/chunks/{location-lifecycle-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-lifecycle-np185wnj.js → mime-h877p9eh.js} +11 -11
- package/dist/chunks/{location-lifecycle-nca7p386.js → mime-hdzt82x2.js} +4 -4
- package/dist/chunks/mime-hr9dp009.js +4 -0
- package/dist/chunks/{location-lifecycle-372gw5e0.js → mime-hvjvz7ze.js} +12 -12
- package/dist/chunks/{location-lifecycle-1zcq3fa7.js → mime-j36xhj14.js} +30 -30
- package/dist/chunks/{location-lifecycle-j56e64zr.js → mime-j56e64zr.js} +1 -1
- package/dist/chunks/{location-lifecycle-9m67a2xh.js → mime-j9j6vs9t.js} +30 -30
- package/dist/chunks/{location-lifecycle-hgsf16v0.js → mime-jpf1a9kn.js} +46 -46
- package/dist/chunks/{location-lifecycle-rj5nneh7.js → mime-jpxt7vtw.js} +8 -8
- package/dist/chunks/{location-lifecycle-hz0q9sdq.js → mime-k1qrnqst.js} +8 -8
- package/dist/chunks/{location-lifecycle-92e055yb.js → mime-k28tmd1k.js} +13 -13
- package/dist/chunks/{location-lifecycle-k3c624dm.js → mime-k3c624dm.js} +3 -3
- package/dist/chunks/{location-lifecycle-e160f7zq.js → mime-k4q19yth.js} +15 -15
- package/dist/chunks/{location-lifecycle-k9kced9z.js → mime-k70wg4vh.js} +1 -1
- package/dist/chunks/{location-lifecycle-a2ew8a62.js → mime-k8962brh.js} +7 -7
- package/dist/chunks/{location-lifecycle-em3h5ktn.js → mime-kb6gw2zp.js} +4 -4
- package/dist/chunks/{location-lifecycle-m3fdjcah.js → mime-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-lifecycle-ak22egzq.js → mime-m5mm7eg1.js} +6 -6
- package/dist/chunks/{location-lifecycle-gkq5dawr.js → mime-m6q70yxa.js} +27 -27
- package/dist/chunks/{location-lifecycle-ebxse63s.js → mime-m72tqvbf.js} +17 -17
- package/dist/chunks/{location-lifecycle-s5jqsqh4.js → mime-m7x0jkmn.js} +3 -3
- package/dist/chunks/{location-lifecycle-ka5skxx4.js → mime-m9pdr671.js} +20 -20
- package/dist/chunks/{location-lifecycle-f1afsy8x.js → mime-m9rvph0x.js} +10 -10
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-4xm8kk2n.js → mime-mb1qbq9t.js} +26 -26
- package/dist/chunks/{location-lifecycle-b5zdkcxk.js → mime-mbpz5yq0.js} +11 -11
- package/dist/chunks/{location-lifecycle-zcsvy2cz.js → mime-mdr8ar5f.js} +12 -12
- package/dist/chunks/{location-lifecycle-5jhvhkxb.js → mime-mgmaefw5.js} +8 -8
- package/dist/chunks/{location-lifecycle-drtbjaez.js → mime-mtxqaypk.js} +97 -97
- package/dist/chunks/{location-lifecycle-mvksx64m.js → mime-n1ka8r9d.js} +4 -4
- package/dist/chunks/{location-lifecycle-cd9s2exm.js → mime-nd3qgbwe.js} +10 -10
- package/dist/chunks/{location-lifecycle-v04nak97.js → mime-ndz9h71m.js} +3 -3
- package/dist/chunks/{location-lifecycle-b7xn4ebh.js → mime-ny1bawyf.js} +17 -17
- package/dist/chunks/{location-lifecycle-af06prj0.js → mime-p3vh2ta0.js} +28 -28
- package/dist/chunks/{location-lifecycle-3aqrkape.js → mime-p43tgfkg.js} +36 -36
- package/dist/chunks/{location-lifecycle-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-lifecycle-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-sygkwpza.js → mime-q2kneea3.js} +18 -18
- package/dist/chunks/{location-lifecycle-f38wsw69.js → mime-q970vn6j.js} +2 -2
- package/dist/chunks/{location-lifecycle-0z3tr3b5.js → mime-q9s0hka4.js} +4 -4
- package/dist/chunks/{location-lifecycle-m2d0j7c0.js → mime-qg0jgkcp.js} +9 -9
- package/dist/chunks/{location-lifecycle-vpwfjnrg.js → mime-qm1jf1xc.js} +25 -25
- package/dist/chunks/{location-lifecycle-cwa6csj7.js → mime-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-lifecycle-1y354hzw.js → mime-qms6mpje.js} +25 -25
- package/dist/chunks/{location-lifecycle-1y1z8jnb.js → mime-qs001aqx.js} +8 -8
- package/dist/chunks/{location-lifecycle-qsdy395h.js → mime-qsdy395h.js} +1 -1
- package/dist/chunks/{location-lifecycle-bv91g476.js → mime-qvzr2hby.js} +51 -51
- package/dist/chunks/{location-lifecycle-5nc5w3be.js → mime-qxatxkvx.js} +9 -9
- package/dist/chunks/{location-lifecycle-ga400k24.js → mime-r3q38ah7.js} +12 -12
- package/dist/chunks/{location-lifecycle-nx2q6m6a.js → mime-rb662jkw.js} +12 -12
- package/dist/chunks/{location-lifecycle-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-lifecycle-5e15319b.js → mime-rf80fxgj.js} +5 -5
- package/dist/chunks/{location-lifecycle-s4enseaf.js → mime-s4enseaf.js} +2 -2
- package/dist/chunks/{location-lifecycle-mjqqjndj.js → mime-sk4fpzkz.js} +17 -17
- package/dist/chunks/{location-lifecycle-k6fxasg6.js → mime-skqqy3tc.js} +7 -7
- package/dist/chunks/{location-lifecycle-3ppptnan.js → mime-sxzvkvgj.js} +6 -6
- package/dist/chunks/{location-lifecycle-nbwd0k52.js → mime-t2cfyv1x.js} +14 -14
- package/dist/chunks/{location-lifecycle-rhjbct0v.js → mime-t550f9t1.js} +4 -4
- package/dist/chunks/{location-lifecycle-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-lifecycle-tdstcens.js → mime-tdstcens.js} +1 -1
- package/dist/chunks/{location-lifecycle-bqyb16m0.js → mime-tggd67fe.js} +16 -16
- package/dist/chunks/{location-lifecycle-4y5qxd6p.js → mime-tgwh4g45.js} +3 -3
- package/dist/chunks/{location-lifecycle-tvtrv512.js → mime-tvtrv512.js} +1 -1
- package/dist/chunks/{location-lifecycle-ehq2dyc1.js → mime-twqbsrwr.js} +17 -17
- package/dist/chunks/mime-v1faaxn9.js +18 -0
- package/dist/chunks/{location-lifecycle-kv1wsvct.js → mime-v553wp33.js} +48 -48
- package/dist/chunks/{location-lifecycle-nt2h4hjy.js → mime-v6v677s0.js} +25 -25
- package/dist/chunks/{location-lifecycle-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-c42w4v4x.js → mime-vfwfag5t.js} +28 -28
- package/dist/chunks/{location-lifecycle-8tyewwk1.js → mime-vh73hc5m.js} +31 -31
- package/dist/chunks/{location-lifecycle-9cyfspf3.js → mime-vtxr0yy2.js} +5 -5
- package/dist/chunks/{location-lifecycle-q4g1c5bp.js → mime-vw5a0rfv.js} +2 -2
- package/dist/chunks/{location-lifecycle-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-6pc27hjz.js → mime-w92k2e0p.js} +4 -4
- package/dist/chunks/{location-lifecycle-hb8hngfc.js → mime-wbtxmsag.js} +14 -14
- package/dist/chunks/{location-lifecycle-wd3x2cqz.js → mime-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-lifecycle-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-dyjhz6jk.js → mime-ws8b7tts.js} +11 -11
- package/dist/chunks/{location-lifecycle-mg9my19h.js → mime-ws8rf1n9.js} +19 -19
- package/dist/chunks/{location-lifecycle-an22treg.js → mime-wskervgn.js} +14 -14
- package/dist/chunks/{location-lifecycle-48bssgwe.js → mime-wvjy0rkm.js} +11 -11
- package/dist/chunks/{location-lifecycle-sad129aw.js → mime-ww3mp7jv.js} +6 -6
- package/dist/chunks/{location-lifecycle-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-lifecycle-rcgrsjm5.js → mime-x2hpphy2.js} +3 -3
- package/dist/chunks/{location-lifecycle-38162gw5.js → mime-x5n162sr.js} +13 -13
- package/dist/chunks/{location-lifecycle-1hb2dmf7.js → mime-x5xe3x08.js} +49 -49
- package/dist/chunks/{location-lifecycle-37vsdqvp.js → mime-x6yn2080.js} +24 -24
- package/dist/chunks/{location-lifecycle-1hn05gyd.js → mime-x9eqy100.js} +11 -11
- package/dist/chunks/{location-lifecycle-1zsrxcp1.js → mime-xaqyyngn.js} +8 -8
- package/dist/chunks/{location-lifecycle-s8j6jbjj.js → mime-xdk9p2qn.js} +4 -4
- package/dist/chunks/mime-xgn2qchc.js +252 -0
- package/dist/chunks/{location-lifecycle-c1ctkbd0.js → mime-xgnbgapz.js} +1 -1
- package/dist/chunks/{location-lifecycle-350m4c2t.js → mime-xjtpc5ew.js} +24 -24
- package/dist/chunks/{location-lifecycle-v1g2mdy6.js → mime-xmj1c5tj.js} +32 -32
- package/dist/chunks/{location-lifecycle-45zdvm0r.js → mime-xswfpnnj.js} +4 -4
- package/dist/chunks/{location-lifecycle-cr14m58m.js → mime-xw1kh6e4.js} +32 -32
- package/dist/chunks/{location-lifecycle-0pfhfkh4.js → mime-xxc26qrd.js} +18 -18
- package/dist/chunks/{location-lifecycle-ax5pekk8.js → mime-xy6tzccz.js} +1 -1
- package/dist/chunks/{location-lifecycle-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-lifecycle-qsg4qf1b.js → mime-y5xqhydv.js} +32 -32
- package/dist/chunks/{location-lifecycle-t6rsh1v1.js → mime-y6n4fsc2.js} +35 -35
- package/dist/chunks/{location-lifecycle-y71avatq.js → mime-y71avatq.js} +1 -1
- package/dist/chunks/{location-lifecycle-p1x0rczn.js → mime-ycy6en70.js} +22 -22
- package/dist/chunks/{location-lifecycle-crn2xksg.js → mime-ydsngzkh.js} +1 -1
- package/dist/chunks/{location-lifecycle-z3vw9vry.js → mime-ye8z0dg9.js} +2 -2
- package/dist/chunks/{location-lifecycle-te4zy289.js → mime-yew08yk0.js} +49 -49
- package/dist/chunks/{location-lifecycle-99bg3790.js → mime-yk00c7b3.js} +3 -3
- package/dist/chunks/{location-lifecycle-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-lifecycle-z07pqspn.js → mime-z07pqspn.js} +3 -3
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-zn78egd2.js → mime-z8c0yagb.js} +31 -31
- package/dist/chunks/{location-lifecycle-q03mkthp.js → mime-z90jk03v.js} +21 -21
- package/dist/chunks/{location-lifecycle-wg5yspwt.js → mime-zefpc43y.js} +21 -21
- package/dist/chunks/{location-lifecycle-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-lifecycle-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-lifecycle-qby9dwvd.js → mime-zrq8kphx.js} +8 -8
- package/dist/chunks/{location-lifecycle-sb3nsf3d.js → mime-zsmwpmw6.js} +12 -12
- package/dist/chunks/{location-lifecycle-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +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 +139 -139
- 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 +124 -124
- 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 +83 -83
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +125 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +74 -74
- 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 +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +91 -91
- 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 +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +76 -76
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +90 -90
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- 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 +333 -333
- package/dist/plugin/mcp-codemode-exclusion.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 +91 -91
- 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 +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +6 -6
- 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 +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +89 -89
- 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 +98 -98
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- 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 +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +82 -82
- 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 +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 +114 -114
- 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 +75 -75
- 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 +223 -223
- 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 +107 -107
- package/dist/skill.js +104 -104
- 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 +127 -127
- 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 +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- 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 +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-lifecycle-0mesazry.js +0 -4
- package/dist/chunks/location-lifecycle-4v7qdvcn.js +0 -18
- package/dist/chunks/location-lifecycle-kkn4g2ed.js +0 -507
- package/dist/chunks/location-lifecycle-ndes8vtz.js +0 -26
- package/dist/chunks/location-lifecycle-vyykgm21.js +0 -252
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-34c7v6d4.js → mime-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-922hggd3.js → mime-922hggd3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e3qxr5gk.js → mime-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./mime-b95dy7zp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node61
|
|
7
|
+
} from "./mime-dtt66365.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service8,
|
|
10
|
+
node10
|
|
11
|
+
} from "./mime-emzh0g24.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service24
|
|
14
|
+
} from "./mime-v1faaxn9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node17,
|
|
17
|
+
ID2
|
|
18
|
+
} from "./mime-ycy6en70.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service2,
|
|
21
|
+
node3
|
|
22
|
+
} from "./mime-5yzzbxa7.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./mime-182s9w42.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make3,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./mime-ajt4fata.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service3,
|
|
35
|
+
node4
|
|
36
|
+
} from "./mime-k28tmd1k.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service4,
|
|
39
|
+
node5
|
|
40
|
+
} from "./mime-6hjx5zpb.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./mime-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer3,
|
|
50
|
+
node: () => node2
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
116
116
|
failures: [
|
|
117
117
|
...failures.values(),
|
|
118
118
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
119
|
-
id:
|
|
119
|
+
id: ID2.make(plugin.id),
|
|
120
120
|
source: plugin.source ?? { type: "builtin" },
|
|
121
121
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
122
122
|
features: { server: true, ...plugin.features }
|
|
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
pending: [...pending]
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
var
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
134
|
-
const bus = yield*
|
|
135
|
-
const updates = yield*
|
|
128
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
+
const registry = yield* Service24;
|
|
130
|
+
const sdk = yield* Service3;
|
|
131
|
+
const instance = yield* Service2;
|
|
132
|
+
const sources = yield* Service8;
|
|
133
|
+
const modules = yield* make3();
|
|
134
|
+
const bus = yield* Service83;
|
|
135
|
+
const updates = yield* Service4;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
node11,
|
|
210
|
+
node17,
|
|
211
|
+
node4,
|
|
212
|
+
node3,
|
|
214
213
|
node10,
|
|
215
|
-
|
|
214
|
+
node5,
|
|
215
|
+
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node61,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export {
|
|
227
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node72
|
|
9
|
+
} from "./mime-xjtpc5ew.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service68,
|
|
24
|
+
node: () => node71
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service68 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service69;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service68.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node71 = makeLocationNode({ service: Service68, layer, deps: [node72, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service68, node71, exports_ripgrep };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./mime-2kdwgsh2.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./mime-x5xe3x08.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service37
|
|
10
|
+
} from "./mime-038cbjbn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make8
|
|
13
|
+
} from "./mime-eq1pz5kg.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin21
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin21 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service58;
|
|
37
|
+
const formatter = yield* Service37;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service80;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin37 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make8({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin37 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin21, exports_formatter };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service46,
|
|
3
|
+
node48
|
|
4
|
+
} from "./mime-z90jk03v.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make19,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-t550f9t1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions2 = {};
|
|
17
17
|
__export(exports_instructions2, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service21,
|
|
20
|
+
node: () => node25
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service21 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service46;
|
|
64
|
+
return Service21.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make19({
|
|
72
72
|
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node25 = makeLocationNode({ service: Service21, layer, deps: [node48] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service21, node25, exports_instructions2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service45,
|
|
6
|
+
node47
|
|
7
|
+
} from "./mime-887dxsd3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service36,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer15,
|
|
20
|
+
node: () => node39
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service36 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer15 = Layer.effect(Service36, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service45;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service36.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node39 = makeLocationNode({
|
|
69
|
+
service: Service36,
|
|
70
|
+
layer: layer15,
|
|
71
|
+
deps: [node47, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service36, layer15, node39, exports_generate2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./mime-wvjy0rkm.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./location-lifecycle-3r61ngk9.js";
|
|
8
|
+
} from "./mime-b95dy7zp.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./mime-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service84).db;
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service78, node82, exports_credential };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin14,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin14 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin14, exports_tool_input_repair };
|