@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,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mxvxcxwy.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-trskfet7.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./location-h4e45ygc.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-38jcv3yh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID11,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service72
|
|
20
|
+
} from "./location-5s5bfnr6.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID10
|
|
23
|
+
} from "./location-xw16hbb2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./location-aygc7d7x.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-3a0fe738.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./location-j1nd8abd.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID12.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service72;
|
|
167
167
|
const bus = yield* Service85;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID11.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID11.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID11.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID11.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID11.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-zm69bbn9.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
72
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
73
|
const parent = yield* fs.resolve(directory);
|
|
74
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
75
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
76
|
const globalEnabled = options?.global !== false;
|
|
77
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
78
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
79
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
80
|
return {
|
|
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
export {
|
|
102
|
+
export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./location-n477w9kb.js";
|
|
4
4
|
import {
|
|
5
5
|
Service13
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-ft3hqk2c.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin47
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin47 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service68;
|
|
26
26
|
const policy = yield* Service13;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
@@ -35,4 +35,4 @@ var Plugin45 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin47, exports_location_watcher2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-y645j4dr.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID16 = Session.ID;
|
|
5
|
+
var Info26 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID16, Info26, SessionSchema2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-zm69bbn9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-zjmprxn1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service59,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-91erwma2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./location-7zst7kbs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service61
|
|
17
|
+
} from "./location-z1j2pzfs.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service54,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-wb1vxtey.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input4,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin6,
|
|
36
|
+
name: () => name4
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name4 = "edit";
|
|
43
|
+
var Input4 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input2 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin6 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
196
|
+
const access = yield* Service54;
|
|
197
|
+
const fileMutation = yield* Service59;
|
|
198
|
+
const environment = yield* Service78;
|
|
199
|
+
const formatter = yield* Service14;
|
|
200
200
|
const location = yield* Service82;
|
|
201
|
-
const permission = yield*
|
|
201
|
+
const permission = yield* Service61;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name4,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input4,
|
|
207
|
+
output: Output3,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin19 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name4, Input4, Output3, Plugin6, exports_edit };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service42,
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service42 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node44 = LayerNode.unbound(Service42, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service42, node44, exports_service2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
5
|
ID3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service33
|
|
7
|
+
} from "./location-ewmg55kq.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-ss358qx3.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-n4k7r7f4.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-es1vcfrp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service33;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
@@ -2,20 +2,20 @@ 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
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./location-2cg16nxe.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node7,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service78;
|
|
335
|
+
return Service5.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [node81] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
|