@opencode/core 0.0.0-dev-20406 → 0.0.0-dev-20410
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{shell-845k646w.js → wellknown-09e215wj.js} +22 -22
- package/dist/chunks/{shell-0d8tbd59.js → wellknown-0na27aqw.js} +24 -24
- package/dist/chunks/{shell-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-pk6jt4dn.js → wellknown-0rpx8wc5.js} +16 -16
- package/dist/chunks/{shell-t9zs3egg.js → wellknown-0v53mg2y.js} +4 -4
- package/dist/chunks/{shell-nmww7jyx.js → wellknown-0xgfr3a5.js} +3 -3
- package/dist/chunks/{shell-z2wvrawj.js → wellknown-0zdym56s.js} +9 -9
- package/dist/chunks/{shell-h3qzknde.js → wellknown-12zc50tf.js} +30 -30
- package/dist/chunks/{shell-yfmq466m.js → wellknown-14czrspb.js} +18 -18
- package/dist/chunks/{shell-z41n5maa.js → wellknown-14ty0bgn.js} +67 -67
- package/dist/chunks/{shell-qwe7bsa3.js → wellknown-164an6e8.js} +16 -16
- package/dist/chunks/{shell-s0p782fc.js → wellknown-16z2jb6t.js} +16 -16
- package/dist/chunks/{shell-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{shell-4bjzyjqa.js → wellknown-1fkkc2q4.js} +12 -12
- package/dist/chunks/{shell-tqrmv6wh.js → wellknown-1kkt2vva.js} +33 -33
- package/dist/chunks/{shell-11xytnza.js → wellknown-1mbawdqw.js} +27 -27
- package/dist/chunks/{shell-f42drt00.js → wellknown-1n8pm4fs.js} +17 -17
- package/dist/chunks/{shell-m568jpcd.js → wellknown-1s1t9db3.js} +23 -23
- package/dist/chunks/{shell-33w4ejhs.js → wellknown-1ygqh575.js} +6 -6
- package/dist/chunks/{shell-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{shell-5kw0n2ma.js → wellknown-2336b01z.js} +5 -5
- package/dist/chunks/{shell-v5me1390.js → wellknown-290gn2nz.js} +27 -27
- package/dist/chunks/{shell-z63w68vq.js → wellknown-29x78va6.js} +6 -6
- package/dist/chunks/{shell-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-mesrmzak.js → wellknown-2a9pehze.js} +8 -8
- package/dist/chunks/{shell-ew9zfet1.js → wellknown-2fwvtqtm.js} +25 -25
- package/dist/chunks/{shell-cbntc203.js → wellknown-2p2ksper.js} +3 -3
- package/dist/chunks/{shell-qj8eh1ht.js → wellknown-2pnhn36q.js} +21 -21
- package/dist/chunks/{shell-t0fxg8b9.js → wellknown-2qp6y8xf.js} +5 -5
- package/dist/chunks/{shell-9m18q581.js → wellknown-2r2n6yth.js} +18 -18
- package/dist/chunks/{shell-q4g7nk9d.js → wellknown-32ndydhr.js} +8 -8
- package/dist/chunks/{shell-5tat9ppm.js → wellknown-3556dn8t.js} +1 -1
- package/dist/chunks/{shell-6ar8w4pq.js → wellknown-38qsazbb.js} +44 -44
- package/dist/chunks/{shell-fqtvmpfq.js → wellknown-3a83a0n4.js} +8 -8
- package/dist/chunks/{shell-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-fc62ns0w.js → wellknown-3hxdjh5w.js} +5 -5
- package/dist/chunks/{shell-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-3zsf4n22.js → wellknown-3zsf4n22.js} +1 -1
- package/dist/chunks/{shell-0xqyf95c.js → wellknown-44ak30pa.js} +4 -4
- package/dist/chunks/{shell-sw0g5drg.js → wellknown-44mgpfzg.js} +27 -27
- package/dist/chunks/{shell-0a5qyhqp.js → wellknown-44w561qj.js} +5 -5
- package/dist/chunks/{shell-4hbxt91c.js → wellknown-4btpfq85.js} +26 -26
- package/dist/chunks/{shell-cxqfxpp1.js → wellknown-4hqqpt46.js} +6 -6
- package/dist/chunks/{shell-er11akkf.js → wellknown-4rem7hjf.js} +18 -18
- package/dist/chunks/{shell-bfafj43h.js → wellknown-4y3x9j2a.js} +21 -21
- package/dist/chunks/{shell-pd7gvt3w.js → wellknown-4z58m4b4.js} +4 -4
- package/dist/chunks/{shell-54ma36ye.js → wellknown-54ma36ye.js} +1 -1
- package/dist/chunks/{shell-ckecvw8r.js → wellknown-54tcyq79.js} +2 -2
- package/dist/chunks/{shell-6033txqd.js → wellknown-55m9a17k.js} +9 -9
- package/dist/chunks/{shell-57ez7d0k.js → wellknown-57ez7d0k.js} +2 -2
- package/dist/chunks/wellknown-583665fb.js +26 -0
- package/dist/chunks/{shell-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-q3t37ft6.js → wellknown-5epte933.js} +3 -3
- package/dist/chunks/{shell-3nsr1h9t.js → wellknown-5kcmdkc3.js} +30 -30
- package/dist/chunks/{shell-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{shell-1t9fg1b5.js → wellknown-5yxxxe3w.js} +11 -11
- package/dist/chunks/{shell-pmc1jkpx.js → wellknown-614y8yz0.js} +11 -11
- package/dist/chunks/{shell-z4h5d8ps.js → wellknown-632q0zdk.js} +28 -28
- package/dist/chunks/{shell-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{shell-6anwy9fs.js → wellknown-6anwy9fs.js} +1 -1
- package/dist/chunks/{shell-4rt0ga34.js → wellknown-6b2zjn2e.js} +9 -9
- package/dist/chunks/{shell-fm2qvscf.js → wellknown-6cfd75hy.js} +7 -7
- package/dist/chunks/{shell-gxf6g2qt.js → wellknown-6crwcbc9.js} +19 -19
- package/dist/chunks/{shell-3pqrab3r.js → wellknown-6hmwwa40.js} +11 -11
- package/dist/chunks/{shell-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{shell-e1t80gge.js → wellknown-6qsyht78.js} +40 -40
- package/dist/chunks/{shell-vq2r4xxp.js → wellknown-6vqdytr6.js} +54 -54
- package/dist/chunks/{shell-mv7vmavb.js → wellknown-72npc2f6.js} +22 -22
- package/dist/chunks/{shell-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-7dqw4kz8.js → wellknown-7dqw4kz8.js} +1 -1
- package/dist/chunks/{shell-e1vgqt98.js → wellknown-7j4bmeyc.js} +45 -45
- package/dist/chunks/{shell-vdmdzg77.js → wellknown-7xpt23fr.js} +4 -4
- package/dist/chunks/{shell-6fhqajxq.js → wellknown-8950yhm7.js} +9 -9
- package/dist/chunks/{shell-dj3aa5wj.js → wellknown-8ard0xnh.js} +3 -3
- package/dist/chunks/{shell-kgc2xkc7.js → wellknown-8c9nwzfv.js} +2 -2
- package/dist/chunks/{shell-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{shell-1y782dng.js → wellknown-8zj1wa93.js} +19 -19
- package/dist/chunks/{shell-909p1r3q.js → wellknown-909p1r3q.js} +1 -1
- package/dist/chunks/{shell-zz8pmeaw.js → wellknown-92h9fms8.js} +13 -13
- package/dist/chunks/{shell-z9v69aw7.js → wellknown-94cgg493.js} +30 -30
- package/dist/chunks/{shell-mhjvq9xf.js → wellknown-94sexpec.js} +23 -23
- package/dist/chunks/{shell-xky4w4my.js → wellknown-94xk6992.js} +29 -29
- package/dist/chunks/{shell-92tzgrpg.js → wellknown-9b6f7ytq.js} +22 -22
- package/dist/chunks/{shell-c1bwn9r9.js → wellknown-9zj2t9wy.js} +18 -18
- package/dist/chunks/{shell-73tb2d7t.js → wellknown-a1gpj94z.js} +3 -3
- package/dist/chunks/{shell-g5zc0msw.js → wellknown-a9w2502q.js} +1 -1
- package/dist/chunks/{shell-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-wx3q8r90.js → wellknown-abjnfqr5.js} +12 -12
- package/dist/chunks/{shell-y2acyqmb.js → wellknown-afdq2nq0.js} +30 -30
- package/dist/chunks/{shell-hzk924x7.js → wellknown-ap74y1kn.js} +16 -16
- package/dist/chunks/{shell-v148dh5x.js → wellknown-b3hxsf30.js} +9 -9
- package/dist/chunks/{shell-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-dzrr9fx3.js → wellknown-bbsyhe2f.js} +8 -8
- package/dist/chunks/{shell-hzazvw9e.js → wellknown-be434b93.js} +43 -43
- package/dist/chunks/{shell-qk5y71t7.js → wellknown-beebazzm.js} +10 -10
- package/dist/chunks/{shell-qvb81wqx.js → wellknown-bhs9pbkj.js} +17 -17
- package/dist/chunks/{shell-z07pqspn.js → wellknown-bjtzbw4r.js} +3 -3
- package/dist/chunks/{shell-2mhsvxbb.js → wellknown-bk7jaeqh.js} +4 -4
- package/dist/chunks/{shell-cfsekr6v.js → wellknown-cfsekr6v.js} +2 -2
- package/dist/chunks/{shell-2a5svkms.js → wellknown-cke2b7t7.js} +5 -5
- package/dist/chunks/{shell-sgy5rc4s.js → wellknown-cngh3wnk.js} +11 -11
- package/dist/chunks/{shell-qmqgtz8f.js → wellknown-cwa6csj7.js} +9 -9
- package/dist/chunks/{shell-dy2xnbj8.js → wellknown-cwkg0kwh.js} +14 -14
- package/dist/chunks/{shell-sgyq1qp9.js → wellknown-cymsrqdn.js} +20 -20
- package/dist/chunks/{shell-pjnbb6nv.js → wellknown-d04jdsaz.js} +26 -26
- package/dist/chunks/{shell-wbkyxrgf.js → wellknown-d1khqved.js} +5 -5
- package/dist/chunks/{shell-s19nf2ge.js → wellknown-d2q97jrn.js} +7 -7
- package/dist/chunks/{shell-5gr04vgg.js → wellknown-d6kf3zw4.js} +7 -7
- package/dist/chunks/{shell-e0vtkr8g.js → wellknown-d7r387ef.js} +6 -6
- package/dist/chunks/{shell-em3h5ktn.js → wellknown-dbv05mm3.js} +4 -4
- package/dist/chunks/{shell-mdr46t4g.js → wellknown-dckvf469.js} +3 -3
- package/dist/chunks/{shell-gc7e05zt.js → wellknown-dp18k49k.js} +19 -19
- package/dist/chunks/{shell-rp3pg7vc.js → wellknown-dw1xb9j8.js} +4 -4
- package/dist/chunks/{shell-hbe0cwhg.js → wellknown-dzbnv1y8.js} +14 -14
- package/dist/chunks/{shell-5qd3pb7m.js → wellknown-e3qxr5gk.js} +2 -2
- package/dist/chunks/{shell-n0x2a21q.js → wellknown-e7cyz2n2.js} +24 -24
- package/dist/chunks/{shell-8x3ar29j.js → wellknown-e7rr3zef.js} +4 -4
- package/dist/chunks/{shell-fmb7ydzj.js → wellknown-e8c7tdgy.js} +13 -13
- package/dist/chunks/{shell-8j1jmj9t.js → wellknown-edfps4tk.js} +5 -5
- package/dist/chunks/{shell-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-ky96t3kz.js → wellknown-eg0775ss.js} +10 -10
- package/dist/chunks/{shell-m7s2bw5g.js → wellknown-en2jb2v2.js} +25 -25
- package/dist/chunks/{shell-mkwp3yp2.js → wellknown-etk0206k.js} +10 -10
- package/dist/chunks/{shell-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{shell-9syxb0r3.js → wellknown-ev0saa8z.js} +7 -7
- package/dist/chunks/{shell-r7srsjaq.js → wellknown-f1vyh6xp.js} +16 -16
- package/dist/chunks/{shell-nwakhswj.js → wellknown-f3hqkxtk.js} +31 -31
- package/dist/chunks/{shell-de6jgy4a.js → wellknown-f4f6dec5.js} +32 -32
- package/dist/chunks/{shell-3p2gykje.js → wellknown-f65gvspq.js} +3 -3
- package/dist/chunks/{shell-5v8k5syq.js → wellknown-fdqe7t98.js} +20 -20
- package/dist/chunks/{shell-vxfrmkmy.js → wellknown-ffhspk0h.js} +28 -28
- package/dist/chunks/{shell-nq7qbqzc.js → wellknown-fhs97t90.js} +9 -9
- package/dist/chunks/{shell-d7xrmwxz.js → wellknown-fppza7yp.js} +10 -10
- package/dist/chunks/{shell-qfc3y584.js → wellknown-fwtnydp1.js} +11 -11
- package/dist/chunks/{shell-gwt0t2e2.js → wellknown-g1096q0s.js} +23 -23
- package/dist/chunks/{shell-fy6cggrf.js → wellknown-g5agzp2h.js} +5 -5
- package/dist/chunks/{shell-g5w8qwbj.js → wellknown-g5w8qwbj.js} +1 -1
- package/dist/chunks/{shell-jca4demv.js → wellknown-g97bb4fb.js} +2 -2
- package/dist/chunks/{shell-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-94ek1h2f.js → wellknown-gfvb90ym.js} +2 -2
- package/dist/chunks/{shell-24zydrzs.js → wellknown-ggh48w3t.js} +36 -36
- package/dist/chunks/{shell-rthp8kp4.js → wellknown-gke7xfxw.js} +17 -17
- package/dist/chunks/{shell-445bgnxh.js → wellknown-gmf6wyfv.js} +7 -7
- package/dist/chunks/{shell-46gkbd0c.js → wellknown-gq3f4pq9.js} +24 -24
- package/dist/chunks/{shell-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
- package/dist/chunks/{shell-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-kw0mk995.js → wellknown-h9k0myby.js} +41 -41
- package/dist/chunks/{shell-v3a302k8.js → wellknown-haahk2j0.js} +5 -5
- package/dist/chunks/{shell-d38myz56.js → wellknown-hbdbv0wt.js} +24 -24
- package/dist/chunks/{shell-yq14pbr7.js → wellknown-hbyhqfhs.js} +5 -5
- package/dist/chunks/{shell-0bwxef5p.js → wellknown-hs5cnsfg.js} +35 -35
- package/dist/chunks/{shell-90xpxcvn.js → wellknown-hy7bhjnd.js} +11 -11
- package/dist/chunks/{shell-hadadgvf.js → wellknown-hzcr34ks.js} +6 -6
- package/dist/chunks/{shell-2832djng.js → wellknown-j2598mjc.js} +7 -7
- package/dist/chunks/{shell-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-wzh9kx9c.js → wellknown-j5g32akq.js} +4 -4
- package/dist/chunks/{shell-agthfym9.js → wellknown-j70evk53.js} +34 -34
- package/dist/chunks/{shell-cm8jqk38.js → wellknown-jcrcn3k8.js} +5 -5
- package/dist/chunks/{shell-b44gvvvr.js → wellknown-jjfwpmnh.js} +8 -8
- package/dist/chunks/{shell-40ejgnmq.js → wellknown-jkna1137.js} +6 -6
- package/dist/chunks/{shell-3aqqv3ta.js → wellknown-jkxcgs8q.js} +24 -24
- package/dist/chunks/{shell-0tf9f9fk.js → wellknown-jz0ehkkx.js} +8 -8
- package/dist/chunks/{shell-k3c624dm.js → wellknown-k3c624dm.js} +3 -3
- package/dist/chunks/{shell-027h9grx.js → wellknown-k88fwccj.js} +15 -15
- package/dist/chunks/{shell-wdt5kg7f.js → wellknown-khn32n8z.js} +7 -7
- package/dist/chunks/{shell-0pgf3wjz.js → wellknown-kkj1mgts.js} +11 -11
- package/dist/chunks/{shell-f41jbqvm.js → wellknown-ksgwj901.js} +7 -7
- package/dist/chunks/{shell-9rzhta9t.js → wellknown-kxv0pnw6.js} +11 -11
- package/dist/chunks/{shell-gs9kr2a8.js → wellknown-m2bk3f14.js} +11 -11
- package/dist/chunks/{shell-m3fdjcah.js → wellknown-m3fdjcah.js} +1 -1
- package/dist/chunks/{shell-m58kmhef.js → wellknown-m58kmhef.js} +2 -2
- package/dist/chunks/{shell-x3ec03mt.js → wellknown-m76ak856.js} +12 -12
- package/dist/chunks/{shell-350namw0.js → wellknown-m8gd39et.js} +32 -32
- package/dist/chunks/{shell-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-x661k3y3.js → wellknown-mpk0rfs5.js} +4 -4
- package/dist/chunks/{shell-ng9nphe0.js → wellknown-mt2wpz7r.js} +22 -22
- package/dist/chunks/{shell-awbtvej0.js → wellknown-n57qrn3a.js} +6 -6
- package/dist/chunks/{shell-7dthvaew.js → wellknown-nvk3p1p4.js} +24 -24
- package/dist/chunks/{shell-d8cfvk62.js → wellknown-nx4bp6rh.js} +17 -17
- package/dist/chunks/{shell-nxm207yx.js → wellknown-nxm207yx.js} +1 -1
- package/dist/chunks/{shell-rbgk9g65.js → wellknown-p320bp61.js} +24 -24
- package/dist/chunks/{shell-1ajx6rf5.js → wellknown-p37cw4rj.js} +8 -8
- package/dist/chunks/{shell-0p8b1wz2.js → wellknown-p5hcw2cx.js} +14 -14
- package/dist/chunks/{shell-a6t0d3d8.js → wellknown-p7vmt0vr.js} +21 -21
- package/dist/chunks/{shell-cs4k5zgq.js → wellknown-p7yarm9w.js} +9 -9
- package/dist/chunks/{shell-wh0yrkpr.js → wellknown-pdzttwzv.js} +10 -10
- package/dist/chunks/{shell-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{shell-rwrdja42.js → wellknown-pn2bvya9.js} +17 -17
- package/dist/chunks/wellknown-pp8ac1gr.js +252 -0
- package/dist/chunks/{shell-5whaezv9.js → wellknown-ps96thee.js} +24 -24
- package/dist/chunks/{shell-wd3x2cqz.js → wellknown-psazpmmj.js} +2 -2
- package/dist/chunks/{shell-3x602478.js → wellknown-q615bh5j.js} +15 -15
- package/dist/chunks/{shell-kg2zmxw6.js → wellknown-qcaxezzb.js} +42 -42
- package/dist/chunks/{shell-3a1r704r.js → wellknown-qk9gfppg.js} +7 -7
- package/dist/chunks/{shell-dg5bcj4q.js → wellknown-qq8x5mwt.js} +4 -4
- package/dist/chunks/{shell-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-r8xr0va3.js → wellknown-r8xr0va3.js} +1 -1
- package/dist/chunks/{shell-gsgd9zjh.js → wellknown-r9qax4y8.js} +24 -24
- package/dist/chunks/{shell-jnps75af.js → wellknown-r9tj242d.js} +11 -11
- package/dist/chunks/{shell-j0zcen4g.js → wellknown-radmxtwt.js} +6 -6
- package/dist/chunks/wellknown-rap9a73h.js +18 -0
- package/dist/chunks/{shell-0yvfy2gr.js → wellknown-rc5hc0js.js} +75 -75
- package/dist/chunks/{shell-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-wv396vej.js → wellknown-rhjbct0v.js} +8 -8
- package/dist/chunks/{shell-tmvj6me9.js → wellknown-rrxsaae4.js} +10 -10
- package/dist/chunks/{shell-xd0e3npz.js → wellknown-rsbn0fcn.js} +20 -20
- package/dist/chunks/{shell-ws227ysr.js → wellknown-rxkspqj9.js} +5 -5
- package/dist/chunks/{shell-y30nbvw3.js → wellknown-rys8zzfc.js} +17 -17
- package/dist/chunks/{shell-mp6d0dty.js → wellknown-rzs3gq0x.js} +8 -8
- package/dist/chunks/{shell-3namxzrj.js → wellknown-s2ew5zhm.js} +70 -70
- package/dist/chunks/{shell-z4pb129a.js → wellknown-s2hc5wjj.js} +4 -4
- package/dist/chunks/{shell-yrznvahk.js → wellknown-s4enseaf.js} +2 -2
- package/dist/chunks/{shell-nsq97wxa.js → wellknown-s7vss6zf.js} +13 -13
- package/dist/chunks/{shell-t34bv3bh.js → wellknown-sjgknyar.js} +3 -3
- package/dist/chunks/{shell-fq36cd5d.js → wellknown-spev15wm.js} +12 -12
- package/dist/chunks/{shell-0f9afca0.js → wellknown-sra9araw.js} +5 -5
- package/dist/chunks/{shell-5gj63dwh.js → wellknown-ssdq1t99.js} +10 -10
- package/dist/chunks/{shell-qdd0q08y.js → wellknown-stk7aj9c.js} +15 -15
- package/dist/chunks/{shell-smnd959e.js → wellknown-stmrx373.js} +7 -7
- package/dist/chunks/{shell-hgr40ys5.js → wellknown-sw4z7rqk.js} +14 -14
- package/dist/chunks/{shell-2q4t2vtj.js → wellknown-szrbzcjd.js} +22 -22
- package/dist/chunks/{shell-2yxkykh1.js → wellknown-t2j7eqzx.js} +22 -22
- package/dist/chunks/{shell-1ntkjgb8.js → wellknown-t2tmd77d.js} +16 -16
- package/dist/chunks/{shell-763zc42s.js → wellknown-t5y73egm.js} +8 -8
- package/dist/chunks/{shell-5t0mhrn0.js → wellknown-t6e95mzg.js} +6 -6
- package/dist/chunks/{shell-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{shell-xh2bzhhz.js → wellknown-tf4x7bac.js} +6 -6
- package/dist/chunks/{shell-br9mj3ey.js → wellknown-trdgkbgm.js} +32 -32
- package/dist/chunks/{shell-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{shell-77p9tcjg.js → wellknown-v0pw3s3m.js} +48 -48
- package/dist/chunks/{shell-6gnvbdx3.js → wellknown-vakvjtqr.js} +3 -3
- package/dist/chunks/{shell-a89e0tac.js → wellknown-vbfgae2j.js} +4 -4
- package/dist/chunks/{shell-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-1q4hgdtf.js → wellknown-vkfwmpk4.js} +307 -307
- package/dist/chunks/{shell-kqgb7ch4.js → wellknown-vqmgxh08.js} +5 -5
- package/dist/chunks/{shell-ps9psapg.js → wellknown-vrdgc38a.js} +37 -37
- package/dist/chunks/{shell-mebcx2ev.js → wellknown-vrf00v9y.js} +5 -5
- package/dist/chunks/{shell-gcavn3wx.js → wellknown-vykevjvn.js} +5 -5
- package/dist/chunks/{shell-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{shell-vzs5sf6e.js → wellknown-vzs5sf6e.js} +1 -1
- package/dist/chunks/{shell-bj8111r1.js → wellknown-w1d6802m.js} +3 -3
- package/dist/chunks/{shell-w1eejvng.js → wellknown-w1eejvng.js} +1 -1
- package/dist/chunks/{shell-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-5bjd8ds0.js → wellknown-w552p3va.js} +45 -45
- package/dist/chunks/{shell-ax630gpb.js → wellknown-w718jc0k.js} +11 -11
- package/dist/chunks/{shell-exq671fp.js → wellknown-w7bd8vdp.js} +8 -8
- package/dist/chunks/{shell-zvjxv4v7.js → wellknown-wasjttrh.js} +21 -21
- package/dist/chunks/{shell-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{shell-9g29qv69.js → wellknown-we2x3x45.js} +4 -4
- package/dist/chunks/{shell-z2sk8n0r.js → wellknown-wh8dp25y.js} +11 -11
- package/dist/chunks/{shell-yrxdn3w6.js → wellknown-wz6t5by9.js} +7 -7
- package/dist/chunks/{shell-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-gs4tkc79.js → wellknown-x2qdxhwm.js} +8 -8
- package/dist/chunks/{shell-myrh9h6p.js → wellknown-x65pzh39.js} +8 -8
- package/dist/chunks/{shell-fz2hs8me.js → wellknown-xcqptzhp.js} +11 -11
- package/dist/chunks/{shell-dmqcgk4z.js → wellknown-xkntkrq7.js} +5 -5
- package/dist/chunks/{shell-83y1qfs6.js → wellknown-xmgh8e8k.js} +169 -169
- package/dist/chunks/{shell-spcspf24.js → wellknown-xp89vksz.js} +11 -11
- package/dist/chunks/{shell-5vrj9ban.js → wellknown-xq9mxwgm.js} +11 -11
- package/dist/chunks/{shell-zrfk4xcc.js → wellknown-xswzb4kc.js} +29 -29
- package/dist/chunks/{shell-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-1rh4yqvv.js → wellknown-y54hr7f3.js} +9 -9
- package/dist/chunks/{shell-k0t8x34b.js → wellknown-y6mz8vze.js} +1 -1
- package/dist/chunks/{shell-17dp9b3b.js → wellknown-y8xa2k4j.js} +11 -11
- package/dist/chunks/{shell-ghvvmysb.js → wellknown-ybzspq0s.js} +43 -43
- package/dist/chunks/{shell-gce79w0q.js → wellknown-ydqn5d54.js} +22 -22
- package/dist/chunks/{shell-302sxsq7.js → wellknown-yh1s390g.js} +8 -8
- package/dist/chunks/{shell-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{shell-frz7qx3c.js → wellknown-yyk7gbmy.js} +13 -13
- package/dist/chunks/{shell-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-4r8tvr6m.js → wellknown-z606hban.js} +3 -3
- package/dist/chunks/{shell-y6drww2a.js → wellknown-z8qjm4kc.js} +39 -39
- package/dist/chunks/{shell-cebrzyqt.js → wellknown-zanch5yy.js} +23 -23
- package/dist/chunks/{shell-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{shell-dawgpkjz.js → wellknown-zhr2g1ae.js} +11 -11
- package/dist/chunks/{shell-m41nq2xm.js → wellknown-zn5188kg.js} +8 -8
- package/dist/chunks/{shell-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-zvt5dnpc.js → wellknown-zvt5dnpc.js} +1 -1
- package/dist/chunks/{shell-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/chunks/{shell-k0gdq8ga.js → wellknown-zyr433b0.js} +11 -11
- package/dist/chunks/{shell-m0rmv5bm.js → wellknown-zz2gve7a.js} +12 -12
- package/dist/chunks/{shell-1ezyexdv.js → wellknown-zzn5c76v.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +91 -91
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +129 -129
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +94 -94
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- 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 +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- 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 +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/shell-619r8v3y.js +0 -18
- package/dist/chunks/shell-7kw0n3fd.js +0 -252
- package/dist/chunks/shell-g619fkyf.js +0 -26
- /package/dist/chunks/{shell-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-34c7v6d4.js → wellknown-34c7v6d4.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./wellknown-6qsyht78.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./wellknown-4y3x9j2a.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service60
|
|
16
|
+
} from "./wellknown-nx4bp6rh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service55
|
|
19
|
+
} from "./wellknown-6vqdytr6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service13,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-stk7aj9c.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./wellknown-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service42,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./wellknown-ydqn5d54.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service36
|
|
37
|
+
} from "./wellknown-ybzspq0s.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./wellknown-rc5hc0js.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./wellknown-we2x3x45.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input2,
|
|
53
|
+
Plugin: () => Plugin19,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name2
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name2 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input2 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin19 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service26;
|
|
123
|
+
const jobs = yield* Service60;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service78;
|
|
126
|
+
const access = yield* Service13;
|
|
127
|
+
const shell = yield* Service36;
|
|
128
|
+
const shellSelect = yield* Service42;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service55;
|
|
131
|
+
const config = yield* Service63;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin8 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name2,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin8 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name2,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input2,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin8 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name2,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name2];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin19, exports_shell };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./wellknown-1mbawdqw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./wellknown-6qsyht78.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-tf4x7bac.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make7(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service63;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID11.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make7();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make7, VLLMPlugin2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-ev0saa8z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-e7rr3zef.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service76
|
|
11
|
+
} from "./wellknown-94cgg493.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./wellknown-12zc50tf.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./wellknown-xswzb4kc.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-tf4x7bac.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID12.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID13.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service76;
|
|
57
|
+
const integrations = yield* Service74;
|
|
58
58
|
const bus = yield* Service82;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-psazpmmj.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-rhjbct0v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-bjtzbw4r.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-nxm207yx.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./wellknown-4y3x9j2a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./wellknown-290gn2nz.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
|
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
334
|
-
const environment = yield*
|
|
334
|
+
const environment = yield* Service78;
|
|
335
335
|
return Service7.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var node9 = makeLocationNode({ service: Service7, layer, deps: [
|
|
340
|
+
var node9 = makeLocationNode({ service: Service7, layer, deps: [node81] });
|
|
341
341
|
|
|
342
342
|
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-w1d6802m.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-bjtzbw4r.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load4
|
|
12
|
+
} from "./wellknown-zhr2g1ae.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-g97bb4fb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service57,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node60
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service57 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service57.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node60 = makeGlobalNode({ service: Service57, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput4,
|
|
130
|
+
export { ListInput4, Service57, node60, exports_store };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-ev0saa8z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-e7rr3zef.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./wellknown-94cgg493.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-mpk0rfs5.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-12zc50tf.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./wellknown-xswzb4kc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID11,
|
|
25
|
+
Info24
|
|
26
|
+
} from "./wellknown-1mbawdqw.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID12.gitlab;
|
|
39
|
+
var integrationID = ID13.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,7 +57,7 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
60
|
+
const providers = yield* Service73;
|
|
61
61
|
const bus = yield* Service82;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info24.default(providerID, ID11.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID12.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|