@opencode-ai/core 0.0.0-dev-19205 → 0.0.0-dev-19208
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 +75 -75
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +81 -81
- package/dist/chunks/{workspace-qgmahjq5.js → provider-06megt3k.js} +3 -3
- package/dist/chunks/{workspace-r5ef8gce.js → provider-0dz65knd.js} +46 -46
- package/dist/chunks/{workspace-0e0xafbb.js → provider-0e0xafbb.js} +2 -2
- package/dist/chunks/{workspace-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → provider-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-sd6hqhqe.js → provider-0q5q32w9.js} +9 -9
- package/dist/chunks/{workspace-0s9ayhjt.js → provider-0s9ayhjt.js} +1 -1
- package/dist/chunks/{workspace-b6bbhee8.js → provider-0wb8rzxq.js} +9 -9
- package/dist/chunks/{workspace-883yd3e0.js → provider-150nq0zx.js} +60 -60
- package/dist/chunks/{workspace-d711ctq6.js → provider-154tdhbf.js} +23 -23
- package/dist/chunks/{workspace-3h4fnpgw.js → provider-167baxwp.js} +18 -18
- package/dist/chunks/{workspace-1ct4r87x.js → provider-1ct4r87x.js} +1 -1
- package/dist/chunks/{workspace-mwb1rh8h.js → provider-1f1wzhgc.js} +4 -4
- package/dist/chunks/{workspace-7p6a67hm.js → provider-1gan1t7d.js} +8 -8
- package/dist/chunks/{workspace-5pe0hmxx.js → provider-1n47kj00.js} +39 -39
- package/dist/chunks/{workspace-ngmekjny.js → provider-1rspakr7.js} +4 -4
- package/dist/chunks/{workspace-bjppfg2a.js → provider-1shz22ka.js} +11 -11
- package/dist/chunks/{workspace-mfqp6xfm.js → provider-1ygqh575.js} +6 -6
- package/dist/chunks/{workspace-21r38tys.js → provider-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-2402vzrj.js → provider-2402vzrj.js} +1 -1
- package/dist/chunks/{workspace-9r1rwy3c.js → provider-26gqjzba.js} +294 -294
- package/dist/chunks/{workspace-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-6vq97qmv.js → provider-2cmv458r.js} +5 -5
- package/dist/chunks/{workspace-2ht70gj7.js → provider-2ht70gj7.js} +1 -1
- package/dist/chunks/{workspace-2k8khapm.js → provider-2k8khapm.js} +1 -1
- package/dist/chunks/{workspace-tppvcy65.js → provider-2t2f6mkk.js} +9 -9
- package/dist/chunks/{workspace-dzqzmdsn.js → provider-2wp78pv7.js} +18 -18
- package/dist/chunks/{workspace-xsa9y6rb.js → provider-2xttsyh9.js} +36 -36
- package/dist/chunks/{workspace-4pp1x3ye.js → provider-3236p9es.js} +26 -26
- package/dist/chunks/{workspace-36vsdr69.js → provider-36vsdr69.js} +2 -2
- package/dist/chunks/{workspace-5y7zc6aq.js → provider-36vych1t.js} +32 -32
- package/dist/chunks/{workspace-pnpzjwqk.js → provider-3apfe39k.js} +20 -20
- package/dist/chunks/{workspace-ma1hsyqq.js → provider-3dv8501d.js} +7 -7
- package/dist/chunks/{workspace-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-3g2y1byn.js → provider-3jj6bjb6.js} +5 -5
- package/dist/chunks/{workspace-3qzbfqsy.js → provider-3qzbfqsy.js} +2 -2
- package/dist/chunks/{workspace-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-wkm1m5t3.js → provider-3td10cxe.js} +20 -20
- package/dist/chunks/{workspace-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-prf0khpv.js → provider-3wr1xf13.js} +11 -11
- package/dist/chunks/{workspace-3tvaxgfx.js → provider-412nj8ne.js} +4 -4
- package/dist/chunks/{workspace-3cm4x8pz.js → provider-41mncz27.js} +5 -5
- package/dist/chunks/{workspace-454k5vzh.js → provider-454k5vzh.js} +1 -1
- package/dist/chunks/{workspace-9hc93zyr.js → provider-4b4t3pjc.js} +14 -14
- package/dist/chunks/{workspace-1cngsnb6.js → provider-4f62ejdk.js} +4 -4
- package/dist/chunks/{workspace-ma1ffcb4.js → provider-4h2m614z.js} +35 -35
- package/dist/chunks/{workspace-4r2nyarf.js → provider-4r2nyarf.js} +1 -1
- package/dist/chunks/{workspace-7p5wxxxx.js → provider-4rzfmj6r.js} +31 -31
- package/dist/chunks/{workspace-mcz55ydv.js → provider-4sx12ss0.js} +15 -15
- package/dist/chunks/provider-4v7qdvcn.js +18 -0
- package/dist/chunks/{workspace-271bx2e5.js → provider-4w11mnef.js} +13 -13
- package/dist/chunks/{workspace-fhvjqr7f.js → provider-56t7x93m.js} +1 -1
- package/dist/chunks/{workspace-3vc8p5k6.js → provider-57v95epr.js} +20 -20
- package/dist/chunks/{workspace-5daktx2q.js → provider-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-4rpbkfyg.js → provider-5f8r53dv.js} +1 -1
- package/dist/chunks/{workspace-5fmxt4p5.js → provider-5fmxt4p5.js} +1 -1
- package/dist/chunks/{workspace-5jvc5tg2.js → provider-5jvc5tg2.js} +1 -1
- package/dist/chunks/{workspace-55fasg25.js → provider-5k0sy8z7.js} +20 -20
- package/dist/chunks/{workspace-dj748nyr.js → provider-63wfsa3z.js} +5 -5
- package/dist/chunks/{workspace-4w2mesf2.js → provider-655k4754.js} +12 -12
- package/dist/chunks/{workspace-6btbfb8s.js → provider-6b3ygfs6.js} +37 -37
- package/dist/chunks/{workspace-emjf39gq.js → provider-6dy901cq.js} +8 -8
- package/dist/chunks/{workspace-79xc10f4.js → provider-6hq9ypz1.js} +1 -1
- package/dist/chunks/{workspace-zgzs5n0b.js → provider-6k5pzc28.js} +5 -5
- package/dist/chunks/{workspace-6zrzqgzk.js → provider-6t79cyp6.js} +17 -17
- package/dist/chunks/{workspace-tf9n79be.js → provider-6v20y9ae.js} +15 -15
- package/dist/chunks/{workspace-03vfzkzq.js → provider-6vc9jepx.js} +4 -4
- package/dist/chunks/{workspace-wckzh42d.js → provider-6ycyxhre.js} +18 -18
- package/dist/chunks/{workspace-9fhbt2be.js → provider-6zmbvhkw.js} +20 -20
- package/dist/chunks/{workspace-711hfp6y.js → provider-711hfp6y.js} +2 -2
- package/dist/chunks/{workspace-tp4ca0ax.js → provider-714y0nyj.js} +28 -28
- package/dist/chunks/{workspace-72nftnjy.js → provider-72nftnjy.js} +2 -2
- package/dist/chunks/{workspace-1bbkgx8g.js → provider-73tb2d7t.js} +3 -3
- package/dist/chunks/{workspace-yf54mt1p.js → provider-75bcnkzt.js} +3 -3
- package/dist/chunks/{workspace-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-p2cy59ta.js → provider-7jqxqa0m.js} +25 -25
- package/dist/chunks/{workspace-65crtejd.js → provider-7xne53p8.js} +35 -35
- package/dist/chunks/{workspace-pjhc3vrw.js → provider-7z8qs44t.js} +28 -28
- package/dist/chunks/provider-7zk4hah4.js +4 -0
- package/dist/chunks/{workspace-nh4ndjrr.js → provider-83w2teg5.js} +20 -20
- package/dist/chunks/{workspace-pfbznffx.js → provider-8awfda0y.js} +9 -9
- package/dist/chunks/{workspace-pyfyb4h2.js → provider-8cte3jgn.js} +10 -10
- package/dist/chunks/{workspace-bykg0h2w.js → provider-8kh5ca5a.js} +21 -21
- package/dist/chunks/{workspace-vwd9ve21.js → provider-8pjkwv7x.js} +46 -46
- package/dist/chunks/{workspace-6hnqpqne.js → provider-8w88hvgc.js} +24 -24
- package/dist/chunks/{workspace-tynz9yxk.js → provider-8yvym9ym.js} +9 -9
- package/dist/chunks/{workspace-92rbr2mf.js → provider-90nz1h33.js} +32 -32
- package/dist/chunks/{workspace-1nn7y83w.js → provider-916z0j7r.js} +6 -6
- package/dist/chunks/{workspace-93a8yfjt.js → provider-93a8yfjt.js} +2 -2
- package/dist/chunks/{workspace-97f5v037.js → provider-97f5v037.js} +1 -1
- package/dist/chunks/{workspace-mah8zyxa.js → provider-97kv8sxx.js} +15 -15
- package/dist/chunks/{workspace-fbvatgqx.js → provider-988s4dsf.js} +18 -18
- package/dist/chunks/{workspace-4wzn6ynj.js → provider-9b403mqh.js} +24 -24
- package/dist/chunks/{workspace-pfgzwmcs.js → provider-9b4vk83x.js} +17 -17
- package/dist/chunks/{workspace-m8f081sj.js → provider-9g54dxwh.js} +9 -9
- package/dist/chunks/{workspace-9qm9egsn.js → provider-9qm9egsn.js} +2 -2
- package/dist/chunks/{workspace-k82d1k56.js → provider-a7vfznjn.js} +32 -32
- package/dist/chunks/{workspace-aaet6srn.js → provider-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-8f46hmee.js → provider-acjw6vqa.js} +18 -18
- package/dist/chunks/{workspace-mebjn8ym.js → provider-aevzhcqw.js} +13 -13
- package/dist/chunks/{workspace-ajtjthsy.js → provider-ajtjthsy.js} +2 -2
- package/dist/chunks/{workspace-3pxrk450.js → provider-am762tr7.js} +7 -7
- package/dist/chunks/{workspace-5ckspze9.js → provider-amvt9n9n.js} +9 -9
- package/dist/chunks/{workspace-mzq59fwg.js → provider-an503xfg.js} +31 -31
- package/dist/chunks/{workspace-81nm525f.js → provider-apst33me.js} +29 -29
- package/dist/chunks/{workspace-ahrrvtaa.js → provider-aqf15t9j.js} +164 -164
- package/dist/chunks/{workspace-g19vc6v7.js → provider-aqxqcmk6.js} +6 -6
- package/dist/chunks/{workspace-3pmbcp29.js → provider-ar9gdmfp.js} +12 -12
- package/dist/chunks/{workspace-j11eh89n.js → provider-b30exqs9.js} +7 -7
- package/dist/chunks/{workspace-1vvbdqbr.js → provider-b3gdsy4k.js} +24 -24
- package/dist/chunks/{workspace-sthbfsvd.js → provider-b3jnxceh.js} +26 -26
- package/dist/chunks/{workspace-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-b9wsbatv.js → provider-b9wsbatv.js} +1 -1
- package/dist/chunks/{workspace-bphmvjfp.js → provider-bcezcar3.js} +5 -5
- package/dist/chunks/{workspace-bct739vz.js → provider-bct739vz.js} +1 -1
- package/dist/chunks/{workspace-gpkgrk3z.js → provider-bw6knkkc.js} +2 -2
- package/dist/chunks/{workspace-pa20sa4h.js → provider-bwcfw4m5.js} +20 -20
- package/dist/chunks/{workspace-qqhry4hf.js → provider-byh3ey53.js} +18 -18
- package/dist/chunks/{workspace-2rcaaecz.js → provider-c98c5p38.js} +1 -1
- package/dist/chunks/{workspace-nxj5ea3t.js → provider-cavfk19g.js} +2 -2
- package/dist/chunks/{workspace-z10vnmxm.js → provider-cevrgmfq.js} +3 -3
- package/dist/chunks/{workspace-t8c6dkjz.js → provider-ch28dywg.js} +24 -24
- package/dist/chunks/{workspace-jf5tw5w7.js → provider-cjby1f59.js} +5 -5
- package/dist/chunks/{workspace-ddt2bs9e.js → provider-ckf8nxjz.js} +4 -4
- package/dist/chunks/{workspace-wp7kaye5.js → provider-cn6rv8p4.js} +23 -23
- package/dist/chunks/{workspace-6mj9xsav.js → provider-cqzpr7tp.js} +13 -13
- package/dist/chunks/{workspace-y7qh7890.js → provider-cscease3.js} +17 -17
- package/dist/chunks/{workspace-94hfyg4q.js → provider-cz1d01nh.js} +16 -16
- package/dist/chunks/{workspace-w1ym465x.js → provider-czqmmxd1.js} +7 -7
- package/dist/chunks/{workspace-6qwb5pya.js → provider-d23nr4xs.js} +10 -10
- package/dist/chunks/{workspace-y7e6xj4q.js → provider-d4w2zzkx.js} +54 -54
- package/dist/chunks/{workspace-d72308c8.js → provider-d72308c8.js} +2 -2
- package/dist/chunks/{workspace-tcvwtwdv.js → provider-d83vdxpb.js} +7 -7
- package/dist/chunks/{workspace-p28j91f1.js → provider-dbc8q1je.js} +80 -80
- package/dist/chunks/{workspace-c576t1j6.js → provider-dg5bcj4q.js} +9 -9
- package/dist/chunks/{workspace-g2fmcnne.js → provider-dnhc0zgb.js} +29 -29
- package/dist/chunks/{workspace-28rw05gp.js → provider-dvdyfc4s.js} +20 -20
- package/dist/chunks/{workspace-wpm9ga6w.js → provider-e4f707rr.js} +15 -15
- package/dist/chunks/{workspace-far2rsft.js → provider-eqc6mmw4.js} +16 -16
- package/dist/chunks/{workspace-1p8bnmch.js → provider-er0engkn.js} +4 -4
- package/dist/chunks/{workspace-nkd0m12v.js → provider-f0v448q8.js} +5 -5
- package/dist/chunks/{workspace-j1hn46j4.js → provider-f38vpd04.js} +33 -33
- package/dist/chunks/{workspace-8gq481r1.js → provider-f4556rqs.js} +4 -4
- package/dist/chunks/{workspace-5359xvc8.js → provider-f6a10nd7.js} +11 -11
- package/dist/chunks/{workspace-sj94kzgm.js → provider-fc76smr5.js} +8 -8
- package/dist/chunks/{workspace-de8s0qqs.js → provider-fvzbktat.js} +2 -2
- package/dist/chunks/{workspace-fxbjtjnd.js → provider-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-fxypknc8.js → provider-fxypknc8.js} +1 -1
- package/dist/chunks/{workspace-5sg91gv8.js → provider-g729fcz3.js} +14 -14
- package/dist/chunks/{workspace-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-ygys01m5.js → provider-gkz36rg5.js} +17 -17
- package/dist/chunks/{workspace-7x9ad5fb.js → provider-h40f3540.js} +9 -9
- package/dist/chunks/{workspace-9cnpj473.js → provider-h58xcwpy.js} +8 -8
- package/dist/chunks/{workspace-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-heyhwy2w.js → provider-heyhwy2w.js} +1 -1
- package/dist/chunks/{workspace-vwwkt776.js → provider-hf19b4hc.js} +3 -3
- package/dist/chunks/{workspace-ytf4r5bp.js → provider-hkt8sf3y.js} +8 -8
- package/dist/chunks/{workspace-hr77wr0b.js → provider-hr77wr0b.js} +4 -4
- package/dist/chunks/{workspace-85x8f8aa.js → provider-hrmwvcky.js} +13 -13
- package/dist/chunks/{workspace-8xd7p2c8.js → provider-hrq41f42.js} +46 -46
- package/dist/chunks/{workspace-hrvm11jt.js → provider-hrvm11jt.js} +3 -3
- package/dist/chunks/{workspace-hw4pv20g.js → provider-hw4pv20g.js} +2 -2
- package/dist/chunks/{workspace-jp5dra8g.js → provider-hx9smht7.js} +1 -1
- package/dist/chunks/{workspace-1nk2mnc0.js → provider-j3mtq8dd.js} +3 -3
- package/dist/chunks/{workspace-dhyjrgft.js → provider-j3x8720k.js} +4 -4
- package/dist/chunks/{workspace-sjedy0tv.js → provider-jcex5emt.js} +18 -18
- package/dist/chunks/{workspace-2ady357n.js → provider-je9nr49j.js} +5 -5
- package/dist/chunks/{workspace-vz6qr5p1.js → provider-jepxwv21.js} +6 -6
- package/dist/chunks/{workspace-6hh8tjw2.js → provider-jfqtm2ew.js} +4 -4
- package/dist/chunks/{workspace-f4g7wt00.js → provider-jk4yrqn0.js} +12 -12
- package/dist/chunks/{workspace-4ns6x4rf.js → provider-jr3panwf.js} +21 -21
- package/dist/chunks/{workspace-k4bwy1x5.js → provider-k4bwy1x5.js} +1 -1
- package/dist/chunks/{workspace-kg06axw8.js → provider-kg06axw8.js} +1 -1
- package/dist/chunks/{workspace-axzt4st2.js → provider-kg0mqb8e.js} +11 -11
- package/dist/chunks/{workspace-kj9qd3t9.js → provider-kn03rakq.js} +4 -4
- package/dist/chunks/{workspace-afv5t5ae.js → provider-kzac4jb6.js} +11 -11
- package/dist/chunks/{workspace-2ahv2hha.js → provider-m2yfmtby.js} +23 -23
- package/dist/chunks/{workspace-z8vgejr7.js → provider-m77q120q.js} +43 -43
- package/dist/chunks/{workspace-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-d4tfyaan.js → provider-ma3jjnn3.js} +4 -4
- package/dist/chunks/{workspace-tx5ymanw.js → provider-mf7xksrv.js} +9 -9
- package/dist/chunks/{workspace-zarjf3s7.js → provider-mg8czjx9.js} +24 -24
- package/dist/chunks/{workspace-zzd0j898.js → provider-mpya8r89.js} +78 -78
- package/dist/chunks/{workspace-sbrc3g05.js → provider-msbxcvsh.js} +13 -13
- package/dist/chunks/{workspace-4m93txkv.js → provider-mt3wp1zm.js} +15 -15
- package/dist/chunks/{workspace-hyd6a1dg.js → provider-mtrw2tpz.js} +22 -22
- package/dist/chunks/{workspace-k6rrywxw.js → provider-n0axt5vk.js} +32 -32
- package/dist/chunks/{workspace-7vxh8h3h.js → provider-ndy6c6re.js} +6 -6
- package/dist/chunks/{workspace-tsvywdvc.js → provider-newhsc5p.js} +27 -27
- package/dist/chunks/{workspace-nhy5jxhy.js → provider-nhy5jxhy.js} +1 -1
- package/dist/chunks/{workspace-eg4pr325.js → provider-nst4gbxz.js} +10 -10
- package/dist/chunks/{workspace-x154ebjh.js → provider-p072a923.js} +10 -10
- package/dist/chunks/{workspace-m44s4ae7.js → provider-p6qzfjy0.js} +41 -41
- package/dist/chunks/{workspace-v432x66a.js → provider-p74ck2p5.js} +9 -9
- package/dist/chunks/provider-p8q66e9c.js +22 -0
- package/dist/chunks/{workspace-kjj7vg4z.js → provider-pam7qv7g.js} +11 -11
- package/dist/chunks/{workspace-fvanntqq.js → provider-pf2hb43r.js} +6 -6
- package/dist/chunks/{workspace-sw8m2hmk.js → provider-pfp5nee3.js} +10 -10
- package/dist/chunks/{workspace-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-35ddpz83.js → provider-q2jt9bqn.js} +28 -28
- package/dist/chunks/{workspace-radsv5bn.js → provider-qd918h9m.js} +9 -9
- package/dist/chunks/{workspace-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-4fzx0x4v.js → provider-r0pf8648.js} +5 -5
- package/dist/chunks/{workspace-2x6b75ng.js → provider-r84qkpdw.js} +4 -4
- package/dist/chunks/{workspace-r8dhm0tv.js → provider-r8dhm0tv.js} +1 -1
- package/dist/chunks/{workspace-1acjjqhc.js → provider-r8xr0va3.js} +4 -4
- package/dist/chunks/{workspace-bjs50m4b.js → provider-rae26gbb.js} +6 -6
- package/dist/chunks/{workspace-cx0fx8se.js → provider-revfabke.js} +8 -8
- package/dist/chunks/{workspace-yvj5jp1z.js → provider-rfvt8dy7.js} +10 -10
- package/dist/chunks/{workspace-y0v6q609.js → provider-rh3ta88q.js} +11 -11
- package/dist/chunks/{workspace-85xbc70q.js → provider-rsq8p7d7.js} +16 -16
- package/dist/chunks/{workspace-x7m1j1fp.js → provider-rvftcw9x.js} +11 -11
- package/dist/chunks/{workspace-n0pwvc8d.js → provider-rwdkmqb5.js} +7 -7
- package/dist/chunks/provider-rzr4sjzg.js +247 -0
- package/dist/chunks/{workspace-3yfazbhv.js → provider-s72b9gsg.js} +24 -24
- package/dist/chunks/{workspace-amczc845.js → provider-s9jv8h70.js} +39 -39
- package/dist/chunks/{workspace-sba4qhjf.js → provider-sba4qhjf.js} +1 -1
- package/dist/chunks/{workspace-3ay2m3f4.js → provider-shvzpzjm.js} +13 -13
- package/dist/chunks/{workspace-7dhzh695.js → provider-sk7n01wk.js} +34 -34
- package/dist/chunks/{workspace-yhkdd2kz.js → provider-smp44k0e.js} +15 -15
- package/dist/chunks/{workspace-yk8npxfk.js → provider-sved1khn.js} +20 -20
- package/dist/chunks/{workspace-nsk2d1xz.js → provider-sz6yn7q3.js} +3 -3
- package/dist/chunks/{workspace-b0z70ywn.js → provider-t0ac4hgw.js} +1 -1
- package/dist/chunks/{workspace-xcdna4jd.js → provider-t213bcbh.js} +18 -18
- package/dist/chunks/{workspace-ndbqskvj.js → provider-t2zmh2jb.js} +45 -45
- package/dist/chunks/{workspace-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-f5emzv0f.js → provider-thnjqn1p.js} +11 -11
- package/dist/chunks/{workspace-tjykrgmx.js → provider-tjykrgmx.js} +1 -1
- package/dist/chunks/{workspace-3hszvgvz.js → provider-tqf96xv0.js} +8 -8
- package/dist/chunks/{workspace-bsg25x2z.js → provider-tvtrxr0r.js} +11 -11
- package/dist/chunks/{workspace-nxqkj03p.js → provider-v0mg8tys.js} +10 -10
- package/dist/chunks/{workspace-tdv1x8ch.js → provider-v5yenps4.js} +11 -11
- package/dist/chunks/{workspace-5meqwk0k.js → provider-v70mq1bn.js} +6 -6
- package/dist/chunks/{workspace-42my878b.js → provider-v7g3cjta.js} +1 -1
- package/dist/chunks/{workspace-n8qe30xq.js → provider-v7g4qj38.js} +5 -5
- package/dist/chunks/{workspace-kn073nsz.js → provider-vfhz4brq.js} +6 -6
- package/dist/chunks/{workspace-8zy2gh99.js → provider-vg2ry8eg.js} +3 -3
- package/dist/chunks/{workspace-r82j2j5s.js → provider-vp4ewmhw.js} +3 -3
- package/dist/chunks/{workspace-zxsw3nsr.js → provider-vzacac57.js} +17 -17
- package/dist/chunks/{workspace-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-0hmtqxr6.js → provider-w4sqsxxt.js} +29 -29
- package/dist/chunks/{workspace-8rvhm2ed.js → provider-w93vgc26.js} +16 -16
- package/dist/chunks/{workspace-m27hrjtw.js → provider-w9h2gz47.js} +9 -9
- package/dist/chunks/{workspace-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-pw75w6wp.js → provider-wevfhyvs.js} +26 -26
- package/dist/chunks/{workspace-drmgzmfy.js → provider-whw03tew.js} +4 -4
- package/dist/chunks/{workspace-60jjdk7y.js → provider-wq8j6ega.js} +5 -5
- package/dist/chunks/{workspace-z0sbs2re.js → provider-wscfcr5m.js} +19 -19
- package/dist/chunks/{workspace-7tfg2zmn.js → provider-wv4cp0q8.js} +5 -5
- package/dist/chunks/{workspace-x1ezjp6w.js → provider-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-99xnga9r.js → provider-x4bn7ezd.js} +41 -41
- package/dist/chunks/{workspace-vy6h5a2r.js → provider-x4c2rpdr.js} +14 -14
- package/dist/chunks/{workspace-xrryncgn.js → provider-x6jprqqr.js} +26 -26
- package/dist/chunks/{workspace-x0dx6k02.js → provider-xa3cc5b3.js} +11 -11
- package/dist/chunks/{workspace-8tz2fejb.js → provider-xwkm2c27.js} +14 -14
- package/dist/chunks/{workspace-2t2kmzm4.js → provider-xwx4w091.js} +9 -9
- package/dist/chunks/{workspace-f0fy18t3.js → provider-xyjezc66.js} +20 -20
- package/dist/chunks/{workspace-edvaqj4j.js → provider-y0k5dxe5.js} +10 -10
- package/dist/chunks/{workspace-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-r8rw83k9.js → provider-y4tan4jk.js} +27 -27
- package/dist/chunks/{workspace-zkhm2pfg.js → provider-y5zkqdw4.js} +6 -6
- package/dist/chunks/{workspace-y71avatq.js → provider-y71avatq.js} +1 -1
- package/dist/chunks/{workspace-yfbd16n1.js → provider-yfbd16n1.js} +2 -2
- package/dist/chunks/{workspace-rnaezqx7.js → provider-ysjn3azq.js} +24 -24
- package/dist/chunks/{workspace-zn8trsas.js → provider-yz0fcpee.js} +14 -14
- package/dist/chunks/{workspace-z1k01bn4.js → provider-z1k01bn4.js} +2 -2
- package/dist/chunks/{workspace-cmd5jf8k.js → provider-z4sy601f.js} +11 -11
- package/dist/chunks/{workspace-z63w68vq.js → provider-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-9ppnsynd.js → provider-zc3xyny9.js} +6 -6
- package/dist/chunks/{workspace-s3wt6vds.js → provider-zddfg3wr.js} +10 -10
- package/dist/chunks/{workspace-4p7rp1jt.js → provider-zt7yr3bz.js} +14 -14
- package/dist/chunks/{workspace-0myjdyv6.js → provider-ztnyd3e4.js} +9 -9
- package/dist/chunks/{workspace-wpcfp9tf.js → provider-ztv2cmwg.js} +22 -22
- package/dist/chunks/{workspace-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-mutation.js +89 -89
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +350 -350
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +127 -127
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +119 -119
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +82 -82
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +97 -97
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- 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 +94 -94
- package/dist/reference/instructions.js +80 -80
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +122 -122
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +106 -106
- 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 +120 -120
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +113 -113
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +114 -114
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +101 -101
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +7 -7
- 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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- 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 +5 -5
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/workspace-9m2n3md9.js +0 -247
- package/dist/chunks/workspace-hh05q5c4.js +0 -22
- package/dist/chunks/workspace-qdyb70sk.js +0 -18
- package/dist/chunks/workspace-w3vb4krt.js +0 -4
- /package/dist/chunks/{workspace-0fabt78z.js → provider-0fabt78z.js} +0 -0
- /package/dist/chunks/{workspace-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3t738kvx.js → provider-3t738kvx.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-41nvscxy.js → provider-41nvscxy.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-982e01ww.js → provider-982e01ww.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a1tpkmh4.js → provider-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mntxs535.js → provider-mntxs535.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-p8qxwesx.js → provider-p8qxwesx.js} +0 -0
- /package/dist/chunks/{workspace-paphc93g.js → provider-paphc93g.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-se0s1eqw.js → provider-se0s1eqw.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → provider-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → provider-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x1b8g1yb.js → provider-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → provider-z9919s4g.js} +0 -0
- /package/dist/chunks/{workspace-zbjnn3ac.js → provider-zbjnn3ac.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./provider-m77q120q.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service49
|
|
13
|
+
} from "./provider-s72b9gsg.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./provider-vzacac57.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePath2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service13
|
|
20
|
+
} from "./provider-cz1d01nh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service61
|
|
23
|
+
} from "./provider-apst33me.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./provider-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service44,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-cscease3.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service37
|
|
37
|
+
} from "./provider-t2zmh2jb.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service23
|
|
40
|
+
} from "./provider-dbc8q1je.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./provider-j3x8720k.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./provider-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin24,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. DO NOT run sleep commands or poll the output file to check for completion. You can read from the file when its current output would be useful, such as when inspecting logs from a background server. Otherwise, continue with other work or end your response.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin24 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service23;
|
|
122
|
+
const jobs = yield* Service70;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const mutation = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service49;
|
|
125
|
+
const mutation = yield* Service13;
|
|
126
|
+
const shell = yield* Service37;
|
|
127
|
+
const shellSelect = yield* Service44;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service61;
|
|
130
|
+
const config = yield* Service47;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -155,7 +155,7 @@ var Plugin44 = {
|
|
|
155
155
|
});
|
|
156
156
|
if (parsed.commands.length > 0)
|
|
157
157
|
yield* permission.assert({
|
|
158
|
-
action:
|
|
158
|
+
action: name9,
|
|
159
159
|
resources: parsed.commands.map((command) => command.resource),
|
|
160
160
|
save: parsed.commands.map((command) => command.save),
|
|
161
161
|
sessionID: context.sessionID,
|
|
@@ -192,10 +192,10 @@ var Plugin44 = {
|
|
|
192
192
|
yield* jobs.completeBackground(info.notificationID);
|
|
193
193
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
194
194
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
195
|
-
name:
|
|
195
|
+
name: name9,
|
|
196
196
|
options: { codemode: false },
|
|
197
197
|
description: description(),
|
|
198
|
-
input:
|
|
198
|
+
input: Input9,
|
|
199
199
|
output: Output,
|
|
200
200
|
execute: (input, context) => Effect.gen(function* () {
|
|
201
201
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -214,7 +214,7 @@ var Plugin44 = {
|
|
|
214
214
|
const run = Effect.gen(function* () {
|
|
215
215
|
const result = yield* shell.result(info);
|
|
216
216
|
if (!result.capture)
|
|
217
|
-
return yield* new
|
|
217
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
218
218
|
const output = output2(result);
|
|
219
219
|
return {
|
|
220
220
|
...output,
|
|
@@ -228,7 +228,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
228
228
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
229
229
|
const job = yield* jobs.start({
|
|
230
230
|
id: info.id,
|
|
231
|
-
type:
|
|
231
|
+
type: name9,
|
|
232
232
|
title: info.command,
|
|
233
233
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
234
234
|
recovery: {
|
|
@@ -258,7 +258,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
258
258
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
259
259
|
})).pipe(Effect.orDie);
|
|
260
260
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
261
|
-
const tool = event.tools[
|
|
261
|
+
const tool = event.tools[name9];
|
|
262
262
|
if (!tool)
|
|
263
263
|
return;
|
|
264
264
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin24, exports_shell };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-ma3jjnn3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-apst33me.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service36,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode-ai/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event5 } from "@opencode-ai/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
41
|
+
var Source3 = Skill.Source;
|
|
42
|
+
var Info6 = Skill.Info;
|
|
43
|
+
var ID4 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service36 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service79;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID4.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID4.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID4.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service36.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node40 = makeLocationNode({
|
|
112
|
+
service: Service36,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node84]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID4, Name2, available2, toModelOutput3, prepare3, Service36, node40, exports_skill5, Event5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service10,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service10 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service10.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node13 = makeLocationNode({ service: Service10, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service10, node13, exports_location_watcher_policy };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./provider-9b4vk83x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./provider-s72b9gsg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service18,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-aevzhcqw.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./provider-jcex5emt.js";
|
|
15
15
|
import {
|
|
16
16
|
externalDirectoryPermission2,
|
|
17
17
|
resolvePath2,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service13
|
|
19
|
+
} from "./provider-cz1d01nh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service61
|
|
22
|
+
} from "./provider-apst33me.js";
|
|
23
23
|
import {
|
|
24
24
|
fileDiff2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./provider-6prwharc.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./provider-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool/plugin/edit.ts
|
|
31
31
|
var exports_edit = {};
|
|
32
32
|
__export(exports_edit, {
|
|
33
33
|
EditTool: () => exports_edit,
|
|
34
|
-
Input: () =>
|
|
35
|
-
Output: () =>
|
|
36
|
-
Plugin: () =>
|
|
37
|
-
name: () =>
|
|
34
|
+
Input: () => Input10,
|
|
35
|
+
Output: () => Output8,
|
|
36
|
+
Plugin: () => Plugin25,
|
|
37
|
+
name: () => name10
|
|
38
38
|
});
|
|
39
39
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
40
40
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
41
41
|
import { Bom } from "@opencode-ai/util/bom";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var name10 = "edit";
|
|
44
|
+
var Input10 = Schema.Struct({
|
|
45
45
|
path: Schema.String.annotate({
|
|
46
46
|
description: "File to edit"
|
|
47
47
|
}),
|
|
@@ -51,7 +51,7 @@ var Input9 = Schema.Struct({
|
|
|
51
51
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
52
52
|
})
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Output8 = Schema.Struct({
|
|
55
55
|
files: Schema.Array(FileDiff.Info),
|
|
56
56
|
replacements: Schema.Number
|
|
57
57
|
});
|
|
@@ -104,21 +104,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
104
104
|
return result;
|
|
105
105
|
}, []);
|
|
106
106
|
};
|
|
107
|
-
var
|
|
107
|
+
var Plugin25 = {
|
|
108
108
|
id: "opencode.tool.edit",
|
|
109
109
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
110
|
-
const mutation = yield*
|
|
111
|
-
const fileMutation = yield*
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const formatter = yield*
|
|
114
|
-
const location = yield*
|
|
115
|
-
const permission = yield*
|
|
110
|
+
const mutation = yield* Service13;
|
|
111
|
+
const fileMutation = yield* Service18;
|
|
112
|
+
const environment = yield* Service49;
|
|
113
|
+
const formatter = yield* Service19;
|
|
114
|
+
const location = yield* Service67;
|
|
115
|
+
const permission = yield* Service61;
|
|
116
116
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
117
|
-
name:
|
|
117
|
+
name: name10,
|
|
118
118
|
options: { codemode: false, permission: "edit" },
|
|
119
119
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
120
|
-
input:
|
|
121
|
-
output:
|
|
120
|
+
input: Input10,
|
|
121
|
+
output: Output8,
|
|
122
122
|
execute: (input, context) => {
|
|
123
123
|
return Effect.gen(function* () {
|
|
124
124
|
const permissionSource = {
|
|
@@ -203,4 +203,4 @@ var Plugin41 = {
|
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { name10, Input10, Output8, Plugin25, exports_edit };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-p8qxwesx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-8w88hvgc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID4.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./provider-ztv2cmwg.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-97f5v037.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-p8qxwesx.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service53
|
|
13
|
+
} from "./provider-bwcfw4m5.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service67
|
|
16
|
+
} from "./provider-9b4vk83x.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin32
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode-ai/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin32 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service53;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service67;
|
|
42
|
+
const watcher = yield* Service48;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin32, exports_instruction };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-ma3jjnn3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
18
|
Info: () => Info8,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service45,
|
|
21
|
+
layer: () => layer16,
|
|
22
|
+
node: () => node49
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode-ai/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
27
|
+
import { Event as Event7 } from "@opencode-ai/schema/command";
|
|
28
28
|
var Info8 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service45 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer16 = Layer.effect(Service45, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -55,7 +55,7 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service45.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node49 = makeLocationNode({
|
|
75
|
+
service: Service45,
|
|
76
|
+
layer: layer16,
|
|
77
77
|
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export { Info8,
|
|
89
|
+
export { Info8, NotFoundError6, ExecutionError2, Service45, layer16, node49, exports_command4, Event7 };
|