@opencode/core 0.0.0-dev-20409 → 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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{shell-zm3q7mex.js → wellknown-09e215wj.js} +20 -20
- package/dist/chunks/{shell-p18fzj7h.js → wellknown-0na27aqw.js} +22 -22
- package/dist/chunks/{shell-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-5mfsnars.js → wellknown-0rpx8wc5.js} +20 -20
- package/dist/chunks/{shell-bct739vz.js → wellknown-0v53mg2y.js} +4 -4
- package/dist/chunks/{shell-59wg76sz.js → wellknown-0xgfr3a5.js} +3 -3
- package/dist/chunks/{shell-n9gk7fk1.js → wellknown-0zdym56s.js} +6 -6
- package/dist/chunks/{shell-qpe8tk8s.js → wellknown-12zc50tf.js} +27 -27
- package/dist/chunks/{shell-fn2vqynn.js → wellknown-14czrspb.js} +18 -18
- package/dist/chunks/{shell-bweaxm80.js → wellknown-14ty0bgn.js} +73 -73
- package/dist/chunks/{shell-gahyzsq3.js → wellknown-164an6e8.js} +23 -23
- package/dist/chunks/{shell-qwe53qqr.js → wellknown-16z2jb6t.js} +15 -15
- package/dist/chunks/{shell-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{shell-dcfyjk12.js → wellknown-1fkkc2q4.js} +19 -19
- package/dist/chunks/{shell-6rpwy5mc.js → wellknown-1kkt2vva.js} +35 -35
- package/dist/chunks/{shell-bbt4s1em.js → wellknown-1mbawdqw.js} +28 -28
- package/dist/chunks/{shell-rb29dj05.js → wellknown-1n8pm4fs.js} +14 -14
- package/dist/chunks/{shell-rd8v1r6j.js → wellknown-1s1t9db3.js} +26 -26
- package/dist/chunks/{shell-56gdpj1q.js → wellknown-1ygqh575.js} +9 -9
- package/dist/chunks/{shell-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{shell-hz84tk5e.js → wellknown-2336b01z.js} +8 -8
- package/dist/chunks/{shell-bybgwcct.js → wellknown-290gn2nz.js} +30 -30
- package/dist/chunks/{shell-29x78va6.js → wellknown-29x78va6.js} +2 -2
- package/dist/chunks/{shell-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-wg0k9rvv.js → wellknown-2a9pehze.js} +8 -8
- package/dist/chunks/{shell-tmk4yz8x.js → wellknown-2fwvtqtm.js} +30 -30
- package/dist/chunks/{shell-k01n324r.js → wellknown-2p2ksper.js} +5 -5
- package/dist/chunks/{shell-xdk9p2qn.js → wellknown-2pnhn36q.js} +4 -4
- package/dist/chunks/{shell-3w0fmcng.js → wellknown-2qp6y8xf.js} +5 -5
- package/dist/chunks/{shell-cpbwv1ps.js → wellknown-2r2n6yth.js} +21 -21
- package/dist/chunks/{shell-2zbxyrg1.js → wellknown-32ndydhr.js} +11 -11
- package/dist/chunks/{shell-znsx74x0.js → wellknown-3556dn8t.js} +1 -1
- package/dist/chunks/{shell-tmcd77ag.js → wellknown-38qsazbb.js} +37 -37
- package/dist/chunks/{shell-4e8vs6eh.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-rba86r9a.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-knevfgda.js → wellknown-44ak30pa.js} +4 -4
- package/dist/chunks/{shell-6z7hmy4t.js → wellknown-44mgpfzg.js} +34 -34
- package/dist/chunks/{shell-y7eazgyz.js → wellknown-44w561qj.js} +5 -5
- package/dist/chunks/{shell-hfkmhm74.js → wellknown-4btpfq85.js} +29 -29
- package/dist/chunks/{shell-2etfsxvf.js → wellknown-4hqqpt46.js} +8 -8
- package/dist/chunks/{shell-dezcy0y7.js → wellknown-4rem7hjf.js} +18 -18
- package/dist/chunks/{shell-v12jv0w3.js → wellknown-4y3x9j2a.js} +24 -24
- package/dist/chunks/{shell-h9wp8z5w.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-0h1hke09.js → wellknown-55m9a17k.js} +22 -22
- package/dist/chunks/{shell-2fgn2we9.js → wellknown-57ez7d0k.js} +9 -9
- package/dist/chunks/wellknown-583665fb.js +26 -0
- package/dist/chunks/{shell-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-6bsje7ws.js → wellknown-5epte933.js} +3 -3
- package/dist/chunks/{shell-ttwj0m8z.js → wellknown-5kcmdkc3.js} +32 -32
- package/dist/chunks/{shell-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{shell-p08d8mdw.js → wellknown-5yxxxe3w.js} +11 -11
- package/dist/chunks/{shell-jqhg1hxk.js → wellknown-614y8yz0.js} +18 -18
- package/dist/chunks/{shell-c13z7sy5.js → wellknown-632q0zdk.js} +29 -29
- package/dist/chunks/{shell-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{shell-2d57kztd.js → wellknown-6anwy9fs.js} +4 -4
- package/dist/chunks/{shell-fd636bra.js → wellknown-6b2zjn2e.js} +9 -9
- package/dist/chunks/{shell-a46v4e4v.js → wellknown-6cfd75hy.js} +7 -7
- package/dist/chunks/{shell-t58mb03q.js → wellknown-6crwcbc9.js} +28 -28
- package/dist/chunks/{shell-kc9hs6v2.js → wellknown-6hmwwa40.js} +14 -14
- package/dist/chunks/{shell-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{shell-zp34c0n6.js → wellknown-6qsyht78.js} +46 -46
- package/dist/chunks/{shell-dm6v0cnj.js → wellknown-6vqdytr6.js} +43 -43
- package/dist/chunks/{shell-w6yjv3f5.js → wellknown-72npc2f6.js} +21 -21
- package/dist/chunks/{shell-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-2k8khapm.js → wellknown-7dqw4kz8.js} +5 -5
- package/dist/chunks/{shell-kmhtm0eh.js → wellknown-7j4bmeyc.js} +40 -40
- package/dist/chunks/{shell-faan1wk1.js → wellknown-7xpt23fr.js} +4 -4
- package/dist/chunks/{shell-ahg1zghw.js → wellknown-8950yhm7.js} +9 -9
- package/dist/chunks/{shell-mej20m9j.js → wellknown-8ard0xnh.js} +3 -3
- package/dist/chunks/{shell-h5r4kkc1.js → wellknown-8c9nwzfv.js} +2 -2
- package/dist/chunks/{shell-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{shell-k0v2pnh2.js → wellknown-8zj1wa93.js} +27 -27
- package/dist/chunks/{shell-sd5f6jdk.js → wellknown-909p1r3q.js} +6 -6
- package/dist/chunks/{shell-pk5ddt9p.js → wellknown-92h9fms8.js} +19 -19
- package/dist/chunks/{shell-q47e89a1.js → wellknown-94cgg493.js} +23 -23
- package/dist/chunks/{shell-7jq0yyyf.js → wellknown-94sexpec.js} +32 -32
- package/dist/chunks/{shell-em9qgwr1.js → wellknown-94xk6992.js} +31 -31
- package/dist/chunks/{shell-5w2qze6g.js → wellknown-9b6f7ytq.js} +27 -27
- package/dist/chunks/{shell-jen49w49.js → wellknown-9zj2t9wy.js} +22 -22
- package/dist/chunks/{shell-mvfsc1pv.js → wellknown-a1gpj94z.js} +3 -3
- package/dist/chunks/{shell-80yzywcg.js → wellknown-a9w2502q.js} +1 -1
- package/dist/chunks/{shell-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-46w5102t.js → wellknown-abjnfqr5.js} +12 -12
- package/dist/chunks/{shell-vc39bt20.js → wellknown-afdq2nq0.js} +32 -32
- package/dist/chunks/{shell-aqmh106j.js → wellknown-ap74y1kn.js} +16 -16
- package/dist/chunks/{shell-watjqnhq.js → wellknown-b3hxsf30.js} +9 -9
- package/dist/chunks/{shell-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-461tr88a.js → wellknown-bbsyhe2f.js} +10 -10
- package/dist/chunks/{shell-57spbz54.js → wellknown-be434b93.js} +46 -46
- package/dist/chunks/{shell-mssx8eq3.js → wellknown-beebazzm.js} +8 -8
- package/dist/chunks/{shell-8dwbst7y.js → wellknown-bhs9pbkj.js} +19 -19
- package/dist/chunks/{shell-z07pqspn.js → wellknown-bjtzbw4r.js} +3 -3
- package/dist/chunks/{shell-5xpznt2d.js → wellknown-bk7jaeqh.js} +4 -4
- package/dist/chunks/{shell-py3kkmfq.js → wellknown-cfsekr6v.js} +2 -2
- package/dist/chunks/{shell-fe5bw3z3.js → wellknown-cke2b7t7.js} +12 -12
- package/dist/chunks/{shell-qstbhtjy.js → wellknown-cngh3wnk.js} +17 -17
- package/dist/chunks/{shell-g6q9qykm.js → wellknown-cwa6csj7.js} +9 -9
- package/dist/chunks/{shell-xkx2jhzt.js → wellknown-cwkg0kwh.js} +14 -14
- package/dist/chunks/{shell-bms65qjn.js → wellknown-cymsrqdn.js} +21 -21
- package/dist/chunks/{shell-ppkbx4yt.js → wellknown-d04jdsaz.js} +24 -24
- package/dist/chunks/{shell-p1nm93x7.js → wellknown-d1khqved.js} +5 -5
- package/dist/chunks/{shell-je2nd8qy.js → wellknown-d2q97jrn.js} +9 -9
- package/dist/chunks/{shell-kbww7b3v.js → wellknown-d6kf3zw4.js} +7 -7
- package/dist/chunks/{shell-sz0fczdy.js → wellknown-d7r387ef.js} +6 -6
- package/dist/chunks/{shell-afjydgk3.js → wellknown-dbv05mm3.js} +4 -4
- package/dist/chunks/{shell-zyrx8stx.js → wellknown-dckvf469.js} +3 -3
- package/dist/chunks/{shell-jt8t0ecz.js → wellknown-dp18k49k.js} +19 -19
- package/dist/chunks/{shell-h3j6n5en.js → wellknown-dw1xb9j8.js} +4 -4
- package/dist/chunks/{shell-thev1fqr.js → wellknown-dzbnv1y8.js} +21 -21
- package/dist/chunks/{shell-4238gvvk.js → wellknown-e7cyz2n2.js} +22 -22
- package/dist/chunks/{shell-ap9eas8m.js → wellknown-e7rr3zef.js} +12 -12
- package/dist/chunks/{shell-6hbwvpvg.js → wellknown-e8c7tdgy.js} +23 -23
- package/dist/chunks/{shell-ph6a0m52.js → wellknown-edfps4tk.js} +5 -5
- package/dist/chunks/{shell-ef5x83kb.js → wellknown-ef5x83kb.js} +1 -1
- package/dist/chunks/{shell-bcx2a56x.js → wellknown-eg0775ss.js} +12 -12
- package/dist/chunks/{shell-yxvshskh.js → wellknown-en2jb2v2.js} +35 -35
- package/dist/chunks/{shell-vaeza82m.js → wellknown-etk0206k.js} +9 -9
- package/dist/chunks/{shell-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{shell-mgpyxjx6.js → wellknown-ev0saa8z.js} +10 -10
- package/dist/chunks/{shell-chrxq3ex.js → wellknown-f1vyh6xp.js} +14 -14
- package/dist/chunks/{shell-77bqxzzx.js → wellknown-f3hqkxtk.js} +35 -35
- package/dist/chunks/{shell-fpkrmtmw.js → wellknown-f4f6dec5.js} +35 -35
- package/dist/chunks/{shell-r6127srf.js → wellknown-f65gvspq.js} +1 -1
- package/dist/chunks/{shell-dgt8mkj3.js → wellknown-fdqe7t98.js} +27 -27
- package/dist/chunks/{shell-7v930722.js → wellknown-ffhspk0h.js} +25 -25
- package/dist/chunks/{shell-dnszgtsj.js → wellknown-fhs97t90.js} +9 -9
- package/dist/chunks/{shell-hrxnr7fv.js → wellknown-fppza7yp.js} +15 -15
- package/dist/chunks/{shell-bpnn7hyv.js → wellknown-fwtnydp1.js} +11 -11
- package/dist/chunks/{shell-nrscgsz0.js → wellknown-g1096q0s.js} +26 -26
- package/dist/chunks/{shell-h6b02349.js → wellknown-g5agzp2h.js} +5 -5
- package/dist/chunks/{shell-xfkkasph.js → wellknown-g5w8qwbj.js} +4 -4
- package/dist/chunks/{shell-ff0svapt.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-2ypncbw6.js → wellknown-ggh48w3t.js} +57 -57
- package/dist/chunks/{shell-242bp3ky.js → wellknown-gke7xfxw.js} +17 -17
- package/dist/chunks/{shell-sbm56x9k.js → wellknown-gmf6wyfv.js} +9 -9
- package/dist/chunks/{shell-fh0zj1e1.js → wellknown-gq3f4pq9.js} +31 -31
- 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-n56h5hy7.js → wellknown-h9k0myby.js} +37 -37
- package/dist/chunks/{shell-1310s4tm.js → wellknown-haahk2j0.js} +5 -5
- package/dist/chunks/{shell-ppsqsh87.js → wellknown-hbdbv0wt.js} +37 -37
- package/dist/chunks/{shell-axs6pdy0.js → wellknown-hbyhqfhs.js} +5 -5
- package/dist/chunks/{shell-ygcwaq5r.js → wellknown-hs5cnsfg.js} +43 -43
- package/dist/chunks/{shell-7wyjaxt5.js → wellknown-hy7bhjnd.js} +11 -11
- package/dist/chunks/{shell-09vtkvs2.js → wellknown-hzcr34ks.js} +8 -8
- package/dist/chunks/{shell-a68erk2e.js → wellknown-j2598mjc.js} +8 -8
- package/dist/chunks/{shell-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-j81vay8t.js → wellknown-j5g32akq.js} +4 -4
- package/dist/chunks/{shell-kkg080jf.js → wellknown-j70evk53.js} +36 -36
- package/dist/chunks/{shell-296c8m1w.js → wellknown-jcrcn3k8.js} +5 -5
- package/dist/chunks/{shell-bbg4461y.js → wellknown-jjfwpmnh.js} +44 -44
- package/dist/chunks/{shell-m90ew7f1.js → wellknown-jkna1137.js} +6 -6
- package/dist/chunks/{shell-smcy5e0a.js → wellknown-jkxcgs8q.js} +28 -28
- package/dist/chunks/{shell-q5z6qrs5.js → wellknown-jz0ehkkx.js} +8 -8
- package/dist/chunks/{shell-k3c624dm.js → wellknown-k3c624dm.js} +3 -3
- package/dist/chunks/{shell-43y38rzh.js → wellknown-k88fwccj.js} +15 -15
- package/dist/chunks/{shell-55pt171s.js → wellknown-khn32n8z.js} +9 -9
- package/dist/chunks/{shell-0mfvdt8p.js → wellknown-kkj1mgts.js} +11 -11
- package/dist/chunks/{shell-hn5cnzw3.js → wellknown-ksgwj901.js} +16 -16
- package/dist/chunks/{shell-s24brvt1.js → wellknown-kxv0pnw6.js} +13 -13
- package/dist/chunks/{shell-pj97z4ma.js → wellknown-m2bk3f14.js} +15 -15
- 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-qrtps7c6.js → wellknown-m76ak856.js} +12 -12
- package/dist/chunks/{shell-vpxczwj3.js → wellknown-m8gd39et.js} +32 -32
- package/dist/chunks/{shell-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-dnxkq42g.js → wellknown-mpk0rfs5.js} +4 -4
- package/dist/chunks/{shell-h7k6fa17.js → wellknown-mt2wpz7r.js} +20 -20
- package/dist/chunks/{shell-q3ersh05.js → wellknown-n57qrn3a.js} +4 -4
- package/dist/chunks/{shell-n3v0wvct.js → wellknown-nvk3p1p4.js} +28 -28
- package/dist/chunks/{shell-8558arf1.js → wellknown-nx4bp6rh.js} +17 -17
- package/dist/chunks/{shell-nxm207yx.js → wellknown-nxm207yx.js} +1 -1
- package/dist/chunks/{shell-nxdbpavb.js → wellknown-p320bp61.js} +18 -18
- package/dist/chunks/{shell-p42hj8p8.js → wellknown-p37cw4rj.js} +8 -8
- package/dist/chunks/{shell-yvpke61a.js → wellknown-p5hcw2cx.js} +14 -14
- package/dist/chunks/{shell-zz330w20.js → wellknown-p7vmt0vr.js} +27 -27
- package/dist/chunks/{shell-br5b6q5k.js → wellknown-p7yarm9w.js} +9 -9
- package/dist/chunks/{shell-zv4zpfd9.js → wellknown-pdzttwzv.js} +13 -13
- 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-xzjm34t0.js → wellknown-pn2bvya9.js} +19 -19
- package/dist/chunks/wellknown-pp8ac1gr.js +252 -0
- package/dist/chunks/{shell-h6wkafze.js → wellknown-ps96thee.js} +18 -18
- package/dist/chunks/{shell-wd3x2cqz.js → wellknown-psazpmmj.js} +2 -2
- package/dist/chunks/{shell-0w0ygeyh.js → wellknown-q615bh5j.js} +17 -17
- package/dist/chunks/{shell-gyz7ndzc.js → wellknown-qcaxezzb.js} +43 -43
- package/dist/chunks/{shell-2j558fvx.js → wellknown-qk9gfppg.js} +7 -7
- package/dist/chunks/{shell-qq8x5mwt.js → wellknown-qq8x5mwt.js} +1 -1
- 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-gyae47ky.js → wellknown-r9qax4y8.js} +25 -25
- package/dist/chunks/{shell-3czaqwkp.js → wellknown-r9tj242d.js} +11 -11
- package/dist/chunks/{shell-v5vpra1m.js → wellknown-radmxtwt.js} +9 -9
- package/dist/chunks/wellknown-rap9a73h.js +18 -0
- package/dist/chunks/{shell-xfn62cer.js → wellknown-rc5hc0js.js} +95 -95
- package/dist/chunks/{shell-rdw6cm16.js → wellknown-rdw6cm16.js} +1 -1
- package/dist/chunks/{shell-s8d7rejh.js → wellknown-rhjbct0v.js} +4 -4
- package/dist/chunks/{shell-6wsfawph.js → wellknown-rrxsaae4.js} +13 -13
- package/dist/chunks/{shell-tw3zdh9f.js → wellknown-rsbn0fcn.js} +21 -21
- package/dist/chunks/{shell-7vvv5wyx.js → wellknown-rxkspqj9.js} +7 -7
- package/dist/chunks/{shell-tsadq9bd.js → wellknown-rys8zzfc.js} +23 -23
- package/dist/chunks/{shell-7rwqf82v.js → wellknown-rzs3gq0x.js} +8 -8
- package/dist/chunks/{shell-b9x5zb31.js → wellknown-s2ew5zhm.js} +84 -84
- package/dist/chunks/{shell-2cfbypp4.js → wellknown-s2hc5wjj.js} +4 -4
- package/dist/chunks/{shell-s4enseaf.js → wellknown-s4enseaf.js} +2 -2
- package/dist/chunks/{shell-48m56tyw.js → wellknown-s7vss6zf.js} +15 -15
- package/dist/chunks/{shell-f6z1vvb1.js → wellknown-sjgknyar.js} +8 -8
- package/dist/chunks/{shell-bkwfsa8d.js → wellknown-spev15wm.js} +9 -9
- package/dist/chunks/{shell-avm8jn6n.js → wellknown-sra9araw.js} +5 -5
- package/dist/chunks/{shell-1w0b4a26.js → wellknown-ssdq1t99.js} +10 -10
- package/dist/chunks/{shell-gna9hx4h.js → wellknown-stk7aj9c.js} +18 -18
- package/dist/chunks/{shell-yb93st4g.js → wellknown-stmrx373.js} +8 -8
- package/dist/chunks/{shell-tec192gq.js → wellknown-sw4z7rqk.js} +16 -16
- package/dist/chunks/{shell-nfmhh18x.js → wellknown-szrbzcjd.js} +27 -27
- package/dist/chunks/{shell-hztfeys8.js → wellknown-t2j7eqzx.js} +35 -35
- package/dist/chunks/{shell-pqyb1j4v.js → wellknown-t2tmd77d.js} +26 -26
- package/dist/chunks/{shell-7s9404gx.js → wellknown-t5y73egm.js} +26 -26
- package/dist/chunks/{shell-a9fh1xd3.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-cr81t2vd.js → wellknown-tf4x7bac.js} +6 -6
- package/dist/chunks/{shell-qfkr4h51.js → wellknown-trdgkbgm.js} +20 -20
- package/dist/chunks/{shell-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{shell-9qeb1hh1.js → wellknown-v0pw3s3m.js} +48 -48
- package/dist/chunks/{shell-tyhjxzyj.js → wellknown-vakvjtqr.js} +3 -3
- package/dist/chunks/{shell-tbmac1c7.js → wellknown-vbfgae2j.js} +4 -4
- package/dist/chunks/{shell-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-29yjt9fr.js → wellknown-vkfwmpk4.js} +325 -325
- package/dist/chunks/{shell-5h3x3awa.js → wellknown-vqmgxh08.js} +5 -5
- package/dist/chunks/{shell-jhtb5f97.js → wellknown-vrdgc38a.js} +30 -30
- package/dist/chunks/{shell-ffybh0wk.js → wellknown-vrf00v9y.js} +5 -5
- package/dist/chunks/{shell-fepbnb8j.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-pcwxzhdm.js → wellknown-w1d6802m.js} +3 -3
- package/dist/chunks/{shell-84txncab.js → wellknown-w1eejvng.js} +5 -5
- package/dist/chunks/{shell-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-5785y2ep.js → wellknown-w552p3va.js} +42 -42
- package/dist/chunks/{shell-psa9hm71.js → wellknown-w718jc0k.js} +11 -11
- package/dist/chunks/{shell-dhdpfhyp.js → wellknown-w7bd8vdp.js} +8 -8
- package/dist/chunks/{shell-pstb62p2.js → wellknown-wasjttrh.js} +23 -23
- package/dist/chunks/{shell-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{shell-rs8qp985.js → wellknown-we2x3x45.js} +4 -4
- package/dist/chunks/{shell-s532705d.js → wellknown-wh8dp25y.js} +9 -9
- package/dist/chunks/{shell-f7jve23h.js → wellknown-wz6t5by9.js} +13 -13
- 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-wg0dbssz.js → wellknown-x65pzh39.js} +10 -10
- package/dist/chunks/{shell-zsasz6gv.js → wellknown-xcqptzhp.js} +19 -19
- package/dist/chunks/{shell-dmqcgk4z.js → wellknown-xkntkrq7.js} +5 -5
- package/dist/chunks/{shell-nxhmsv4t.js → wellknown-xmgh8e8k.js} +177 -177
- package/dist/chunks/{shell-r19vg6ms.js → wellknown-xp89vksz.js} +11 -11
- package/dist/chunks/{shell-zbjyzcd7.js → wellknown-xq9mxwgm.js} +15 -15
- package/dist/chunks/{shell-6zck5j37.js → wellknown-xswzb4kc.js} +29 -29
- package/dist/chunks/{shell-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-3b9qt4hj.js → wellknown-y54hr7f3.js} +9 -9
- package/dist/chunks/{shell-8805xwn4.js → wellknown-y6mz8vze.js} +1 -1
- package/dist/chunks/{shell-k93zhc7s.js → wellknown-y8xa2k4j.js} +11 -11
- package/dist/chunks/{shell-pjbr20qj.js → wellknown-ybzspq0s.js} +51 -51
- package/dist/chunks/{shell-k8csyqq2.js → wellknown-ydqn5d54.js} +22 -22
- package/dist/chunks/{shell-6pwzktg7.js → wellknown-yh1s390g.js} +11 -11
- package/dist/chunks/{shell-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{shell-qzwd4pkf.js → wellknown-yyk7gbmy.js} +13 -13
- package/dist/chunks/{shell-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-tpxv5eqt.js → wellknown-z606hban.js} +3 -3
- package/dist/chunks/{shell-y07tpj3e.js → wellknown-z8qjm4kc.js} +48 -48
- package/dist/chunks/{shell-11040j7v.js → wellknown-zanch5yy.js} +23 -23
- package/dist/chunks/{shell-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{shell-4j10ng35.js → wellknown-zhr2g1ae.js} +8 -8
- package/dist/chunks/{shell-2ccbzhav.js → wellknown-zn5188kg.js} +13 -13
- package/dist/chunks/{shell-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-rpg9c19m.js → wellknown-zvt5dnpc.js} +4 -4
- package/dist/chunks/{shell-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/chunks/{shell-3k0nn0ne.js → wellknown-zyr433b0.js} +8 -8
- package/dist/chunks/{shell-90nab8ev.js → wellknown-zz2gve7a.js} +12 -12
- package/dist/chunks/{shell-xp0mhm80.js → wellknown-zzn5c76v.js} +16 -16
- 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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +132 -132
- 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 +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- 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 +79 -79
- 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 +372 -372
- 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 +74 -74
- 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 +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- 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 +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- 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 +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +124 -124
- 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 +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +1 -1
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/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 +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/shell-619r8v3y.js +0 -18
- package/dist/chunks/shell-d1z9x6fa.js +0 -252
- package/dist/chunks/shell-z76f73v3.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-e3qxr5gk.js → wellknown-e3qxr5gk.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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-xswzb4kc.js";
|
|
5
5
|
import {
|
|
6
6
|
ID11,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info24,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-1mbawdqw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,7 +71,7 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
@@ -94,8 +94,8 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info24.make({
|
|
98
|
+
...Info24.default(providerID, id),
|
|
99
99
|
id,
|
|
100
100
|
modelID: ID11.make(remote.id),
|
|
101
101
|
providerID,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./wellknown-zzn5c76v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service78
|
|
12
|
+
} from "./wellknown-4y3x9j2a.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service77
|
|
15
|
+
} from "./wellknown-14czrspb.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-290gn2nz.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service55
|
|
24
|
+
} from "./wellknown-6vqdytr6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service13
|
|
27
|
+
} from "./wellknown-stk7aj9c.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input6,
|
|
37
|
+
Output: () => Output3,
|
|
38
|
+
Plugin: () => Plugin23,
|
|
39
|
+
name: () => name6,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name6 = "glob";
|
|
46
|
+
var Input6 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output3 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin23 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service78;
|
|
70
|
+
const ripgrep = yield* Service77;
|
|
71
|
+
const location = yield* Service80;
|
|
72
|
+
const access = yield* Service13;
|
|
73
|
+
const permission = yield* Service55;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name6,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input6,
|
|
79
|
+
output: Output3,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name6,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin30 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name6, Input6, Output3, toModelContent2, Plugin23, exports_glob };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./wellknown-e7rr3zef.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./wellknown-zzn5c76v.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Service73,
|
|
20
|
+
node76,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./wellknown-xswzb4kc.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -33,15 +33,15 @@ __export(exports_model2, {
|
|
|
33
33
|
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
35
|
ID: () => ID11,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service69,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node72,
|
|
44
|
+
parse: () => parse4
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info24 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service69 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const location = yield*
|
|
63
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service73;
|
|
65
|
+
const bus = yield* Service82;
|
|
66
|
+
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info24.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
200
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
-
return
|
|
201
|
+
return Service69.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node72 = makeLocationNode({ service: Service69, layer, deps: [node76, node86, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse4(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
231
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
232
232
|
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2,
|
|
236
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info24, Service69, node72, compatibility2, parse4, exports_model2, Event15 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-w1d6802m.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-54tcyq79.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
16
|
ID: () => ID8,
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
17
|
+
Info: () => Info10,
|
|
18
|
+
ListInput: () => ListInput3,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service56,
|
|
21
|
+
node: () => node59
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,8 +26,8 @@ import { Project } from "@opencode/schema/project";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID8 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var Info10 = PermissionSaved.Info;
|
|
30
|
+
var ListInput3 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service56 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service56.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node59 = makeGlobalNode({ service: Service56, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export { ID8,
|
|
73
|
+
export { ID8, Info10, ListInput3, AddInput2, Service56, node59, exports_saved };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service58
|
|
4
|
+
} from "./wellknown-ps96thee.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service80
|
|
7
|
+
} from "./wellknown-zzn5c76v.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service63
|
|
10
|
+
} from "./wellknown-6qsyht78.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service42,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-ydqn5d54.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service26
|
|
17
|
+
} from "./wellknown-rc5hc0js.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make10
|
|
20
|
+
} from "./wellknown-xp89vksz.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin46
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin46 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service63;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin7 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service42;
|
|
60
|
+
const sessions = yield* Service26;
|
|
61
|
+
const agents = yield* Service58;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin46, exports_command2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin2,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin2 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin36 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin2, exports_exa };
|