@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./plugin-j2xfbvx1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./plugin-hdab2k61.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-rap9a73h.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service81
|
|
15
|
+
} from "./plugin-pedttwxr.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-qv0sc65t.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service44
|
|
23
|
+
} from "./plugin-q4shcas9.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./plugin-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service51;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service81;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service44;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service64;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-50t92zds.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-tkb22qbm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ConflictError: () => ConflictError2,
|
|
17
|
-
ID: () =>
|
|
18
|
-
Info: () =>
|
|
19
|
-
ListInput: () =>
|
|
20
|
-
NotFoundError: () =>
|
|
17
|
+
ID: () => ID14,
|
|
18
|
+
Info: () => Info24,
|
|
19
|
+
ListInput: () => ListInput5,
|
|
20
|
+
NotFoundError: () => NotFoundError11,
|
|
21
21
|
PermissionSaved: () => exports_saved,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UpdateInput: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service79,
|
|
23
|
+
UpdateInput: () => UpdateInput3,
|
|
24
|
+
node: () => node83
|
|
25
25
|
});
|
|
26
26
|
import { eq } from "drizzle-orm";
|
|
27
27
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -29,9 +29,9 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
29
29
|
import { Project } from "@opencode/schema/project";
|
|
30
30
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
32
|
+
var ID14 = PermissionSaved.ID;
|
|
33
|
+
var Info24 = PermissionSaved.Info;
|
|
34
|
+
var ListInput5 = Schema.Struct({
|
|
35
35
|
projectID: Project.ID.pipe(Schema.optional)
|
|
36
36
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
37
37
|
var AddInput2 = Schema.Struct({
|
|
@@ -39,27 +39,27 @@ var AddInput2 = Schema.Struct({
|
|
|
39
39
|
action: Schema.String,
|
|
40
40
|
resources: Schema.Array(Schema.String)
|
|
41
41
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
42
|
-
var
|
|
43
|
-
id:
|
|
42
|
+
var UpdateInput3 = Schema.Struct({
|
|
43
|
+
id: ID14,
|
|
44
44
|
action: Schema.String.pipe(Schema.optional),
|
|
45
45
|
resource: Schema.String.pipe(Schema.optional)
|
|
46
46
|
}).annotate({ identifier: "PermissionSaved.UpdateInput" });
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
id:
|
|
48
|
+
class NotFoundError11 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
49
|
+
id: ID14
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
54
|
-
id:
|
|
54
|
+
id: ID14,
|
|
55
55
|
action: Schema.String,
|
|
56
56
|
resource: Schema.String
|
|
57
57
|
}) {
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service79 extends Context.Service()("@opencode/PermissionSaved") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
62
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
63
63
|
const db = (yield* Service86).db;
|
|
64
64
|
const list = Effect.fnUntraced(function* (input) {
|
|
65
65
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
69
69
|
if (!input.resources.length)
|
|
70
70
|
return;
|
|
71
71
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
72
|
-
id:
|
|
72
|
+
id: ID14.create(),
|
|
73
73
|
project_id: input.projectID,
|
|
74
74
|
action: input.action,
|
|
75
75
|
resource
|
|
@@ -78,18 +78,18 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
78
78
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
79
79
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
80
80
|
if (!current)
|
|
81
|
-
return yield* new
|
|
81
|
+
return yield* new NotFoundError11({ id: input.id });
|
|
82
82
|
const action = input.action ?? current.action;
|
|
83
83
|
const resource = input.resource ?? current.resource;
|
|
84
84
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
85
85
|
if (!updated)
|
|
86
|
-
return yield* new
|
|
86
|
+
return yield* new NotFoundError11({ id: input.id });
|
|
87
87
|
return info(updated);
|
|
88
88
|
});
|
|
89
89
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
90
90
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
91
91
|
});
|
|
92
|
-
return
|
|
92
|
+
return Service79.of({ list, add, update, remove });
|
|
93
93
|
}));
|
|
94
94
|
var isUniqueViolation = (error) => {
|
|
95
95
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -107,6 +107,6 @@ var info = (row) => ({
|
|
|
107
107
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
var
|
|
110
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [node90] });
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { ID14, Info24, ListInput5, AddInput2, UpdateInput3, NotFoundError11, ConflictError2, Service79, node83, exports_saved };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service80
|
|
4
|
+
} from "./plugin-4j2dn6hj.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-zhpfwxqq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service55
|
|
10
|
+
} from "./plugin-23m508yx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service66,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-jjz1bpfg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service26
|
|
17
|
+
} from "./plugin-vj4xxyb4.js";
|
|
18
18
|
import {
|
|
19
19
|
Service10
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-cvz808pw.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-8m6m0r52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./plugin-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin21
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin21 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service55;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,9 +56,9 @@ var Plugin14 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service82;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
59
|
+
const shell = yield* Service66;
|
|
60
|
+
const sessions = yield* Service26;
|
|
61
|
+
const agents = yield* Service80;
|
|
62
62
|
const subagents = yield* Service10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
@@ -80,7 +80,7 @@ var Plugin14 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin21, exports_command2 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-eaj1djv9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-es1vcfrp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-ac8yy21c.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-zhpfwxqq.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID8,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service72,
|
|
20
|
+
node74,
|
|
21
|
+
Event15
|
|
22
|
+
} from "./plugin-d9qxn0qv.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./plugin-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID7,
|
|
36
|
+
Info: () => Info16,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service71,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node73,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,8 +49,8 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event14 } from "@opencode/schema/model";
|
|
53
|
+
var ID7 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,12 +67,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info16 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service71 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
74
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service72;
|
|
76
76
|
const bus = yield* Service85;
|
|
77
77
|
const location = yield* Service82;
|
|
78
78
|
let input;
|
|
@@ -119,7 +119,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
119
119
|
const models = writable(providerID);
|
|
120
120
|
if (!models)
|
|
121
121
|
return;
|
|
122
|
-
const model = draft(providerID, modelID) ??
|
|
122
|
+
const model = draft(providerID, modelID) ?? Info16.default(providerID, modelID);
|
|
123
123
|
update(model);
|
|
124
124
|
model.id = modelID;
|
|
125
125
|
model.providerID = providerID;
|
|
@@ -209,8 +209,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
209
209
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
210
210
|
});
|
|
211
211
|
});
|
|
212
|
-
yield* bus.subscribe(
|
|
213
|
-
return
|
|
212
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
213
|
+
return Service71.of({
|
|
214
214
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
215
215
|
reload,
|
|
216
216
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -229,7 +229,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
229
229
|
})
|
|
230
230
|
});
|
|
231
231
|
}));
|
|
232
|
-
var
|
|
232
|
+
var node73 = makeLocationNode({ service: Service71, layer, deps: [node74, node89, node86] });
|
|
233
233
|
var PREFERRED_FREE = [
|
|
234
234
|
"big-pickle",
|
|
235
235
|
"deepseek-v4.1-flash-free",
|
|
@@ -237,7 +237,7 @@ var PREFERRED_FREE = [
|
|
|
237
237
|
"muse-spark-1.3-contributor-free"
|
|
238
238
|
];
|
|
239
239
|
function preferFree(models) {
|
|
240
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
240
|
+
const freeOnly = models.every((model) => model.providerID === ID8.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
241
241
|
if (!freeOnly)
|
|
242
242
|
return models;
|
|
243
243
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -256,9 +256,9 @@ function compatibility2(input) {
|
|
|
256
256
|
function parse5(input) {
|
|
257
257
|
const index = input.indexOf("/");
|
|
258
258
|
return {
|
|
259
|
-
providerID:
|
|
260
|
-
modelID:
|
|
259
|
+
providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
|
|
260
|
+
modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info16, Service71, node73, supportsText2, compatibility2, parse5, exports_model2, Event14 };
|
|
@@ -1,32 +1,32 @@
|
|
|
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
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-94rjkma0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event8,
|
|
21
|
+
ID: () => ID5,
|
|
22
22
|
Info: () => Info7,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service44,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node47,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,13 +35,13 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event8 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
|
-
var
|
|
42
|
+
var Source3 = Skill.Source;
|
|
43
43
|
var Info7 = Skill.Info;
|
|
44
|
-
var
|
|
44
|
+
var ID5 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
46
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -78,33 +78,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service44 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
83
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
84
84
|
const bus = yield* Service85;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const current = editor.skills.get(
|
|
95
|
+
const current = editor.skills.get(ID5.make(id));
|
|
96
96
|
if (!current)
|
|
97
97
|
return;
|
|
98
98
|
update(current);
|
|
99
|
-
current.id =
|
|
99
|
+
current.id = ID5.make(id);
|
|
100
100
|
},
|
|
101
101
|
remove: (id) => {
|
|
102
|
-
editor.skills.delete(
|
|
102
|
+
editor.skills.delete(ID5.make(id));
|
|
103
103
|
}
|
|
104
104
|
}),
|
|
105
105
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service44.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -115,10 +115,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
}));
|
|
118
|
-
var
|
|
119
|
-
service:
|
|
118
|
+
var node47 = makeLocationNode({
|
|
119
|
+
service: Service44,
|
|
120
120
|
layer,
|
|
121
121
|
deps: [node89]
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
124
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available2, toModelOutput3, prepare3, Service44, node47, exports_skill5, Event8 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service67,
|
|
3
|
+
node69
|
|
4
|
+
} from "./plugin-p8xq36qy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service38,
|
|
20
|
+
node: () => node41
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service38 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service67;
|
|
64
|
+
return Service38.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make21({
|
|
72
|
+
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node41 = makeLocationNode({ service: Service38, layer, deps: [node69] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service38, node41, exports_instructions4 };
|