@opencode/core 0.0.0-dev-19939 → 0.0.0-dev-19961
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 +74 -74
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +3 -3
- package/dist/bus.js +72 -72
- package/dist/chunks/{agent-na3cbkd8.js → tool-052jad2t.js} +41 -41
- package/dist/chunks/{agent-msq0jde0.js → tool-06dxphr1.js} +4 -4
- package/dist/chunks/{agent-4h52jw7j.js → tool-0dzbpygc.js} +22 -22
- package/dist/chunks/{agent-p3gycn8b.js → tool-0h7zqhk1.js} +13 -13
- package/dist/chunks/{agent-e4q8186z.js → tool-0mw5jzcs.js} +3 -3
- package/dist/chunks/{agent-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{agent-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
- package/dist/chunks/{agent-d6jhtwvw.js → tool-0qsq8avf.js} +18 -18
- package/dist/chunks/{agent-3801kdgp.js → tool-0ryd0fps.js} +5 -5
- package/dist/chunks/{agent-sv3vsz9b.js → tool-10jtetaj.js} +6 -6
- package/dist/chunks/tool-1ck0eb67.js +252 -0
- package/dist/chunks/{agent-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{agent-q5qvysx4.js → tool-1nxe83bq.js} +9 -9
- package/dist/chunks/{agent-kfgkb3w8.js → tool-207vtrn6.js} +1 -1
- package/dist/chunks/{agent-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{agent-5sqqcv2m.js → tool-223h8e4b.js} +27 -27
- package/dist/chunks/{agent-c9rn2ffm.js → tool-227eqkj4.js} +33 -33
- package/dist/chunks/{agent-2402vzrj.js → tool-2402vzrj.js} +1 -1
- package/dist/chunks/{agent-m85h0kfj.js → tool-26aezvr0.js} +2 -2
- package/dist/chunks/{agent-stv5gz7c.js → tool-27v469nr.js} +13 -13
- package/dist/chunks/{agent-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{agent-xxcf9j2r.js → tool-2c24r6b8.js} +8 -8
- package/dist/chunks/{agent-fex5691d.js → tool-2d46v4jb.js} +6 -6
- package/dist/chunks/{agent-zryg9yjn.js → tool-2hsfmsjg.js} +18 -18
- package/dist/chunks/{agent-2k8khapm.js → tool-2k8khapm.js} +1 -1
- package/dist/chunks/{agent-5e7r050g.js → tool-2q12e7yc.js} +1 -1
- package/dist/chunks/{agent-hrekjq5z.js → tool-2qez6wf9.js} +15 -15
- package/dist/chunks/{agent-eqkxs06z.js → tool-321x2wtd.js} +6 -6
- package/dist/chunks/{agent-036j9pep.js → tool-356sz14e.js} +23 -23
- package/dist/chunks/{agent-gxzbat11.js → tool-3cwbe53h.js} +32 -32
- package/dist/chunks/{agent-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{agent-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{agent-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{agent-ymf79dpk.js → tool-483vxbq6.js} +6 -6
- package/dist/chunks/{agent-3y8yawqa.js → tool-4969znen.js} +16 -16
- package/dist/chunks/{agent-1qyqkqe4.js → tool-4mw75b8e.js} +9 -9
- package/dist/chunks/{agent-3w2b2yj4.js → tool-4xbskmpe.js} +5 -5
- package/dist/chunks/{agent-1jqm4hqw.js → tool-533n7pr6.js} +23 -23
- package/dist/chunks/{agent-1ygqh575.js → tool-56gdpj1q.js} +9 -9
- package/dist/chunks/{agent-5c4hm403.js → tool-5c4hm403.js} +3 -3
- package/dist/chunks/{agent-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{agent-zwmb00wq.js → tool-5e9skgpm.js} +15 -15
- package/dist/chunks/{agent-y5df08dr.js → tool-5npp0aqe.js} +12 -12
- package/dist/chunks/{agent-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{agent-fhsfb5wx.js → tool-5yk85840.js} +20 -20
- package/dist/chunks/{agent-2gbsvbx5.js → tool-5zc6skgb.js} +12 -12
- package/dist/chunks/{agent-fb6r9czn.js → tool-62297ddh.js} +22 -22
- package/dist/chunks/{agent-2421mgk7.js → tool-63ppx069.js} +14 -14
- package/dist/chunks/{agent-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{agent-wrrgj8p2.js → tool-6713kt06.js} +23 -23
- package/dist/chunks/{agent-h5wn60w9.js → tool-69tq260k.js} +4 -4
- package/dist/chunks/{agent-y68y97fv.js → tool-6htwetdg.js} +13 -13
- package/dist/chunks/{agent-8qvkbm9p.js → tool-6khsxrsf.js} +4 -4
- package/dist/chunks/{agent-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{agent-a3n0gq8j.js → tool-6nfxmhqk.js} +14 -14
- package/dist/chunks/{agent-75hzh59n.js → tool-6tty3e9h.js} +4 -4
- package/dist/chunks/{agent-dv7xn15p.js → tool-6yj6tbhz.js} +22 -22
- package/dist/chunks/{agent-z1gnkr1t.js → tool-6zd6bfsr.js} +6 -6
- package/dist/chunks/tool-70jsskm8.js +18 -0
- package/dist/chunks/{agent-qby9dwvd.js → tool-73kdj4zj.js} +8 -8
- package/dist/chunks/{agent-gf7f2369.js → tool-751d8h98.js} +8 -8
- package/dist/chunks/{agent-2sejkfem.js → tool-79qaa2kf.js} +9 -9
- package/dist/chunks/{agent-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-7t7d5q2p.js → tool-7jqfrm98.js} +8 -8
- package/dist/chunks/{agent-gsdsh762.js → tool-7kshtdzt.js} +12 -12
- package/dist/chunks/{agent-vfyx1xy1.js → tool-7mmmgkzb.js} +24 -24
- package/dist/chunks/{agent-1t7nvzsm.js → tool-7ykgbnpc.js} +10 -10
- package/dist/chunks/{agent-sr79cq9d.js → tool-8b47r7w2.js} +11 -11
- package/dist/chunks/{agent-hra2zf6w.js → tool-8d78w7dx.js} +10 -10
- package/dist/chunks/{agent-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{agent-1h68bbz1.js → tool-8ehm0xb8.js} +92 -92
- package/dist/chunks/{agent-vg3tvwdk.js → tool-8j0g64bg.js} +25 -25
- package/dist/chunks/{agent-x9s20f53.js → tool-8qdtywy4.js} +47 -47
- package/dist/chunks/{agent-qg0jgkcp.js → tool-8tz9mcp0.js} +9 -9
- package/dist/chunks/{agent-0qths4nn.js → tool-92gxwggs.js} +14 -14
- package/dist/chunks/{agent-6f2v6d3h.js → tool-952y256t.js} +13 -13
- package/dist/chunks/{agent-2dd34nca.js → tool-953ef62m.js} +15 -15
- package/dist/chunks/{agent-vx884nfc.js → tool-96gp88bm.js} +24 -24
- package/dist/chunks/{agent-1qsp6rhw.js → tool-96y5k2e2.js} +41 -41
- package/dist/chunks/{agent-1mhtqdf9.js → tool-9df2h92x.js} +46 -45
- package/dist/chunks/{agent-c85qzh5t.js → tool-9dnsb0hw.js} +18 -18
- package/dist/chunks/{agent-s2v47wsv.js → tool-9erckna5.js} +9 -9
- package/dist/chunks/{agent-r8d6a4tf.js → tool-9g3bpc12.js} +28 -28
- package/dist/chunks/tool-9kw8973d.js +28 -0
- package/dist/chunks/{agent-ercet7pm.js → tool-9mp97stb.js} +10 -10
- package/dist/chunks/{agent-5akn35ws.js → tool-9zrmz628.js} +11 -11
- package/dist/chunks/{agent-qn4ba14w.js → tool-9zzv5pgc.js} +5 -5
- package/dist/chunks/{agent-m2k0n4kz.js → tool-a6h4rwtp.js} +21 -21
- package/dist/chunks/{agent-np2d4m60.js → tool-a771gyms.js} +18 -18
- package/dist/chunks/{agent-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{agent-40ttqsg0.js → tool-aeh0dgne.js} +7 -7
- package/dist/chunks/{agent-ckf8nxjz.js → tool-afdssyjb.js} +4 -4
- package/dist/chunks/{agent-8r83crvb.js → tool-ag7x3tep.js} +19 -19
- package/dist/chunks/{agent-dfmg44zt.js → tool-ah7j68gv.js} +17 -17
- package/dist/chunks/{agent-pb1eahw5.js → tool-anarwj6h.js} +8 -8
- package/dist/chunks/{agent-bp4eqg1s.js → tool-arm62n8x.js} +41 -41
- package/dist/chunks/{agent-afbgadfc.js → tool-as54p17p.js} +36 -36
- package/dist/chunks/{agent-5pvas20d.js → tool-ayj8hn2b.js} +9 -9
- package/dist/chunks/{agent-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{agent-xr4jxd3n.js → tool-b92hwcrq.js} +26 -26
- package/dist/chunks/{agent-esjpzfqh.js → tool-bqm56rap.js} +16 -16
- package/dist/chunks/{agent-4ns3h2re.js → tool-bqszwq89.js} +4 -4
- package/dist/chunks/{agent-xryzejns.js → tool-btasn2qa.js} +3 -3
- package/dist/chunks/{agent-9kz8gdr8.js → tool-bv9vpxf1.js} +15 -15
- package/dist/chunks/{agent-d2aac7k2.js → tool-bx4qmb9g.js} +5 -5
- package/dist/chunks/{agent-pstg3rfm.js → tool-bz85s9hh.js} +1 -1
- package/dist/chunks/{agent-bkyn6bwe.js → tool-c14p3nf7.js} +39 -39
- package/dist/chunks/{agent-magykp64.js → tool-cavr175a.js} +4 -4
- package/dist/chunks/{agent-q2q7z127.js → tool-cb9s9s15.js} +30 -30
- package/dist/chunks/{agent-85xfn293.js → tool-cf04bqj1.js} +6 -6
- package/dist/chunks/{agent-7gvs7gck.js → tool-ch0wdc2q.js} +18 -18
- package/dist/chunks/{agent-rz1656kd.js → tool-crjg2n55.js} +329 -318
- package/dist/chunks/{agent-sm46077v.js → tool-cvqzmya4.js} +26 -26
- package/dist/chunks/{agent-wh950sxe.js → tool-cxpv6f5j.js} +10 -10
- package/dist/chunks/{agent-w9rjmhg2.js → tool-d1nag333.js} +18 -18
- package/dist/chunks/{agent-57ez7d0k.js → tool-d9s573fh.js} +2 -2
- package/dist/chunks/{agent-ptadzx8h.js → tool-dcrzta4z.js} +12 -12
- package/dist/chunks/{agent-2ajemesj.js → tool-dhj1bndq.js} +32 -32
- package/dist/chunks/{agent-dj2t23y0.js → tool-dj2t23y0.js} +2 -2
- package/dist/chunks/{agent-6hvxcsy0.js → tool-dns740p1.js} +11 -11
- package/dist/chunks/{agent-y71avatq.js → tool-dpkg50ah.js} +4 -4
- package/dist/chunks/{agent-xfkkasph.js → tool-drwq78ky.js} +4 -4
- package/dist/chunks/{agent-6h3wybc7.js → tool-dtz9s4b3.js} +6 -6
- package/dist/chunks/{agent-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-nv0zfvs3.js → tool-egh78b95.js} +77 -77
- package/dist/chunks/{agent-erw5rpbs.js → tool-erw5rpbs.js} +2 -2
- package/dist/chunks/{agent-6nfzt672.js → tool-et1rwp1c.js} +11 -11
- package/dist/chunks/{agent-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{agent-fab8hzt3.js → tool-evq6r5pz.js} +4 -4
- package/dist/chunks/{agent-pa8pe2x7.js → tool-eys57y9b.js} +8 -8
- package/dist/chunks/{agent-z24rsk7e.js → tool-f17sp9w8.js} +37 -37
- package/dist/chunks/{agent-2yc73x9z.js → tool-f3yhmzb7.js} +14 -14
- package/dist/chunks/{agent-wavy99wc.js → tool-fadk8h2y.js} +11 -11
- package/dist/chunks/{agent-vhvn8xxs.js → tool-fp9zptb1.js} +27 -27
- package/dist/chunks/{agent-0m0tvs7x.js → tool-fwrss4ad.js} +4 -4
- package/dist/chunks/{agent-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
- package/dist/chunks/{agent-0nde5ztd.js → tool-fyjp43ss.js} +5 -5
- package/dist/chunks/{agent-edf18fwt.js → tool-g1a4gtq5.js} +28 -28
- package/dist/chunks/{agent-81eajdsq.js → tool-g49j1kpf.js} +17 -17
- package/dist/chunks/{agent-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{agent-q06j225y.js → tool-ggvw6grp.js} +32 -32
- package/dist/chunks/{agent-fwgtty9p.js → tool-gk46542b.js} +9 -9
- package/dist/chunks/{agent-yhykjk6q.js → tool-gns1g86j.js} +27 -27
- package/dist/chunks/{agent-rbbtr4pm.js → tool-gwcbygb9.js} +35 -18
- package/dist/chunks/{agent-00x4qneg.js → tool-h04cqsq0.js} +8 -8
- package/dist/chunks/{agent-s0agc963.js → tool-h10s6dah.js} +8 -8
- package/dist/chunks/{agent-g3dvzzsn.js → tool-h2xwsekh.js} +20 -20
- package/dist/chunks/{agent-7z7az0f5.js → tool-h6jr292a.js} +4 -4
- package/dist/chunks/{agent-h6r3nrb9.js → tool-h6r3nrb9.js} +1 -1
- package/dist/chunks/{agent-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{agent-hdnk95c8.js → tool-hdnk95c8.js} +2 -2
- package/dist/chunks/{agent-408rqjm7.js → tool-hjj1jfge.js} +11 -11
- package/dist/chunks/{agent-m0cf690c.js → tool-hkx1eav1.js} +17 -17
- package/dist/chunks/{agent-vk3p7bbt.js → tool-hs2gas49.js} +11 -11
- package/dist/chunks/{agent-d7b96y43.js → tool-j020r4b8.js} +21 -21
- package/dist/chunks/{agent-2d57kztd.js → tool-j15mfg1p.js} +6 -6
- package/dist/chunks/{agent-bcwpxhz1.js → tool-j2m1k0mf.js} +5 -5
- package/dist/chunks/{agent-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{agent-cqtv3ntd.js → tool-jcqz283k.js} +32 -32
- package/dist/chunks/{agent-c0mr470r.js → tool-jkhbgvt8.js} +17 -17
- package/dist/chunks/{agent-ddjv2rf1.js → tool-js4h49s3.js} +40 -40
- package/dist/chunks/{agent-y8zr9mrm.js → tool-jyyhzxje.js} +11 -11
- package/dist/chunks/{agent-zh9a0jmt.js → tool-jzcaxwhd.js} +9 -9
- package/dist/chunks/{agent-ak1tpw6q.js → tool-k0ageqhp.js} +2 -2
- package/dist/chunks/{agent-k3c624dm.js → tool-k3c624dm.js} +3 -3
- package/dist/chunks/{agent-2e96adxv.js → tool-k9avtbwf.js} +6 -6
- package/dist/chunks/{agent-9gfem6tc.js → tool-k9gc50dd.js} +3 -3
- package/dist/chunks/{agent-5h6kfehj.js → tool-kc4njv9x.js} +3 -3
- package/dist/chunks/{agent-d858xzj7.js → tool-kkp8zx71.js} +4 -4
- package/dist/chunks/{agent-mjhmz48d.js → tool-kkye0g1c.js} +31 -31
- package/dist/chunks/{agent-60ng53x8.js → tool-kkzze73x.js} +9 -9
- package/dist/chunks/{agent-k9kj6xed.js → tool-knb7evpn.js} +6 -6
- package/dist/chunks/tool-kt46ze3v.js +26 -0
- package/dist/chunks/{agent-d72aarx9.js → tool-kwy905ev.js} +15 -15
- package/dist/chunks/{agent-wmvgvm9g.js → tool-kzb7j8ba.js} +10 -10
- package/dist/chunks/{agent-m0jqrx5p.js → tool-m0jqrx5p.js} +2 -2
- package/dist/chunks/{agent-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{agent-bd3mgvaw.js → tool-m3k2zkjm.js} +8 -8
- package/dist/chunks/{agent-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/tool-mb4e1d4e.js +60 -0
- package/dist/chunks/{agent-eyxhp5jq.js → tool-mb7h37gf.js} +15 -15
- package/dist/chunks/{agent-w28840qy.js → tool-mbdx9w3r.js} +13 -13
- package/dist/chunks/{agent-geknskw0.js → tool-mjanay65.js} +18 -18
- package/dist/chunks/{agent-b7b1bvw5.js → tool-mpqms32c.js} +90 -90
- package/dist/chunks/{agent-35zpsenw.js → tool-ms8h2pfd.js} +21 -21
- package/dist/chunks/{agent-mhkvc446.js → tool-mvfsc1pv.js} +3 -3
- package/dist/chunks/{agent-yp1ctj3c.js → tool-n36tynep.js} +10 -10
- package/dist/chunks/{agent-zqq6ndec.js → tool-n9asgjfy.js} +42 -42
- package/dist/chunks/{agent-36x1j5qv.js → tool-ncb7wxzt.js} +8 -8
- package/dist/chunks/{agent-6hft2jmv.js → tool-ne9ed71s.js} +4 -4
- package/dist/chunks/{agent-nng2ktcm.js → tool-nng2ktcm.js} +2 -2
- package/dist/chunks/{agent-phr2avsp.js → tool-nqxt4fmg.js} +10 -10
- package/dist/chunks/{agent-273f65v8.js → tool-nstzyrqb.js} +37 -37
- package/dist/chunks/{agent-wavj6ccy.js → tool-nt5fy3c2.js} +13 -13
- package/dist/chunks/{agent-p28j5sbe.js → tool-p28j5sbe.js} +2 -2
- package/dist/chunks/{agent-abxv7css.js → tool-p2tjmvvm.js} +9 -9
- package/dist/chunks/{agent-qyjnxv1z.js → tool-p2vw6waa.js} +1 -1
- package/dist/chunks/{agent-3g2nmk79.js → tool-p7g6sxqe.js} +29 -29
- package/dist/chunks/{agent-03heh432.js → tool-p8bq92d1.js} +37 -37
- package/dist/chunks/{agent-kbsfj81n.js → tool-p8gjgk5f.js} +15 -15
- package/dist/chunks/{agent-27s8bqjz.js → tool-p8jkva87.js} +7 -7
- package/dist/chunks/{agent-h6b8nah8.js → tool-pc244188.js} +4 -4
- package/dist/chunks/{agent-5758n57s.js → tool-pd7bzezz.js} +16 -16
- package/dist/chunks/{agent-xm6kpq0w.js → tool-pe8d6tfn.js} +21 -21
- package/dist/chunks/{agent-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{agent-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{agent-gw84rn5c.js → tool-pnbm2g53.js} +31 -31
- package/dist/chunks/{agent-k7myrtme.js → tool-px76j0pk.js} +9 -9
- package/dist/chunks/{agent-mjq5y8n2.js → tool-pyd82k98.js} +3 -3
- package/dist/chunks/{agent-ggcsatw5.js → tool-pz9ad17p.js} +3 -3
- package/dist/chunks/{agent-dv98y0zm.js → tool-q65dfppr.js} +32 -32
- package/dist/chunks/{agent-py6xadtm.js → tool-q7r7q8jv.js} +34 -34
- package/dist/chunks/tool-qapv375x.js +4 -0
- package/dist/chunks/{agent-xy5p8xg6.js → tool-qmh3qcq0.js} +20 -20
- package/dist/chunks/{agent-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{agent-mhh2wvta.js → tool-qvmr90x2.js} +16 -16
- package/dist/chunks/{agent-5taftw3n.js → tool-qwvthsc1.js} +9 -9
- package/dist/chunks/{agent-hvge4a7b.js → tool-qxdz2nh0.js} +21 -21
- package/dist/chunks/{agent-d4sp9rf7.js → tool-qz02d4gv.js} +13 -15
- package/dist/chunks/{agent-r8xr0va3.js → tool-r8xr0va3.js} +1 -1
- package/dist/chunks/{agent-vgmb0hzp.js → tool-r9ezg2qv.js} +24 -24
- package/dist/chunks/{agent-wk5z6jzv.js → tool-r9w3djhf.js} +9 -9
- package/dist/chunks/{agent-as7cad1b.js → tool-rb4bj52x.js} +9 -9
- package/dist/chunks/{agent-g71wmdzk.js → tool-rcs6zvep.js} +141 -141
- package/dist/chunks/{agent-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{agent-rhjbct0v.js → tool-rhjbct0v.js} +1 -1
- package/dist/chunks/{agent-zeh9ct20.js → tool-rq775frq.js} +2 -2
- package/dist/chunks/{agent-vwpw6jr3.js → tool-rs2j7e68.js} +47 -47
- package/dist/chunks/{agent-5zs99abn.js → tool-rtjdhp7j.js} +7 -7
- package/dist/chunks/{agent-bv2m8j2f.js → tool-s5zt3m1z.js} +10 -10
- package/dist/chunks/{agent-kcjc17br.js → tool-sa82vsrh.js} +13 -13
- package/dist/chunks/{agent-9aaedtqt.js → tool-sbnjvcyv.js} +6 -6
- package/dist/chunks/{agent-178916dd.js → tool-se013gpv.js} +8 -8
- package/dist/chunks/{agent-nxnb0v57.js → tool-shtf6z8w.js} +5 -5
- package/dist/chunks/{agent-348gb89b.js → tool-t1835t6e.js} +28 -28
- package/dist/chunks/{agent-t9zs3egg.js → tool-t9zs3egg.js} +1 -1
- package/dist/chunks/{agent-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{agent-89znhe33.js → tool-tcezcvh9.js} +4 -4
- package/dist/chunks/{agent-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{agent-pj88hhxz.js → tool-tkg6e3eb.js} +14 -14
- package/dist/chunks/{agent-psw0wqrt.js → tool-tp36e26b.js} +25 -25
- package/dist/chunks/{agent-x9hcbvs5.js → tool-tr36y7yy.js} +17 -17
- package/dist/chunks/{agent-ww76mnf4.js → tool-tvdq5ra2.js} +34 -34
- package/dist/chunks/{agent-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{agent-v452jk09.js → tool-ty38hkz0.js} +21 -21
- package/dist/chunks/{agent-fpx40r7k.js → tool-v199xdse.js} +16 -16
- package/dist/chunks/{agent-dxk73e61.js → tool-v2a3veg8.js} +8 -8
- package/dist/chunks/{agent-b27vhd2z.js → tool-v5dkyp31.js} +4 -4
- package/dist/chunks/{agent-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-f7xr7q4y.js → tool-vx3ypjf6.js} +24 -24
- package/dist/chunks/{agent-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{agent-xgec815d.js → tool-w0by17jr.js} +27 -27
- package/dist/chunks/{agent-cwp77bqy.js → tool-w0exn9qd.js} +32 -32
- package/dist/chunks/{agent-rvs7jmzp.js → tool-w2zggh9c.js} +48 -48
- package/dist/chunks/{agent-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-7fqa2d9w.js → tool-wcbhsh5x.js} +22 -22
- package/dist/chunks/{agent-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{agent-cpvt4mkc.js → tool-wfrx59p8.js} +1 -1
- package/dist/chunks/{agent-ykcyj6g6.js → tool-wm0tnrwj.js} +11 -11
- package/dist/chunks/{agent-eqfk2yd1.js → tool-wnzj6q9c.js} +8 -8
- package/dist/chunks/{agent-wyx8ky32.js → tool-wrcedmy5.js} +18 -18
- package/dist/chunks/{agent-ynx1zemv.js → tool-wt8p9awf.js} +25 -25
- package/dist/chunks/{agent-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{agent-mf1nywb3.js → tool-x38yyj79.js} +23 -23
- package/dist/chunks/{agent-fkf189j2.js → tool-xgamz1br.js} +7 -7
- package/dist/chunks/{agent-r23bba5b.js → tool-xhfakj7b.js} +29 -29
- package/dist/chunks/{agent-5dr2wz0s.js → tool-xq2w2bqm.js} +16 -16
- package/dist/chunks/{agent-5544h6er.js → tool-xqsp1avr.js} +13 -13
- package/dist/chunks/{agent-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{agent-43zyxgq8.js → tool-ybw5q8sx.js} +1 -1
- package/dist/chunks/{agent-34gj4vpn.js → tool-yqjvyrkg.js} +20 -20
- package/dist/chunks/{agent-xydn9a3q.js → tool-yrcva06b.js} +60 -60
- package/dist/chunks/{agent-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{agent-yrznvahk.js → tool-yrznvahk.js} +2 -2
- package/dist/chunks/{agent-gv6a8nnw.js → tool-yyb7tjpc.js} +2 -2
- package/dist/chunks/{agent-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-z63w68vq.js → tool-z63w68vq.js} +2 -2
- package/dist/chunks/{agent-s2jjmt0q.js → tool-zf1tr6ve.js} +3 -3
- package/dist/chunks/{agent-nrm6eza0.js → tool-zfn6rd9c.js} +6 -6
- package/dist/chunks/{agent-k8awv4zh.js → tool-zjy3ah92.js} +2 -2
- package/dist/chunks/{agent-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{agent-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +107 -107
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +98 -98
- 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 +360 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -356
- package/dist/location.js +84 -84
- package/dist/managed-policy.js +10 -0
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +83 -83
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +86 -86
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/config/plugin/policy.d.ts +2 -1
- package/dist/types/managed-policy.d.ts +19 -0
- package/dist/types/plugin/internal.d.ts +4 -2
- package/dist/types/plugin/provider/opencode.d.ts +2 -1
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +73 -73
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/agent-6kdq0pjd.js +0 -4
- package/dist/chunks/agent-6x899grp.js +0 -49
- package/dist/chunks/agent-eceerw08.js +0 -252
- package/dist/chunks/agent-rap9a73h.js +0 -18
- package/dist/chunks/agent-wgj0x3s5.js +0 -26
- /package/dist/chunks/{agent-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-7w99qc9d.js → tool-7w99qc9d.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-twg0f83k.js → tool-twg0f83k.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
node50
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-sbnjvcyv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./tool-xq2w2bqm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
ID9,
|
|
11
11
|
Service67,
|
|
12
12
|
node70
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-g49j1kpf.js";
|
|
14
14
|
import {
|
|
15
15
|
ID15,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-ah7j68gv.js";
|
|
18
18
|
import {
|
|
19
19
|
ID14,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service77,
|
|
24
|
+
node81
|
|
25
|
+
} from "./tool-yqjvyrkg.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-922hggd3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info32,
|
|
31
31
|
Ref4,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service80,
|
|
33
|
+
node84
|
|
34
|
+
} from "./tool-tkg6e3eb.js";
|
|
35
35
|
import {
|
|
36
36
|
ID13,
|
|
37
|
+
Service76,
|
|
38
|
+
node80
|
|
39
|
+
} from "./tool-wcbhsh5x.js";
|
|
40
|
+
import {
|
|
37
41
|
Service75,
|
|
38
42
|
node79
|
|
39
|
-
} from "./
|
|
40
|
-
import {
|
|
41
|
-
Service74,
|
|
42
|
-
node78
|
|
43
|
-
} from "./agent-fwgtty9p.js";
|
|
44
|
-
import {
|
|
45
|
-
Service43,
|
|
46
|
-
node46
|
|
47
|
-
} from "./agent-psw0wqrt.js";
|
|
43
|
+
} from "./tool-gk46542b.js";
|
|
48
44
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
45
|
+
Service36,
|
|
46
|
+
node39
|
|
47
|
+
} from "./tool-tp36e26b.js";
|
|
52
48
|
import {
|
|
53
49
|
Service68,
|
|
54
50
|
node71
|
|
55
|
-
} from "./
|
|
51
|
+
} from "./tool-xqsp1avr.js";
|
|
56
52
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
53
|
+
Service71,
|
|
54
|
+
node74
|
|
55
|
+
} from "./tool-qwvthsc1.js";
|
|
56
|
+
import {
|
|
57
|
+
ID11,
|
|
58
|
+
Service69,
|
|
59
|
+
node72
|
|
60
|
+
} from "./tool-xhfakj7b.js";
|
|
61
61
|
import {
|
|
62
62
|
ID12
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./tool-mjanay65.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service24,
|
|
66
|
+
node27
|
|
67
|
+
} from "./tool-w2zggh9c.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service70,
|
|
70
|
+
node73
|
|
71
|
+
} from "./tool-73kdj4zj.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service64,
|
|
74
|
+
node67
|
|
75
|
+
} from "./tool-n9asgjfy.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service50,
|
|
78
|
+
node54
|
|
79
|
+
} from "./tool-wt8p9awf.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
81
|
+
Source3,
|
|
82
|
+
Service27,
|
|
83
|
+
node30
|
|
84
|
+
} from "./tool-p7g6sxqe.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info7,
|
|
87
|
+
Service38,
|
|
88
|
+
node41
|
|
89
|
+
} from "./tool-9g3bpc12.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service13,
|
|
92
|
+
node16
|
|
93
|
+
} from "./tool-8ehm0xb8.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service52,
|
|
96
|
+
node56
|
|
97
|
+
} from "./tool-kkye0g1c.js";
|
|
98
98
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service35,
|
|
100
|
+
node38
|
|
101
|
+
} from "./tool-a771gyms.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service54,
|
|
104
|
+
node58
|
|
105
|
+
} from "./tool-x38yyj79.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID6,
|
|
108
|
+
Service42,
|
|
109
|
+
node45
|
|
110
|
+
} from "./tool-g1a4gtq5.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service56,
|
|
113
|
+
node60
|
|
114
|
+
} from "./tool-pe8d6tfn.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
|
-
|
|
117
|
+
Info19,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service55,
|
|
120
|
+
node59
|
|
121
|
+
} from "./tool-arm62n8x.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service32,
|
|
124
|
+
node35
|
|
125
|
+
} from "./tool-8j0g64bg.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./tool-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
@@ -144,29 +144,29 @@ var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
|
144
144
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
145
|
const app = yield* Metadata2;
|
|
146
146
|
const agents = yield* Service67;
|
|
147
|
-
const aisdk = yield*
|
|
148
|
-
const providers = yield*
|
|
149
|
-
const models = yield*
|
|
150
|
-
const commands = yield*
|
|
151
|
-
const bus = yield*
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
155
|
-
const location = yield*
|
|
156
|
-
const reference = yield*
|
|
157
|
-
const rpc = yield*
|
|
158
|
-
const skill = yield*
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
161
|
-
const websearch = yield*
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const sessions = yield*
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
147
|
+
const aisdk = yield* Service75;
|
|
148
|
+
const providers = yield* Service76;
|
|
149
|
+
const models = yield* Service69;
|
|
150
|
+
const commands = yield* Service36;
|
|
151
|
+
const bus = yield* Service83;
|
|
152
|
+
const integration = yield* Service77;
|
|
153
|
+
const kv = yield* Service68;
|
|
154
|
+
const mcp = yield* Service24;
|
|
155
|
+
const location = yield* Service80;
|
|
156
|
+
const reference = yield* Service27;
|
|
157
|
+
const rpc = yield* Service35;
|
|
158
|
+
const skill = yield* Service38;
|
|
159
|
+
const tools = yield* Service50;
|
|
160
|
+
const vcs = yield* Service54;
|
|
161
|
+
const websearch = yield* Service42;
|
|
162
|
+
const generate = yield* Service32;
|
|
163
|
+
const permission = yield* Service64;
|
|
164
|
+
const hooks = yield* Service70;
|
|
165
|
+
const sessions = yield* Service13;
|
|
166
|
+
const persistentPty = yield* Service52;
|
|
167
|
+
const locations = yield* Service71;
|
|
168
|
+
const worktrees = yield* Service55;
|
|
169
|
+
const worktreeStrategies = yield* Service56;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
171
|
const locationInfo = () => new Info32({
|
|
172
172
|
directory: location.directory,
|
|
@@ -179,10 +179,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
179
179
|
});
|
|
180
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
182
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info19);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
|
-
const location = yield*
|
|
185
|
+
const location = yield* Service80;
|
|
186
186
|
const agents = yield* Service67;
|
|
187
187
|
return {
|
|
188
188
|
location: new Info32({
|
|
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
transform: (callback) => agents.transform((editor) => {
|
|
218
218
|
callback({
|
|
219
219
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID9.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID9.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID9.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID9.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -268,8 +268,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
268
268
|
remove: (id) => editor.remove(ID13.make(id)),
|
|
269
269
|
models: {
|
|
270
270
|
set: (id, models) => editor.models.set(ID13.make(id), models),
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID),
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID13.make(providerID), ID11.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID13.make(providerID), ID11.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -280,12 +280,12 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
280
280
|
reload: models.reload,
|
|
281
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
282
|
list: (providerID) => editor.list(providerID === undefined ? undefined : ID13.make(providerID)),
|
|
283
|
-
get: (providerID, modelID) => editor.get(ID13.make(providerID),
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(ID13.make(providerID),
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(ID13.make(providerID),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID13.make(providerID), ID11.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID13.make(providerID), ID11.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID13.make(providerID), ID11.make(modelID)),
|
|
286
286
|
default: {
|
|
287
287
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(ID13.make(providerID),
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID13.make(providerID), ID11.make(modelID))
|
|
289
289
|
},
|
|
290
290
|
provider: {
|
|
291
291
|
list: editor.provider.list,
|
|
@@ -385,8 +385,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
385
385
|
const ref = locationRef(input);
|
|
386
386
|
if (ref && !isCurrentLocation(ref))
|
|
387
387
|
return Effect.gen(function* () {
|
|
388
|
-
const location = yield*
|
|
389
|
-
const mcp = yield*
|
|
388
|
+
const location = yield* Service80;
|
|
389
|
+
const mcp = yield* Service24;
|
|
390
390
|
return {
|
|
391
391
|
location: new Info32({
|
|
392
392
|
directory: location.directory,
|
|
@@ -423,7 +423,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
423
423
|
reload: reference.reload,
|
|
424
424
|
transform: (callback) => reference.transform((editor) => {
|
|
425
425
|
callback({
|
|
426
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
426
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
|
|
427
427
|
remove: editor.remove,
|
|
428
428
|
list: editor.list,
|
|
429
429
|
get: editor.get
|
|
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
437
437
|
callback({
|
|
438
438
|
list: () => mutable(editor.list()),
|
|
439
439
|
get: editor.get,
|
|
440
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
440
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info7)(value)),
|
|
441
441
|
update: editor.update,
|
|
442
442
|
remove: editor.remove
|
|
443
443
|
});
|
|
@@ -468,19 +468,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
468
468
|
providers: () => response(websearch.providers()),
|
|
469
469
|
query: (input) => response(websearch.query({
|
|
470
470
|
query: input.query,
|
|
471
|
-
providerID: input.providerID === undefined ? undefined :
|
|
471
|
+
providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
|
|
472
472
|
})),
|
|
473
473
|
reload: websearch.reload,
|
|
474
474
|
transform: (callback) => websearch.transform((editor) => {
|
|
475
475
|
callback({
|
|
476
476
|
add: (definition) => editor.add({
|
|
477
|
-
id:
|
|
477
|
+
id: ID6.make(definition.id),
|
|
478
478
|
name: definition.name,
|
|
479
479
|
execute: definition.execute
|
|
480
480
|
}),
|
|
481
481
|
default: {
|
|
482
482
|
get: editor.default.get,
|
|
483
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
483
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
|
|
484
484
|
}
|
|
485
485
|
});
|
|
486
486
|
})
|
|
@@ -536,29 +536,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
536
536
|
var requirements3 = LayerNode.group([
|
|
537
537
|
node50,
|
|
538
538
|
node70,
|
|
539
|
-
node78,
|
|
540
539
|
node79,
|
|
541
|
-
node67,
|
|
542
|
-
node46,
|
|
543
|
-
node86,
|
|
544
540
|
node80,
|
|
545
|
-
|
|
541
|
+
node72,
|
|
542
|
+
node39,
|
|
543
|
+
node87,
|
|
544
|
+
node81,
|
|
545
|
+
node71,
|
|
546
|
+
node27,
|
|
547
|
+
node84,
|
|
548
|
+
node30,
|
|
549
|
+
node38,
|
|
546
550
|
node41,
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
node69,
|
|
559
|
-
node29,
|
|
560
|
-
node20,
|
|
561
|
-
node71
|
|
551
|
+
node54,
|
|
552
|
+
node58,
|
|
553
|
+
node45,
|
|
554
|
+
node59,
|
|
555
|
+
node60,
|
|
556
|
+
node35,
|
|
557
|
+
node67,
|
|
558
|
+
node73,
|
|
559
|
+
node16,
|
|
560
|
+
node56,
|
|
561
|
+
node74
|
|
562
562
|
]);
|
|
563
563
|
function storage2(kv, pluginID) {
|
|
564
564
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./tool-xq2w2bqm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./tool-tkg6e3eb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node76
|
|
12
|
+
} from "./tool-7mmmgkzb.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
17
|
Service53,
|
|
18
18
|
args2,
|
|
19
19
|
node57
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-4mw75b8e.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service70,
|
|
23
|
+
node73
|
|
24
|
+
} from "./tool-73kdj4zj.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service29,
|
|
27
|
+
node32
|
|
28
|
+
} from "./tool-h04cqsq0.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-7w99qc9d.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service47,
|
|
35
|
+
node51
|
|
36
|
+
} from "./tool-c14p3nf7.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./tool-5zc6skgb.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./tool-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError3,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service28,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node31
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError3 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service28 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service28, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service83;
|
|
91
|
+
const location = yield* Service80;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
93
|
const shell = yield* Service53;
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
94
|
+
const environment = yield* Service73;
|
|
95
|
+
const hooks = yield* Service70;
|
|
96
|
+
const environments = yield* Service29;
|
|
97
|
+
const config = yield* Service47;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError3({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError3({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service28.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node31 = makeLocationNode({
|
|
320
|
+
service: Service28,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node87,
|
|
324
|
+
node84,
|
|
325
325
|
Global.node,
|
|
326
326
|
node57,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
327
|
+
node76,
|
|
328
|
+
node73,
|
|
329
|
+
node32,
|
|
330
|
+
node51,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError3, RETENTION2, DIRECTORY2, Service28, cleanup2, node31, exports_shell4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-xhfakj7b.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./tool-c14p3nf7.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-cf04bqj1.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service47;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID11.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|