@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-ac8yy21c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
node76
|
|
10
|
+
} from "./plugin-sas35a8p.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./plugin-gqtdsdt7.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-6vsk51wk.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event16,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID9,
|
|
41
|
+
Info: () => Info18,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service73,
|
|
49
|
+
node: () => node75
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
72
|
+
var ID9 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info18 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID9,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service73 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service74;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info18.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service73.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node75 = makeLocationNode({
|
|
633
|
+
service: Service73,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node76, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info18, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service73, node75, exports_integration, Event16 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-ac8yy21c.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-jjz1bpfg.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError7,
|
|
20
20
|
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service65,
|
|
23
|
+
UnavailableError: () => UnavailableError4,
|
|
24
24
|
available: () => available3,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured8,
|
|
26
|
+
layer: () => layer26,
|
|
27
|
+
node: () => node67
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -41,19 +41,19 @@ var Options9 = Schema.Struct({
|
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service65 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service65, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service85;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service65.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer26 = makeLayer();
|
|
263
|
+
var configured8 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service65,
|
|
265
|
+
layer: options === undefined ? layer26 : makeLayer(options),
|
|
266
266
|
deps: [node89, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node67 = configured8();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export { Options9,
|
|
304
|
+
export { Options9, UnavailableError4, NotFoundError7, Service65, layer26, configured8, node67, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-zhpfwxqq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service55
|
|
9
|
+
} from "./plugin-23m508yx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service43
|
|
12
|
+
} from "./plugin-ttgdsfx4.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin28
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin28 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service55;
|
|
34
34
|
const location = yield* Service82;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service43;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin8 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin28, exports_worktree };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-ac8yy21c.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service68,
|
|
17
|
+
node70
|
|
18
|
+
} from "./plugin-nx1kfred.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./plugin-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event13,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info15,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service67,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node69
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event13 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info15 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service67 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service85;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service68;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info15.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info15.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service67.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node69 = makeLocationNode({
|
|
116
|
+
service: Service67,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node89,
|
|
118
|
+
deps: [Global.node, node89, node70]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info15, Service67, node69, exports_reference2, Event13 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-ac8yy21c.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-zhpfwxqq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node72
|
|
12
|
+
} from "./plugin-ydd161k7.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service66,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node68
|
|
20
|
+
} from "./plugin-jjz1bpfg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service81,
|
|
23
|
+
node85
|
|
24
|
+
} from "./plugin-pedttwxr.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service54,
|
|
27
|
+
node56
|
|
28
|
+
} from "./plugin-89bb6baa.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./plugin-ss358qx3.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service55,
|
|
35
|
+
node57
|
|
36
|
+
} from "./plugin-23m508yx.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./plugin-rwp39ykb.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./plugin-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service53,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node55
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service53 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service53, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service85;
|
|
92
92
|
const location = yield* Service82;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service66;
|
|
95
|
+
const environment = yield* Service70;
|
|
96
|
+
const hooks = yield* Service81;
|
|
97
|
+
const environments = yield* Service54;
|
|
98
|
+
const config = yield* Service55;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError6({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service53.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node55 = makeLocationNode({
|
|
342
|
+
service: Service53,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
345
|
node89,
|
|
346
346
|
node86,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
348
|
+
node68,
|
|
349
|
+
node72,
|
|
350
|
+
node85,
|
|
351
|
+
node56,
|
|
352
|
+
node57,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export {
|
|
357
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service53, cleanup2, node55, exports_shell4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service81,
|
|
10
|
+
node: () => node85
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service81 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service81.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node85 = makeLocationNode({ service: Service81, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service81, node85, exports_hooks };
|