@opencode/core 2.0.29 → 2.0.30
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{websearch-qcs9fwqv.js → instance-01hxeeh0.js} +11 -11
- package/dist/chunks/{websearch-1cegxmx6.js → instance-084aw373.js} +3 -3
- package/dist/chunks/{websearch-hkffa77z.js → instance-0b5g1ynf.js} +4 -4
- package/dist/chunks/{websearch-0j77ygfz.js → instance-0j77ygfz.js} +2 -2
- package/dist/chunks/{websearch-pb47hwpg.js → instance-0mp499ze.js} +16 -16
- package/dist/chunks/{websearch-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
- package/dist/chunks/{websearch-cyakegjg.js → instance-10ya1n95.js} +14 -14
- package/dist/chunks/{websearch-yfy85faz.js → instance-128xx7kp.js} +3 -3
- package/dist/chunks/{websearch-a4h58p2q.js → instance-16rkhh34.js} +6 -6
- package/dist/chunks/{websearch-yp2x3t23.js → instance-1acjjqhc.js} +4 -4
- package/dist/chunks/{websearch-9hn6k4tm.js → instance-1ajx6rf5.js} +8 -8
- package/dist/chunks/{websearch-m2xy2q1r.js → instance-1azxtnvn.js} +13 -13
- package/dist/chunks/{websearch-da8gdpq5.js → instance-1jnacwd4.js} +12 -12
- package/dist/chunks/{websearch-w4zft92x.js → instance-1mgrvebq.js} +14 -14
- package/dist/chunks/{websearch-kkkrbyg1.js → instance-1vezjraj.js} +3 -3
- package/dist/chunks/{websearch-s5dq0fh7.js → instance-1wwhh6tg.js} +35 -35
- package/dist/chunks/{websearch-e0dbc2qq.js → instance-20q3sypg.js} +2 -2
- package/dist/chunks/{websearch-x5wkbpg0.js → instance-24jcxqcv.js} +16 -16
- package/dist/chunks/{websearch-663z1agk.js → instance-26g27jq4.js} +32 -32
- package/dist/chunks/{websearch-6560wqgx.js → instance-2bthg6ps.js} +3 -3
- package/dist/chunks/{websearch-jneafm26.js → instance-32g268rd.js} +13 -13
- package/dist/chunks/{websearch-3yzh7hr7.js → instance-387g8trv.js} +27 -27
- package/dist/chunks/{websearch-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-krdzrw7f.js → instance-3gn2397m.js} +88 -88
- package/dist/chunks/{websearch-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-3hwn7j4h.js → instance-3hwn7j4h.js} +2 -2
- package/dist/chunks/{websearch-a2647qfq.js → instance-3rbmmj0g.js} +171 -171
- package/dist/chunks/{websearch-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-8p3ctfjr.js → instance-3stxt38w.js} +11 -11
- package/dist/chunks/{websearch-3c656pdg.js → instance-3t3ppxhb.js} +8 -8
- package/dist/chunks/{websearch-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-addxnjmp.js → instance-3y377wv9.js} +4 -4
- package/dist/chunks/{websearch-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-v0es1rhs.js → instance-4434d9q2.js} +9 -9
- package/dist/chunks/{websearch-71434wjh.js → instance-49r3emx4.js} +18 -18
- package/dist/chunks/{websearch-55nka2g1.js → instance-4eb7yy46.js} +4 -4
- package/dist/chunks/{websearch-xrb85mgg.js → instance-4jr7zcc0.js} +26 -26
- package/dist/chunks/{websearch-gjk5m4qa.js → instance-4ra0jzgx.js} +6 -6
- package/dist/chunks/{websearch-9h5qj14f.js → instance-4tp750a6.js} +1 -1
- package/dist/chunks/instance-4v7qdvcn.js +18 -0
- package/dist/chunks/{websearch-1b4m0bzf.js → instance-4z58m4b4.js} +4 -4
- package/dist/chunks/{websearch-nvgev6qc.js → instance-5211rpnm.js} +15 -15
- package/dist/chunks/{websearch-xfkkasph.js → instance-57b9ws8p.js} +7 -7
- package/dist/chunks/{websearch-6xt5eqb0.js → instance-57gtfk2n.js} +6 -6
- package/dist/chunks/{websearch-gdbb1day.js → instance-59zy69mk.js} +1 -1
- package/dist/chunks/{websearch-1k6qkxqp.js → instance-5gx9hkbw.js} +4 -4
- package/dist/chunks/{websearch-q8fpdxtt.js → instance-5ha5er23.js} +26 -26
- package/dist/chunks/{websearch-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
- package/dist/chunks/{websearch-pqwxz2b0.js → instance-5xaqq0zy.js} +2 -2
- package/dist/chunks/{websearch-p2aadfsr.js → instance-646vn7sd.js} +18 -18
- package/dist/chunks/{websearch-arkfezfn.js → instance-652w1b7r.js} +25 -25
- package/dist/chunks/{websearch-97zq4prq.js → instance-6g0jnfpe.js} +11 -11
- package/dist/chunks/{websearch-2ccvkpx1.js → instance-6g107h22.js} +10 -12
- package/dist/chunks/{websearch-103sg1x0.js → instance-6hzf4208.js} +30 -30
- package/dist/chunks/{websearch-6xb47vfp.js → instance-6xb47vfp.js} +1 -1
- package/dist/chunks/{websearch-ztcw2cka.js → instance-6y11rvqm.js} +14 -14
- package/dist/chunks/{websearch-rhbc2745.js → instance-73wr0wn5.js} +11 -11
- package/dist/chunks/{websearch-07vcyzex.js → instance-74rqx77g.js} +26 -26
- package/dist/chunks/{websearch-775gj3j1.js → instance-775gj3j1.js} +2 -2
- package/dist/chunks/{websearch-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-fcrkznn8.js → instance-7dqw4kz8.js} +5 -5
- package/dist/chunks/{websearch-d2wa1q6j.js → instance-7efvswca.js} +27 -27
- package/dist/chunks/{websearch-97j7w773.js → instance-7khw7vys.js} +52 -42
- package/dist/chunks/{websearch-wazcrk27.js → instance-7m78zzez.js} +11 -11
- package/dist/chunks/{websearch-z938xz10.js → instance-7v30ghwx.js} +51 -51
- package/dist/chunks/{websearch-bwd5tn72.js → instance-7vr1nntc.js} +3 -3
- package/dist/chunks/{websearch-br0hqn3c.js → instance-7y33ce21.js} +25 -25
- package/dist/chunks/{websearch-nytcpyw5.js → instance-7zjtannr.js} +43 -43
- package/dist/chunks/{websearch-7gra0nqm.js → instance-81fjg4yx.js} +12 -12
- package/dist/chunks/{websearch-x0fnqmv0.js → instance-82rf0sny.js} +15 -15
- package/dist/chunks/{websearch-84txncab.js → instance-84txncab.js} +1 -1
- package/dist/chunks/{websearch-1tehwsrg.js → instance-89fs7e8f.js} +23 -23
- package/dist/chunks/{websearch-346y6mfm.js → instance-89za3yyg.js} +6 -6
- package/dist/chunks/{websearch-mq0qga5n.js → instance-8aap4tw6.js} +28 -28
- package/dist/chunks/{websearch-kb7wnz6t.js → instance-8dsgf78a.js} +25 -25
- package/dist/chunks/{websearch-8m6m0r52.js → instance-8m6m0r52.js} +1 -1
- package/dist/chunks/{websearch-p2w45j0v.js → instance-8srf40xe.js} +18 -18
- package/dist/chunks/{websearch-haa4cca0.js → instance-8wvgy420.js} +6 -6
- package/dist/chunks/{websearch-9vkn4ng5.js → instance-93pem10m.js} +30 -30
- package/dist/chunks/{websearch-rp432f9z.js → instance-9413mpzz.js} +35 -35
- package/dist/chunks/{websearch-tax3fkaf.js → instance-97233r0r.js} +1 -1
- package/dist/chunks/{websearch-x5h28p89.js → instance-9d9vbnr3.js} +14 -14
- package/dist/chunks/{websearch-g5x1q65a.js → instance-9f6w07v2.js} +4 -4
- package/dist/chunks/instance-9k954qnc.js +253 -0
- package/dist/chunks/{websearch-aa567zw8.js → instance-9kb2pehy.js} +11 -11
- package/dist/chunks/{websearch-gspy0ysg.js → instance-9q36pw28.js} +4 -4
- package/dist/chunks/{websearch-stv64172.js → instance-9s02qxdw.js} +24 -24
- package/dist/chunks/{websearch-7cmmjc66.js → instance-9tgftdjr.js} +8 -8
- package/dist/chunks/{websearch-f7ayr8mx.js → instance-9vk391re.js} +21 -21
- package/dist/chunks/{websearch-kev8d4bj.js → instance-9y7wfsj2.js} +28 -28
- package/dist/chunks/{websearch-0zmxjhgt.js → instance-ae24bvb0.js} +36 -35
- package/dist/chunks/{websearch-dhb2hta4.js → instance-ag1vmkq5.js} +5 -5
- package/dist/chunks/{websearch-8wkxae25.js → instance-agyyzp1p.js} +13 -13
- package/dist/chunks/{websearch-c7gbd1xe.js → instance-aj8kt33w.js} +14 -14
- package/dist/chunks/{websearch-w4y2mxn4.js → instance-ajnf4kf4.js} +23 -23
- package/dist/chunks/{websearch-kfxbay1b.js → instance-aw3nxxyh.js} +13 -13
- package/dist/chunks/{websearch-rgxvqbqk.js → instance-b3zzy7tw.js} +40 -40
- package/dist/chunks/{websearch-xxxym934.js → instance-bacyadyn.js} +4 -4
- package/dist/chunks/{websearch-qfx9w7bq.js → instance-bh593mvy.js} +7 -7
- package/dist/chunks/{websearch-tx4eqkkw.js → instance-bvg8t9y0.js} +22 -22
- package/dist/chunks/{websearch-a73a6c6h.js → instance-bwsrjyzy.js} +9 -9
- package/dist/chunks/{websearch-c1fqxshp.js → instance-c1fqxshp.js} +3 -3
- package/dist/chunks/{websearch-3p5nkzgw.js → instance-c1zyyjeb.js} +16 -16
- package/dist/chunks/{websearch-8t7fzwbd.js → instance-c2zdvb4p.js} +20 -20
- package/dist/chunks/{websearch-tcay1cqt.js → instance-c8bydgjz.js} +6 -6
- package/dist/chunks/{websearch-v1kmxtyj.js → instance-cxpwe6s4.js} +10 -10
- package/dist/chunks/{websearch-efjjmtnj.js → instance-d454q9jw.js} +26 -26
- package/dist/chunks/{websearch-5pffn7jv.js → instance-d5fs7d09.js} +32 -32
- package/dist/chunks/{websearch-gfhhve88.js → instance-d9wzmzc3.js} +5 -5
- package/dist/chunks/{websearch-sjh1dprn.js → instance-dfb3ggbz.js} +34 -34
- package/dist/chunks/{websearch-g6vmwyfr.js → instance-dgmj5nq6.js} +20 -20
- package/dist/chunks/{websearch-dhmh7aw6.js → instance-dhmh7aw6.js} +1 -1
- package/dist/chunks/{websearch-m3chcn87.js → instance-dpctj94h.js} +12 -12
- package/dist/chunks/{websearch-y71avatq.js → instance-dpkg50ah.js} +4 -4
- package/dist/chunks/{websearch-dqxsqydv.js → instance-dqxsqydv.js} +1 -1
- package/dist/chunks/{websearch-zd7wpxs7.js → instance-drnf6xwf.js} +2 -2
- package/dist/chunks/{websearch-ddypr82j.js → instance-drvctdx3.js} +8 -8
- package/dist/chunks/{websearch-1y335d10.js → instance-e3658yqs.js} +4 -4
- package/dist/chunks/{websearch-caa8k32f.js → instance-e4ph37mk.js} +17 -17
- package/dist/chunks/{websearch-e80seqcp.js → instance-e80seqcp.js} +1 -1
- package/dist/chunks/{websearch-zkf2w606.js → instance-e914qee0.js} +21 -22
- package/dist/chunks/{websearch-avae2qkj.js → instance-e9t82wt6.js} +18 -18
- package/dist/chunks/{websearch-tdhdpjpk.js → instance-eckn7hvg.js} +10 -10
- package/dist/chunks/{websearch-eej6y6fw.js → instance-eej6y6fw.js} +2 -2
- package/dist/chunks/{websearch-44gjh96b.js → instance-eez13zz9.js} +85 -85
- package/dist/chunks/{websearch-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-5aq1sray.js → instance-efsrwh4r.js} +15 -15
- package/dist/chunks/{websearch-geq2zx23.js → instance-egqmz7mr.js} +327 -327
- package/dist/chunks/{websearch-ja06ey8y.js → instance-erxpr3ta.js} +11 -11
- package/dist/chunks/{websearch-e8peznf1.js → instance-ew85sj6a.js} +24 -24
- package/dist/chunks/{websearch-p97g2b6e.js → instance-eyhnzkb4.js} +5 -5
- package/dist/chunks/{websearch-espep7zj.js → instance-eyngvhkr.js} +5 -5
- package/dist/chunks/{websearch-5e1pzs32.js → instance-f0ftzx98.js} +9 -9
- package/dist/chunks/{websearch-g37mjr4e.js → instance-f4vpr7ft.js} +18 -18
- package/dist/chunks/{websearch-dk6ncfcg.js → instance-fd3cesbe.js} +4 -4
- package/dist/chunks/{websearch-fm2qvscf.js → instance-fm2qvscf.js} +1 -1
- package/dist/chunks/{websearch-k9mnbpyw.js → instance-fx5e31t2.js} +62 -62
- package/dist/chunks/{websearch-hq3c8me3.js → instance-fxaymqdw.js} +4 -4
- package/dist/chunks/{websearch-866agajq.js → instance-g1ntr7f2.js} +25 -25
- package/dist/chunks/{websearch-y7nndgyc.js → instance-g686f6pq.js} +9 -9
- package/dist/chunks/instance-g92sbvmr.js +180 -0
- package/dist/chunks/{websearch-k10p7qps.js → instance-ga72xv16.js} +4 -4
- package/dist/chunks/{websearch-qwjmgwmn.js → instance-gbtx73hb.js} +4 -4
- package/dist/chunks/{websearch-0fz4623t.js → instance-gd0tnyjc.js} +1 -1
- package/dist/chunks/{websearch-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-t8n1383z.js → instance-gs0zmrt4.js} +29 -29
- package/dist/chunks/{websearch-jehjq15e.js → instance-gvx299k3.js} +11 -11
- package/dist/chunks/{websearch-btgkzwpb.js → instance-gxf5jgrz.js} +13 -13
- package/dist/chunks/{websearch-ada5kfrj.js → instance-gzc7yqgf.js} +10 -10
- package/dist/chunks/{websearch-0wmc8652.js → instance-h1xayf8s.js} +11 -11
- package/dist/chunks/{websearch-5z3y5rqa.js → instance-h4mdy8pc.js} +50 -50
- package/dist/chunks/{websearch-nkt96xeg.js → instance-h55420by.js} +6 -6
- package/dist/chunks/{websearch-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-31xfzrxg.js → instance-h7s7r6s9.js} +5 -5
- package/dist/chunks/{websearch-wgdke5pv.js → instance-h969w5wg.js} +10 -10
- package/dist/chunks/{websearch-nkndh8r8.js → instance-hfbp3x8a.js} +15 -15
- package/dist/chunks/{websearch-hgz4x7wa.js → instance-hgz4x7wa.js} +1 -1
- package/dist/chunks/{websearch-mp6nn8em.js → instance-hhbh25th.js} +1 -1
- package/dist/chunks/{websearch-k2grd0fw.js → instance-hkh1jdqf.js} +3 -3
- package/dist/chunks/{websearch-m5yraf7v.js → instance-hnpn8713.js} +27 -30
- package/dist/chunks/{websearch-91qna3x0.js → instance-j09zfasm.js} +3 -3
- package/dist/chunks/{websearch-73ndx0kt.js → instance-j5j6nemg.js} +11 -11
- package/dist/chunks/{websearch-9zfhyfhf.js → instance-k2wyjrxv.js} +5 -5
- package/dist/chunks/{websearch-8wjeg5tw.js → instance-kehp7em2.js} +8 -8
- package/dist/chunks/{websearch-hhtxcv9s.js → instance-kj46zcys.js} +32 -32
- package/dist/chunks/{websearch-we87z89c.js → instance-kjh956ek.js} +13 -13
- package/dist/chunks/{websearch-dyd0ex0t.js → instance-kkamx07x.js} +19 -19
- package/dist/chunks/{websearch-52xjsfcv.js → instance-kmvkq3az.js} +11 -11
- package/dist/chunks/{websearch-aq92k1t1.js → instance-krpr0985.js} +20 -20
- package/dist/chunks/{websearch-hrg4krg0.js → instance-ktqq3893.js} +9 -9
- package/dist/chunks/{websearch-hhd9bfcx.js → instance-kwnyzz7d.js} +11 -11
- package/dist/chunks/{websearch-kqn4kc20.js → instance-m2je0bek.js} +20 -20
- package/dist/chunks/{websearch-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-maspj1v3.js → instance-maspj1v3.js} +1 -1
- package/dist/chunks/{websearch-xkhfjrgz.js → instance-my4zabxr.js} +3 -3
- package/dist/chunks/{websearch-3m7syb4v.js → instance-n2456yrq.js} +15 -15
- package/dist/chunks/{websearch-zmr78fwr.js → instance-n8vdnqrc.js} +5 -5
- package/dist/chunks/{websearch-eawvaaey.js → instance-n9c20jj2.js} +46 -46
- package/dist/chunks/{websearch-30n06459.js → instance-njsm5atp.js} +28 -28
- package/dist/chunks/{websearch-4ft0y05w.js → instance-nve97s1q.js} +26 -26
- package/dist/chunks/{websearch-1p799z25.js → instance-nxf3zzt8.js} +17 -17
- package/dist/chunks/{websearch-tf2nhjex.js → instance-nz4k6rdb.js} +12 -12
- package/dist/chunks/{websearch-92m1j5rh.js → instance-p0qk8z8k.js} +15 -15
- package/dist/chunks/{websearch-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-d8qsn68y.js → instance-pkrkjz2y.js} +15 -15
- package/dist/chunks/{websearch-rww43xzx.js → instance-pkxbvvp1.js} +5 -5
- package/dist/chunks/{websearch-t41sszjr.js → instance-pqm9awga.js} +22 -22
- package/dist/chunks/{websearch-88wazn9e.js → instance-pv8bk7wt.js} +36 -36
- package/dist/chunks/{websearch-d883s65k.js → instance-py3c7vzz.js} +27 -27
- package/dist/chunks/{websearch-1pekzpef.js → instance-q4cy6t51.js} +18 -18
- package/dist/chunks/{websearch-hrgbrncq.js → instance-qk1jtr9h.js} +12 -12
- package/dist/chunks/{websearch-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
- package/dist/chunks/{websearch-r2k8chwn.js → instance-qq3sn5ka.js} +43 -43
- package/dist/chunks/{websearch-xg4371px.js → instance-qr7wvshd.js} +35 -35
- package/dist/chunks/{websearch-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-7xrzajz9.js → instance-qve4m158.js} +19 -19
- package/dist/chunks/{websearch-ztvjr4k5.js → instance-qvtb430p.js} +21 -21
- package/dist/chunks/{websearch-ay3jh19j.js → instance-r0d06n1c.js} +17 -17
- package/dist/chunks/{websearch-z7m47ewa.js → instance-r56f0ccq.js} +11 -11
- package/dist/chunks/{websearch-pghxh1nh.js → instance-r8zgbxzs.js} +11 -11
- package/dist/chunks/{websearch-54ma36ye.js → instance-r94pvvab.js} +4 -4
- package/dist/chunks/{websearch-4xzdjh1a.js → instance-rb1chcf1.js} +10 -10
- package/dist/chunks/{websearch-r9m9gn5p.js → instance-rcxh9wm8.js} +16 -16
- package/dist/chunks/{websearch-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-rert0e01.js → instance-rert0e01.js} +2 -2
- package/dist/chunks/{websearch-c765mh8b.js → instance-rey5gbxv.js} +9 -9
- package/dist/chunks/{websearch-rj3eygr5.js → instance-rj3eygr5.js} +2 -2
- package/dist/chunks/{websearch-v7z2bvyd.js → instance-rk7s9xkn.js} +4 -4
- package/dist/chunks/{websearch-pkj8hqbd.js → instance-rkg4v3e5.js} +4 -4
- package/dist/chunks/{websearch-hkkd4pm1.js → instance-rscer41a.js} +9 -9
- package/dist/chunks/{websearch-tt87ktex.js → instance-s0eg5ze8.js} +18 -18
- package/dist/chunks/{websearch-sa8ekw3f.js → instance-sa8ekw3f.js} +2 -2
- package/dist/chunks/{websearch-scgrse2b.js → instance-scgrse2b.js} +2 -2
- package/dist/chunks/{websearch-qr9hjn0s.js → instance-sr5j7zs6.js} +9 -9
- package/dist/chunks/{websearch-5hft8km6.js → instance-sst9p08r.js} +28 -28
- package/dist/chunks/{websearch-r2710ff6.js → instance-svgb3jrm.js} +21 -21
- package/dist/chunks/{websearch-hx6kv5hf.js → instance-svwmrgfz.js} +45 -45
- package/dist/chunks/{websearch-syv4x271.js → instance-syv4x271.js} +1 -1
- package/dist/chunks/{websearch-s8d7rejh.js → instance-t550f9t1.js} +4 -4
- package/dist/chunks/{websearch-7hpzdccj.js → instance-t64r4gaf.js} +8 -8
- package/dist/chunks/{websearch-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-6yz0wx8n.js → instance-tk14y25j.js} +5 -5
- package/dist/chunks/{websearch-tm0kqsz3.js → instance-tm0kqsz3.js} +1 -1
- package/dist/chunks/{websearch-gqkzrhj2.js → instance-ts0yefbj.js} +11 -11
- package/dist/chunks/{websearch-tyytaxap.js → instance-tyytaxap.js} +1 -1
- package/dist/chunks/{websearch-w46jqsvm.js → instance-v3chy9qq.js} +22 -22
- package/dist/chunks/{websearch-aqa98z50.js → instance-v73z6nkx.js} +14 -14
- package/dist/chunks/{websearch-v7p4zvkq.js → instance-v7p4zvkq.js} +2 -2
- package/dist/chunks/{websearch-gwj41vyz.js → instance-vbbe25mn.js} +7 -7
- package/dist/chunks/{websearch-dxzfr4ve.js → instance-ve4f4wdb.js} +7 -7
- package/dist/chunks/{websearch-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-ay2x71k1.js → instance-vmvrq3v0.js} +9 -9
- package/dist/chunks/{websearch-tmfxf5e7.js → instance-vtqafnzr.js} +8 -8
- package/dist/chunks/{websearch-n33ezsnm.js → instance-vvgk372g.js} +15 -15
- package/dist/chunks/{websearch-ynreg67e.js → instance-vwh8akjg.js} +4 -4
- package/dist/chunks/{websearch-rh5yy33f.js → instance-vz3edhsq.js} +37 -37
- package/dist/chunks/{websearch-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
- package/dist/chunks/{websearch-4gq7ecwc.js → instance-w1vdttf2.js} +20 -20
- package/dist/chunks/{websearch-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-6wc34s84.js → instance-w48fp5bf.js} +8 -8
- package/dist/chunks/{websearch-hhyv66vq.js → instance-w919w76e.js} +8 -8
- package/dist/chunks/{websearch-8sze2n9a.js → instance-w92k2e0p.js} +4 -4
- package/dist/chunks/{websearch-crt9038w.js → instance-w93dz47x.js} +31 -31
- package/dist/chunks/{websearch-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-ng1gee1q.js → instance-whajmtxv.js} +5 -5
- package/dist/chunks/{websearch-jhxrt86x.js → instance-whdm53sh.js} +28 -28
- package/dist/chunks/{websearch-vrc1bnre.js → instance-wqvmb1h2.js} +26 -26
- package/dist/chunks/{websearch-phepkm1d.js → instance-x287n01n.js} +3 -3
- package/dist/chunks/{websearch-r8x9drbh.js → instance-x8fc36mw.js} +5 -5
- package/dist/chunks/{websearch-mj7h6rjn.js → instance-xe0aze4b.js} +11 -11
- package/dist/chunks/{websearch-pzwg7x8a.js → instance-xjg9p4ge.js} +18 -18
- package/dist/chunks/instance-xkv0wwhy.js +26 -0
- package/dist/chunks/{websearch-qp956b5j.js → instance-xmvkzca6.js} +9 -9
- package/dist/chunks/{websearch-6hjx5zpb.js → instance-xrpg47n6.js} +9 -9
- package/dist/chunks/{websearch-5r3x27sy.js → instance-xtrd0rcy.js} +20 -20
- package/dist/chunks/{websearch-am1tmpj5.js → instance-xtv1bm8z.js} +10 -10
- package/dist/chunks/{websearch-etc2b570.js → instance-y0ks4s6t.js} +15 -15
- package/dist/chunks/{websearch-25xd1pye.js → instance-y1fe2wt7.js} +4 -4
- package/dist/chunks/{websearch-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-2yb0fdev.js → instance-y7e6sser.js} +48 -48
- package/dist/chunks/instance-ybw1dpzx.js +123 -0
- package/dist/chunks/{websearch-3dmcmtv3.js → instance-yccdg3qs.js} +20 -20
- package/dist/chunks/{websearch-pxwwnbaf.js → instance-ysgxa1w9.js} +47 -46
- package/dist/chunks/{websearch-bjx1sjef.js → instance-ywt8jp22.js} +9 -9
- package/dist/chunks/{websearch-n3dj4p5b.js → instance-yxpkbsn2.js} +46 -46
- package/dist/chunks/{websearch-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-kjm8yh2d.js → instance-z4zqze96.js} +17 -17
- package/dist/chunks/{websearch-9c3np669.js → instance-z733aene.js} +8 -8
- package/dist/chunks/{websearch-7qq3ahcc.js → instance-zfq801h6.js} +4 -4
- package/dist/chunks/{websearch-p08b6fdv.js → instance-zp59tdhe.js} +10 -10
- package/dist/chunks/{websearch-ec2vep54.js → instance-zq4fxkvp.js} +15 -15
- package/dist/chunks/{websearch-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/chunks/{websearch-vywg70mg.js → instance-zyqwfmwv.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +118 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- 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 +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- 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 +86 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +107 -99
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- 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 +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +96 -96
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +3 -3
- 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 +117 -117
- 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 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- 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 +118 -118
- 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 +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +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 +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +6 -6
- 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 +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +213 -213
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- 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 +95 -95
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +124 -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 +1 -1
- 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 +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- 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 +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- 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 +14 -14
- package/dist/types/config/discovery.d.ts +1 -0
- package/dist/types/config/plugin/instruction.d.ts +3 -1
- package/dist/types/config/variable.d.ts +0 -1
- package/dist/types/config.d.ts +1 -0
- package/dist/types/github-copilot/chat/openai-compatible-chat-language-model.d.ts +1 -1
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -2
- package/dist/types/instruction-discovery.d.ts +2 -3
- package/dist/types/session/model-request.d.ts +2 -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 +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/websearch-4se3h60w.js +0 -76
- package/dist/chunks/websearch-4wb4djvq.js +0 -253
- package/dist/chunks/websearch-d08ezc3t.js +0 -26
- package/dist/chunks/websearch-rap9a73h.js +0 -18
- package/dist/chunks/websearch-t3nt8dwz.js +0 -118
- /package/dist/chunks/{websearch-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2bv980vf.js → instance-2bv980vf.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3t0ybcrp.js → instance-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-84wd9syh.js → instance-84wd9syh.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e3qxr5gk.js → instance-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hcxmzztb.js → instance-hcxmzztb.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-m18g726c.js → instance-m18g726c.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{websearch-pyv0edze.js → instance-pyv0edze.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wjj7prxr.js → instance-wjj7prxr.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-9f6w07v2.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service82,
|
|
11
|
+
node86
|
|
12
|
+
} from "./instance-njsm5atp.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service78,
|
|
15
|
+
node82
|
|
16
|
+
} from "./instance-nxf3zzt8.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service72,
|
|
19
|
+
node74
|
|
20
|
+
} from "./instance-ew85sj6a.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service83,
|
|
24
|
+
node87
|
|
25
|
+
} from "./instance-89fs7e8f.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID16,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service81,
|
|
34
|
+
node85
|
|
35
|
+
} from "./instance-sst9p08r.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instance-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service32,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node35
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const environment = yield* Service72;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service83;
|
|
119
|
+
const integration = yield* Service81;
|
|
120
|
+
const credentials = yield* Service82;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID16.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service82, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError4({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service82, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID18.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service32.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service32,
|
|
536
|
+
layer: layer15(options),
|
|
537
|
+
deps: [node82, node74, node88, node87, node85, node86]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node35 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options4, layer15, configured4, node35, exports_mcp4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-h55420by.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-hkh1jdqf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
node63
|
|
7
|
+
} from "./instance-5ha5er23.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service60,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer21,
|
|
20
|
+
node: () => node62
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service60 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer21 = Layer.effect(Service60, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service61;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service60.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node62 = makeLocationNode({
|
|
74
|
+
service: Service60,
|
|
75
|
+
layer: layer21,
|
|
76
|
+
deps: [node63, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service60, layer21, node62, exports_generate2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./instance-ysgxa1w9.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service72
|
|
13
|
+
} from "./instance-ew85sj6a.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service53
|
|
16
|
+
} from "./instance-aj8kt33w.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service56
|
|
19
|
+
} from "./instance-y7e6sser.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service55,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-646vn7sd.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service67,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-kkamx07x.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service64
|
|
37
|
+
} from "./instance-svwmrgfz.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service21
|
|
40
|
+
} from "./instance-eez13zz9.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./instance-4eb7yy46.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./instance-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin30,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name11 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input11 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin30 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service21;
|
|
124
|
+
const jobs = yield* Service53;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service72;
|
|
127
|
+
const access = yield* Service55;
|
|
128
|
+
const shell = yield* Service64;
|
|
129
|
+
const shellSelect = yield* Service67;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service56;
|
|
132
|
+
const config = yield* Service68;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin41 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name11,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin41 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name11,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input11,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin41 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name11,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name11];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin30, exports_shell2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service80,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
|
|
@@ -100,9 +100,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
100
100
|
}) {
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service80 extends Context.Service()("@opencode/Git") {
|
|
104
104
|
}
|
|
105
|
-
var layer = Layer.effect(
|
|
105
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
106
106
|
const fs = yield* FSUtil.Service;
|
|
107
107
|
const proc = yield* AppProcess.Service;
|
|
108
108
|
const locks = makeUnsafe2();
|
|
@@ -717,7 +717,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
717
717
|
kind: index === 0 ? "main" : "linked"
|
|
718
718
|
}));
|
|
719
719
|
});
|
|
720
|
-
return
|
|
720
|
+
return Service80.of({
|
|
721
721
|
repo: { discover, clone, create },
|
|
722
722
|
remote: { get: remote },
|
|
723
723
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -734,7 +734,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
734
734
|
objects: { pack: packObjects }
|
|
735
735
|
});
|
|
736
736
|
}));
|
|
737
|
-
var
|
|
737
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
738
738
|
function run(cwd, proc, args) {
|
|
739
739
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
740
740
|
}
|
|
@@ -801,4 +801,4 @@ function resolvePath(cwd, value) {
|
|
|
801
801
|
return path.resolve(cwd, normalized);
|
|
802
802
|
}
|
|
803
803
|
|
|
804
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
804
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service80, node84, exports_git3 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./instance-nxf3zzt8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service68
|
|
9
|
+
} from "./instance-ysgxa1w9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./instance-qve4m158.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin2
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin2 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service68;
|
|
34
|
+
const location = yield* Service78;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service15;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin20 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin2, exports_worktree };
|