@opencode/core 0.0.0-dev-20848 → 0.0.0-dev-20851
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{mime-ykgfn48v.js → form-006m7k99.js} +38 -38
- package/dist/chunks/{mime-hvq1vxtv.js → form-06pebr32.js} +30 -30
- package/dist/chunks/{mime-b5pctew3.js → form-0c2d7m56.js} +9 -9
- package/dist/chunks/{mime-a01j9zgm.js → form-0cg871e2.js} +5 -5
- package/dist/chunks/{mime-nypk9e09.js → form-0sakkys5.js} +10 -10
- package/dist/chunks/{mime-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{mime-z2z2ww5c.js → form-0x8nqgp6.js} +63 -63
- package/dist/chunks/{mime-xyn3q1e0.js → form-0xjmb4aw.js} +47 -47
- package/dist/chunks/{mime-h8k9kr22.js → form-0y615900.js} +311 -311
- package/dist/chunks/{mime-ztkjbas2.js → form-17xaq5pa.js} +54 -54
- package/dist/chunks/{mime-yp2x3t23.js → form-1acjjqhc.js} +4 -4
- package/dist/chunks/{mime-0hzwm2j4.js → form-1b0mmj8d.js} +26 -26
- package/dist/chunks/{mime-3tdspdk0.js → form-1bnbz8vf.js} +32 -32
- package/dist/chunks/{mime-znqq22v1.js → form-1dtmr12w.js} +12 -12
- package/dist/chunks/{mime-q6k0rjqm.js → form-1jq22t41.js} +9 -9
- package/dist/chunks/{mime-z001n1ar.js → form-1va1wqh8.js} +18 -18
- package/dist/chunks/{mime-4qneze2k.js → form-1vw01wqx.js} +9 -9
- package/dist/chunks/{mime-hq3c8me3.js → form-1w2wqhfv.js} +4 -4
- package/dist/chunks/{mime-k5ha2rxc.js → form-21r0j0k4.js} +27 -27
- package/dist/chunks/{mime-bbmgsf8y.js → form-2g5cprqg.js} +16 -16
- package/dist/chunks/{mime-7dqw4kz8.js → form-2k8khapm.js} +5 -5
- package/dist/chunks/{mime-03zdqwm6.js → form-2s64xept.js} +63 -63
- package/dist/chunks/{mime-ft3hqk2c.js → form-2sejkfem.js} +9 -9
- package/dist/chunks/{mime-2vvh33eb.js → form-2vvh33eb.js} +2 -2
- package/dist/chunks/{mime-31xfzrxg.js → form-31xfzrxg.js} +2 -2
- package/dist/chunks/{mime-d0k1g5nx.js → form-321x2wtd.js} +6 -6
- package/dist/chunks/{mime-p84pazke.js → form-322x12bj.js} +14 -14
- package/dist/chunks/{mime-spdr2m8g.js → form-38005zny.js} +31 -31
- package/dist/chunks/{mime-t44n0djv.js → form-3a1kt8mx.js} +15 -15
- package/dist/chunks/{mime-zg3tcem2.js → form-3b9qt4hj.js} +9 -9
- package/dist/chunks/{mime-3fc6dm20.js → form-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{mime-305smynn.js → form-3n03h225.js} +3 -3
- package/dist/chunks/{mime-3smtnn6g.js → form-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-88j8nb7d.js → form-3zftvv2w.js} +50 -50
- package/dist/chunks/{mime-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-v67tqvgv.js → form-44w2dvnf.js} +12 -12
- package/dist/chunks/{mime-qne3fa44.js → form-47jkzegy.js} +5 -5
- package/dist/chunks/{mime-2njrmdps.js → form-49t7pbwb.js} +20 -20
- package/dist/chunks/{mime-r1v71m1q.js → form-4eb95kkt.js} +11 -11
- package/dist/chunks/{mime-2ccvkpx1.js → form-4ts7tf6z.js} +2 -2
- package/dist/chunks/{mime-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-bydzhrwf.js → form-55b95wm6.js} +22 -22
- package/dist/chunks/{mime-ba07h9gm.js → form-58072hz9.js} +3 -3
- package/dist/chunks/{mime-621kfk4a.js → form-5fyr2d0m.js} +13 -13
- package/dist/chunks/{mime-bpcp2wk4.js → form-5hsh8mcs.js} +30 -30
- package/dist/chunks/{mime-ft8f0j73.js → form-5jq5wt6a.js} +12 -12
- package/dist/chunks/{mime-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{mime-fg20npmb.js → form-5njrdk08.js} +38 -38
- package/dist/chunks/{mime-e3qxr5gk.js → form-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-002yfvjw.js → form-5xz0dphx.js} +20 -20
- package/dist/chunks/form-623a4y9d.js +26 -0
- package/dist/chunks/{mime-341887x8.js → form-64mfqs5m.js} +37 -37
- package/dist/chunks/{mime-19vkts2s.js → form-668vd0mr.js} +18 -18
- package/dist/chunks/{mime-9ayz8qe3.js → form-68x95car.js} +15 -15
- package/dist/chunks/{mime-1f45z9qr.js → form-6cv38wn1.js} +11 -11
- package/dist/chunks/{mime-mtq6xxnx.js → form-6hh8tjw2.js} +7 -7
- package/dist/chunks/{mime-9h6b9xcq.js → form-6pg3w5wa.js} +26 -26
- package/dist/chunks/{mime-vz1740cg.js → form-6s49h116.js} +22 -22
- package/dist/chunks/{mime-thye16kd.js → form-6t11chne.js} +1 -1
- package/dist/chunks/{mime-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{mime-2zznshrj.js → form-79v2228v.js} +14 -14
- package/dist/chunks/{mime-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-zdssxewb.js → form-7d1jjv33.js} +8 -8
- package/dist/chunks/{mime-zfm2k9h8.js → form-7epd78eg.js} +3 -3
- package/dist/chunks/form-7fj5dwt0.js +18 -0
- package/dist/chunks/{mime-874mqwgr.js → form-7hzcx47x.js} +11 -11
- package/dist/chunks/{mime-f8wv18vk.js → form-7pk2fpkr.js} +15 -15
- package/dist/chunks/{mime-19ehbbx2.js → form-7rasn972.js} +11 -11
- package/dist/chunks/{mime-rnkwpqsj.js → form-80yv71a5.js} +13 -13
- package/dist/chunks/{mime-avcrxgn1.js → form-82jy7me2.js} +24 -24
- package/dist/chunks/{mime-48c45xbx.js → form-82n0fy7d.js} +14 -12
- package/dist/chunks/{mime-84txncab.js → form-84txncab.js} +1 -1
- package/dist/chunks/{mime-m2zdk9kx.js → form-8ca0q5ge.js} +25 -25
- package/dist/chunks/{mime-shxcat2w.js → form-8dbkkhxs.js} +34 -34
- package/dist/chunks/{mime-q52t79da.js → form-8fydwx36.js} +23 -23
- package/dist/chunks/{mime-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{mime-ex0pka66.js → form-8y31xnqm.js} +5 -5
- package/dist/chunks/{mime-9gagznbj.js → form-91f6g28x.js} +5 -5
- package/dist/chunks/{mime-j09zfasm.js → form-91qna3x0.js} +3 -3
- package/dist/chunks/{mime-28rmsg7j.js → form-95m8db81.js} +11 -11
- package/dist/chunks/{mime-7t21zscw.js → form-99g2q9zd.js} +11 -11
- package/dist/chunks/{mime-s79kdw20.js → form-9ddc3956.js} +3 -3
- package/dist/chunks/{mime-b9hjh4zd.js → form-9hry9nma.js} +25 -25
- package/dist/chunks/{mime-9cbcaerr.js → form-9t8mnttq.js} +17 -17
- package/dist/chunks/{mime-vkjxqv50.js → form-9y14qb5r.js} +29 -29
- package/dist/chunks/{mime-xg6vc4yz.js → form-9y2q36e8.js} +7 -7
- package/dist/chunks/{mime-t8g2rvm9.js → form-9zhh23v8.js} +9 -9
- package/dist/chunks/{mime-tpd4zc77.js → form-a00fgwp6.js} +131 -131
- package/dist/chunks/{mime-v531ggt4.js → form-a9t50ty0.js} +5 -5
- package/dist/chunks/{mime-addxnjmp.js → form-addxnjmp.js} +1 -1
- package/dist/chunks/{mime-010n58ab.js → form-adn6ewvy.js} +20 -20
- package/dist/chunks/{mime-p75g0t75.js → form-af6zfhme.js} +4 -4
- package/dist/chunks/{mime-8ge66yjw.js → form-av3m5zjn.js} +16 -16
- package/dist/chunks/{mime-6pyvjtsa.js → form-av8tazrm.js} +16 -16
- package/dist/chunks/{mime-dwctjmtf.js → form-azra3wqg.js} +23 -23
- package/dist/chunks/{mime-z2tkkdyw.js → form-ba52ty8f.js} +8 -8
- package/dist/chunks/{mime-vtqafnzr.js → form-bfegkxfd.js} +11 -11
- package/dist/chunks/{mime-h0t0bv9g.js → form-bhxjw60r.js} +15 -15
- package/dist/chunks/{mime-pccmesk3.js → form-bk4r6et7.js} +16 -16
- package/dist/chunks/{mime-6258hrf2.js → form-bmr4bg0q.js} +13 -13
- package/dist/chunks/{mime-rkg4v3e5.js → form-bmr56wjg.js} +9 -9
- package/dist/chunks/{mime-s674p844.js → form-byjy60w7.js} +10 -10
- package/dist/chunks/{mime-es1vcfrp.js → form-c1fqxshp.js} +3 -3
- package/dist/chunks/{mime-44rdwtgh.js → form-c1wvkdzc.js} +4 -4
- package/dist/chunks/{mime-h581xfce.js → form-c33qfg7v.js} +40 -40
- package/dist/chunks/{mime-ydp8pw23.js → form-cbs81czz.js} +10 -10
- package/dist/chunks/{mime-2eqf98j4.js → form-cw3k6n42.js} +18 -18
- package/dist/chunks/{mime-4z58m4b4.js → form-d2czbp48.js} +4 -4
- package/dist/chunks/{mime-83r455cj.js → form-d3y6n0b6.js} +4 -4
- package/dist/chunks/{mime-nd4tfyg0.js → form-d7x0sh0y.js} +9 -9
- package/dist/chunks/{mime-817wyjpp.js → form-dgteecst.js} +14 -14
- package/dist/chunks/{mime-5v4tq1pr.js → form-dkz4h62m.js} +2 -2
- package/dist/chunks/{mime-dpkg50ah.js → form-dpkg50ah.js} +1 -1
- package/dist/chunks/{mime-a3vy0zy5.js → form-e288s6x8.js} +19 -19
- package/dist/chunks/{mime-b8j6recp.js → form-e5f8kc24.js} +9 -9
- package/dist/chunks/{mime-hdnmq8jc.js → form-e7he988n.js} +11 -11
- package/dist/chunks/{mime-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{mime-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-ghdx6zwz.js → form-enm4z0yr.js} +6 -6
- package/dist/chunks/{mime-rjv486v1.js → form-f2vdq2p6.js} +3 -3
- package/dist/chunks/{mime-ctdy4p88.js → form-f31xyhx6.js} +22 -22
- package/dist/chunks/{mime-2c1y2c17.js → form-fb1qtx5j.js} +16 -16
- package/dist/chunks/{mime-qa5vprxq.js → form-fhpwjwfp.js} +11 -11
- package/dist/chunks/{mime-mz10zc8h.js → form-g3fthk25.js} +6 -6
- package/dist/chunks/{mime-943skrnc.js → form-g4y5gz37.js} +6 -6
- package/dist/chunks/{mime-1fxcdfpr.js → form-g7swxvb3.js} +8 -8
- package/dist/chunks/{mime-agdd9xsj.js → form-g8g0s57g.js} +15 -15
- package/dist/chunks/{mime-85xxa1xb.js → form-gccjnz6h.js} +2 -2
- package/dist/chunks/{mime-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-4vy300yq.js → form-get0s9tp.js} +22 -22
- package/dist/chunks/{mime-hqz60g6y.js → form-gjkgbs04.js} +25 -25
- package/dist/chunks/{mime-td4h0tpz.js → form-gk5356zs.js} +15 -15
- package/dist/chunks/{mime-gk8qb678.js → form-gk8qb678.js} +1 -1
- package/dist/chunks/{mime-h14hz9z0.js → form-gnmx4hex.js} +13 -13
- package/dist/chunks/{mime-qptva5a0.js → form-h0vknvkg.js} +8 -8
- package/dist/chunks/{mime-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{mime-63qttpz0.js → form-hjqck59g.js} +27 -27
- package/dist/chunks/{mime-rxkwhjbw.js → form-ht6dr56k.js} +3 -3
- package/dist/chunks/{mime-6nhrap54.js → form-hvydwdba.js} +8 -8
- package/dist/chunks/{mime-8nn0aekz.js → form-hw0zxg35.js} +18 -18
- package/dist/chunks/{mime-bfbcwk3j.js → form-j0pd759q.js} +5 -5
- package/dist/chunks/{mime-wj4ga3q8.js → form-j2s3779n.js} +4 -4
- package/dist/chunks/{mime-j56e64zr.js → form-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-w546eqkd.js → form-j8egbxqg.js} +24 -24
- package/dist/chunks/{mime-kqkndje3.js → form-jc31vf16.js} +16 -16
- package/dist/chunks/{mime-nb9p6b26.js → form-jewzahs7.js} +4 -4
- package/dist/chunks/{mime-z321w99j.js → form-jgtkz6r6.js} +1 -1
- package/dist/chunks/{mime-3wm8rynf.js → form-jxz0pj49.js} +16 -16
- package/dist/chunks/{mime-x19mfkfa.js → form-k0a83kw0.js} +10 -10
- package/dist/chunks/{mime-d4qxdy3f.js → form-k0x9c2f3.js} +9 -9
- package/dist/chunks/{mime-7d8xn48g.js → form-k3s4mzc3.js} +3 -3
- package/dist/chunks/{mime-2zrs9e1z.js → form-k3xk6ajn.js} +7 -7
- package/dist/chunks/{mime-b5expwxh.js → form-k5g5emw9.js} +12 -12
- package/dist/chunks/{mime-18wcmczp.js → form-k7c61qyd.js} +3 -3
- package/dist/chunks/{mime-cy5d7jcg.js → form-k9d4b4p7.js} +6 -6
- package/dist/chunks/{mime-8758vc7w.js → form-kbmnqt40.js} +27 -27
- package/dist/chunks/{mime-cjdmztnd.js → form-kck1ngxs.js} +32 -32
- package/dist/chunks/{mime-c74pnqn7.js → form-kdqphf6x.js} +3 -3
- package/dist/chunks/{mime-k1xhjma1.js → form-kdxfwdry.js} +11 -11
- package/dist/chunks/{mime-002hnt25.js → form-kfdd03hd.js} +20 -20
- package/dist/chunks/{mime-w6fjva46.js → form-kjwtb2ft.js} +6 -6
- package/dist/chunks/{mime-2d3qjknd.js → form-kvh3hn5p.js} +13 -13
- package/dist/chunks/{mime-rw63zn1c.js → form-m5ja7mh0.js} +7 -7
- package/dist/chunks/{mime-hte375x9.js → form-m6w2zr8w.js} +12 -12
- package/dist/chunks/{mime-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-d3j1yfh5.js → form-mccv6fhs.js} +3 -3
- package/dist/chunks/{mime-rcxxtyg9.js → form-myqp0ysx.js} +30 -30
- package/dist/chunks/{mime-c27esgm9.js → form-n0tq777j.js} +8 -8
- package/dist/chunks/{mime-xvy6exsz.js → form-naz1hppr.js} +11 -11
- package/dist/chunks/{mime-7c9rhtvt.js → form-nd57m68f.js} +16 -16
- package/dist/chunks/{mime-p37cw4rj.js → form-p4mj4rdp.js} +8 -8
- package/dist/chunks/{mime-wmswtf3a.js → form-p6bre1gz.js} +13 -13
- package/dist/chunks/{mime-fv1xpqq8.js → form-pb3at1xs.js} +24 -24
- package/dist/chunks/{mime-ct5msdbx.js → form-pc5383ba.js} +16 -16
- package/dist/chunks/{mime-jvcyxgjy.js → form-pdgy07wn.js} +13 -13
- package/dist/chunks/{mime-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{mime-5crmb2xf.js → form-pp84f3ng.js} +14 -14
- package/dist/chunks/{mime-bsdt1m9e.js → form-pxm319h1.js} +7 -7
- package/dist/chunks/{mime-rkprpv83.js → form-py3kkmfq.js} +2 -2
- package/dist/chunks/{mime-0j77ygfz.js → form-q0xm7vwc.js} +6 -6
- package/dist/chunks/{mime-qnc92qwc.js → form-qnc92qwc.js} +1 -1
- package/dist/chunks/{mime-fmwz837r.js → form-qq2m2wf4.js} +8 -8
- package/dist/chunks/{mime-y82gm3gz.js → form-qrhtqstp.js} +11 -11
- package/dist/chunks/{mime-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-egk29gxp.js → form-qsvm9x85.js} +11 -11
- package/dist/chunks/{mime-5a2crbnm.js → form-qx0zpr7q.js} +20 -20
- package/dist/chunks/{mime-yt8s49gy.js → form-qyc8th6x.js} +10 -10
- package/dist/chunks/{mime-c3kdf4nh.js → form-r540veg5.js} +43 -43
- package/dist/chunks/{mime-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-tkb22qbm.js → form-rert0e01.js} +2 -2
- package/dist/chunks/{mime-t550f9t1.js → form-rhjbct0v.js} +4 -4
- package/dist/chunks/{mime-c41wscbt.js → form-rj3eygr5.js} +2 -2
- package/dist/chunks/{mime-nr82q2y3.js → form-rmbkajqw.js} +24 -24
- package/dist/chunks/{mime-6wzskj7v.js → form-rr2j5meq.js} +4 -4
- package/dist/chunks/{mime-xbxz27st.js → form-rsjne1k7.js} +17 -17
- package/dist/chunks/{mime-564q7t6e.js → form-s0skt53x.js} +17 -17
- package/dist/chunks/{mime-dvf6tdtm.js → form-s3jsmpzc.js} +3 -3
- package/dist/chunks/{mime-c8ax2afj.js → form-sa8ekw3f.js} +2 -2
- package/dist/chunks/{mime-k3bh1kct.js → form-sm0ksd3h.js} +5 -5
- package/dist/chunks/{mime-8vg2ek78.js → form-smk4c7dc.js} +3 -3
- package/dist/chunks/{mime-7x88nx06.js → form-sp67p2pt.js} +9 -9
- package/dist/chunks/{mime-tyhvedd8.js → form-ssaew880.js} +15 -15
- package/dist/chunks/{mime-e80seqcp.js → form-sxcaecc0.js} +3 -3
- package/dist/chunks/{mime-aysmer6g.js → form-symeabce.js} +11 -11
- package/dist/chunks/{mime-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{mime-093ezmkq.js → form-t7jdn7q3.js} +19 -19
- package/dist/chunks/{mime-1nwrzgv4.js → form-taktjfvt.js} +18 -18
- package/dist/chunks/{mime-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tcezcvh9.js → form-tcezcvh9.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{mime-mg1adt76.js → form-tf3yab8x.js} +5 -5
- package/dist/chunks/{mime-mqgk8r7f.js → form-thc86arw.js} +40 -40
- package/dist/chunks/{mime-0paq2nw3.js → form-tm0kqsz3.js} +26 -2
- package/dist/chunks/{mime-q4eqpz6z.js → form-tnd9dnxn.js} +21 -21
- package/dist/chunks/{mime-qpm56zd3.js → form-tpvm8jgs.js} +22 -22
- package/dist/chunks/{mime-bf73z2bd.js → form-tqshb1vy.js} +39 -90
- package/dist/chunks/{mime-64197h0s.js → form-trqre4ge.js} +7 -7
- package/dist/chunks/{mime-9khdf5s3.js → form-tsn6bzsd.js} +11 -11
- package/dist/chunks/{mime-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{mime-v0es1rhs.js → form-v0es1rhs.js} +2 -2
- package/dist/chunks/{mime-yvd3xmh6.js → form-v1bss4wk.js} +75 -75
- package/dist/chunks/{mime-vqgjf46c.js → form-v5ab8yn1.js} +4 -4
- package/dist/chunks/{mime-7t45mqen.js → form-v5kdx147.js} +23 -23
- package/dist/chunks/{mime-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{mime-rwbv99bt.js → form-va0k404r.js} +18 -18
- package/dist/chunks/{mime-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-4b2pdyzr.js → form-vfsj0jkk.js} +43 -43
- package/dist/chunks/{mime-jexmkm21.js → form-vgb5yh0c.js} +41 -41
- package/dist/chunks/{mime-gsb0ytgh.js → form-vma9t5wb.js} +4 -4
- package/dist/chunks/{mime-c28b4grb.js → form-vs44tbz6.js} +4 -4
- package/dist/chunks/{mime-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-fv0pzh3a.js → form-w32deh41.js} +24 -24
- package/dist/chunks/{mime-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-25x08sgb.js → form-w5fskeg8.js} +11 -11
- package/dist/chunks/{mime-fzejrech.js → form-waz12cep.js} +8 -8
- package/dist/chunks/{mime-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{mime-xay352td.js → form-wereqxyc.js} +33 -33
- package/dist/chunks/{mime-6yz0wx8n.js → form-wh6zw745.js} +5 -5
- package/dist/chunks/{mime-5zxyxt67.js → form-wjrwvqye.js} +18 -18
- package/dist/chunks/{mime-50gcym7f.js → form-wmqffk39.js} +8 -8
- package/dist/chunks/{mime-nyq6zjbq.js → form-wyafh0w1.js} +14 -14
- package/dist/chunks/{mime-grcxjrjv.js → form-x4mcqtmr.js} +15 -15
- package/dist/chunks/{mime-v56myrm4.js → form-x6r13a6v.js} +28 -28
- package/dist/chunks/{mime-9c3np669.js → form-x8gz1y8e.js} +8 -8
- package/dist/chunks/{mime-jc7bxj62.js → form-x8p4rg84.js} +41 -41
- package/dist/chunks/{mime-p167xd9m.js → form-xcxmemts.js} +19 -19
- package/dist/chunks/{mime-drwq78ky.js → form-xfkkasph.js} +4 -4
- package/dist/chunks/{mime-dzxpq3he.js → form-xhw8kcgn.js} +14 -14
- package/dist/chunks/{mime-pzxj9hfq.js → form-xk7wqgj3.js} +14 -14
- package/dist/chunks/{mime-aars6rd8.js → form-xpxzt0pv.js} +145 -145
- package/dist/chunks/{mime-nk1a0m4h.js → form-xt43jwrv.js} +33 -33
- package/dist/chunks/{mime-gd0tnyjc.js → form-xybefm6f.js} +1 -1
- package/dist/chunks/{mime-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-4nj4bn9q.js → form-y56ehv6b.js} +5 -5
- package/dist/chunks/{mime-vfjhn2wd.js → form-y5rf7nzv.js} +4 -4
- package/dist/chunks/{mime-y4783gag.js → form-ya10tbyq.js} +25 -25
- package/dist/chunks/{mime-t0czkw58.js → form-yb8yygge.js} +14 -14
- package/dist/chunks/{mime-98tgrza1.js → form-ybqrzh0b.js} +11 -11
- package/dist/chunks/{mime-8ja30ehw.js → form-yemq3d8b.js} +8 -8
- package/dist/chunks/{mime-nwb5j2mm.js → form-yh6ztjf0.js} +8 -8
- package/dist/chunks/{mime-q7sg16y8.js → form-yjytrvhv.js} +24 -24
- package/dist/chunks/{mime-kbkgrfea.js → form-yk3d35tb.js} +8 -8
- package/dist/chunks/{mime-cthrtr0v.js → form-yrk8qwt0.js} +11 -11
- package/dist/chunks/{mime-1ffvrpkg.js → form-ywt8jp22.js} +6 -6
- package/dist/chunks/{mime-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-r9gmq3a3.js → form-z2e4rrbn.js} +2 -2
- package/dist/chunks/{mime-n21cjp58.js → form-zb363yrd.js} +10 -10
- package/dist/chunks/{mime-ttqh24zm.js → form-zee1rnkq.js} +4 -4
- package/dist/chunks/{mime-vf2dg72c.js → form-zgrr8q45.js} +5 -5
- package/dist/chunks/{mime-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-e2n962sp.js → form-zrkdjkwg.js} +8 -8
- package/dist/chunks/{mime-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/chunks/{mime-1vdt07et.js → form-zy2t3ddk.js} +4 -4
- package/dist/chunks/{mime-scgrse2b.js → form-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +206 -206
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +124 -124
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/plugin/provider/azure.d.ts +2 -3
- package/dist/types/v1/config/migrate.d.ts +9 -3
- package/dist/types/v1/config/provider-options.d.ts +8 -0
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +3 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/mime-5r09gv9w.js +0 -26
- package/dist/chunks/mime-9sh4wc5j.js +0 -18
- /package/dist/chunks/{mime-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-bw78ga2c.js → form-bw78ga2c.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{mime-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-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: () => Info12,
|
|
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 Info12 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info12, exports_mcp5 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info8,
|
|
6
|
+
ID6,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-f31xyhx6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service52
|
|
11
|
+
} from "./form-5njrdk08.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin48,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin48 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info8.make({
|
|
434
|
+
id: ID6.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info8.make({
|
|
441
|
+
id: ID6.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service52;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin48, exports_skill3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z2e4rrbn.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service71,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
14
|
node: () => node74,
|
|
15
15
|
reload: () => reload2
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service71 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service71, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var node74 = LayerNode.unbound(
|
|
27
|
+
var node74 = LayerNode.unbound(Service71, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service71;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service71, node74, reload2, canonical3, exports_location_service_map };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./form-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service55,
|
|
8
|
+
node58
|
|
9
|
+
} from "./form-tnd9dnxn.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-gk8qb678.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service21,
|
|
24
|
+
node: () => node23
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service21 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ 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(Service21, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service55;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service21.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node23 = makeLocationNode({ service: Service21, layer, deps: [node58, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service21, node23, exports_ripgrep };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-smk4c7dc.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-rhjbct0v.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info6,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service36,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info6 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service36 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make20({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service85;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service36.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node40 = makeLocationNode({ service: Service36, layer, deps: [node89] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service36, node40, exports_instruction_entry };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service85,
|
|
9
9
|
node89
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-smk4c7dc.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-dpkg50ah.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node60
|
|
18
|
+
} from "./form-yemq3d8b.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./form-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./form-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID7,
|
|
31
|
+
Info: () => Info15,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service56,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured9,
|
|
36
|
+
node: () => node59
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID7 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info15 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID7,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info8 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID7,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service56 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service56,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node89,
|
|
70
|
+
deps: [node89, node60]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service85).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info15({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service56.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID7.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node59 = configured9();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID7, Info15, NotFound2, CreateConflict2, Service56, configured9, node59, exports_workspace };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service51,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node54
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service51 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service51, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service51.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service42, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node54 = makeGlobalNode({ service: Service51, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service51, node54, exports_environment };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service75
|
|
4
|
+
} from "./form-yjytrvhv.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service68
|
|
8
|
+
} from "./form-21r0j0k4.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./form-5njrdk08.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./form-58072hz9.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service66
|
|
18
|
+
} from "./form-yb8yygge.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./form-17xaq5pa.js";
|
|
23
23
|
import {
|
|
24
24
|
Service27
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./form-v1bss4wk.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./form-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
30
|
Service10
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./form-yk3d35tb.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./form-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input9,
|
|
40
|
+
Output: () => Output7,
|
|
41
|
+
Plugin: () => Plugin9,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name9
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name9 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input9 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input5 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output7 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,15 +86,15 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin9 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
92
|
const sessions = yield* Service27;
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
93
|
+
const jobs = yield* Service66;
|
|
94
|
+
const agents = yield* Service75;
|
|
95
|
+
const config = yield* Service52;
|
|
96
|
+
const permission = yield* Service72;
|
|
97
|
+
const models = yield* Service68;
|
|
98
98
|
const subagents = yield* Service10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin6 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input9,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin6 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name9,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin6 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID12.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name9 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name9];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name9, Input9, Output7, description5, Plugin9, exports_subagent };
|