@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,18 +1,18 @@
|
|
|
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
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./location-wb1vxtey.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service4
|
|
12
|
+
} from "./location-z4005aq0.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service5
|
|
27
|
+
} from "./location-t3w66r2s.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Plugin: () => Plugin5,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name3,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name3 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin5 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service5;
|
|
62
|
+
const access = yield* Service54;
|
|
63
|
+
const sessionInstructions = yield* Service4;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service82;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin29 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent3 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name3, Input3, Plugin5, toModelContent3, exports_read };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node55
|
|
5
|
+
} from "./location-3a0fe738.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-4z58m4b4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./location-2ktf0ed2.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-z1j2pzfs.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-bdb3egq1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./location-bkbywy3k.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service30,
|
|
28
|
+
node33
|
|
29
|
+
} from "./location-bqwheb6v.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make15
|
|
32
|
+
} from "./location-xfkkasph.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-gd0tnyjc.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service29,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
47
|
layer: () => layer12,
|
|
48
|
-
node: () =>
|
|
48
|
+
node: () => node32,
|
|
49
49
|
outputLimit: () => outputLimit2,
|
|
50
50
|
unsupportedParts: () => unsupportedParts2
|
|
51
51
|
});
|
|
@@ -83,7 +83,7 @@ var baseTranscript2 = (input) => {
|
|
|
83
83
|
return {
|
|
84
84
|
providerMetadataKey,
|
|
85
85
|
system: [
|
|
86
|
-
input.agent.system ? input.agent.system :
|
|
86
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
87
87
|
input.initial
|
|
88
88
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
89
89
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -138,29 +138,37 @@ var replaceMedia = (messages, replace) => messages.map((message) => {
|
|
|
138
138
|
var unsupportedParts2 = (messages, capabilities, provider) => replaceMedia(messages, (media) => unsupportedMedia(media.mime, media.name, capabilities, provider));
|
|
139
139
|
var boundImages2 = (messages) => {
|
|
140
140
|
const isImage = (mime) => mime.toLowerCase().startsWith("image/");
|
|
141
|
-
const
|
|
142
|
-
if (part.type === "media"
|
|
143
|
-
return
|
|
141
|
+
const sizes = messages.flatMap((message) => message.content.flatMap((part) => {
|
|
142
|
+
if (part.type === "media")
|
|
143
|
+
return isImage(part.media.mediaType) ? [mediaBytes(part.media)] : [];
|
|
144
144
|
if (part.type !== "tool-result" || part.result.type !== "content")
|
|
145
|
-
return
|
|
146
|
-
return
|
|
147
|
-
}
|
|
148
|
-
|
|
145
|
+
return [];
|
|
146
|
+
return part.result.value.flatMap((item) => item.type === "file" && isImage(item.mime) ? [Buffer.byteLength(item.uri)] : []);
|
|
147
|
+
}));
|
|
148
|
+
let cut = 0;
|
|
149
|
+
let kept = 0;
|
|
150
|
+
for (const size of sizes) {
|
|
151
|
+
kept += size;
|
|
152
|
+
if (kept <= IMAGE_BYTES_TRIGGER)
|
|
153
|
+
continue;
|
|
154
|
+
while (kept > IMAGE_BYTES_TARGET)
|
|
155
|
+
kept -= sizes[cut++];
|
|
156
|
+
}
|
|
157
|
+
if (cut === 0)
|
|
149
158
|
return messages;
|
|
150
|
-
let
|
|
159
|
+
let index = 0;
|
|
151
160
|
return replaceMedia(messages, (media) => {
|
|
152
|
-
if (!isImage(media.mime)
|
|
161
|
+
if (!isImage(media.mime))
|
|
153
162
|
return;
|
|
154
|
-
|
|
155
|
-
return IMAGE_REMOVED;
|
|
163
|
+
return index++ < cut ? IMAGE_REMOVED : undefined;
|
|
156
164
|
});
|
|
157
165
|
};
|
|
158
166
|
|
|
159
|
-
class
|
|
167
|
+
class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
168
|
}
|
|
161
|
-
var layer12 = Layer.effect(
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
169
|
+
var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
170
|
+
const hooks = yield* Service80;
|
|
171
|
+
const transport = yield* Service30;
|
|
164
172
|
const app = yield* Metadata2;
|
|
165
173
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
174
|
const session = input.session;
|
|
@@ -168,7 +176,7 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
168
176
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
169
177
|
const tools = input.tools ?? {
|
|
170
178
|
definitions: [],
|
|
171
|
-
execute: () => new
|
|
179
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
172
180
|
};
|
|
173
181
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
174
182
|
const shaped = yield* shape({
|
|
@@ -265,17 +273,17 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
265
273
|
};
|
|
266
274
|
});
|
|
267
275
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
268
|
-
return
|
|
276
|
+
return Service29.of({
|
|
269
277
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
270
278
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
271
279
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
272
280
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
273
281
|
});
|
|
274
282
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
283
|
+
var node32 = makeLocationNode({
|
|
284
|
+
service: Service29,
|
|
277
285
|
layer: layer12,
|
|
278
|
-
deps: [
|
|
286
|
+
deps: [node84, node33, node55]
|
|
279
287
|
});
|
|
280
288
|
|
|
281
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
289
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service29, layer12, node32, exports_model_request };
|
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-trskfet7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-zm69bbn9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service64,
|
|
12
|
+
node67
|
|
13
|
+
} from "./location-j1nd8abd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError8
|
|
16
|
+
} from "./location-n4k7r7f4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service62,
|
|
19
|
+
node65
|
|
20
|
+
} from "./location-wxgp157e.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service63,
|
|
26
|
+
node66
|
|
27
|
+
} from "./location-pvd1kp2q.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service80,
|
|
30
|
+
node84
|
|
31
|
+
} from "./location-2ktf0ed2.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
49
|
-
Reply: () =>
|
|
45
|
+
Event: () => Event12,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request2,
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service61,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node64
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event12 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request2 = Permission.Request;
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID7,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service61 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service85;
|
|
132
132
|
const location = yield* Service82;
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
133
|
+
const agents = yield* Service64;
|
|
134
|
+
const sessions = yield* Service62;
|
|
135
|
+
const saved = yield* Service63;
|
|
136
|
+
const hooks = yield* Service80;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError8({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,12 +186,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID7.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
193
193
|
save: input.save,
|
|
194
|
-
metadata: input.metadata,
|
|
194
|
+
metadata: input.metadata && Object.fromEntries(Object.entries(input.metadata).filter(([, value]) => value !== undefined)),
|
|
195
195
|
source: input.source,
|
|
196
196
|
message
|
|
197
197
|
};
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service61.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node64 = makeLocationNode({
|
|
303
|
+
service: Service61,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node89, node86,
|
|
305
|
+
deps: [node89, node86, node67, node65, node66, node84]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service61, node64, exports_permission, Rule2, Ruleset2, Event12 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service67,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node70
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service67 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service67.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node70 = makeLocationNode({
|
|
137
|
+
service: Service67,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service67, node70, exports_tool_output2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-trskfet7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-zm69bbn9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service62,
|
|
14
|
+
node65
|
|
15
|
+
} from "./location-wxgp157e.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service4,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node6
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service4 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service85;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service62;
|
|
41
41
|
const location = yield* Service82;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service4.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node6 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node89, FSUtil.node, node86,
|
|
101
|
+
deps: [node89, FSUtil.node, node86, node65]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service4, node6, exports_instructions };
|