@opencode/core 0.0.0-dev-20818 → 0.0.0-dev-20820
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 +75 -75
- package/dist/chunks/{model-resolver-zzhtpc1c.js → location-lifecycle-04z42v6g.js} +13 -13
- package/dist/chunks/{model-resolver-2g3w7qry.js → location-lifecycle-07b2y0yr.js} +4 -4
- package/dist/chunks/{model-resolver-fk97v85c.js → location-lifecycle-08ws1ef8.js} +15 -15
- package/dist/chunks/{model-resolver-c0fw8tva.js → location-lifecycle-097e832a.js} +46 -46
- package/dist/chunks/{model-resolver-hkffa77z.js → location-lifecycle-0b5g1ynf.js} +4 -4
- package/dist/chunks/{model-resolver-4ekscj25.js → location-lifecycle-0cg871e2.js} +5 -5
- package/dist/chunks/{model-resolver-q0xm7vwc.js → location-lifecycle-0j77ygfz.js} +6 -6
- package/dist/chunks/{model-resolver-ajrrkcpv.js → location-lifecycle-0je88kea.js} +29 -29
- package/dist/chunks/{model-resolver-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0vbcp93d.js → location-lifecycle-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-60th7n68.js → location-lifecycle-11mv75nr.js} +8 -8
- package/dist/chunks/{model-resolver-g6fbtt8s.js → location-lifecycle-121bkecy.js} +5 -5
- package/dist/chunks/{model-resolver-axe3mf62.js → location-lifecycle-143qq2q9.js} +3 -3
- package/dist/chunks/{model-resolver-69ndwxq7.js → location-lifecycle-1ag9sbrq.js} +11 -11
- package/dist/chunks/{model-resolver-71z5hmrq.js → location-lifecycle-1tq2540p.js} +13 -13
- package/dist/chunks/{model-resolver-fxaymqdw.js → location-lifecycle-1w2wqhfv.js} +4 -4
- package/dist/chunks/{model-resolver-5rybjp70.js → location-lifecycle-1wvwqwh5.js} +45 -45
- package/dist/chunks/{model-resolver-sbd6df5h.js → location-lifecycle-22chzsv6.js} +15 -15
- package/dist/chunks/{model-resolver-sr3tpeg2.js → location-lifecycle-27w9csda.js} +11 -11
- package/dist/chunks/{model-resolver-xf6y9pg8.js → location-lifecycle-27x7nwk8.js} +14 -14
- package/dist/chunks/{model-resolver-gmbpjpby.js → location-lifecycle-2b4mc7ye.js} +33 -33
- package/dist/chunks/{model-resolver-4ts7tf6z.js → location-lifecycle-2ccvkpx1.js} +2 -2
- package/dist/chunks/{model-resolver-2vvh33eb.js → location-lifecycle-2vvh33eb.js} +2 -2
- package/dist/chunks/{model-resolver-7gvsa56m.js → location-lifecycle-2vwq14a3.js} +10 -10
- package/dist/chunks/{model-resolver-rre4zkzm.js → location-lifecycle-2w2c2tx5.js} +87 -87
- package/dist/chunks/{model-resolver-wj3y3c2n.js → location-lifecycle-2xmtcaw9.js} +9 -9
- package/dist/chunks/{model-resolver-magwd4ys.js → location-lifecycle-31bh0jpv.js} +15 -15
- package/dist/chunks/{model-resolver-xvbs29jp.js → location-lifecycle-34m23t9v.js} +6 -6
- package/dist/chunks/{model-resolver-0pykbks7.js → location-lifecycle-38ehfh9a.js} +11 -11
- package/dist/chunks/{model-resolver-4z8r5kh4.js → location-lifecycle-38jhbc2p.js} +19 -19
- package/dist/chunks/{model-resolver-zcf7mhvq.js → location-lifecycle-3bg7dhdt.js} +77 -77
- package/dist/chunks/{model-resolver-36nt455z.js → location-lifecycle-3bqvp3mr.js} +47 -47
- package/dist/chunks/{model-resolver-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-97v2b7ch.js → location-lifecycle-3h839e83.js} +34 -34
- package/dist/chunks/{model-resolver-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-gem6aeja.js → location-lifecycle-3hs6nf8k.js} +12 -12
- package/dist/chunks/{model-resolver-3hwn7j4h.js → location-lifecycle-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-1ts3fnb8.js → location-lifecycle-3snq6kbs.js} +17 -17
- package/dist/chunks/{model-resolver-1ndk40xb.js → location-lifecycle-3t3st7sj.js} +22 -22
- package/dist/chunks/{model-resolver-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-gt1qgv3v.js → location-lifecycle-3x0a9ktp.js} +27 -27
- package/dist/chunks/{model-resolver-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-ztj3h82k.js → location-lifecycle-416h7fsp.js} +18 -18
- package/dist/chunks/{model-resolver-ms23b1xg.js → location-lifecycle-4183gtph.js} +15 -15
- package/dist/chunks/{model-resolver-b674v2dg.js → location-lifecycle-47jkzegy.js} +5 -5
- package/dist/chunks/{model-resolver-dj68pnee.js → location-lifecycle-4bm5ja14.js} +4 -4
- package/dist/chunks/{model-resolver-yyct3fyr.js → location-lifecycle-4d5b89yx.js} +19 -19
- package/dist/chunks/{model-resolver-wzyy5bqv.js → location-lifecycle-4fg84qqg.js} +6 -6
- package/dist/chunks/{model-resolver-vycm3tyn.js → location-lifecycle-4ggd5h2q.js} +14 -14
- package/dist/chunks/{model-resolver-441t0f96.js → location-lifecycle-4kvcdqtc.js} +19 -19
- package/dist/chunks/{model-resolver-82yxh1jw.js → location-lifecycle-4r0krj9x.js} +66 -66
- package/dist/chunks/{model-resolver-54ma36ye.js → location-lifecycle-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-cxmf2e7g.js → location-lifecycle-57bc6f18.js} +11 -11
- package/dist/chunks/{model-resolver-mpcy8gn6.js → location-lifecycle-5bypn351.js} +17 -17
- package/dist/chunks/{model-resolver-fn31w4wy.js → location-lifecycle-5g77fkxp.js} +46 -46
- package/dist/chunks/{model-resolver-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-bn17cr6t.js → location-lifecycle-5p48g648.js} +9 -9
- package/dist/chunks/{model-resolver-fvv6bh70.js → location-lifecycle-5qkpwwn3.js} +38 -38
- package/dist/chunks/{model-resolver-5vz9tnw0.js → location-lifecycle-5x03bzds.js} +33 -33
- package/dist/chunks/{model-resolver-marc2kh3.js → location-lifecycle-5z2y2tww.js} +5 -5
- package/dist/chunks/{model-resolver-cdvtns70.js → location-lifecycle-5zaqnmf3.js} +11 -11
- package/dist/chunks/{model-resolver-fap8k071.js → location-lifecycle-61jp4ft7.js} +28 -28
- package/dist/chunks/{model-resolver-szmxrtqy.js → location-lifecycle-655htm3h.js} +25 -25
- package/dist/chunks/{model-resolver-v0es1rhs.js → location-lifecycle-6g7e4dd5.js} +7 -7
- package/dist/chunks/{model-resolver-06x3rahg.js → location-lifecycle-6h8kwqeh.js} +41 -41
- package/dist/chunks/{model-resolver-j783qryr.js → location-lifecycle-6kds5f0y.js} +19 -19
- package/dist/chunks/{model-resolver-prqm0sca.js → location-lifecycle-6vhdv8py.js} +21 -21
- package/dist/chunks/{model-resolver-6xb47vfp.js → location-lifecycle-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-g6yfr6ja.js → location-lifecycle-6yz0wx8n.js} +5 -5
- package/dist/chunks/{model-resolver-919e710a.js → location-lifecycle-75wx19f3.js} +16 -16
- package/dist/chunks/{model-resolver-g8ytx0e6.js → location-lifecycle-77f241gp.js} +11 -11
- package/dist/chunks/{model-resolver-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-tzv38x6s.js → location-lifecycle-7gm1s7vn.js} +9 -9
- package/dist/chunks/{model-resolver-swgbw52f.js → location-lifecycle-7ns4h9qj.js} +24 -24
- package/dist/chunks/{model-resolver-sqnpa33e.js → location-lifecycle-7yehbv00.js} +22 -22
- package/dist/chunks/{model-resolver-phz50fbd.js → location-lifecycle-80z0vyq9.js} +9 -9
- package/dist/chunks/{model-resolver-82v73sw7.js → location-lifecycle-82v73sw7.js} +3 -3
- package/dist/chunks/{model-resolver-3vk79hma.js → location-lifecycle-84srr8sk.js} +27 -27
- package/dist/chunks/{model-resolver-84txncab.js → location-lifecycle-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-8m6m0r52.js → location-lifecycle-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-1r4t7yrp.js → location-lifecycle-8tw91tkq.js} +13 -13
- package/dist/chunks/{model-resolver-j34wrdzx.js → location-lifecycle-94hyy9p8.js} +20 -20
- package/dist/chunks/{model-resolver-1bmjn0qh.js → location-lifecycle-967benbv.js} +11 -11
- package/dist/chunks/{model-resolver-xx5ebepc.js → location-lifecycle-96kj8cwg.js} +8 -8
- package/dist/chunks/{model-resolver-5h8e5fx8.js → location-lifecycle-9fxd0sqg.js} +3 -3
- package/dist/chunks/{model-resolver-pjsqfx9m.js → location-lifecycle-9mdv1d98.js} +7 -7
- package/dist/chunks/{model-resolver-9y9sk2j9.js → location-lifecycle-9pa8tak9.js} +2 -2
- package/dist/chunks/{model-resolver-b0e9q3fp.js → location-lifecycle-9r52z157.js} +23 -23
- package/dist/chunks/{model-resolver-f5ez8c8z.js → location-lifecycle-9swev3h6.js} +43 -43
- package/dist/chunks/{model-resolver-9dzan21f.js → location-lifecycle-9v68mfnb.js} +19 -19
- package/dist/chunks/{model-resolver-m3z7xbwy.js → location-lifecycle-a0n6exbw.js} +14 -14
- package/dist/chunks/{model-resolver-n8abgy3f.js → location-lifecycle-a19t4err.js} +18 -18
- package/dist/chunks/{model-resolver-0xqyf95c.js → location-lifecycle-a2rpfkac.js} +4 -4
- package/dist/chunks/{model-resolver-pd9eacgd.js → location-lifecycle-a8rwbr8f.js} +3 -3
- package/dist/chunks/{model-resolver-dktjxkrs.js → location-lifecycle-a9jxs3zq.js} +12 -12
- package/dist/chunks/{model-resolver-vnyh837f.js → location-lifecycle-abq4b7vr.js} +11 -11
- package/dist/chunks/{model-resolver-fn81mdd0.js → location-lifecycle-ad0dfw77.js} +14 -14
- package/dist/chunks/{model-resolver-417bfng8.js → location-lifecycle-ae2ja33d.js} +1 -1
- package/dist/chunks/{model-resolver-6ag0d22y.js → location-lifecycle-aes07t5d.js} +27 -27
- package/dist/chunks/{model-resolver-w9967290.js → location-lifecycle-ak8swmp6.js} +4 -4
- package/dist/chunks/{model-resolver-zb2x20sc.js → location-lifecycle-amn1e70c.js} +47 -47
- package/dist/chunks/{model-resolver-dk561135.js → location-lifecycle-anmnpmtg.js} +179 -179
- package/dist/chunks/{model-resolver-3h8exvak.js → location-lifecycle-aq9ckvhx.js} +7 -7
- package/dist/chunks/{model-resolver-eg50qbbf.js → location-lifecycle-asepkprt.js} +11 -11
- package/dist/chunks/{model-resolver-7rz6x76s.js → location-lifecycle-awntss42.js} +17 -17
- package/dist/chunks/{model-resolver-p9wpme1z.js → location-lifecycle-awx41cz5.js} +32 -32
- package/dist/chunks/{model-resolver-02109bm9.js → location-lifecycle-b81pasjt.js} +36 -36
- package/dist/chunks/{model-resolver-9xk3tkyn.js → location-lifecycle-bgs5hnc4.js} +2 -2
- package/dist/chunks/{model-resolver-ak272w8q.js → location-lifecycle-bmv9xskc.js} +17 -17
- package/dist/chunks/{model-resolver-c96p78my.js → location-lifecycle-bnab55y4.js} +26 -26
- package/dist/chunks/{model-resolver-nd4ztp9d.js → location-lifecycle-bprx1nge.js} +20 -20
- package/dist/chunks/{model-resolver-ac6rad81.js → location-lifecycle-bqrc966q.js} +33 -33
- package/dist/chunks/{model-resolver-pa8pe2x7.js → location-lifecycle-br0tr5aq.js} +8 -8
- package/dist/chunks/{model-resolver-jexst7yn.js → location-lifecycle-bwjz0m26.js} +5 -5
- package/dist/chunks/location-lifecycle-by5v678g.js +18 -0
- package/dist/chunks/{model-resolver-c1fqxshp.js → location-lifecycle-c1fqxshp.js} +3 -3
- package/dist/chunks/{model-resolver-0tw7g2xy.js → location-lifecycle-cch3v6bh.js} +22 -22
- package/dist/chunks/{model-resolver-qb9gv935.js → location-lifecycle-cfqdqy2g.js} +50 -50
- package/dist/chunks/{model-resolver-xsgk3b13.js → location-lifecycle-cnb1p1jt.js} +9 -9
- package/dist/chunks/{model-resolver-9jm48qcm.js → location-lifecycle-cygea0zj.js} +15 -15
- package/dist/chunks/{model-resolver-kba6jxm6.js → location-lifecycle-cyrbmnac.js} +31 -31
- package/dist/chunks/{model-resolver-dve7h5ag.js → location-lifecycle-dbmkbee3.js} +8 -8
- package/dist/chunks/{model-resolver-rwtdcz07.js → location-lifecycle-djkw7hhp.js} +5 -5
- package/dist/chunks/{model-resolver-xfkkasph.js → location-lifecycle-drwq78ky.js} +4 -4
- package/dist/chunks/{model-resolver-yjjmcma8.js → location-lifecycle-dtwm1tax.js} +6 -6
- package/dist/chunks/location-lifecycle-dx94m53r.js +253 -0
- package/dist/chunks/{model-resolver-wk5z6jzv.js → location-lifecycle-dxcm25gw.js} +9 -9
- package/dist/chunks/{model-resolver-q6s6pgqb.js → location-lifecycle-dxv9s308.js} +8 -8
- package/dist/chunks/{model-resolver-wr96sv2x.js → location-lifecycle-dzh8fddn.js} +11 -11
- package/dist/chunks/{model-resolver-5qd3pb7m.js → location-lifecycle-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-p87mzm6w.js → location-lifecycle-e734y0rc.js} +27 -27
- package/dist/chunks/{model-resolver-r2z489rp.js → location-lifecycle-e80seqcp.js} +3 -3
- package/dist/chunks/{model-resolver-epachyah.js → location-lifecycle-ebvjyxwn.js} +23 -23
- package/dist/chunks/{model-resolver-3z8z2wmt.js → location-lifecycle-ee3kve5w.js} +30 -30
- package/dist/chunks/{model-resolver-eej6y6fw.js → location-lifecycle-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/location-lifecycle-en5mj5kv.js +26 -0
- package/dist/chunks/{model-resolver-5scx92s4.js → location-lifecycle-f1rtb6kz.js} +15 -15
- package/dist/chunks/{model-resolver-w9ss6waz.js → location-lifecycle-f231wx9q.js} +5 -5
- package/dist/chunks/{model-resolver-mb4hkkb7.js → location-lifecycle-f5k2rc5r.js} +18 -18
- package/dist/chunks/{model-resolver-w1wkdht8.js → location-lifecycle-fa9x79yn.js} +44 -44
- package/dist/chunks/{model-resolver-jeetaxze.js → location-lifecycle-faee244n.js} +31 -31
- package/dist/chunks/{model-resolver-3s50mzfh.js → location-lifecycle-fbm7612v.js} +21 -21
- package/dist/chunks/{model-resolver-yj48h56k.js → location-lifecycle-fbmmy6he.js} +1 -1
- package/dist/chunks/{model-resolver-2k8khapm.js → location-lifecycle-fcrkznn8.js} +5 -5
- package/dist/chunks/{model-resolver-kkeea6r4.js → location-lifecycle-fmsmkrfv.js} +14 -14
- package/dist/chunks/{model-resolver-ftdzjz2b.js → location-lifecycle-frz8dvr7.js} +8 -8
- package/dist/chunks/{model-resolver-166kng33.js → location-lifecycle-g1sxm558.js} +8 -8
- package/dist/chunks/{model-resolver-gqj52n1c.js → location-lifecycle-g4e52jqe.js} +34 -34
- package/dist/chunks/{model-resolver-zbge2zce.js → location-lifecycle-g4fjyf8f.js} +20 -20
- package/dist/chunks/{model-resolver-57r5x0t2.js → location-lifecycle-g6862re2.js} +3 -3
- package/dist/chunks/{model-resolver-cwa6csj7.js → location-lifecycle-g6q9qykm.js} +9 -9
- package/dist/chunks/{model-resolver-vg7sgs10.js → location-lifecycle-g6t04893.js} +6 -6
- package/dist/chunks/{model-resolver-bq2txs8q.js → location-lifecycle-g8ebx456.js} +22 -22
- package/dist/chunks/{model-resolver-sn7hzvv7.js → location-lifecycle-g9d4987m.js} +8 -8
- package/dist/chunks/{model-resolver-z844we1n.js → location-lifecycle-gb0ama4z.js} +15 -15
- package/dist/chunks/{model-resolver-4cqrs0n6.js → location-lifecycle-gb61zkbz.js} +45 -45
- package/dist/chunks/{model-resolver-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-t9svvg0h.js → location-lifecycle-gk0hcwkm.js} +45 -45
- package/dist/chunks/{model-resolver-gk8qb678.js → location-lifecycle-gk8qb678.js} +1 -1
- package/dist/chunks/{model-resolver-994edmm0.js → location-lifecycle-gvxc4mwh.js} +9 -9
- package/dist/chunks/{model-resolver-zk200rm0.js → location-lifecycle-h3nz7mcg.js} +35 -35
- package/dist/chunks/{model-resolver-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-h7s7r6s9.js → location-lifecycle-h7s7r6s9.js} +2 -2
- package/dist/chunks/{model-resolver-d2czbp48.js → location-lifecycle-h9wp8z5w.js} +4 -4
- package/dist/chunks/{model-resolver-hgz4x7wa.js → location-lifecycle-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-8bevyx89.js → location-lifecycle-hqwpz42e.js} +18 -18
- package/dist/chunks/{model-resolver-9zzbt219.js → location-lifecycle-j4pd1yjr.js} +35 -35
- package/dist/chunks/{model-resolver-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-zb5axp11.js → location-lifecycle-j8jzeb1a.js} +22 -22
- package/dist/chunks/{model-resolver-c1qje4fs.js → location-lifecycle-j9gqegwm.js} +13 -13
- package/dist/chunks/{model-resolver-wajt81dh.js → location-lifecycle-jad29e9f.js} +4 -4
- package/dist/chunks/{model-resolver-gz4an1ee.js → location-lifecycle-jczsc8k4.js} +13 -13
- package/dist/chunks/{model-resolver-4kx48zyc.js → location-lifecycle-jhpe1hp7.js} +53 -53
- package/dist/chunks/{model-resolver-y71avatq.js → location-lifecycle-jwcy2c2z.js} +4 -4
- package/dist/chunks/{model-resolver-e7hvkerb.js → location-lifecycle-k0t2k5wc.js} +18 -18
- package/dist/chunks/{model-resolver-kbxf31ae.js → location-lifecycle-k63qe1sp.js} +8 -8
- package/dist/chunks/{model-resolver-2qb9hhet.js → location-lifecycle-kghtfdbb.js} +4 -4
- package/dist/chunks/{model-resolver-rpg9c19m.js → location-lifecycle-kne8f3cn.js} +4 -4
- package/dist/chunks/{model-resolver-mv3hx7wz.js → location-lifecycle-kqv3x6rj.js} +9 -9
- package/dist/chunks/{model-resolver-tstyx0bk.js → location-lifecycle-kyrz8zn6.js} +21 -21
- package/dist/chunks/{model-resolver-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-yd2ajj40.js → location-lifecycle-m3p9q8j7.js} +3 -3
- package/dist/chunks/{model-resolver-5g76t4e4.js → location-lifecycle-m3xmecxp.js} +5 -5
- package/dist/chunks/{model-resolver-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-fvdaa6vy.js → location-lifecycle-mfq098pv.js} +4 -4
- package/dist/chunks/{model-resolver-8yqvnfyq.js → location-lifecycle-mka9b5rm.js} +32 -32
- package/dist/chunks/{model-resolver-rjcpa5nc.js → location-lifecycle-mmf7wq4z.js} +19 -19
- package/dist/chunks/{model-resolver-sdp95c92.js → location-lifecycle-mvzhqjsx.js} +22 -22
- package/dist/chunks/{model-resolver-addxnjmp.js → location-lifecycle-mxvxcxwy.js} +4 -4
- package/dist/chunks/{model-resolver-jmdmw3r0.js → location-lifecycle-n0k9bg94.js} +20 -20
- package/dist/chunks/{model-resolver-296y5446.js → location-lifecycle-n2wwaqca.js} +9 -9
- package/dist/chunks/{model-resolver-mwd4tg70.js → location-lifecycle-nmjrpg50.js} +3 -3
- package/dist/chunks/{model-resolver-pwmn6ytf.js → location-lifecycle-p2j94qqc.js} +28 -28
- package/dist/chunks/{model-resolver-w2439tpj.js → location-lifecycle-p7te4x8n.js} +35 -35
- package/dist/chunks/{model-resolver-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-bsh0mdra.js → location-lifecycle-pm1pc773.js} +23 -23
- package/dist/chunks/{model-resolver-qewxwmfb.js → location-lifecycle-psjd2sc5.js} +14 -14
- package/dist/chunks/{model-resolver-awzfjsn4.js → location-lifecycle-pxazdvs8.js} +11 -11
- package/dist/chunks/{model-resolver-2fk733kj.js → location-lifecycle-pyk91dkn.js} +26 -26
- package/dist/chunks/{model-resolver-gcd08e9f.js → location-lifecycle-pzb3nn1p.js} +29 -29
- package/dist/chunks/{model-resolver-gd92bhwj.js → location-lifecycle-q59nxm0q.js} +32 -32
- package/dist/chunks/{model-resolver-945z4yyk.js → location-lifecycle-q68sktqd.js} +3 -3
- package/dist/chunks/{model-resolver-yr1zkagz.js → location-lifecycle-qg9msnvz.js} +15 -15
- package/dist/chunks/{model-resolver-ha75s6x0.js → location-lifecycle-qj725xts.js} +24 -24
- package/dist/chunks/{model-resolver-b10239s2.js → location-lifecycle-qm3agrec.js} +5 -5
- package/dist/chunks/{model-resolver-dag1y9ch.js → location-lifecycle-qm9p7w5y.js} +18 -18
- package/dist/chunks/{model-resolver-qnc92qwc.js → location-lifecycle-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-phphykcr.js → location-lifecycle-qvqmc08h.js} +14 -14
- package/dist/chunks/{model-resolver-7sg20anq.js → location-lifecycle-qwz27w7r.js} +11 -11
- package/dist/chunks/{model-resolver-2nrgk0xt.js → location-lifecycle-r3cd65ym.js} +11 -11
- package/dist/chunks/{model-resolver-gygd4kfq.js → location-lifecycle-r56w6nnc.js} +18 -18
- package/dist/chunks/{model-resolver-n04ey09n.js → location-lifecycle-r5701ys8.js} +9 -9
- package/dist/chunks/{model-resolver-edrmdtr5.js → location-lifecycle-ratrq7cm.js} +7 -7
- package/dist/chunks/{model-resolver-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-rert0e01.js → location-lifecycle-rert0e01.js} +2 -2
- package/dist/chunks/{model-resolver-rj3eygr5.js → location-lifecycle-rj3eygr5.js} +2 -2
- package/dist/chunks/{model-resolver-9kgj0kft.js → location-lifecycle-rj9xrg2v.js} +9 -9
- package/dist/chunks/{model-resolver-8sze2n9a.js → location-lifecycle-rkprpv83.js} +6 -6
- package/dist/chunks/{model-resolver-mtrbqqrq.js → location-lifecycle-rmk2c50f.js} +5 -5
- package/dist/chunks/{model-resolver-wvsncfxf.js → location-lifecycle-rr3weggp.js} +37 -37
- package/dist/chunks/{model-resolver-sa8ekw3f.js → location-lifecycle-sa8ekw3f.js} +2 -2
- package/dist/chunks/{model-resolver-6f8jk56b.js → location-lifecycle-schtynah.js} +13 -13
- package/dist/chunks/{model-resolver-w3x9v1nk.js → location-lifecycle-sm965ndy.js} +8 -8
- package/dist/chunks/{model-resolver-amg4xdsh.js → location-lifecycle-szh3b417.js} +7 -7
- package/dist/chunks/{model-resolver-t9ndgpv6.js → location-lifecycle-t4nrfn38.js} +16 -16
- package/dist/chunks/{model-resolver-9p3kpytz.js → location-lifecycle-t4sdmq02.js} +12 -12
- package/dist/chunks/{model-resolver-s8d7rejh.js → location-lifecycle-t550f9t1.js} +4 -4
- package/dist/chunks/{model-resolver-jsebsn03.js → location-lifecycle-t7esfyzn.js} +28 -28
- package/dist/chunks/{model-resolver-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-3d0phw7c.js → location-lifecycle-tbv8tyzv.js} +10 -10
- package/dist/chunks/{model-resolver-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-jngnr97q.js → location-lifecycle-tk335m94.js} +3 -3
- package/dist/chunks/{model-resolver-zn0ert38.js → location-lifecycle-tsxt06h7.js} +36 -36
- package/dist/chunks/{model-resolver-tyytaxap.js → location-lifecycle-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-4przawg5.js → location-lifecycle-v3jfse46.js} +20 -20
- package/dist/chunks/{model-resolver-fepyq996.js → location-lifecycle-v5sjwmkf.js} +24 -24
- package/dist/chunks/{model-resolver-v7p4zvkq.js → location-lifecycle-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-354rzadz.js → location-lifecycle-vfzxy0g3.js} +9 -9
- package/dist/chunks/{model-resolver-1afynxeq.js → location-lifecycle-vk541pqa.js} +11 -11
- package/dist/chunks/{model-resolver-te00j1ws.js → location-lifecycle-vnj09mcj.js} +56 -56
- package/dist/chunks/{model-resolver-vzs5sf6e.js → location-lifecycle-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-35qm576s.js → location-lifecycle-w0gp0t2n.js} +26 -26
- package/dist/chunks/{model-resolver-yf4jcbx9.js → location-lifecycle-w21bzq9q.js} +6 -6
- package/dist/chunks/{model-resolver-6y5zez5f.js → location-lifecycle-w28a1kpt.js} +3 -3
- package/dist/chunks/{model-resolver-hq17sxqt.js → location-lifecycle-w2w3qtz3.js} +24 -24
- package/dist/chunks/{model-resolver-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-ayxk6fbx.js → location-lifecycle-waq5f2sm.js} +4 -4
- package/dist/chunks/{model-resolver-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-b3f8fkhc.js → location-lifecycle-wecqtg5s.js} +5 -5
- package/dist/chunks/{model-resolver-tej3kksn.js → location-lifecycle-wfpxypr0.js} +5 -5
- package/dist/chunks/{model-resolver-zvmh6f2g.js → location-lifecycle-wjn89bc3.js} +4 -4
- package/dist/chunks/{model-resolver-hbvkm7kv.js → location-lifecycle-x3f4jna4.js} +12 -12
- package/dist/chunks/{model-resolver-jt6k9mvv.js → location-lifecycle-xd1efx9s.js} +12 -12
- package/dist/chunks/{model-resolver-0b2y7y4w.js → location-lifecycle-xp2aqky5.js} +11 -11
- package/dist/chunks/{model-resolver-j5mg2fvs.js → location-lifecycle-xs4xjmtd.js} +15 -15
- package/dist/chunks/{model-resolver-ajzsbz6h.js → location-lifecycle-xz8qpa4w.js} +11 -11
- package/dist/chunks/{model-resolver-w93zsvx3.js → location-lifecycle-y045f6c9.js} +11 -11
- package/dist/chunks/{model-resolver-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-f0nys67z.js → location-lifecycle-y4b589kx.js} +4 -4
- package/dist/chunks/{model-resolver-yp2x3t23.js → location-lifecycle-yp2x3t23.js} +1 -1
- package/dist/chunks/{model-resolver-xybefm6f.js → location-lifecycle-yqc6bamn.js} +1 -1
- package/dist/chunks/{model-resolver-d5ebnksf.js → location-lifecycle-yqvgthwn.js} +38 -38
- package/dist/chunks/{model-resolver-beg82wzm.js → location-lifecycle-yrty3ce8.js} +11 -11
- package/dist/chunks/{model-resolver-1ffvrpkg.js → location-lifecycle-ywt8jp22.js} +6 -6
- package/dist/chunks/{model-resolver-tt8md0qn.js → location-lifecycle-z053t38h.js} +30 -30
- package/dist/chunks/{model-resolver-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-0whq6q5g.js → location-lifecycle-z3gzkkbc.js} +10 -10
- package/dist/chunks/location-lifecycle-z9dtdhmp.js +513 -0
- package/dist/chunks/{model-resolver-6hspkkmf.js → location-lifecycle-zkc4c63m.js} +11 -11
- package/dist/chunks/{model-resolver-pbycz9cj.js → location-lifecycle-zqxhvsh4.js} +11 -11
- package/dist/chunks/{model-resolver-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-9q1zjnbs.js → location-lifecycle-zswmcr5r.js} +16 -16
- package/dist/chunks/{model-resolver-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- 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 +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +95 -95
- 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 +76 -76
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- 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 +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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 +93 -93
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- 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 +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- 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 +93 -93
- package/dist/model-resolver.js +100 -100
- 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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- 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 +119 -119
- package/dist/plugin/optimize.js +4 -4
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +92 -92
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- 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 +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +85 -85
- 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 +137 -137
- 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 +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +122 -122
- package/dist/session/model-transport.js +9 -9
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- 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 +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- 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 +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- 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 +8 -8
- 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 +5 -5
- package/dist/v1/config/error.js +4 -4
- 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/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- 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/model-resolver-4q07qs98.js +0 -26
- package/dist/chunks/model-resolver-97bx4pax.js +0 -253
- package/dist/chunks/model-resolver-9vzsvt7d.js +0 -513
- package/dist/chunks/model-resolver-9zdhvgqs.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → location-lifecycle-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → location-lifecycle-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → location-lifecycle-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-bw78ga2c.js → location-lifecycle-bw78ga2c.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → location-lifecycle-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → location-lifecycle-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → location-lifecycle-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → location-lifecycle-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → location-lifecycle-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-zswmcr5r.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service78,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node82,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service78 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service78, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node82 = LayerNode.unbound(Service78, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service78;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service78, node82, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service83,
|
|
7
|
-
node87
|
|
8
|
-
} from "./model-resolver-dktjxkrs.js";
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-lifecycle-3hs6nf8k.js";
|
|
9
5
|
import {
|
|
10
6
|
Service81,
|
|
11
7
|
node85
|
|
12
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-a9jxs3zq.js";
|
|
9
|
+
import {
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./location-lifecycle-zswmcr5r.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-by5v678g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service69,
|
|
18
|
+
node73
|
|
19
|
+
} from "./location-lifecycle-v5sjwmkf.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node18
|
|
22
|
+
} from "./location-lifecycle-cch3v6bh.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service6,
|
|
25
|
+
node8
|
|
26
|
+
} from "./location-lifecycle-g6q9qykm.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
@@ -43,12 +43,12 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
45
|
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service69;
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
|
+
const policy = yield* Service6;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
105
105
|
var node2 = makeLocationNode({
|
|
106
106
|
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node73, FSUtil.node, node83, node85, node86, node18, node8]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-lifecycle-3hs6nf8k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./location-lifecycle-zswmcr5r.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service65,
|
|
14
|
+
node69
|
|
15
|
+
} from "./location-lifecycle-27x7nwk8.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service8,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node10
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service8 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service65;
|
|
41
|
+
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service8.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 node10 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node86, FSUtil.node, node83, node69]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service8, node10, exports_instructions };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service5,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service5 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service5.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node7 = makeGlobalNode({ service: Service5, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service5, node7, exports_discovery };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-lifecycle-3hs6nf8k.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
Agent: () => exports_agent3,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event12,
|
|
18
|
+
ID: () => ID10,
|
|
19
|
+
Info: () => Info13,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service66,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node70
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event12 } from "@opencode/schema/agent";
|
|
29
|
+
var ID10 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID10.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info13 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service66 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service82;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
41
41
|
initial: () => ({ agents: new Map }),
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info13.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID10.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service66.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID10.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID10.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node70 = makeLocationNode({ service: Service66, layer, deps: [node86] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID10, Name3, defaultID2, Color2, Info13, Service66, node70, exports_agent3, Event12 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./location-lifecycle-3hs6nf8k.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service13,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer8,
|
|
17
|
+
node: () => node15
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service13 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer8 = Layer.effect(Service13, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service82;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service13.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node15 = makeGlobalNode({ service: Service13, layer: layer8, deps: [node86] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service13, layer8, node15, exports_sdk };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./location-lifecycle-jhpe1hp7.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin29,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name10 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input10 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input10.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin29 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service63;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name10,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input10,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin14 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name10,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name10, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input10, Plugin29, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info18
|
|
7
|
+
} from "./location-lifecycle-kqv3x6rj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-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: () => Info17
|
|
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(Info18)
|
|
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 Info17 = 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 { Info17, exports_agent4 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-ywt8jp22.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin38,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin38 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin19 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin38, exports_exa };
|