@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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_image2, {
|
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
14
|
Service: () => Service51,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node53
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -76,6 +76,6 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
76
76
|
});
|
|
77
77
|
return Service51.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node53 = makeLocationNode({ service: Service51, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service51,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service51, node53, exports_image2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-x8nz1cbt.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-tkb22qbm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ConflictError: () => ConflictError2,
|
|
17
|
-
ID: () =>
|
|
18
|
-
Info: () =>
|
|
17
|
+
ID: () => ID8,
|
|
18
|
+
Info: () => Info12,
|
|
19
19
|
ListInput: () => ListInput5,
|
|
20
|
-
NotFoundError: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError9,
|
|
21
21
|
PermissionSaved: () => exports_saved,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UpdateInput: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service63,
|
|
23
|
+
UpdateInput: () => UpdateInput3,
|
|
24
|
+
node: () => node66
|
|
25
25
|
});
|
|
26
26
|
import { eq } from "drizzle-orm";
|
|
27
27
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -29,8 +29,8 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
29
29
|
import { Project } from "@opencode/schema/project";
|
|
30
30
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var ID8 = PermissionSaved.ID;
|
|
33
|
+
var Info12 = PermissionSaved.Info;
|
|
34
34
|
var ListInput5 = Schema.Struct({
|
|
35
35
|
projectID: Project.ID.pipe(Schema.optional)
|
|
36
36
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -39,27 +39,27 @@ var AddInput2 = Schema.Struct({
|
|
|
39
39
|
action: Schema.String,
|
|
40
40
|
resources: Schema.Array(Schema.String)
|
|
41
41
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
42
|
-
var
|
|
43
|
-
id:
|
|
42
|
+
var UpdateInput3 = Schema.Struct({
|
|
43
|
+
id: ID8,
|
|
44
44
|
action: Schema.String.pipe(Schema.optional),
|
|
45
45
|
resource: Schema.String.pipe(Schema.optional)
|
|
46
46
|
}).annotate({ identifier: "PermissionSaved.UpdateInput" });
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
id:
|
|
48
|
+
class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
49
|
+
id: ID8
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
54
|
-
id:
|
|
54
|
+
id: ID8,
|
|
55
55
|
action: Schema.String,
|
|
56
56
|
resource: Schema.String
|
|
57
57
|
}) {
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service63 extends Context.Service()("@opencode/PermissionSaved") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
62
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
63
63
|
const db = (yield* Service86).db;
|
|
64
64
|
const list = Effect.fnUntraced(function* (input) {
|
|
65
65
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
69
69
|
if (!input.resources.length)
|
|
70
70
|
return;
|
|
71
71
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
72
|
-
id:
|
|
72
|
+
id: ID8.create(),
|
|
73
73
|
project_id: input.projectID,
|
|
74
74
|
action: input.action,
|
|
75
75
|
resource
|
|
@@ -78,18 +78,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
78
78
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
79
79
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
80
80
|
if (!current)
|
|
81
|
-
return yield* new
|
|
81
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
82
82
|
const action = input.action ?? current.action;
|
|
83
83
|
const resource = input.resource ?? current.resource;
|
|
84
84
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
85
85
|
if (!updated)
|
|
86
|
-
return yield* new
|
|
86
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
87
87
|
return info(updated);
|
|
88
88
|
});
|
|
89
89
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
90
90
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
91
91
|
});
|
|
92
|
-
return
|
|
92
|
+
return Service63.of({ list, add, update, remove });
|
|
93
93
|
}));
|
|
94
94
|
var isUniqueViolation = (error) => {
|
|
95
95
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -107,6 +107,6 @@ var info = (row) => ({
|
|
|
107
107
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
var
|
|
110
|
+
var node66 = makeGlobalNode({ service: Service63, layer, deps: [node90] });
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { ID8, Info12, ListInput5, AddInput2, UpdateInput3, NotFoundError9, ConflictError2, Service63, node66, exports_saved };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-1j6m29mr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./location-1xcwytz6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info18
|
|
12
|
+
} from "./location-a2ew8a62.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./location-5twn198y.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-7dqw4kz8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info16
|
|
21
|
+
} from "./location-fgx42ntb.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-qdxpp4ce.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize2(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info15, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -425,7 +425,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
425
425
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
426
426
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
427
427
|
return [];
|
|
428
|
-
const provider = decodeValue(
|
|
428
|
+
const provider = decodeValue(Info16, raw, path, diagnostics);
|
|
429
429
|
if (provider === undefined)
|
|
430
430
|
return [];
|
|
431
431
|
const destination = providerID2(name);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./location-xfkkasph.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render3(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./location-n477w9kb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./location-36sqq72v.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin41
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin41 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service68;
|
|
27
|
+
const shell = yield* Service77;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin32 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin41, exports_shell2 };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./location-zjmprxn1.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service49,
|
|
24
|
+
node: () => node51
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service49 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service78;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service49.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node51 = makeLocationNode({ service: Service49, layer, deps: [node81, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service49, node51, exports_ripgrep };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-tm0kqsz3.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-5s5bfnr6.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-xw16hbb2.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service68
|
|
4
|
+
} from "./location-n477w9kb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./location-z3507kbh.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin31 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service68;
|
|
27
|
+
const output = yield* Service67;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin40 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin31, exports_tool_output };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-5s5bfnr6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID10,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info19,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-xw16hbb2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID10.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info19.make({
|
|
98
|
+
...Info19.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID10.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|