@opencode/core 0.0.0-dev-19530 → 0.0.0-dev-19532
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{model-vshq87yh.js → bus-02592khq.js} +31 -31
- package/dist/chunks/{model-w5me5d90.js → bus-0dyq8gyf.js} +11 -11
- package/dist/chunks/{model-35agz59w.js → bus-0gaj4617.js} +6 -6
- package/dist/chunks/bus-0mesazry.js +4 -0
- package/dist/chunks/{model-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-vncycja5.js → bus-0v53mg2y.js} +4 -4
- package/dist/chunks/{model-3rqkssp8.js → bus-0w62qmxp.js} +6 -6
- package/dist/chunks/{model-6rbveq4m.js → bus-0x70yrfe.js} +4 -4
- package/dist/chunks/{model-5kqd1r0d.js → bus-0yb3zt6n.js} +91 -91
- package/dist/chunks/{model-zc27a7bm.js → bus-0yrw6g29.js} +4 -4
- package/dist/chunks/{model-677w9byw.js → bus-16t47m27.js} +10 -10
- package/dist/chunks/{model-dn3t1y0q.js → bus-16z1avxm.js} +40 -40
- package/dist/chunks/{model-v5dkyp31.js → bus-19vf66h0.js} +4 -4
- package/dist/chunks/{model-257a402r.js → bus-1a6961cr.js} +13 -13
- package/dist/chunks/{model-pwqcks32.js → bus-1b33eeqb.js} +5 -5
- package/dist/chunks/{model-htza7hdd.js → bus-1cq7yd6n.js} +24 -24
- package/dist/chunks/{model-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-c5nvra9m.js → bus-1n1xdze8.js} +4 -4
- package/dist/chunks/{model-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{model-s8bz6z4k.js → bus-2a4f6v5q.js} +8 -8
- package/dist/chunks/{model-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-25gn6xf8.js → bus-2dwd4qsj.js} +11 -11
- package/dist/chunks/{model-6bsje7ws.js → bus-2f04pwep.js} +3 -3
- package/dist/chunks/{model-3d6q6ejm.js → bus-2js4x8sp.js} +29 -29
- package/dist/chunks/{model-aqjqj2ff.js → bus-2rrdrtgw.js} +6 -6
- package/dist/chunks/{model-2xrspd6r.js → bus-2t1a0z9j.js} +22 -22
- package/dist/chunks/{model-qa2mkktq.js → bus-2wt45vda.js} +41 -41
- package/dist/chunks/{model-ps77swb3.js → bus-2x6b16q7.js} +3 -3
- package/dist/chunks/{model-q13p9eja.js → bus-3fqa324q.js} +17 -17
- package/dist/chunks/{model-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-dgdas7td.js → bus-3ry95nek.js} +16 -16
- package/dist/chunks/{model-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-exatzf7p.js → bus-3sv5gq6k.js} +18 -18
- package/dist/chunks/{model-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-p87gvwbv.js → bus-3v2k7spa.js} +18 -18
- package/dist/chunks/{model-mb2y4s57.js → bus-3zskh2xb.js} +16 -16
- package/dist/chunks/{model-5hac0djz.js → bus-44zpxywp.js} +293 -293
- package/dist/chunks/{model-a04ypazz.js → bus-46zct9q2.js} +37 -37
- package/dist/chunks/{model-nhy5jxhy.js → bus-47gsdddb.js} +5 -5
- package/dist/chunks/{model-20355881.js → bus-4bw04cwj.js} +9 -9
- package/dist/chunks/{model-n4m2mkxj.js → bus-4pc0t7v2.js} +12 -12
- package/dist/chunks/{model-znz7rtxh.js → bus-4psfaqfh.js} +11 -11
- package/dist/chunks/{model-a9759q1q.js → bus-4pxgevm9.js} +6 -6
- package/dist/chunks/{model-97mdmb9a.js → bus-4qw8y0pn.js} +17 -17
- package/dist/chunks/{model-gkt6z8r9.js → bus-4x21xr9m.js} +20 -20
- package/dist/chunks/{model-4y66k410.js → bus-4y66k410.js} +2 -2
- package/dist/chunks/{model-9n8nxpxn.js → bus-4zja7gva.js} +18 -18
- package/dist/chunks/{model-5q82gfck.js → bus-50qts2yg.js} +11 -11
- package/dist/chunks/{model-7pkhtfns.js → bus-53qwdxjh.js} +12 -12
- package/dist/chunks/{model-qfpa574x.js → bus-54sc4q3z.js} +16 -16
- package/dist/chunks/{model-219neeqh.js → bus-55a4dvpq.js} +5 -5
- package/dist/chunks/{model-33w4ejhs.js → bus-56gdpj1q.js} +6 -6
- package/dist/chunks/{model-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{model-qrq421eh.js → bus-5eadk2y6.js} +25 -25
- package/dist/chunks/{model-3hdw1vhc.js → bus-5f78vy6n.js} +49 -49
- package/dist/chunks/{model-7m5f9412.js → bus-5hk4b2g6.js} +8 -8
- package/dist/chunks/{model-a6kqfaee.js → bus-5j8ch41c.js} +9 -9
- package/dist/chunks/bus-5ndkbceg.js +247 -0
- package/dist/chunks/{model-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-tsfgabrd.js → bus-60j88ajr.js} +40 -40
- package/dist/chunks/{model-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{model-7y4pbgtc.js → bus-66vyzje4.js} +15 -15
- package/dist/chunks/{model-cq9pat89.js → bus-6gf7pn9e.js} +28 -28
- package/dist/chunks/{model-6pnccst9.js → bus-6gq5qk75.js} +23 -23
- package/dist/chunks/{model-6h73sxmp.js → bus-6h73sxmp.js} +1 -1
- package/dist/chunks/{model-cztasbnk.js → bus-6m4cf926.js} +12 -12
- package/dist/chunks/{model-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-0cebr7hk.js → bus-6n09301d.js} +2 -2
- package/dist/chunks/{model-z9pwsk94.js → bus-6rsp9rtj.js} +13 -13
- package/dist/chunks/{model-5tgjep30.js → bus-71mnszxh.js} +6 -6
- package/dist/chunks/{model-71q4at8m.js → bus-71q4at8m.js} +1 -1
- package/dist/chunks/{model-r8x9m1qg.js → bus-74hkwjyc.js} +31 -31
- package/dist/chunks/{model-px2sqpay.js → bus-75ke43vn.js} +23 -23
- package/dist/chunks/{model-dwgpa5q5.js → bus-770xh70b.js} +28 -28
- package/dist/chunks/{model-6psebnbx.js → bus-7938r61h.js} +29 -29
- package/dist/chunks/{model-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-ymca8mtq.js → bus-7dfrp1b5.js} +15 -15
- package/dist/chunks/{model-2k8khapm.js → bus-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-phc8pspp.js → bus-7p797550.js} +6 -6
- package/dist/chunks/{model-y5mrfvw4.js → bus-81swgkk7.js} +9 -9
- package/dist/chunks/{model-wgwrm75m.js → bus-85maddxk.js} +173 -173
- package/dist/chunks/{model-r0gpwmmm.js → bus-87mhqf8f.js} +7 -7
- package/dist/chunks/{model-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-a0mw1hja.js → bus-8ffq6xab.js} +15 -15
- package/dist/chunks/{model-8p4f9s12.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-y7gk6gsz.js → bus-8z7d5nc1.js} +10 -10
- package/dist/chunks/{model-ev82ehxs.js → bus-90ettt65.js} +24 -24
- package/dist/chunks/{model-ayv404k4.js → bus-9xhs6jd2.js} +4 -4
- package/dist/chunks/{model-whsrbek6.js → bus-a0eq18d3.js} +11 -11
- package/dist/chunks/{model-a1bz86dw.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-dq8fe4ed.js → bus-a8mmyy8c.js} +11 -11
- package/dist/chunks/{model-265kqrgy.js → bus-a8nah55w.js} +1 -1
- package/dist/chunks/{model-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{model-mtc9q228.js → bus-ae15aq84.js} +24 -24
- package/dist/chunks/{model-5b2dqtre.js → bus-afjqk4pm.js} +7 -7
- package/dist/chunks/{model-9q9jdv8e.js → bus-afycertr.js} +27 -27
- package/dist/chunks/{model-wavq5vqb.js → bus-akw77m90.js} +1 -1
- package/dist/chunks/{model-5rgh8ask.js → bus-amvyxnqq.js} +28 -28
- package/dist/chunks/{model-1gbs1kbt.js → bus-b2a4y3ge.js} +9 -9
- package/dist/chunks/{model-vfqqz6ex.js → bus-b2xqb8rz.js} +9 -9
- package/dist/chunks/{model-cw6d4prj.js → bus-b39wx4cr.js} +22 -22
- package/dist/chunks/{model-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-a5r6p83p.js → bus-ba48bprk.js} +19 -19
- package/dist/chunks/{model-mkhznv56.js → bus-bbdswm9c.js} +9 -9
- package/dist/chunks/{model-0sfsr3zt.js → bus-bc62zhsy.js} +27 -27
- package/dist/chunks/{model-bajakh74.js → bus-bha4atvq.js} +4 -4
- package/dist/chunks/{model-zm3pd5tb.js → bus-bmn5hybw.js} +29 -29
- package/dist/chunks/{model-03y65m91.js → bus-bphns1nr.js} +4 -4
- package/dist/chunks/{model-zdrvw4c2.js → bus-bspv2gr0.js} +27 -27
- package/dist/chunks/{model-vf5jgz4g.js → bus-c16gk4qh.js} +41 -41
- package/dist/chunks/{model-j181hgc5.js → bus-c5yfc3wf.js} +10 -10
- package/dist/chunks/{model-sh0rasge.js → bus-c6g8q0m5.js} +47 -47
- package/dist/chunks/{model-3w0fmcng.js → bus-c78bbtc9.js} +5 -5
- package/dist/chunks/{model-g3vfgj64.js → bus-c7sjv0xt.js} +21 -21
- package/dist/chunks/{model-cfpkc3c9.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-h56egzzg.js → bus-cze4a9ee.js} +4 -4
- package/dist/chunks/{model-yt0fqk68.js → bus-d2aac7k2.js} +5 -5
- package/dist/chunks/{model-dnc4tg6k.js → bus-dc76j9wz.js} +7 -7
- package/dist/chunks/{model-bya8prfn.js → bus-dd6zat4h.js} +5 -5
- package/dist/chunks/{model-8n9190v4.js → bus-dfyxxgza.js} +9 -9
- package/dist/chunks/{model-v4hmzr0r.js → bus-dgj0dq1g.js} +8 -8
- package/dist/chunks/{model-sp8m6a9q.js → bus-dhbqv74m.js} +9 -9
- package/dist/chunks/{model-c462van6.js → bus-e30q84vv.js} +31 -31
- package/dist/chunks/{model-31jd4e8t.js → bus-e47b9zhk.js} +1 -1
- package/dist/chunks/{model-t550f9t1.js → bus-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-s0esgemt.js → bus-ec8389mk.js} +4 -4
- package/dist/chunks/{model-0snep097.js → bus-ed1pg64g.js} +21 -21
- package/dist/chunks/{model-qwrxphsy.js → bus-ehs9b5vx.js} +17 -17
- package/dist/chunks/{model-6895yszx.js → bus-eqk8yf10.js} +11 -11
- package/dist/chunks/{model-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-e5yeyj5b.js → bus-ev45yzk9.js} +11 -11
- package/dist/chunks/{model-f828m53h.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{model-xkc587sw.js → bus-fe2agyxh.js} +17 -17
- package/dist/chunks/{model-0pb75hch.js → bus-ferfphdt.js} +5 -5
- package/dist/chunks/{model-6csep4d6.js → bus-ff8d0h66.js} +16 -16
- package/dist/chunks/{model-bz2p45ry.js → bus-fg7sn5ej.js} +25 -25
- package/dist/chunks/{model-t0x5rdq8.js → bus-fjmrr6sh.js} +9 -9
- package/dist/chunks/{model-vg018stg.js → bus-fjz9v5g8.js} +47 -47
- package/dist/chunks/{model-vze96k0n.js → bus-frwpyczr.js} +4 -4
- package/dist/chunks/{model-91y7rpnn.js → bus-fw1930ms.js} +6 -6
- package/dist/chunks/{model-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-vtjb7z8s.js → bus-fxc2xvv4.js} +23 -23
- package/dist/chunks/{model-0m04t0a0.js → bus-g5vg9enj.js} +16 -16
- package/dist/chunks/{model-35wynegs.js → bus-g8471784.js} +2 -2
- package/dist/chunks/{model-9d3a58tj.js → bus-garm4sqs.js} +11 -11
- package/dist/chunks/{model-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-3fc6dm20.js → bus-gdvy8fx6.js} +4 -4
- package/dist/chunks/{model-4mddsdbt.js → bus-ghr3zqya.js} +19 -19
- package/dist/chunks/{model-8e5vt1qx.js → bus-gm1wa5n1.js} +26 -26
- package/dist/chunks/{model-p2h53nt6.js → bus-gqc6jj57.js} +22 -22
- package/dist/chunks/{model-jx3c22rf.js → bus-grgpe7m7.js} +11 -11
- package/dist/chunks/{model-6jnybvqn.js → bus-gsx0ryk4.js} +9 -9
- package/dist/chunks/{model-3hf7z3yq.js → bus-gsy9mqvk.js} +11 -11
- package/dist/chunks/{model-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-n7hjcbvg.js → bus-gzqektst.js} +11 -11
- package/dist/chunks/{model-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-6vq97qmv.js → bus-h9rm1rrn.js} +5 -5
- package/dist/chunks/{model-ajegdr06.js → bus-har61g9j.js} +22 -22
- package/dist/chunks/{model-5akxe5k1.js → bus-hv3bygr5.js} +5 -5
- package/dist/chunks/{model-wmf56hzh.js → bus-hvhbpv3p.js} +9 -9
- package/dist/chunks/{model-p52t23z3.js → bus-hvt2jj5z.js} +45 -45
- package/dist/chunks/{model-3ad4bd0a.js → bus-j4zenrww.js} +7 -7
- package/dist/chunks/{model-19yq3b24.js → bus-j5208yae.js} +5 -5
- package/dist/chunks/{model-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{model-wb1tzt4d.js → bus-j8jb4n4n.js} +19 -19
- package/dist/chunks/{model-y7j7ndb6.js → bus-jcfegcn3.js} +47 -47
- package/dist/chunks/{model-xtd5dz6n.js → bus-jh64gntc.js} +92 -92
- package/dist/chunks/{model-1kcksn9e.js → bus-k10ha5xs.js} +26 -26
- package/dist/chunks/{model-qj8eh1ht.js → bus-k2h4r4s0.js} +4 -4
- package/dist/chunks/{model-pqwf4bge.js → bus-kdc4anf3.js} +2 -2
- package/dist/chunks/{model-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{model-c179hq9v.js → bus-kh807a12.js} +39 -39
- package/dist/chunks/{model-m7bfq9wr.js → bus-ktnrc8bc.js} +7 -7
- package/dist/chunks/{model-5nyvja88.js → bus-kyqhkjqh.js} +24 -24
- package/dist/chunks/{model-jerxsvsx.js → bus-m23kbvcb.js} +29 -29
- package/dist/chunks/{model-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-yhq7b4d8.js → bus-mbj0x7wk.js} +9 -9
- package/dist/chunks/{model-ncxt770z.js → bus-mbstch5d.js} +8 -8
- package/dist/chunks/{model-1crpa11v.js → bus-mcw92z4j.js} +28 -28
- package/dist/chunks/{model-pdy42dnd.js → bus-mfgbhmnr.js} +19 -19
- package/dist/chunks/{model-mdy2tqts.js → bus-mkyh9633.js} +41 -41
- package/dist/chunks/{model-mhkvc446.js → bus-mvfsc1pv.js} +3 -3
- package/dist/chunks/{model-bgtgk6cp.js → bus-n2acnnxb.js} +9 -9
- package/dist/chunks/{model-bya8x26g.js → bus-nbq1559h.js} +8 -8
- package/dist/chunks/{model-npevzfsy.js → bus-nfffd1z4.js} +13 -13
- package/dist/chunks/{model-bvha1vq7.js → bus-ngbhtf3x.js} +10 -10
- package/dist/chunks/{model-cebcabsx.js → bus-ngdk1p9a.js} +60 -60
- package/dist/chunks/{model-0artwwxx.js → bus-nm03esje.js} +3 -3
- package/dist/chunks/{model-nn17eg7m.js → bus-p2ty0fa7.js} +23 -23
- package/dist/chunks/{model-xzzk44db.js → bus-p7f9b7q8.js} +15 -15
- package/dist/chunks/{model-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{model-nv5vn7qx.js → bus-prbnmmzj.js} +8 -8
- package/dist/chunks/{model-91xeb72v.js → bus-pwzb9yye.js} +8 -8
- package/dist/chunks/{model-rr6fm4cb.js → bus-q4aknyan.js} +32 -32
- package/dist/chunks/{model-cvtmmhw6.js → bus-q4eww03h.js} +1 -1
- package/dist/chunks/{model-gg3hj2sp.js → bus-q73cp8nf.js} +22 -22
- package/dist/chunks/{model-99em0p16.js → bus-qaed280k.js} +6 -6
- package/dist/chunks/bus-qc068m1q.js +18 -0
- package/dist/chunks/{model-wbq0a8cf.js → bus-qc5cjrxt.js} +35 -35
- package/dist/chunks/{model-hxevvepb.js → bus-qmmrj5pn.js} +53 -53
- package/dist/chunks/{model-f24vq1c7.js → bus-qmtm97bc.js} +25 -25
- package/dist/chunks/{model-wwcafvtr.js → bus-qn7x8t5j.js} +17 -17
- package/dist/chunks/{model-ttzta52k.js → bus-qqxmp7cj.js} +34 -34
- package/dist/chunks/{model-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{model-e6hmchc5.js → bus-qte5z7bc.js} +5 -5
- package/dist/chunks/{model-0s3pzcqz.js → bus-r5bt13a0.js} +8 -8
- package/dist/chunks/{model-r9mregkx.js → bus-r9mregkx.js} +2 -2
- package/dist/chunks/{model-45fdndrg.js → bus-renqy12v.js} +8 -8
- package/dist/chunks/{model-b3t12aqp.js → bus-rfnzy394.js} +1 -1
- package/dist/chunks/{model-v6a8s5gf.js → bus-rpkwvkgg.js} +30 -30
- package/dist/chunks/{model-2fwd9rb4.js → bus-rqkqq2v2.js} +13 -13
- package/dist/chunks/{model-se0t50fj.js → bus-s0ax2cbm.js} +17 -17
- package/dist/chunks/{model-e758m3vy.js → bus-s1qt972z.js} +12 -12
- package/dist/chunks/{model-y2bvvrzc.js → bus-s2m31r1z.js} +15 -15
- package/dist/chunks/{model-qbngxwj5.js → bus-s2pmvhcg.js} +22 -22
- package/dist/chunks/{model-ff0svapt.js → bus-s8610hey.js} +2 -2
- package/dist/chunks/{model-1v6ba5ez.js → bus-sm5bw9bb.js} +16 -16
- package/dist/chunks/{model-czs7xmcn.js → bus-sq23zfnk.js} +17 -17
- package/dist/chunks/{model-brp8zeym.js → bus-sqevgg1x.js} +6 -6
- package/dist/chunks/{model-1cd9yk0n.js → bus-ssafw484.js} +20 -20
- package/dist/chunks/{model-w6tw9skw.js → bus-stzsmyz8.js} +11 -11
- package/dist/chunks/{model-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-p6sp61vg.js → bus-tbj6yr3j.js} +36 -36
- package/dist/chunks/{model-89znhe33.js → bus-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{model-wycsdkc3.js → bus-tfmvqhpz.js} +11 -11
- package/dist/chunks/{model-mz6ae2yf.js → bus-tk7tn7wd.js} +1 -1
- package/dist/chunks/{model-nncchp3m.js → bus-tmw71etn.js} +5 -5
- package/dist/chunks/{model-bvg29jbq.js → bus-tseh9362.js} +18 -18
- package/dist/chunks/{model-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{model-e4f6pw00.js → bus-tx4v77ns.js} +28 -28
- package/dist/chunks/{model-33n3bzdy.js → bus-txh28jzs.js} +8 -8
- package/dist/chunks/{model-0d16ff4w.js → bus-vbxjpcd9.js} +30 -30
- package/dist/chunks/{model-hq8zt1th.js → bus-ve6nm2s5.js} +6 -6
- package/dist/chunks/{model-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{model-r0ztwh7r.js → bus-vet0v4q3.js} +65 -65
- package/dist/chunks/{model-f1zva5d5.js → bus-vgjt9c5s.js} +5 -5
- package/dist/chunks/{model-sxwk9xb8.js → bus-vhdkxkb7.js} +18 -18
- package/dist/chunks/{model-70d2s7af.js → bus-vt6mrpr2.js} +1 -1
- package/dist/chunks/{model-yeqyw0z5.js → bus-vyjzrkx0.js} +9 -9
- package/dist/chunks/{model-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-5c0f1prt.js → bus-w1k39n5e.js} +4 -4
- package/dist/chunks/{model-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{model-y7gn77t5.js → bus-wk58jv74.js} +6 -6
- package/dist/chunks/bus-wn48djn2.js +26 -0
- package/dist/chunks/{model-fvkgc8rm.js → bus-wp3ra78r.js} +13 -13
- package/dist/chunks/{model-jv3cv6p3.js → bus-wxhnm4vs.js} +10 -10
- package/dist/chunks/{model-c0pa16pn.js → bus-x0w3rp20.js} +6 -6
- package/dist/chunks/{model-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-t8na6qa3.js → bus-x2km63an.js} +15 -15
- package/dist/chunks/{model-9s353mxg.js → bus-x7r4jqvp.js} +16 -16
- package/dist/chunks/{model-mwr2btvq.js → bus-xhmq8qgk.js} +9 -9
- package/dist/chunks/{model-atjxpbab.js → bus-xjtkmra5.js} +23 -23
- package/dist/chunks/{model-hjejd8rj.js → bus-xp20kysk.js} +13 -13
- package/dist/chunks/{model-0247gmrw.js → bus-xpdpdhyj.js} +20 -20
- package/dist/chunks/{model-v7bpw0rx.js → bus-xqh9be0f.js} +16 -16
- package/dist/chunks/{model-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-jj5vypy3.js → bus-y2s7ffcz.js} +34 -34
- package/dist/chunks/{model-hyhy14jr.js → bus-y2wkm4mc.js} +23 -23
- package/dist/chunks/{model-q44n8009.js → bus-y5pt965d.js} +17 -17
- package/dist/chunks/{model-jwcy2c2z.js → bus-y71avatq.js} +4 -4
- package/dist/chunks/{model-1f3wjap0.js → bus-y9cz4bz0.js} +23 -23
- package/dist/chunks/{model-v0pkrfgq.js → bus-ynjvsx98.js} +11 -11
- package/dist/chunks/{model-yp2x3t23.js → bus-yp2x3t23.js} +1 -1
- package/dist/chunks/{model-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-yrznvahk.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{model-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{model-6kny798m.js → bus-za524gb0.js} +30 -30
- package/dist/chunks/{model-zav06jzw.js → bus-zcrspsvn.js} +4 -4
- package/dist/chunks/{model-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-n649fndv.js → bus-zpp4pmky.js} +8 -8
- package/dist/chunks/{model-sgfa6f2r.js → bus-zq1wyda0.js} +6 -6
- package/dist/chunks/{model-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-bv88jg6f.js → bus-ztz1pyy1.js} +32 -32
- package/dist/chunks/{model-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +71 -71
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +87 -87
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +89 -89
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- package/dist/git.js +5 -5
- 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 +3 -3
- 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 +353 -353
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +350 -350
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +7 -7
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +124 -124
- package/dist/session/context.js +148 -148
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +113 -113
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +205 -205
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +93 -93
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/model-gbadjzag.js +0 -4
- package/dist/chunks/model-nnzt82h0.js +0 -26
- package/dist/chunks/model-phz3h32g.js +0 -18
- package/dist/chunks/model-qj7q8b1b.js +0 -247
- /package/dist/chunks/{model-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{model-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-paphc93g.js → bus-paphc93g.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./bus-xqh9be0f.js";
|
|
5
5
|
import {
|
|
6
6
|
Event17,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node70
|
|
9
|
+
} from "./bus-k10ha5xs.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service64,
|
|
12
|
+
node68
|
|
13
|
+
} from "./bus-s2pmvhcg.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./bus-ehs9b5vx.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-1cq7yd6n.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-wxhnm4vs.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service65,
|
|
36
|
+
Event16,
|
|
37
|
+
node69
|
|
38
|
+
} from "./bus-ed1pg64g.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./bus-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options8,
|
|
48
|
+
Service: () => Service63,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured9,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer24,
|
|
53
|
+
node: () => node67,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options8 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service63 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,7 +92,7 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service63, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
97
|
function decodePreferences(text) {
|
|
98
98
|
const errors = [];
|
|
@@ -108,14 +108,14 @@ function decodePreferences(text) {
|
|
|
108
108
|
...info?.websearch === undefined ? {} : { websearch: info.websearch }
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var layer24 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
112
112
|
const fs = yield* FSUtil.Service;
|
|
113
|
-
const location = yield*
|
|
114
|
-
const watcher = yield*
|
|
115
|
-
const bus = yield*
|
|
116
|
-
const credentials = yield*
|
|
113
|
+
const location = yield* Service76;
|
|
114
|
+
const watcher = yield* Service64;
|
|
115
|
+
const bus = yield* Service79;
|
|
116
|
+
const credentials = yield* Service66;
|
|
117
117
|
const globalService = yield* Global.Service;
|
|
118
|
-
const wellknown = yield*
|
|
118
|
+
const wellknown = yield* Service65;
|
|
119
119
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
120
120
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
121
121
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -184,7 +184,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
184
184
|
});
|
|
185
185
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
186
186
|
return [
|
|
187
|
-
...yield* Effect.forEach(
|
|
187
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
188
188
|
new Directory({ type: "directory", path: directory })
|
|
189
189
|
];
|
|
190
190
|
});
|
|
@@ -240,7 +240,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
240
240
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
241
241
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
243
|
-
yield* bus.subscribe(
|
|
243
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
244
244
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
245
245
|
if (!wellknown.snapshot().length)
|
|
246
246
|
return Effect.void;
|
|
@@ -253,7 +253,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
253
253
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
254
254
|
const globalConfigPath = Effect.fn("Config.globalConfigPath")(function* () {
|
|
255
255
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
256
|
-
const candidates =
|
|
256
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
257
257
|
const existing = yield* Effect.filter(candidates, fs.isFile);
|
|
258
258
|
return existing.at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
259
259
|
});
|
|
@@ -282,7 +282,7 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
282
282
|
yield* requestReload;
|
|
283
283
|
return decodePreferences(updated);
|
|
284
284
|
}, (effect) => updateLock.withPermit(effect));
|
|
285
|
-
return
|
|
285
|
+
return Service63.of({
|
|
286
286
|
entries: Effect.fnUntraced(function* () {
|
|
287
287
|
return configs;
|
|
288
288
|
}),
|
|
@@ -291,13 +291,13 @@ var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
291
291
|
updatePreferences
|
|
292
292
|
});
|
|
293
293
|
}));
|
|
294
|
-
function
|
|
294
|
+
function configured9(options) {
|
|
295
295
|
return makeLocationNode({
|
|
296
|
-
service:
|
|
297
|
-
layer:
|
|
298
|
-
deps: [
|
|
296
|
+
service: Service63,
|
|
297
|
+
layer: layer24(options),
|
|
298
|
+
deps: [node68, node84, FSUtil.node, Global.node, node81, node70, node69]
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
|
-
var
|
|
301
|
+
var node67 = configured9();
|
|
302
302
|
|
|
303
|
-
export { latest2,
|
|
303
|
+
export { latest2, Options8, Service63, Test2, testLayer2, layer24, configured9, node67, exports_config };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info14
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info14 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info14, exports_attachment };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-gsy9mqvk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./bus-xqh9be0f.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-k10ha5xs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID5,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-74hkwjyc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
packageName2,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-txh28jzs.js";
|
|
20
20
|
import {
|
|
21
21
|
iife2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-1kg9ymc8.js";
|
|
23
23
|
import {
|
|
24
24
|
which2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./bus-qaymkmh1.js";
|
|
26
26
|
import {
|
|
27
27
|
configuredSettings2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./bus-afjqk4pm.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/azure.ts
|
|
31
31
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,9 +45,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
45
45
|
var AzurePlugin2 = define({
|
|
46
46
|
id: "opencode.provider.azure",
|
|
47
47
|
effect: Effect.fn(function* (ctx) {
|
|
48
|
-
const configured = yield* configuredSettings2(
|
|
48
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
49
49
|
const processes = yield* AppProcess.Service;
|
|
50
|
-
const bus = yield*
|
|
50
|
+
const bus = yield* Service79;
|
|
51
51
|
const tokens = new Map;
|
|
52
52
|
const loading = Semaphore.makeUnsafe(1);
|
|
53
53
|
const loaded = {};
|
|
@@ -81,13 +81,13 @@ var AzurePlugin2 = define({
|
|
|
81
81
|
});
|
|
82
82
|
yield* ctx.integration.transform((editor) => {
|
|
83
83
|
editor.method.update({
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID12.azure,
|
|
85
85
|
method: { type: "key", label: "API key", form: form() }
|
|
86
86
|
});
|
|
87
87
|
if (!available)
|
|
88
88
|
return;
|
|
89
89
|
editor.method.update({
|
|
90
|
-
integrationID:
|
|
90
|
+
integrationID: ID12.azure,
|
|
91
91
|
method: {
|
|
92
92
|
id: methodID,
|
|
93
93
|
type: "oauth",
|
|
@@ -119,7 +119,7 @@ var AzurePlugin2 = define({
|
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
121
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
122
|
-
const connection = yield* ctx.integration.connection.active(
|
|
122
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
123
123
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
124
124
|
return;
|
|
125
125
|
})) : undefined;
|
|
@@ -133,7 +133,7 @@ var AzurePlugin2 = define({
|
|
|
133
133
|
yield* load();
|
|
134
134
|
yield* ctx.catalog.transform((evt) => {
|
|
135
135
|
for (const item of evt.provider.list()) {
|
|
136
|
-
if (item.provider.id !==
|
|
136
|
+
if (item.provider.id !== ID12.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
137
137
|
continue;
|
|
138
138
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
139
139
|
if (resourceName)
|
|
@@ -157,11 +157,11 @@ var AzurePlugin2 = define({
|
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
160
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
160
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
161
161
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
162
|
-
if (evt.model.providerID !==
|
|
162
|
+
if (evt.model.providerID !== ID12.azure)
|
|
163
163
|
return;
|
|
164
|
-
const connection = yield* ctx.integration.connection.active(
|
|
164
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
165
165
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
166
166
|
return;
|
|
167
167
|
})) : undefined;
|
|
@@ -174,7 +174,7 @@ var AzurePlugin2 = define({
|
|
|
174
174
|
evt.request.headers.delete("x-api-key");
|
|
175
175
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
176
176
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
177
|
-
}), { providerID:
|
|
177
|
+
}), { providerID: ID12.azure });
|
|
178
178
|
})
|
|
179
179
|
});
|
|
180
180
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-txh28jzs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID9
|
|
7
|
+
} from "./bus-53qwdxjh.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID9.make("gpt-5-chat-latest"), ID9.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-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: () =>
|
|
9
|
+
Service: () => Service75,
|
|
10
10
|
node: () => node80
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -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 Service75 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service75, 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(Service76, 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 Service75.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var node80 = makeLocationNode({ service:
|
|
59
|
+
var node80 = makeLocationNode({ service: Service75, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service75, node80, exports_hooks };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-gsy9mqvk.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin38,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin38 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin19 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint6,
|
|
80
|
+
export { endpoint6, Plugin38, exports_tavily };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./bus-ve6nm2s5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-qc068m1q.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-7p797550.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./bus-amvyxnqq.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service43;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service11,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node14
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service11 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node14 = makeLocationNode({
|
|
19
|
+
service: Service11,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service11, Service11.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service11, node14, bound2, exports_instance2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-txh28jzs.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service63
|
|
8
|
+
} from "./bus-c6g8q0m5.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin29
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin29 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service63;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
|
|
|
159
159
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
export {
|
|
162
|
+
export { Plugin29, exports_provider };
|