@opencode/core 0.0.0-dev-21233 → 0.0.0-dev-21240
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/{skill-5s0bhjqk.js → location-02kx3tbe.js} +15 -15
- package/dist/chunks/{skill-j7qxhh0w.js → location-032jfrr5.js} +8 -8
- package/dist/chunks/{skill-942ape3s.js → location-06pf4dgp.js} +14 -14
- package/dist/chunks/{skill-sd35z9tw.js → location-09zy2qv2.js} +9 -9
- package/dist/chunks/{skill-2fkbhf5s.js → location-0cbjkd5m.js} +23 -23
- package/dist/chunks/{skill-0vbcp93d.js → location-0emb60td.js} +2 -2
- package/dist/chunks/{skill-j17rh5na.js → location-0kh9z3js.js} +11 -11
- package/dist/chunks/{skill-tmjmhw6b.js → location-0rm38x63.js} +9 -9
- package/dist/chunks/{skill-hszepbzs.js → location-0v7eyxsd.js} +11 -11
- package/dist/chunks/{skill-5a1a4xxz.js → location-16qr8wfy.js} +28 -28
- package/dist/chunks/{skill-rhraev7y.js → location-1acjjqhc.js} +4 -4
- package/dist/chunks/{skill-zn5qbatk.js → location-1be3me4v.js} +27 -27
- package/dist/chunks/{skill-1dcff6nc.js → location-1ddym2mh.js} +5 -5
- package/dist/chunks/{skill-1ep4rre3.js → location-1ep4rre3.js} +1 -1
- package/dist/chunks/{skill-bjx1sjef.js → location-1ffvrpkg.js} +6 -6
- package/dist/chunks/{skill-97aeaand.js → location-1j6m29mr.js} +9 -9
- package/dist/chunks/{skill-q6hmgxfy.js → location-1m9tv0k3.js} +27 -27
- package/dist/chunks/{skill-24ythb25.js → location-1n4r682m.js} +3 -3
- package/dist/chunks/{skill-db95amxg.js → location-1wyc8y7g.js} +23 -23
- package/dist/chunks/{skill-n61013np.js → location-1xcwytz6.js} +11 -11
- package/dist/chunks/{skill-4gycktp3.js → location-26fskhr4.js} +26 -26
- package/dist/chunks/{skill-4e4ttbd6.js → location-2766hrpb.js} +4 -4
- package/dist/chunks/{skill-qx787nm7.js → location-27mmh661.js} +8 -8
- package/dist/chunks/{skill-ryvyvv32.js → location-2cg16nxe.js} +29 -29
- package/dist/chunks/{skill-m8tc3etm.js → location-2e91r8ns.js} +45 -45
- package/dist/chunks/{skill-9sspp2kc.js → location-2ewxebqs.js} +16 -16
- package/dist/chunks/{skill-dgmheq7x.js → location-2fz504me.js} +24 -24
- package/dist/chunks/{skill-tswswthy.js → location-2g814kqn.js} +50 -50
- package/dist/chunks/{skill-tx9w5tca.js → location-2ktf0ed2.js} +8 -8
- package/dist/chunks/{skill-06xsmntz.js → location-2s32b1pm.js} +2 -2
- package/dist/chunks/{skill-afdssyjb.js → location-2vs2nh1n.js} +4 -4
- package/dist/chunks/{skill-qygncz6a.js → location-34zpk2m0.js} +24 -24
- package/dist/chunks/{skill-24s8e1ye.js → location-36sqq72v.js} +13 -13
- package/dist/chunks/{skill-0mshdkct.js → location-38jcv3yh.js} +30 -30
- package/dist/chunks/{skill-hxbam2w6.js → location-3a0fe738.js} +11 -11
- package/dist/chunks/{skill-1a8spp1r.js → location-3d48mnvn.js} +16 -16
- package/dist/chunks/{skill-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-3hwn7j4h.js → location-3hwn7j4h.js} +2 -2
- package/dist/chunks/{skill-c1s4czd4.js → location-3qrn957t.js} +20 -20
- package/dist/chunks/{skill-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-hv0kjr3z.js → location-3ts4rwt9.js} +20 -20
- package/dist/chunks/{skill-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-k7v4hzhw.js → location-3zcnh6p5.js} +12 -12
- package/dist/chunks/{skill-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-gb51gx5j.js → location-4cq1c4nh.js} +1 -1
- package/dist/chunks/{skill-dhb2hta4.js → location-4ekscj25.js} +5 -5
- package/dist/chunks/{skill-j6ktnsbj.js → location-4hvcvget.js} +5 -5
- package/dist/chunks/{skill-hcry4rxa.js → location-4jbaex4p.js} +11 -11
- package/dist/chunks/{skill-sh4t0w1q.js → location-4nk0sezm.js} +3 -3
- package/dist/chunks/{skill-9hg616bm.js → location-4r5v39fv.js} +10 -10
- package/dist/chunks/{skill-4j4tgtq5.js → location-4z58m4b4.js} +4 -4
- package/dist/chunks/{skill-wzwtd4q2.js → location-531wkgpw.js} +11 -11
- package/dist/chunks/{skill-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{skill-g9qy5730.js → location-5g0zwpkx.js} +69 -69
- package/dist/chunks/{skill-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-ps2yhsm3.js → location-5mh53trv.js} +25 -25
- package/dist/chunks/{skill-95gd5fnz.js → location-5qvfym9p.js} +6 -6
- package/dist/chunks/{skill-f3rjyvb9.js → location-5s5bfnr6.js} +29 -29
- package/dist/chunks/{skill-dssbfrwz.js → location-5twn198y.js} +5 -5
- package/dist/chunks/{skill-z47sjnwy.js → location-630y3v0d.js} +177 -177
- package/dist/chunks/{skill-73wdtct1.js → location-646b8sf1.js} +4 -4
- package/dist/chunks/{skill-pea6wjc4.js → location-65fdem8g.js} +82 -82
- package/dist/chunks/{skill-6827pfxn.js → location-6827pfxn.js} +1 -1
- package/dist/chunks/{skill-fdms3n6w.js → location-6fatt4mk.js} +9 -9
- package/dist/chunks/{skill-6xb47vfp.js → location-6xb47vfp.js} +1 -1
- package/dist/chunks/{skill-00awx1tb.js → location-6yva2bse.js} +85 -85
- package/dist/chunks/{skill-775gj3j1.js → location-775gj3j1.js} +2 -2
- package/dist/chunks/{skill-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-g46rkewk.js → location-7cdnq8hx.js} +17 -17
- package/dist/chunks/{skill-0jwsre1p.js → location-7dqw4kz8.js} +5 -5
- package/dist/chunks/{skill-ma7sk27v.js → location-7erj7fjt.js} +23 -23
- package/dist/chunks/{skill-1e0fage9.js → location-7pp8v8cz.js} +4 -4
- package/dist/chunks/{skill-1yf4km17.js → location-7wg9zefd.js} +5 -5
- package/dist/chunks/{skill-x181wg97.js → location-7y4n3x9r.js} +5 -5
- package/dist/chunks/{skill-wknnvmh5.js → location-7zst7kbs.js} +11 -11
- package/dist/chunks/{skill-x96ngv9r.js → location-82bv0hx8.js} +7 -7
- package/dist/chunks/{skill-a0wcqrzt.js → location-839dsb85.js} +34 -34
- package/dist/chunks/{skill-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{skill-ptxp58at.js → location-8d765g8y.js} +10 -10
- package/dist/chunks/{skill-8m6m0r52.js → location-8m6m0r52.js} +1 -1
- package/dist/chunks/{skill-ybq6hy8a.js → location-8p10m0h9.js} +18 -18
- package/dist/chunks/{skill-5cazt80r.js → location-8x62mzeg.js} +31 -31
- package/dist/chunks/{skill-d2kvkr0c.js → location-91erwma2.js} +13 -13
- package/dist/chunks/{skill-j09zfasm.js → location-91qna3x0.js} +3 -3
- package/dist/chunks/{skill-x4s1hxy4.js → location-9etjxb25.js} +18 -18
- package/dist/chunks/{skill-4rqs6yce.js → location-9qee0jk3.js} +8 -8
- package/dist/chunks/{skill-e4qjwypm.js → location-9tc0jcfa.js} +9 -9
- package/dist/chunks/{skill-k76krqzs.js → location-a2ew8a62.js} +4 -4
- package/dist/chunks/{skill-mtvcx4kk.js → location-aygc7d7x.js} +22 -22
- package/dist/chunks/{skill-dr27kx24.js → location-b0tpm66f.js} +33 -33
- package/dist/chunks/{skill-9tn557k3.js → location-b59088ky.js} +3 -3
- package/dist/chunks/{skill-d48v5xqa.js → location-b7j1nepq.js} +9 -9
- package/dist/chunks/{skill-2ge34d2j.js → location-bdb3egq1.js} +7 -7
- package/dist/chunks/{skill-hcms3ej7.js → location-bggc72t2.js} +19 -19
- package/dist/chunks/{skill-5hckghy7.js → location-bkbywy3k.js} +23 -23
- package/dist/chunks/{skill-xa8dcf8m.js → location-bqwheb6v.js} +9 -9
- package/dist/chunks/{skill-rj3eygr5.js → location-c41wscbt.js} +2 -2
- package/dist/chunks/{skill-sa8ekw3f.js → location-c8ax2afj.js} +2 -2
- package/dist/chunks/{skill-vr9br9b3.js → location-c9pafwgt.js} +33 -33
- package/dist/chunks/{skill-1wy3a1da.js → location-cfd40scj.js} +8 -8
- package/dist/chunks/{skill-w57ms8mt.js → location-cq4af28t.js} +15 -15
- package/dist/chunks/{skill-ybzr8t0c.js → location-cqv5jj6t.js} +15 -15
- package/dist/chunks/{skill-hpagwa2c.js → location-czamcpfm.js} +9 -9
- package/dist/chunks/{skill-d1a28jh7.js → location-d1a28jh7.js} +2 -2
- package/dist/chunks/{skill-k8zn6dzp.js → location-dj69npnr.js} +17 -17
- package/dist/chunks/{skill-ytakhgxz.js → location-dn7gk5nr.js} +32 -32
- package/dist/chunks/{skill-nm2sbdyw.js → location-dwa92pvc.js} +6 -6
- package/dist/chunks/{skill-6x6512f8.js → location-dwvsy3nv.js} +11 -11
- package/dist/chunks/{skill-hjkky8wz.js → location-e06rrywx.js} +4 -4
- package/dist/chunks/{skill-2dvjh35y.js → location-e2jk5y12.js} +24 -24
- package/dist/chunks/{skill-5qd3pb7m.js → location-e3qxr5gk.js} +2 -2
- package/dist/chunks/{skill-0w5ft33m.js → location-e4pt97mw.js} +13 -13
- package/dist/chunks/{skill-dv4gwh01.js → location-e7qaqr7r.js} +43 -43
- package/dist/chunks/{skill-e80seqcp.js → location-e80seqcp.js} +1 -1
- package/dist/chunks/{skill-mz4wv8nb.js → location-ecntzyvb.js} +13 -13
- package/dist/chunks/{skill-bzjf68bt.js → location-ecvncs9t.js} +33 -33
- package/dist/chunks/{skill-eej6y6fw.js → location-eej6y6fw.js} +2 -2
- package/dist/chunks/{skill-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-znpdtr75.js → location-efattxwn.js} +25 -25
- package/dist/chunks/{skill-afm93r8m.js → location-ehkp9wrv.js} +5 -5
- package/dist/chunks/{skill-rmwddm56.js → location-ekd657r5.js} +17 -17
- package/dist/chunks/{skill-4ysfff1b.js → location-ekmn27dt.js} +25 -25
- package/dist/chunks/{skill-d7q7g158.js → location-emfv9g84.js} +7 -7
- package/dist/chunks/{skill-711r5px4.js → location-ente2efs.js} +30 -25
- package/dist/chunks/{skill-axbdcqfv.js → location-eq88vr3p.js} +11 -11
- package/dist/chunks/{skill-c1fqxshp.js → location-es1vcfrp.js} +3 -3
- package/dist/chunks/{skill-0tb1pehm.js → location-ewmg55kq.js} +22 -22
- package/dist/chunks/{skill-fcy631f0.js → location-fcy631f0.js} +1 -1
- package/dist/chunks/{skill-8ryk0bb9.js → location-fegk541e.js} +5 -5
- package/dist/chunks/{skill-t3mrtpce.js → location-ffgh9twm.js} +13 -13
- package/dist/chunks/{skill-vscs4key.js → location-fg19zjyy.js} +7 -7
- package/dist/chunks/{skill-9hwaqfsw.js → location-fgx42ntb.js} +5 -5
- package/dist/chunks/{skill-fn9t717r.js → location-fn9t717r.js} +3 -3
- package/dist/chunks/{skill-ft3hqk2c.js → location-ft3hqk2c.js} +2 -2
- package/dist/chunks/{skill-407q6sa9.js → location-fz5mkw7q.js} +43 -43
- package/dist/chunks/{skill-ek42zh69.js → location-g3jf8veg.js} +24 -24
- package/dist/chunks/{skill-nd4tfyg0.js → location-gaa92h44.js} +9 -9
- package/dist/chunks/{skill-9g88hcsg.js → location-gbeakqqf.js} +43 -43
- package/dist/chunks/{skill-xt4njr3s.js → location-gd0tnyjc.js} +1 -1
- package/dist/chunks/{skill-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-63kqh4pp.js → location-ggpkv6dp.js} +15 -15
- package/dist/chunks/{skill-5n5c97r3.js → location-gm5yckp5.js} +7 -7
- package/dist/chunks/{skill-kbzdcc1z.js → location-h4e45ygc.js} +30 -30
- package/dist/chunks/{skill-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-0a54jmae.js → location-h8ngs2s3.js} +6 -6
- package/dist/chunks/{skill-g0zzgjed.js → location-hadrdvqz.js} +10 -10
- package/dist/chunks/{skill-hgz4x7wa.js → location-hgz4x7wa.js} +1 -1
- package/dist/chunks/{skill-vbhp0dye.js → location-hn53eq1n.js} +45 -45
- package/dist/chunks/location-ht5y0zrb.js +18 -0
- package/dist/chunks/{skill-2hn0k533.js → location-hx734pww.js} +3 -3
- package/dist/chunks/{skill-p2w0np6h.js → location-hyem0413.js} +11 -11
- package/dist/chunks/{skill-ztkm05qe.js → location-hz955cxv.js} +18 -18
- package/dist/chunks/{skill-cddgxm6q.js → location-j143ef64.js} +42 -42
- package/dist/chunks/{skill-m28477hs.js → location-j1j4kkfc.js} +17 -17
- package/dist/chunks/{skill-5n8ca005.js → location-j1nd8abd.js} +24 -24
- package/dist/chunks/{skill-m7c2pgrj.js → location-j5qwz8we.js} +42 -42
- package/dist/chunks/location-j6js6ktv.js +26 -0
- package/dist/chunks/{skill-hp8bf08d.js → location-jdg1karv.js} +9 -9
- package/dist/chunks/{skill-cbghv35z.js → location-jfn3ppc2.js} +14 -14
- package/dist/chunks/{skill-j2ztd3ax.js → location-jrnq1yzd.js} +18 -18
- package/dist/chunks/{skill-fxaymqdw.js → location-khmqacep.js} +4 -4
- package/dist/chunks/{skill-8hk5zr5e.js → location-ktyahk7g.js} +26 -26
- package/dist/chunks/{skill-kwb1v3vj.js → location-kwb1v3vj.js} +1 -1
- package/dist/chunks/{skill-n8g9f5aw.js → location-ky3cgvwd.js} +8 -8
- package/dist/chunks/{skill-bdjmc03q.js → location-kymtw6sz.js} +20 -20
- package/dist/chunks/{skill-pcf1k9th.js → location-m15ha2ry.js} +6 -6
- package/dist/chunks/{skill-vb3m6eyp.js → location-m49t52b5.js} +16 -16
- package/dist/chunks/{skill-dg66qqba.js → location-m7mg6z5e.js} +23 -23
- package/dist/chunks/{skill-swdxt3e8.js → location-m8p5ty25.js} +8 -8
- package/dist/chunks/{skill-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-maspj1v3.js → location-maspj1v3.js} +1 -1
- package/dist/chunks/{skill-vwwhsbvp.js → location-mmve37cn.js} +11 -11
- package/dist/chunks/{skill-gqtdsdt7.js → location-mxvxcxwy.js} +4 -4
- package/dist/chunks/{skill-9cw92fkg.js → location-n477w9kb.js} +45 -45
- package/dist/chunks/{skill-zn9jy13z.js → location-n4k7r7f4.js} +6 -6
- package/dist/chunks/{skill-z42dm00v.js → location-n9mzspqs.js} +13 -13
- package/dist/chunks/{skill-2k71kv7p.js → location-nb9p6b26.js} +4 -4
- package/dist/chunks/location-ng2x5jnt.js +257 -0
- package/dist/chunks/{skill-yc97vnhp.js → location-nmcmr329.js} +320 -320
- package/dist/chunks/{skill-rmpja4kz.js → location-np3vtmgz.js} +20 -20
- package/dist/chunks/{skill-00qrbj62.js → location-npyv4msc.js} +4 -4
- package/dist/chunks/{skill-ddzfx2sp.js → location-nq33nhzr.js} +4 -4
- package/dist/chunks/{skill-ht9z38af.js → location-nwz3xn1w.js} +4 -4
- package/dist/chunks/{skill-r3ydk6z5.js → location-nz5xz1n7.js} +3 -3
- package/dist/chunks/{skill-smjam21t.js → location-p0swpct4.js} +17 -17
- package/dist/chunks/{skill-tk14ecdn.js → location-p3dsvwjj.js} +35 -35
- package/dist/chunks/{skill-k1ep3vpw.js → location-p4gjeqhz.js} +8 -8
- package/dist/chunks/{skill-jvhzr3z9.js → location-p7d55m61.js} +44 -44
- package/dist/chunks/{skill-1vnwec3s.js → location-p9d54bvt.js} +17 -17
- package/dist/chunks/{skill-p37cw4rj.js → location-pa8pe2x7.js} +8 -8
- package/dist/chunks/{skill-8hpz99e3.js → location-paby7f9d.js} +17 -17
- package/dist/chunks/{skill-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{skill-dzewxd6e.js → location-pkr96zq9.js} +50 -50
- package/dist/chunks/{skill-j5xh64qr.js → location-pnkbpv6t.js} +5 -5
- package/dist/chunks/{skill-9xnh36ct.js → location-pvd1kp2q.js} +24 -24
- package/dist/chunks/{skill-jr0bwz5h.js → location-pwx39njg.js} +18 -18
- package/dist/chunks/{skill-7fkffz83.js → location-py3kkmfq.js} +4 -4
- package/dist/chunks/{skill-jkh8wmvq.js → location-q1w4ag7r.js} +11 -11
- package/dist/chunks/{skill-1j2x33v7.js → location-q8va88r3.js} +18 -18
- package/dist/chunks/{skill-wdjfy1sg.js → location-qdxpp4ce.js} +4 -4
- package/dist/chunks/{skill-721538d5.js → location-qgrkf2kv.js} +11 -11
- package/dist/chunks/{skill-n9y44nm0.js → location-qjxgyyqm.js} +23 -23
- package/dist/chunks/{skill-hdjck8j7.js → location-qkkeybah.js} +32 -32
- package/dist/chunks/{skill-qnc92qwc.js → location-qnc92qwc.js} +1 -1
- package/dist/chunks/{skill-acy09t17.js → location-qny204zj.js} +4 -4
- package/dist/chunks/{skill-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-3cwb9jzf.js → location-r61qxybf.js} +8 -8
- package/dist/chunks/{skill-92g1m7we.js → location-r64n44sy.js} +22 -22
- package/dist/chunks/{skill-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-eaj1djv9.js → location-rhjbct0v.js} +8 -8
- package/dist/chunks/{skill-v210v162.js → location-rm4mkcw0.js} +2 -2
- package/dist/chunks/{skill-373db230.js → location-rsvjy1hm.js} +16 -16
- package/dist/chunks/{skill-j58npq09.js → location-rwpyag6c.js} +13 -13
- package/dist/chunks/{skill-azhh6n6p.js → location-s2e8778m.js} +36 -36
- package/dist/chunks/{skill-pc6svy01.js → location-s8eppwwz.js} +8 -8
- package/dist/chunks/{skill-tdepd04k.js → location-s8k2chda.js} +12 -12
- package/dist/chunks/{skill-jq9wm7kj.js → location-sf7qeb8m.js} +2 -2
- package/dist/chunks/{skill-mtpeagzc.js → location-ss358qx3.js} +3 -3
- package/dist/chunks/{skill-74ntyh7j.js → location-swsbk68p.js} +30 -30
- package/dist/chunks/{skill-tegs1ycp.js → location-sxzvkvgj.js} +6 -6
- package/dist/chunks/{skill-syv4x271.js → location-syv4x271.js} +1 -1
- package/dist/chunks/{skill-ytw5y04d.js → location-t2zy804g.js} +8 -8
- package/dist/chunks/{skill-0w1q6v6s.js → location-t3w66r2s.js} +17 -17
- package/dist/chunks/{skill-51fhzrhh.js → location-t67svzf9.js} +26 -26
- package/dist/chunks/{skill-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-89znhe33.js → location-tcezcvh9.js} +4 -4
- package/dist/chunks/{skill-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{skill-rert0e01.js → location-tkb22qbm.js} +2 -2
- package/dist/chunks/{skill-tm0kqsz3.js → location-tm0kqsz3.js} +1 -1
- package/dist/chunks/{skill-aj2p83by.js → location-tq44hnx5.js} +16 -16
- package/dist/chunks/{skill-q6ec7ghb.js → location-trskfet7.js} +4 -4
- package/dist/chunks/{skill-tyytaxap.js → location-tyytaxap.js} +1 -1
- package/dist/chunks/{skill-wf494znr.js → location-v5vvs3bk.js} +8 -8
- package/dist/chunks/{skill-v7p4zvkq.js → location-v7p4zvkq.js} +2 -2
- package/dist/chunks/{skill-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-bn0s77k4.js → location-vtt0yr3x.js} +15 -15
- package/dist/chunks/{skill-7y6g135c.js → location-vw4xzb9e.js} +21 -21
- package/dist/chunks/{skill-hpwbz69d.js → location-vxcce85q.js} +19 -19
- package/dist/chunks/{skill-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-ch6w3xdz.js → location-w2pw2zr6.js} +4 -4
- package/dist/chunks/{skill-vnwacm6t.js → location-w382j1sg.js} +1 -1
- package/dist/chunks/{skill-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-wwq19wsf.js → location-w9vjgmgf.js} +5 -5
- package/dist/chunks/{skill-eyvd4r56.js → location-wan1txhx.js} +17 -17
- package/dist/chunks/{skill-167gessz.js → location-wb1vxtey.js} +15 -15
- package/dist/chunks/{skill-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{skill-k41pdhxj.js → location-wk0bzpnn.js} +19 -19
- package/dist/chunks/{skill-cwjaek22.js → location-wxgp157e.js} +14 -14
- package/dist/chunks/{skill-ebwpp9d0.js → location-wzfw0r1q.js} +11 -11
- package/dist/chunks/{skill-bs5qht20.js → location-x8nz1cbt.js} +3 -3
- package/dist/chunks/{skill-p6zwjtwx.js → location-xckvy3p8.js} +3 -3
- package/dist/chunks/{skill-qqeeq2t9.js → location-xfkkasph.js} +7 -7
- package/dist/chunks/{skill-a61mcpgr.js → location-xhg7ze7g.js} +18 -18
- package/dist/chunks/{skill-ma5jzer8.js → location-xk8qaj8b.js} +36 -36
- package/dist/chunks/{skill-dbwk15v0.js → location-xw16hbb2.js} +28 -28
- package/dist/chunks/{skill-mfgpt03n.js → location-xwjdvtn9.js} +5 -5
- package/dist/chunks/{skill-9skj9fwe.js → location-xx71wknj.js} +32 -32
- package/dist/chunks/{skill-0qer0j0n.js → location-xxqqcrba.js} +10 -10
- package/dist/chunks/{skill-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-n3wcrd3g.js → location-y645j4dr.js} +7 -7
- package/dist/chunks/{skill-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{skill-vbek984v.js → location-ydgy0jv4.js} +8 -8
- package/dist/chunks/{skill-jybvdwhe.js → location-yhszmqfx.js} +12 -12
- package/dist/chunks/{skill-m70jk2v7.js → location-yk2qpeaw.js} +25 -25
- package/dist/chunks/{skill-z9dnddtr.js → location-ykd62qee.js} +50 -42
- package/dist/chunks/{skill-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-ysr3h47w.js → location-z1j2pzfs.js} +58 -58
- package/dist/chunks/{skill-n4d3d4w3.js → location-z3507kbh.js} +11 -11
- package/dist/chunks/{skill-fcdhtk1s.js → location-z4005aq0.js} +16 -16
- package/dist/chunks/{skill-sv1af74h.js → location-z5vjvv3z.js} +14 -14
- package/dist/chunks/{skill-6fq7r47e.js → location-zct001gj.js} +5 -5
- package/dist/chunks/{skill-v2bjyqkg.js → location-zfhna5dg.js} +6 -6
- package/dist/chunks/{skill-bykqqmg1.js → location-zjmprxn1.js} +21 -21
- package/dist/chunks/{skill-hh8xd2g7.js → location-zm69bbn9.js} +2 -2
- package/dist/chunks/{skill-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-3j1wy11z.js → location-ztp3s23f.js} +24 -24
- package/dist/chunks/{skill-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/chunks/{skill-44ak30pa.js → location-zy43x3f1.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- 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 +369 -369
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- 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 +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- 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 +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- 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 +107 -107
- package/dist/mcp/instructions.js +129 -129
- 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-retry.js +1 -1
- 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 +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- 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 +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- 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 +101 -101
- 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 +99 -99
- 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 +138 -138
- 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 +215 -215
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- 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 +120 -120
- package/dist/session/model-transport.js +7 -7
- 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 +225 -225
- 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 +3 -3
- package/dist/session/runner/step.js +128 -128
- 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 +130 -130
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- 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 +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- 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 +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +211 -211
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- 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 +7 -7
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +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/skill-961073wv.js +0 -26
- package/dist/chunks/skill-jpqp0310.js +0 -257
- package/dist/chunks/skill-vnkjks7b.js +0 -18
- /package/dist/chunks/{skill-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{skill-pyv0edze.js → location-pyv0edze.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wjj7prxr.js → location-wjj7prxr.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-trskfet7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-zm69bbn9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node81
|
|
12
|
+
} from "./location-zjmprxn1.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service77,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node80
|
|
20
|
+
} from "./location-36sqq72v.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service80,
|
|
23
|
+
node84
|
|
24
|
+
} from "./location-2ktf0ed2.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service66,
|
|
27
|
+
node69
|
|
28
|
+
} from "./location-r61qxybf.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-ss358qx3.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service68,
|
|
35
|
+
node71
|
|
36
|
+
} from "./location-n477w9kb.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-z3507kbh.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError10,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service65,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node68
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError10 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service65 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service65, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service85;
|
|
92
92
|
const location = yield* Service82;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service77;
|
|
95
|
+
const environment = yield* Service78;
|
|
96
|
+
const hooks = yield* Service80;
|
|
97
|
+
const environments = yield* Service66;
|
|
98
|
+
const config = yield* Service68;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError10({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError10({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service65.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node68 = makeLocationNode({
|
|
342
|
+
service: Service65,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
345
|
node89,
|
|
346
346
|
node86,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
348
|
+
node80,
|
|
349
|
+
node81,
|
|
350
|
+
node84,
|
|
351
|
+
node69,
|
|
352
|
+
node71,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export {
|
|
357
|
+
export { NotFoundError10, RETENTION2, DIRECTORY2, Service65, cleanup2, node68, exports_shell4 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-trskfet7.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service37,
|
|
17
|
+
node40
|
|
18
|
+
} from "./location-paby7f9d.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info6,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service34,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node37
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event4 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info6 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service34 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service85;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service37;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info6.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info6.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service34.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node37 = makeLocationNode({
|
|
116
|
+
service: Service34,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node89,
|
|
118
|
+
deps: [Global.node, node89, node40]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info6, Service34, node37, exports_reference2, Event4 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-trskfet7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service75,
|
|
11
|
+
node78
|
|
12
|
+
} from "./location-h4e45ygc.js";
|
|
13
13
|
import {
|
|
14
14
|
Service82,
|
|
15
15
|
node86
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-zm69bbn9.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node81
|
|
20
|
+
} from "./location-zjmprxn1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service76,
|
|
24
|
+
node79
|
|
25
|
+
} from "./location-5mh53trv.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID12,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service74,
|
|
34
|
+
node77
|
|
35
|
+
} from "./location-38jcv3yh.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-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
44
|
NotFoundError: () => NotFoundError2,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options2,
|
|
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: () => Service31,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
55
|
+
configured: () => configured2,
|
|
56
56
|
layer: () => layer14,
|
|
57
|
-
node: () =>
|
|
57
|
+
node: () => node34
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -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 Service31 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options2 = 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 layer14 = (options) => Layer.effect(
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
115
115
|
const location = yield* Service82;
|
|
116
|
-
const environment = yield*
|
|
116
|
+
const environment = yield* Service78;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service76;
|
|
119
|
+
const integration = yield* Service74;
|
|
120
|
+
const credentials = yield* Service75;
|
|
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 layer14 = (options) => Layer.effect(Service27, 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 = ID12.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service27, 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(Service75, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer14 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
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(Service75, 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 = ID14.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 layer14 = (options) => Layer.effect(Service27, 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(Service78, 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 layer14 = (options) => Layer.effect(Service27, 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(Event19.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 layer14 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service31.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 configured2(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
535
|
+
service: Service31,
|
|
536
536
|
layer: layer14(options),
|
|
537
|
-
deps: [node86,
|
|
537
|
+
deps: [node86, node81, node89, node79, node77, node78]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node34 = configured2();
|
|
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, NotFoundError2, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service31, Options2, layer14, configured2, node34, exports_mcp4 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-4hvcvget.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./location-z1j2pzfs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./location-wb1vxtey.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-0emb60td.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info3,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-qkkeybah.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin4,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin4 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service54;
|
|
104
|
+
const permission = yield* Service61;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin22 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info3,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin4, exports_opencode };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-trskfet7.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-xw16hbb2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service52,
|
|
9
|
+
Event8
|
|
10
|
+
} from "./location-p3dsvwjj.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service52;
|
|
42
42
|
const bus = yield* Service85;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event8.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|