@opencode/core 0.0.0-dev-21217 → 0.0.0-dev-21221
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{model-resolver-hcctc9zp.js → plugin-070qhrs5.js} +15 -15
- package/dist/chunks/{model-resolver-sqzn8pe6.js → plugin-0jzagckz.js} +5 -5
- package/dist/chunks/{model-resolver-bqjm0jxv.js → plugin-0keg1444.js} +17 -17
- package/dist/chunks/{model-resolver-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-dtpwe7mt.js → plugin-0xvt5sjc.js} +24 -24
- package/dist/chunks/{model-resolver-mmfyj663.js → plugin-0z0xt0qd.js} +6 -6
- package/dist/chunks/{model-resolver-nn79enrz.js → plugin-10fabjt5.js} +20 -20
- package/dist/chunks/{model-resolver-rya4vhfs.js → plugin-115n69wy.js} +3 -3
- package/dist/chunks/{model-resolver-hffd0g87.js → plugin-12c79r2r.js} +32 -32
- package/dist/chunks/{model-resolver-9qcwqr22.js → plugin-198d9mzv.js} +9 -9
- package/dist/chunks/{model-resolver-tseh174d.js → plugin-1aw4gej2.js} +5 -5
- package/dist/chunks/{model-resolver-bk729ph4.js → plugin-1cm76eae.js} +10 -10
- package/dist/chunks/{model-resolver-2g2537yg.js → plugin-1dbhy73q.js} +30 -30
- package/dist/chunks/{model-resolver-gneezttj.js → plugin-1kppp5pt.js} +17 -17
- package/dist/chunks/plugin-1njtfd0a.js +513 -0
- package/dist/chunks/{model-resolver-an964k1c.js → plugin-23m508yx.js} +42 -42
- package/dist/chunks/{model-resolver-gbjwtbd9.js → plugin-285gq72j.js} +22 -22
- package/dist/chunks/{model-resolver-h78bwqxj.js → plugin-2eeghdqz.js} +8 -8
- package/dist/chunks/{model-resolver-b8nsy2hb.js → plugin-2kjyncz9.js} +25 -25
- package/dist/chunks/{model-resolver-251hxpd6.js → plugin-2s32b1pm.js} +2 -2
- package/dist/chunks/{model-resolver-6sbrks22.js → plugin-2t4agt4b.js} +23 -23
- package/dist/chunks/{model-resolver-6fjj7as2.js → plugin-37n2n5w8.js} +34 -34
- package/dist/chunks/{model-resolver-7essg1m7.js → plugin-3d3j723h.js} +21 -21
- package/dist/chunks/{model-resolver-hb55tnnt.js → plugin-3esnsjw3.js} +20 -20
- package/dist/chunks/{model-resolver-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-8vwbc7ar.js → plugin-3hw0jsnb.js} +11 -11
- package/dist/chunks/{model-resolver-3hwn7j4h.js → plugin-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-3qggjg35.js → plugin-3jt410q4.js} +11 -11
- package/dist/chunks/{model-resolver-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-kvtrcex4.js → plugin-402zq5v7.js} +6 -6
- package/dist/chunks/{model-resolver-ne1mykpf.js → plugin-41kcpbvh.js} +15 -15
- package/dist/chunks/{model-resolver-2as59qfs.js → plugin-4aetnq1x.js} +26 -26
- package/dist/chunks/{model-resolver-9m8rc5s1.js → plugin-4j2dn6hj.js} +21 -21
- package/dist/chunks/{model-resolver-2ptzzrc3.js → plugin-4t8sy717.js} +11 -11
- package/dist/chunks/{model-resolver-3cf2r952.js → plugin-4yp6x2d7.js} +48 -48
- package/dist/chunks/{model-resolver-w671cn4t.js → plugin-50t92zds.js} +3 -3
- package/dist/chunks/{model-resolver-dcvezt5m.js → plugin-52amxzsm.js} +11 -11
- package/dist/chunks/{model-resolver-54ma36ye.js → plugin-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-1akz5k8x.js → plugin-59bj5a5r.js} +17 -17
- package/dist/chunks/{model-resolver-2ma89jv6.js → plugin-5aajkd2s.js} +8 -8
- package/dist/chunks/{model-resolver-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-hrfe9a92.js → plugin-62f7d5w0.js} +4 -4
- package/dist/chunks/{model-resolver-gd18f05q.js → plugin-64p25grz.js} +4 -4
- package/dist/chunks/{model-resolver-6827pfxn.js → plugin-6827pfxn.js} +1 -1
- package/dist/chunks/{model-resolver-20d11vtm.js → plugin-69j7zs37.js} +11 -11
- package/dist/chunks/{model-resolver-qm0v3jhh.js → plugin-6hh8tjw2.js} +7 -7
- package/dist/chunks/{model-resolver-cszqzecc.js → plugin-6ksqsqek.js} +49 -49
- package/dist/chunks/{model-resolver-g77tvx5r.js → plugin-6vsk51wk.js} +26 -26
- package/dist/chunks/{model-resolver-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-fan8d53n.js → plugin-740rcxm9.js} +45 -45
- package/dist/chunks/{model-resolver-t5x8hzxm.js → plugin-74f1t3k7.js} +5 -5
- package/dist/chunks/{model-resolver-rpgkwa3n.js → plugin-76rvckpe.js} +5 -5
- package/dist/chunks/{model-resolver-775gj3j1.js → plugin-775gj3j1.js} +2 -2
- package/dist/chunks/{model-resolver-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-pwke049s.js → plugin-7qtm0zjx.js} +11 -11
- package/dist/chunks/{model-resolver-19pwa69y.js → plugin-7z8fh6ek.js} +14 -14
- package/dist/chunks/{model-resolver-84txncab.js → plugin-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-afrtgck4.js → plugin-86qzxe6p.js} +4 -4
- package/dist/chunks/{model-resolver-x1gmdrfj.js → plugin-888qj2e2.js} +26 -26
- package/dist/chunks/{model-resolver-9c3np669.js → plugin-89bb6baa.js} +8 -8
- package/dist/chunks/{model-resolver-szyc73at.js → plugin-8aj8cqg2.js} +10 -10
- package/dist/chunks/{model-resolver-ryy6axj8.js → plugin-8ef59yay.js} +17 -17
- package/dist/chunks/{model-resolver-8m6m0r52.js → plugin-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-7gyj6esr.js → plugin-8mwrernq.js} +5 -5
- package/dist/chunks/{model-resolver-fc3ht4av.js → plugin-93zcbdft.js} +9 -9
- package/dist/chunks/{model-resolver-av8er3sd.js → plugin-94rjkma0.js} +52 -52
- package/dist/chunks/{model-resolver-me1tk061.js → plugin-9765jw9y.js} +25 -25
- package/dist/chunks/{model-resolver-yx43cpvh.js → plugin-9q7jyg7c.js} +11 -11
- package/dist/chunks/{model-resolver-sfx39rch.js → plugin-9q9bjydx.js} +15 -15
- package/dist/chunks/{model-resolver-yxh0a6hh.js → plugin-9rf0tb8v.js} +7 -7
- package/dist/chunks/{model-resolver-6dy3z8jq.js → plugin-9sx8p9wy.js} +14 -14
- package/dist/chunks/{model-resolver-w6yk5t5r.js → plugin-a8nkje97.js} +11 -11
- package/dist/chunks/{model-resolver-j1qs7m2z.js → plugin-aa8m7hpg.js} +11 -11
- package/dist/chunks/{model-resolver-c5ggqzvz.js → plugin-aacha31a.js} +5 -5
- package/dist/chunks/{model-resolver-j9vrzzxk.js → plugin-ab430ytr.js} +25 -25
- package/dist/chunks/{model-resolver-7veq4nhk.js → plugin-ac8yy21c.js} +4 -4
- package/dist/chunks/{model-resolver-pntd7sjn.js → plugin-afa2wr9d.js} +39 -39
- package/dist/chunks/{model-resolver-7jt6fz4t.js → plugin-ahbff7y9.js} +179 -179
- package/dist/chunks/{model-resolver-dr0x4ah1.js → plugin-am0k9m0x.js} +15 -15
- package/dist/chunks/{model-resolver-nyfqhcsj.js → plugin-as9zhty2.js} +25 -25
- package/dist/chunks/{model-resolver-3k2jyg7g.js → plugin-b3z8ymyn.js} +5 -5
- package/dist/chunks/{model-resolver-s8pbrmg6.js → plugin-bjjrptk6.js} +36 -36
- package/dist/chunks/{model-resolver-wjr9rjd7.js → plugin-bjx1sjef.js} +6 -6
- package/dist/chunks/{model-resolver-8pddcv4v.js → plugin-bn0s77k4.js} +13 -13
- package/dist/chunks/{model-resolver-7mw2kz3n.js → plugin-bs9schwq.js} +14 -14
- package/dist/chunks/{model-resolver-6fatt4mk.js → plugin-bydnjh3t.js} +9 -9
- package/dist/chunks/{model-resolver-n30s8s5w.js → plugin-bz1taw9s.js} +6 -6
- package/dist/chunks/{model-resolver-bzeyqsqd.js → plugin-bzeyqsqd.js} +1 -1
- package/dist/chunks/{model-resolver-2018zjzj.js → plugin-c0jmgjpk.js} +62 -62
- package/dist/chunks/{model-resolver-n8pfqjpz.js → plugin-c0vgfjee.js} +26 -26
- package/dist/chunks/{model-resolver-m33tnjc0.js → plugin-c1f210cy.js} +13 -13
- package/dist/chunks/{model-resolver-rj3eygr5.js → plugin-c41wscbt.js} +2 -2
- package/dist/chunks/{model-resolver-51048t4e.js → plugin-c6cjq7nb.js} +16 -16
- package/dist/chunks/plugin-c7z020gt.js +257 -0
- package/dist/chunks/{model-resolver-gq1dj4gx.js → plugin-c83qkf90.js} +22 -22
- package/dist/chunks/{model-resolver-sa8ekw3f.js → plugin-c8ax2afj.js} +2 -2
- package/dist/chunks/{model-resolver-hz5mwsbb.js → plugin-cj8qh2kh.js} +15 -15
- package/dist/chunks/{model-resolver-1ce86eqw.js → plugin-ckenc1yr.js} +14 -14
- package/dist/chunks/{model-resolver-cke7p0w4.js → plugin-cmrk9ec6.js} +5 -5
- package/dist/chunks/{model-resolver-gnxydz9t.js → plugin-cnjds07p.js} +32 -32
- package/dist/chunks/{model-resolver-s3r8kk34.js → plugin-cq3j3qrj.js} +11 -11
- package/dist/chunks/{model-resolver-016wd0ym.js → plugin-cse4gz6e.js} +27 -27
- package/dist/chunks/{model-resolver-4es9x8nx.js → plugin-cvz808pw.js} +11 -11
- package/dist/chunks/{model-resolver-5a31cw09.js → plugin-cy1jkq5t.js} +3 -3
- package/dist/chunks/{model-resolver-d1a28jh7.js → plugin-d1a28jh7.js} +2 -2
- package/dist/chunks/{model-resolver-6hprzzq9.js → plugin-d7x0sh0y.js} +9 -9
- package/dist/chunks/{model-resolver-r50qz80j.js → plugin-d9qxn0qv.js} +29 -29
- package/dist/chunks/{model-resolver-jvt1m3jn.js → plugin-df0nygd0.js} +7 -7
- package/dist/chunks/{model-resolver-0etcqt1e.js → plugin-djfcc8tb.js} +24 -24
- package/dist/chunks/{model-resolver-y71avatq.js → plugin-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-cmwkp3r5.js → plugin-dv1qgsyq.js} +8 -8
- package/dist/chunks/{model-resolver-n2wkdexc.js → plugin-dwshgxce.js} +10 -10
- package/dist/chunks/{model-resolver-a50ajv9x.js → plugin-e4d116nx.js} +11 -11
- package/dist/chunks/{model-resolver-n2w1xppv.js → plugin-e5hzpbqm.js} +17 -17
- package/dist/chunks/{model-resolver-5rzwp8tz.js → plugin-e80seqcp.js} +3 -3
- package/dist/chunks/{model-resolver-t550f9t1.js → plugin-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-resolver-eej6y6fw.js → plugin-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-c1fqxshp.js → plugin-es1vcfrp.js} +3 -3
- package/dist/chunks/{model-resolver-swz9epvm.js → plugin-eydnycg8.js} +9 -9
- package/dist/chunks/{model-resolver-n1n192bv.js → plugin-f29mbr7f.js} +4 -4
- package/dist/chunks/{model-resolver-my3n3bk5.js → plugin-f5ksndmy.js} +16 -16
- package/dist/chunks/{model-resolver-v6vmr8kx.js → plugin-f8hkc90z.js} +25 -25
- package/dist/chunks/{model-resolver-fcy631f0.js → plugin-fcy631f0.js} +1 -1
- package/dist/chunks/{model-resolver-0vc9cqt0.js → plugin-fn26y8ec.js} +1 -1
- package/dist/chunks/{model-resolver-dq407baf.js → plugin-fn9t717r.js} +6 -6
- package/dist/chunks/{model-resolver-des6jdj8.js → plugin-fnpfk5vv.js} +19 -19
- package/dist/chunks/{model-resolver-jbe9km07.js → plugin-fpk8rssf.js} +16 -16
- package/dist/chunks/{model-resolver-c765mh8b.js → plugin-ft3hqk2c.js} +9 -9
- package/dist/chunks/{model-resolver-3b80bnbc.js → plugin-fww2ha2b.js} +10 -10
- package/dist/chunks/{model-resolver-1w2wqhfv.js → plugin-fxaymqdw.js} +4 -4
- package/dist/chunks/{model-resolver-kvfw0apr.js → plugin-fy9mnahn.js} +15 -15
- package/dist/chunks/{model-resolver-1he6k45e.js → plugin-g104pgrn.js} +16 -16
- package/dist/chunks/{model-resolver-fc5y07mq.js → plugin-g8jz9jm1.js} +22 -22
- package/dist/chunks/{model-resolver-hx13apgc.js → plugin-g93ctjjx.js} +82 -82
- package/dist/chunks/{model-resolver-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-1qz0hcwh.js → plugin-gfbqq99x.js} +33 -33
- package/dist/chunks/{model-resolver-b674v2dg.js → plugin-gj71zhbs.js} +5 -5
- package/dist/chunks/{model-resolver-r670ztc7.js → plugin-gktp29ka.js} +9 -9
- package/dist/chunks/{model-resolver-7zvp5rcn.js → plugin-gp8pq3a9.js} +10 -10
- package/dist/chunks/{model-resolver-gqprr8j8.js → plugin-gqdhpk5g.js} +50 -50
- package/dist/chunks/{model-resolver-c7ensvqx.js → plugin-gqdpvkcc.js} +28 -28
- package/dist/chunks/{model-resolver-addxnjmp.js → plugin-gqtdsdt7.js} +4 -4
- package/dist/chunks/{model-resolver-tcqy5gwz.js → plugin-gxtzvc78.js} +13 -13
- package/dist/chunks/{model-resolver-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-bfegkxfd.js → plugin-hcv80w8f.js} +8 -8
- package/dist/chunks/{model-resolver-93ygb5af.js → plugin-hdab2k61.js} +6 -6
- package/dist/chunks/{model-resolver-w6sh5zqk.js → plugin-hdcfjgk2.js} +7 -7
- package/dist/chunks/{model-resolver-xq0m18df.js → plugin-hen5kt05.js} +24 -24
- package/dist/chunks/{model-resolver-hgz4x7wa.js → plugin-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-jjn1p3a4.js → plugin-hrf19ha5.js} +9 -9
- package/dist/chunks/{model-resolver-wan54tjz.js → plugin-hsjvmpjh.js} +5 -5
- package/dist/chunks/{model-resolver-qtfkj4b2.js → plugin-hxwres1w.js} +18 -18
- package/dist/chunks/{model-resolver-91qna3x0.js → plugin-j09zfasm.js} +3 -3
- package/dist/chunks/{model-resolver-faj2svbs.js → plugin-j2xfbvx1.js} +9 -9
- package/dist/chunks/{model-resolver-6t4hr8r6.js → plugin-j34bs4nz.js} +4 -4
- package/dist/chunks/{model-resolver-z4j3nyda.js → plugin-j3r0bzqv.js} +15 -15
- package/dist/chunks/{model-resolver-k0wngftd.js → plugin-jd3kwnwc.js} +25 -25
- package/dist/chunks/{model-resolver-kty3j8db.js → plugin-jjz1bpfg.js} +13 -13
- package/dist/chunks/{model-resolver-a2pvkqk7.js → plugin-jmfrr7px.js} +27 -27
- package/dist/chunks/{model-resolver-gpaj4387.js → plugin-jwdcxdh9.js} +5 -5
- package/dist/chunks/{model-resolver-w92k2e0p.js → plugin-jws6fkes.js} +2 -2
- package/dist/chunks/{model-resolver-jnng54s4.js → plugin-kfg0ch3v.js} +21 -21
- package/dist/chunks/{model-resolver-5wxeg2rt.js → plugin-kt5qeaz8.js} +18 -18
- package/dist/chunks/{model-resolver-kwb1v3vj.js → plugin-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-resolver-jhzmbhsj.js → plugin-m2yzbatp.js} +1 -1
- package/dist/chunks/{model-resolver-wx7r1qye.js → plugin-m6yrq7vq.js} +33 -33
- package/dist/chunks/{model-resolver-mm294psk.js → plugin-m8y8jchw.js} +28 -28
- package/dist/chunks/{model-resolver-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → plugin-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-40nepbx5.js → plugin-mk68qjcb.js} +17 -17
- package/dist/chunks/{model-resolver-wns8hazf.js → plugin-mnv0y1mf.js} +8 -8
- package/dist/chunks/{model-resolver-e6ma5qw6.js → plugin-n1ykz3fm.js} +3 -3
- package/dist/chunks/{model-resolver-8hwws32s.js → plugin-n5nh64hp.js} +27 -27
- package/dist/chunks/{model-resolver-59fhsr37.js → plugin-ne19x7kx.js} +12 -12
- package/dist/chunks/{model-resolver-264b5yb9.js → plugin-nx1kfred.js} +17 -17
- package/dist/chunks/{model-resolver-qm9hx7rf.js → plugin-nzrpg0s9.js} +21 -21
- package/dist/chunks/{model-resolver-hzf2gm4r.js → plugin-p2akh9ck.js} +3 -3
- package/dist/chunks/{model-resolver-k9pcp02a.js → plugin-p3kt6rvq.js} +11 -11
- package/dist/chunks/{model-resolver-7ej1793t.js → plugin-p3x09g5q.js} +33 -33
- package/dist/chunks/{model-resolver-k20dm792.js → plugin-p6cydsw4.js} +30 -30
- package/dist/chunks/{model-resolver-xv5tzb38.js → plugin-p6jqyf33.js} +25 -25
- package/dist/chunks/{model-resolver-81hfyfhp.js → plugin-p6kcbx45.js} +13 -13
- package/dist/chunks/{model-resolver-jp77zf0e.js → plugin-p8xq36qy.js} +26 -26
- package/dist/chunks/{model-resolver-ksp8yezw.js → plugin-pawwdg1v.js} +43 -43
- package/dist/chunks/{model-resolver-qby9dwvd.js → plugin-pedttwxr.js} +8 -8
- package/dist/chunks/{model-resolver-5fkwwa5n.js → plugin-pj4qns00.js} +16 -16
- package/dist/chunks/{model-resolver-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-qx29y3xy.js → plugin-pwbkr4hj.js} +26 -26
- package/dist/chunks/{model-resolver-d60f224d.js → plugin-pwpy7q8b.js} +24 -24
- package/dist/chunks/{model-resolver-0b5g1ynf.js → plugin-pyg4v0b6.js} +4 -4
- package/dist/chunks/{model-resolver-f13hrfnx.js → plugin-q0yg6cnx.js} +28 -28
- package/dist/chunks/{model-resolver-nmnr5pf0.js → plugin-q4shcas9.js} +22 -22
- package/dist/chunks/{model-resolver-3g8j9he4.js → plugin-q5e7cmwt.js} +1 -1
- package/dist/chunks/{model-resolver-1x7hg83d.js → plugin-qe8zjv0s.js} +20 -20
- package/dist/chunks/{model-resolver-m15ha2ry.js → plugin-qeerce1j.js} +6 -6
- package/dist/chunks/{model-resolver-0jwsre1p.js → plugin-qgn6gcr1.js} +5 -5
- package/dist/chunks/{model-resolver-8h4996qy.js → plugin-qh4sb56n.js} +34 -34
- package/dist/chunks/plugin-qmn3ny5p.js +26 -0
- package/dist/chunks/{model-resolver-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-6dwc2p0m.js → plugin-qqahyft1.js} +4 -4
- package/dist/chunks/{model-resolver-57b9ws8p.js → plugin-qqeeq2t9.js} +4 -4
- package/dist/chunks/{model-resolver-nzqw3k3j.js → plugin-qryy8w36.js} +12 -12
- package/dist/chunks/{model-resolver-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-4tr9sj3s.js → plugin-qv0sc65t.js} +6 -6
- package/dist/chunks/{model-resolver-f3st1kdw.js → plugin-r3xhjxbf.js} +45 -45
- package/dist/chunks/plugin-rap9a73h.js +18 -0
- package/dist/chunks/{model-resolver-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-k71zbqeh.js → plugin-rp0j9w43.js} +1 -1
- package/dist/chunks/{model-resolver-mek16e5d.js → plugin-rwp39ykb.js} +11 -11
- package/dist/chunks/{model-resolver-yemq3d8b.js → plugin-rxcdjwh1.js} +6 -6
- package/dist/chunks/{model-resolver-266qzg04.js → plugin-rz255fs2.js} +11 -11
- package/dist/chunks/{model-resolver-gcbmgp51.js → plugin-rz4mpgyr.js} +4 -4
- package/dist/chunks/{model-resolver-c3jd06h3.js → plugin-s414k2p9.js} +11 -11
- package/dist/chunks/{model-resolver-gn63hw7e.js → plugin-sabvt4dp.js} +20 -20
- package/dist/chunks/{model-resolver-me1ss5hn.js → plugin-sas35a8p.js} +30 -30
- package/dist/chunks/{model-resolver-2mz127rg.js → plugin-skmbfqn1.js} +25 -25
- package/dist/chunks/{model-resolver-1xxjgqwb.js → plugin-srcmwhc2.js} +8 -8
- package/dist/chunks/{model-resolver-176cfv5a.js → plugin-sren5er7.js} +12 -12
- package/dist/chunks/{model-resolver-my4zabxr.js → plugin-ss358qx3.js} +3 -3
- package/dist/chunks/{model-resolver-8n4awwjy.js → plugin-stwc66ny.js} +25 -25
- package/dist/chunks/{model-resolver-hwvembvf.js → plugin-sw5khcyy.js} +8 -8
- package/dist/chunks/{model-resolver-syv4x271.js → plugin-syv4x271.js} +1 -1
- package/dist/chunks/{model-resolver-vykevjvn.js → plugin-t0sqncza.js} +5 -5
- package/dist/chunks/{model-resolver-4vbcsnyx.js → plugin-t8msvgtk.js} +2 -2
- package/dist/chunks/{model-resolver-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-x7b09pq1.js → plugin-tjkejp8s.js} +7 -7
- package/dist/chunks/{model-resolver-rert0e01.js → plugin-tkb22qbm.js} +2 -2
- package/dist/chunks/{model-resolver-tm0kqsz3.js → plugin-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-resolver-shnfcgs5.js → plugin-tp98fvce.js} +13 -13
- package/dist/chunks/{model-resolver-htj709tb.js → plugin-ttgdsfx4.js} +16 -16
- package/dist/chunks/{model-resolver-jkge9r8a.js → plugin-twyq5zdv.js} +5 -5
- package/dist/chunks/{model-resolver-bmr56wjg.js → plugin-txm3e8qz.js} +4 -4
- package/dist/chunks/{model-resolver-tyytaxap.js → plugin-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-7phrhjk9.js → plugin-tzrwrky5.js} +42 -42
- package/dist/chunks/{model-resolver-v210v162.js → plugin-v210v162.js} +2 -2
- package/dist/chunks/{model-resolver-q8j19n66.js → plugin-v52rg5td.js} +16 -16
- package/dist/chunks/{model-resolver-v7p4zvkq.js → plugin-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-hacrw09v.js → plugin-vf544bmh.js} +20 -20
- package/dist/chunks/{model-resolver-rwc19vm6.js → plugin-vj4xxyb4.js} +84 -84
- package/dist/chunks/{model-resolver-dt57sfsj.js → plugin-vr3wg9cz.js} +7 -7
- package/dist/chunks/{model-resolver-v1hnz2td.js → plugin-vs1vsx5r.js} +34 -34
- package/dist/chunks/{model-resolver-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-z4qam7dt.js → plugin-w0n0a7xa.js} +6 -6
- package/dist/chunks/{model-resolver-w39jehkq.js → plugin-w39jehkq.js} +2 -2
- package/dist/chunks/{model-resolver-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-pgftdjyf.js → plugin-wahywgbq.js} +12 -12
- package/dist/chunks/{model-resolver-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-07avtkf2.js → plugin-wj7pxz3y.js} +7 -7
- package/dist/chunks/{model-resolver-akkpvtys.js → plugin-wwjkedtk.js} +20 -20
- package/dist/chunks/{model-resolver-tph52s30.js → plugin-x0zebc0n.js} +3 -3
- package/dist/chunks/{model-resolver-jthg0ham.js → plugin-x5tsewjk.js} +8 -8
- package/dist/chunks/{model-resolver-0qsfxhp3.js → plugin-xbmfrhsr.js} +11 -11
- package/dist/chunks/{model-resolver-a0dtpn4h.js → plugin-xcmydc7x.js} +20 -20
- package/dist/chunks/{model-resolver-d52hg7ms.js → plugin-xhmrb6e2.js} +36 -36
- package/dist/chunks/{model-resolver-qx1aksxd.js → plugin-xvyyqj0x.js} +17 -17
- package/dist/chunks/{model-resolver-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-dpy6a8rw.js → plugin-y6cfdet1.js} +4 -4
- package/dist/chunks/{model-resolver-mb42fxee.js → plugin-yc4ptb0q.js} +33 -33
- package/dist/chunks/{model-resolver-vhgkww9x.js → plugin-ydd161k7.js} +21 -21
- package/dist/chunks/{model-resolver-x5wvqd0p.js → plugin-ym8333rm.js} +4 -4
- package/dist/chunks/{model-resolver-1acjjqhc.js → plugin-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-bg0vhc43.js → plugin-ypq53bxf.js} +43 -43
- package/dist/chunks/{model-resolver-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-4vvac9vn.js → plugin-z9y7jm1j.js} +4 -4
- package/dist/chunks/{model-resolver-afdssyjb.js → plugin-zav06jzw.js} +4 -4
- package/dist/chunks/{model-resolver-50v2ya5q.js → plugin-zhpfwxqq.js} +2 -2
- package/dist/chunks/{model-resolver-k712naka.js → plugin-zjedqr72.js} +13 -13
- package/dist/chunks/{model-resolver-d4wbqfbm.js → plugin-zjqw0tx2.js} +8 -8
- package/dist/chunks/{model-resolver-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-78mqpzmn.js → plugin-zz7qnwx3.js} +16 -16
- 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 +85 -85
- 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 +118 -118
- package/dist/config/plugin/command.js +208 -208
- 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 +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- 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 +138 -138
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +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 +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 +92 -92
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- 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 +6 -6
- 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 +111 -111
- 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 +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +115 -115
- 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 +123 -123
- 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 +348 -348
- 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 +5 -5
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- 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 +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +13 -13
- 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 +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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +5 -5
- package/dist/session/runner/step.js +126 -126
- 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 +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- 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 +207 -207
- 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 +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- 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 +116 -116
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +205 -205
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +110 -110
- 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 +14 -14
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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 +86 -86
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/model-resolver-4v7qdvcn.js +0 -18
- package/dist/chunks/model-resolver-9jg07m6z.js +0 -257
- package/dist/chunks/model-resolver-fh8qb6ca.js +0 -513
- package/dist/chunks/model-resolver-wry06ba9.js +0 -26
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → plugin-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → plugin-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → plugin-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → plugin-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → plugin-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → plugin-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → plugin-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → plugin-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → plugin-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → plugin-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2,
|
|
10
10
|
available2,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service44,
|
|
12
|
+
node47
|
|
13
|
+
} from "./plugin-q4shcas9.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./plugin-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions2 = {};
|
|
20
|
+
__export(exports_instructions2, {
|
|
21
|
+
Service: () => Service29,
|
|
22
|
+
SkillInstructions: () => exports_instructions2,
|
|
23
|
+
node: () => node32
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID5,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,15 +60,15 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service29 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service44;
|
|
67
|
+
return Service29.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
69
|
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
-
return
|
|
71
|
-
key:
|
|
70
|
+
return make21({
|
|
71
|
+
key: Key4.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
74
74
|
render: {
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [node47] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service29, node32, exports_instructions2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-50t92zds.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-ac8yy21c.js";
|
|
12
12
|
import {
|
|
13
13
|
Service84,
|
|
14
14
|
node88
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-aacha31a.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput5,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-v210v162.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-c41wscbt.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-c8ax2afj.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./plugin-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-zhpfwxqq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service24,
|
|
10
|
+
node26
|
|
11
|
+
} from "./plugin-7z8fh6ek.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service23,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node25,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service23 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service82;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service24;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service23.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service82;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service23.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service23.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer12 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service82;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service23, layer: layer12(options), deps: [node86, node26] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node25 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service23, ripgrepLayer2, fffLayer2, layer12, configured3, node25, exports_search };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-ss358qx3.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-d9qxn0qv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID7,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info16,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-q0yg6cnx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID7.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info16.make({
|
|
98
|
+
...Info16.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID7.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./plugin-23m508yx.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service47
|
|
13
|
-
} from "./model-resolver-vhgkww9x.js";
|
|
10
|
+
} from "./plugin-hgz4x7wa.js";
|
|
14
11
|
import {
|
|
15
12
|
Service70
|
|
16
|
-
} from "./
|
|
13
|
+
} from "./plugin-ydd161k7.js";
|
|
14
|
+
import {
|
|
15
|
+
Service52
|
|
16
|
+
} from "./plugin-zz7qnwx3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service77
|
|
19
|
+
} from "./plugin-94rjkma0.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-070qhrs5.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./plugin-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service66,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./plugin-jjz1bpfg.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service53
|
|
37
|
+
} from "./plugin-pawwdg1v.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./plugin-vj4xxyb4.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./plugin-rz4mpgyr.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./plugin-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell2 = {};
|
|
50
50
|
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
52
|
Input: () => Input6,
|
|
53
|
-
Plugin: () =>
|
|
53
|
+
Plugin: () => Plugin43,
|
|
54
54
|
ShellTool: () => exports_shell2,
|
|
55
55
|
name: () => name6
|
|
56
56
|
});
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin43 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service26;
|
|
124
|
+
const jobs = yield* Service52;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service70;
|
|
127
|
+
const access = yield* Service16;
|
|
128
|
+
const shell = yield* Service53;
|
|
129
|
+
const shellSelect = yield* Service66;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service77;
|
|
132
|
+
const config = yield* Service55;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -211,7 +211,7 @@ var Plugin42 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export { name6, DEFAULT_TIMEOUT_MS2, Input6,
|
|
269
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin43, exports_shell2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-ac8yy21c.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info5,
|
|
19
19
|
NotFoundError: () => NotFoundError5,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service41,
|
|
21
|
+
layer: () => layer19,
|
|
22
|
+
node: () => node44
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event6 } from "@opencode/schema/command";
|
|
28
|
+
var Info5 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service41 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer19 = Layer.effect(Service41, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer18 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info5.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service41.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,9 +71,9 @@ var layer18 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node44 = makeLocationNode({
|
|
75
|
+
service: Service41,
|
|
76
|
+
layer: layer19,
|
|
77
77
|
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info5, NotFoundError5, ExecutionError2, Service41, layer19, node44, exports_command4, Event6 };
|