@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,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info17
|
|
7
|
+
} from "./location-1j6m29mr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent4,
|
|
16
|
+
Info: () => Info14
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info17)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info14 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info14, exports_agent4 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./location-z1j2pzfs.js";
|
|
4
4
|
import {
|
|
5
5
|
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service60
|
|
10
|
+
} from "./location-z5vjvv3z.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input10,
|
|
19
|
+
Output: () => Output8,
|
|
20
|
+
Plugin: () => Plugin12,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name10,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name10 = "skill";
|
|
30
|
+
var Input10 = Schema.Struct({
|
|
31
31
|
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output8 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin12 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service60;
|
|
51
|
+
const permission = yield* Service61;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name10,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input10,
|
|
57
|
+
output: Output8,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name10,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin30 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name10, Input10, Output8, description4, toModelOutput2, Plugin12, exports_skill };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-8m6m0r52.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-z5vjvv3z.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-x8nz1cbt.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-trskfet7.js";
|
|
12
12
|
import {
|
|
13
13
|
Service84,
|
|
14
14
|
node88
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-4hvcvget.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput5,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-rm4mkcw0.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-c41wscbt.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-c8ax2afj.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -2,42 +2,42 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service82,
|
|
8
8
|
node86
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-zm69bbn9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service48,
|
|
12
|
+
node50
|
|
13
|
+
} from "./location-1m9tv0k3.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event7,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
ListInput: () => ListInput3,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError4,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service47,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node49
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -75,7 +75,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
75
75
|
return `Access denied to directory: ${this.directory}`;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Content3 = Schema.Struct({
|
|
79
79
|
uri: Schema.String,
|
|
80
80
|
name: Schema.String.pipe(Schema.optional),
|
|
81
81
|
content: Schema.String,
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event7 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service47 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
114
|
const location = yield* Service82;
|
|
115
|
-
const search = yield*
|
|
115
|
+
const search = yield* Service48;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service47.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError4({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
147
147
|
}),
|
|
148
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
149
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
150
|
+
const missing = new NotFoundError4({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
151
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
152
|
if (info.type !== "Directory")
|
|
153
153
|
return yield* missing;
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node49 = makeLocationNode({
|
|
175
|
+
service: Service47,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node, node86,
|
|
177
|
+
deps: [FSUtil.node, node86, node50]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service47, node49, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-3a0fe738.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-trskfet7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID13,
|
|
9
|
+
Event19,
|
|
10
|
+
Service75
|
|
11
|
+
} from "./location-h4e45ygc.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mxvxcxwy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-38jcv3yh.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID11,
|
|
24
|
+
Service72
|
|
25
|
+
} from "./location-5s5bfnr6.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID10
|
|
28
|
+
} from "./location-xw16hbb2.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-dwa92pvc.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make4(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID11.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service75;
|
|
77
|
+
const providers = yield* Service72;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make3(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID11.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID11.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make3(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID11.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make3(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make3(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID11.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make3(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID11.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID11.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make3(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID11.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make3(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID11.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make3(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make3(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID11.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID11.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make3(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID11.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make3(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID11.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID11.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make3(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID11.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make4();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID10.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID10.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make4, AzurePlugin2 };
|