@opencode-ai/core 0.0.0-dev-19156 → 0.0.0-dev-19160
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 +81 -81
- 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 +80 -80
- package/dist/chunks/{project-4etyd0fm.js → command-067xa773.js} +39 -39
- package/dist/chunks/{project-nxrz604p.js → command-06qbn9zd.js} +9 -9
- package/dist/chunks/{project-j5snj9e0.js → command-06rbd0ds.js} +7 -7
- package/dist/chunks/{project-vn8p5h4b.js → command-09a6army.js} +16 -16
- package/dist/chunks/{project-ny641hxe.js → command-09e7d9vb.js} +28 -27
- package/dist/chunks/{project-0e0xafbb.js → command-0e0xafbb.js} +2 -2
- package/dist/chunks/{project-6mhw42et.js → command-0fy0jsyf.js} +14 -14
- package/dist/chunks/{project-x033c5q1.js → command-0mxxck6s.js} +48 -42
- package/dist/chunks/{project-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{project-0s9ayhjt.js → command-0s9ayhjt.js} +1 -1
- package/dist/chunks/{project-15wzdw6v.js → command-1445ht27.js} +21 -21
- package/dist/chunks/{project-1ct4r87x.js → command-1ct4r87x.js} +1 -1
- package/dist/chunks/{project-3gzwtf0m.js → command-1p55cq3k.js} +7 -7
- package/dist/chunks/{project-1z9cj5ba.js → command-1y88a9y4.js} +26 -26
- package/dist/chunks/{project-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{project-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{project-tqqej2s1.js → command-24hkfxm1.js} +8 -8
- package/dist/chunks/{project-29x78va6.js → command-29x78va6.js} +2 -2
- package/dist/chunks/{project-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{project-7pxv369y.js → command-2bfwt810.js} +16 -16
- package/dist/chunks/{project-9xkpfq4j.js → command-2bymashh.js} +11 -11
- package/dist/chunks/{project-e5ge20y1.js → command-2dqn2d0f.js} +9 -9
- package/dist/chunks/{project-2ht70gj7.js → command-2ht70gj7.js} +1 -1
- package/dist/chunks/{project-kn8jrryy.js → command-2j14775k.js} +27 -27
- package/dist/chunks/{project-bkwads9p.js → command-2j46d33k.js} +24 -24
- package/dist/chunks/{project-jdqrtrpt.js → command-2k2b0myy.js} +5 -5
- package/dist/chunks/{project-ht6bcwc7.js → command-2kq1zvc1.js} +9 -9
- package/dist/chunks/{project-1mf5h48w.js → command-2qqffpqm.js} +33 -33
- package/dist/chunks/{project-9bqp65ea.js → command-2tse149y.js} +6 -6
- package/dist/chunks/{project-ntf62gyb.js → command-2wjp2tjd.js} +24 -24
- package/dist/chunks/{project-9a6g5cj5.js → command-36bx4p7m.js} +9 -9
- package/dist/chunks/{project-frzdq8vs.js → command-36jsrrnq.js} +4 -4
- package/dist/chunks/{project-b3xfjhmh.js → command-3exrkx07.js} +46 -46
- package/dist/chunks/{project-6r57ejh6.js → command-3gcs5xa7.js} +16 -16
- package/dist/chunks/{project-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{project-na3y75gh.js → command-3jj6bjb6.js} +5 -5
- package/dist/chunks/{project-bkk7fxgm.js → command-3nt7fz2d.js} +38 -38
- package/dist/chunks/{project-3qzbfqsy.js → command-3qzbfqsy.js} +2 -2
- package/dist/chunks/{project-f0pb9asw.js → command-3qze2g25.js} +2 -2
- package/dist/chunks/{project-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{project-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{project-hca5m9s4.js → command-3v2tg306.js} +20 -20
- package/dist/chunks/{project-sfqgw3g7.js → command-3v7evdfw.js} +42 -42
- package/dist/chunks/{project-3ts2s5hq.js → command-3zzw1d29.js} +2 -2
- package/dist/chunks/{project-cb9z6f3t.js → command-403wd46a.js} +7 -7
- package/dist/chunks/{project-0m27f3z9.js → command-41y5k8q3.js} +34 -34
- package/dist/chunks/{project-454k5vzh.js → command-454k5vzh.js} +1 -1
- package/dist/chunks/{project-bcvvvbt6.js → command-46fb7xft.js} +29 -29
- package/dist/chunks/{project-wc3ptbv3.js → command-47c0vj8e.js} +11 -11
- package/dist/chunks/{project-vtjrq5wh.js → command-4aej6qjt.js} +7 -7
- package/dist/chunks/{project-ttvrvkzk.js → command-4myz20e1.js} +23 -23
- package/dist/chunks/{project-18fxzypp.js → command-4pgype50.js} +33 -33
- package/dist/chunks/{project-4r2nyarf.js → command-4r2nyarf.js} +1 -1
- package/dist/chunks/{project-2mhfs5q3.js → command-57xv9dk6.js} +16 -16
- package/dist/chunks/{project-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{project-5fmxt4p5.js → command-5fmxt4p5.js} +1 -1
- package/dist/chunks/{project-5jvc5tg2.js → command-5jvc5tg2.js} +1 -1
- package/dist/chunks/{project-mkyvm1mp.js → command-5mm0tfy6.js} +4 -4
- package/dist/chunks/{project-czt9rhrr.js → command-5ms9567n.js} +8 -8
- package/dist/chunks/{project-r8rwj543.js → command-5r6zs9dp.js} +28 -28
- package/dist/chunks/{project-m5svyw2a.js → command-5x809xkz.js} +8 -8
- package/dist/chunks/{project-r4z26qkj.js → command-5yrh131y.js} +6 -6
- package/dist/chunks/{project-4z6b0fg6.js → command-64z8z5x5.js} +6 -6
- package/dist/chunks/{project-q17z9dx8.js → command-66r9f6z1.js} +5 -5
- package/dist/chunks/{project-034avdr0.js → command-67qwxm7p.js} +15 -15
- package/dist/chunks/{project-e5pxfhgv.js → command-69wcn9zj.js} +4 -4
- package/dist/chunks/{project-6z5bwd8g.js → command-6abnk40k.js} +9 -9
- package/dist/chunks/{project-70weh3r3.js → command-6h683ksm.js} +5 -5
- package/dist/chunks/{project-c4rjvv57.js → command-6hxkxj5e.js} +20 -20
- package/dist/chunks/{project-9ahz4f84.js → command-6kzfdsbw.js} +36 -36
- package/dist/chunks/{project-c9y6dtct.js → command-6nf9m9w8.js} +18 -18
- package/dist/chunks/{project-kjdeww6c.js → command-6rvfg3m1.js} +29 -29
- package/dist/chunks/{project-711hfp6y.js → command-711hfp6y.js} +2 -2
- package/dist/chunks/{project-72nftnjy.js → command-72nftnjy.js} +2 -2
- package/dist/chunks/{project-c077wq0c.js → command-771gpf5h.js} +8 -8
- package/dist/chunks/{project-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{project-7dqw4kz8.js → command-7dqw4kz8.js} +1 -1
- package/dist/chunks/{project-xqsy6kp0.js → command-7ng7exzm.js} +1 -1
- package/dist/chunks/{project-ynp9kv4z.js → command-7nhnh7r3.js} +4 -4
- package/dist/chunks/{project-e5b0qn1c.js → command-7nxyxket.js} +1 -1
- package/dist/chunks/{project-14hmenm3.js → command-7ry09vv5.js} +3 -3
- package/dist/chunks/{project-74vgj9a4.js → command-7th8yg4v.js} +10 -10
- package/dist/chunks/{project-v50y3hsc.js → command-7w74e5nf.js} +9 -9
- package/dist/chunks/{project-7yh4e7ss.js → command-7yh4e7ss.js} +1 -1
- package/dist/chunks/{project-7nv9qkpt.js → command-80gwsprg.js} +13 -13
- package/dist/chunks/{project-9v8853xv.js → command-83564ejt.js} +13 -13
- package/dist/chunks/{project-4ca09qym.js → command-8d12smfc.js} +8 -8
- package/dist/chunks/{project-gx8hye9g.js → command-8ehfs3z6.js} +6 -6
- package/dist/chunks/{project-zz9mybgg.js → command-8eqyawfy.js} +19 -19
- package/dist/chunks/{project-6g2b1h2f.js → command-8hczv8aq.js} +19 -19
- package/dist/chunks/{project-kq0angdz.js → command-90apwbxv.js} +1 -1
- package/dist/chunks/{project-g41n1fn3.js → command-986p65m9.js} +5 -5
- package/dist/chunks/{project-hve9y82c.js → command-9drvvwc8.js} +31 -31
- package/dist/chunks/{project-abgdk844.js → command-9f3285wp.js} +16 -16
- package/dist/chunks/{project-pah7pk43.js → command-9p3tsgpy.js} +4 -4
- package/dist/chunks/{project-qvbcabdc.js → command-9qm9egsn.js} +2 -2
- package/dist/chunks/{project-rgfnnwr2.js → command-9shezh8w.js} +14 -14
- package/dist/chunks/{project-588tde0n.js → command-a09trhwb.js} +8 -8
- package/dist/chunks/{project-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{project-rem9w6bv.js → command-abrpakxq.js} +10 -10
- package/dist/chunks/{project-z3vp3y7s.js → command-adtw4hjy.js} +30 -30
- package/dist/chunks/{project-tz4n1mmd.js → command-ag4rn41e.js} +4 -4
- package/dist/chunks/{project-r9gjvh9g.js → command-aj9kw0tw.js} +7 -7
- package/dist/chunks/{project-nwrcb9rc.js → command-ajcccrn0.js} +6 -6
- package/dist/chunks/{project-yg7sb877.js → command-ajtjthsy.js} +2 -2
- package/dist/chunks/{project-6z35e8ak.js → command-akpttafq.js} +12 -12
- package/dist/chunks/{project-dfe8djrf.js → command-an7cqtb7.js} +4 -4
- package/dist/chunks/{project-ye07474k.js → command-an9xa30v.js} +5 -5
- package/dist/chunks/{project-rmy3e5eg.js → command-apjnhj61.js} +3 -3
- package/dist/chunks/{project-q0wfms5k.js → command-avr1tyrh.js} +21 -21
- package/dist/chunks/{project-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{project-b9wsbatv.js → command-b9wsbatv.js} +1 -1
- package/dist/chunks/{project-a6zy3vty.js → command-bcam29vw.js} +7 -7
- package/dist/chunks/{project-kmywj346.js → command-bnd53w8e.js} +24 -24
- package/dist/chunks/{project-9a0e6p5v.js → command-bsnns7jw.js} +36 -36
- package/dist/chunks/{project-efztmp9c.js → command-btt262ey.js} +13 -13
- package/dist/chunks/{project-kzstxw0p.js → command-c50h3021.js} +6 -6
- package/dist/chunks/{project-42tkewwq.js → command-cb182ger.js} +7 -7
- package/dist/chunks/{project-3ya5ae2n.js → command-cf0yyv30.js} +13 -13
- package/dist/chunks/{project-672ayryn.js → command-cfaf1jcp.js} +4 -4
- package/dist/chunks/{project-4fs3y63r.js → command-cj78h4gj.js} +5 -5
- package/dist/chunks/{project-tbqde96v.js → command-crmey8mf.js} +3 -3
- package/dist/chunks/{project-xceham4p.js → command-csf1agy9.js} +9 -9
- package/dist/chunks/{project-asv0evzq.js → command-ctd4qdmr.js} +4 -4
- package/dist/chunks/{project-ntjv9xv8.js → command-cx64my21.js} +19 -19
- package/dist/chunks/{project-m5yx4v5n.js → command-cze25jak.js} +8 -8
- package/dist/chunks/{project-g2gt0w0k.js → command-d72308c8.js} +2 -2
- package/dist/chunks/{project-xg823tta.js → command-d8mkz6xq.js} +8 -8
- package/dist/chunks/{project-ypy57gca.js → command-dhc125dj.js} +13 -13
- package/dist/chunks/{project-5vy9097q.js → command-dnv0g493.js} +20 -20
- package/dist/chunks/{project-n8bjxsqq.js → command-dyxej0k0.js} +19 -19
- package/dist/chunks/{project-02d861q2.js → command-e4byd2f0.js} +167 -167
- package/dist/chunks/{project-0ez61b8c.js → command-e6v427vd.js} +2 -2
- package/dist/chunks/{project-gddt909m.js → command-eab3te1e.js} +13 -13
- package/dist/chunks/{project-dt2gfjmt.js → command-ed627kzc.js} +26 -26
- package/dist/chunks/{project-d7zq47xp.js → command-ef8sx7p3.js} +21 -21
- package/dist/chunks/{project-dsrxv7tm.js → command-eqx628er.js} +26 -26
- package/dist/chunks/{project-phhwd2sf.js → command-ez9t0j11.js} +22 -22
- package/dist/chunks/{project-eevhq3pf.js → command-eze362m1.js} +5 -5
- package/dist/chunks/{project-3gb8da74.js → command-f02efhx2.js} +20 -20
- package/dist/chunks/{project-t33fapxs.js → command-f1q5pqmw.js} +7 -7
- package/dist/chunks/{project-86s3977f.js → command-f9x6rp1j.js} +1 -1
- package/dist/chunks/{project-5tdb34ft.js → command-fb8301na.js} +15 -15
- package/dist/chunks/{project-pax6646z.js → command-fde3eq2m.js} +19 -19
- package/dist/chunks/{project-84dq34ya.js → command-fgm3rptp.js} +11 -11
- package/dist/chunks/{project-540sgnmq.js → command-fn1bgv7k.js} +12 -12
- package/dist/chunks/{project-7yqjxrmz.js → command-fvanntqq.js} +4 -4
- package/dist/chunks/{project-3qbm7gcq.js → command-fx63sjjh.js} +9 -9
- package/dist/chunks/{project-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{project-fxypknc8.js → command-fxypknc8.js} +1 -1
- package/dist/chunks/{project-fdkqcxv1.js → command-g220pns6.js} +54 -54
- package/dist/chunks/{project-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{project-3fc6dm20.js → command-gdvy8fx6.js} +4 -4
- package/dist/chunks/{project-r92t647s.js → command-gh3etp9m.js} +14 -14
- package/dist/chunks/{project-0ah0hhf7.js → command-gpdv1k8z.js} +83 -83
- package/dist/chunks/{project-d1zd9k63.js → command-h287670b.js} +21 -21
- package/dist/chunks/{project-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{project-heyhwy2w.js → command-heyhwy2w.js} +1 -1
- package/dist/chunks/{project-5k3f87xj.js → command-hgeb4s25.js} +1 -1
- package/dist/chunks/{project-bcezcar3.js → command-hnyf01b0.js} +5 -5
- package/dist/chunks/{project-4rp5nxr4.js → command-hpkxe5vf.js} +9 -9
- package/dist/chunks/{project-g2dy4bvs.js → command-hrvm11jt.js} +3 -3
- package/dist/chunks/{project-gzbkpp9m.js → command-j5208yae.js} +4 -4
- package/dist/chunks/{project-f1kgb3zy.js → command-j8swj2w1.js} +11 -11
- package/dist/chunks/{project-5qd3pb7m.js → command-j935v87r.js} +2 -2
- package/dist/chunks/{project-yaqxaers.js → command-jh83r34y.js} +14 -14
- package/dist/chunks/{project-wk0d65g1.js → command-js78q0ey.js} +15 -15
- package/dist/chunks/{project-k4bwy1x5.js → command-k4bwy1x5.js} +1 -1
- package/dist/chunks/{project-nsen6smj.js → command-k6wd3zsg.js} +29 -29
- package/dist/chunks/{project-5r0281mc.js → command-k9hbvqs8.js} +26 -26
- package/dist/chunks/{project-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/command-kk8qrnxm.js +20 -0
- package/dist/chunks/{project-kvsjn1dr.js → command-kvsjn1dr.js} +2 -2
- package/dist/chunks/{project-zn2pq4p8.js → command-kxnt8qcg.js} +5 -5
- package/dist/chunks/{project-m75mcjf9.js → command-m4535t75.js} +8 -8
- package/dist/chunks/{project-tynz9yxk.js → command-m5045k8y.js} +5 -5
- package/dist/chunks/{project-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{project-kv6t4phg.js → command-makhhr1b.js} +9 -9
- package/dist/chunks/{project-1n1jj9nh.js → command-mb3t0p3g.js} +22 -22
- package/dist/chunks/{project-2jqmte8w.js → command-mf0qyrea.js} +43 -12
- package/dist/chunks/{project-w56anntc.js → command-mfzvtt0p.js} +41 -41
- package/dist/chunks/{project-rewspqe1.js → command-mn2fhvjf.js} +21 -21
- package/dist/chunks/{project-63kprq0x.js → command-mq4pan8t.js} +11 -11
- package/dist/chunks/{project-vth5djrq.js → command-mqd6mqcv.js} +9 -9
- package/dist/chunks/{project-5r63jwgm.js → command-mvcmfyp0.js} +6 -6
- package/dist/chunks/{project-env96yqd.js → command-mx0e3zaa.js} +35 -35
- package/dist/chunks/{project-jz2fmcyv.js → command-myw4ak0a.js} +16 -16
- package/dist/chunks/command-nhtcvqe4.js +247 -0
- package/dist/chunks/{project-7sqp221s.js → command-nst4gbxz.js} +10 -10
- package/dist/chunks/{project-fqyt1s21.js → command-nwqthrgy.js} +4 -4
- package/dist/chunks/{project-8yqgczy1.js → command-p35n44y6.js} +24 -24
- package/dist/chunks/{project-9v3vne64.js → command-p4ffxaks.js} +19 -19
- package/dist/chunks/{project-0xzaw6ks.js → command-pb7mhrv4.js} +32 -32
- package/dist/chunks/{project-rbnfday0.js → command-penn4k5a.js} +15 -15
- package/dist/chunks/{project-xfwa2p15.js → command-pgrzqq7x.js} +275 -275
- package/dist/chunks/{project-3wfq9j39.js → command-pjvn5h54.js} +10 -10
- package/dist/chunks/{project-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{project-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{project-7hdf4603.js → command-pvwc59kc.js} +6 -6
- package/dist/chunks/{project-7fz5dqkd.js → command-q1mp0wyr.js} +9 -9
- package/dist/chunks/{project-s3eqpch7.js → command-qbyj8qxd.js} +1 -1
- package/dist/chunks/{project-sdpa219q.js → command-qrsmsg1a.js} +9 -9
- package/dist/chunks/{project-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/command-qyyps5ek.js +22 -0
- package/dist/chunks/{project-3f1fahkb.js → command-qz2a5vjy.js} +11 -11
- package/dist/chunks/{project-jgp91ezp.js → command-r4zdmh6q.js} +23 -23
- package/dist/chunks/{project-5q13jbpt.js → command-r6y16npb.js} +26 -26
- package/dist/chunks/{project-r8dhm0tv.js → command-r8dhm0tv.js} +1 -1
- package/dist/chunks/{project-nhhtac2h.js → command-rbbz1t60.js} +23 -23
- package/dist/chunks/{project-n9b04kdb.js → command-rbmj63g6.js} +15 -15
- package/dist/chunks/{project-qa4s1ddw.js → command-rz5nyh7y.js} +10 -10
- package/dist/chunks/{project-yvfkj8fv.js → command-rzejcw32.js} +5 -5
- package/dist/chunks/{project-sb910js5.js → command-sb910js5.js} +1 -1
- package/dist/chunks/{project-sba4qhjf.js → command-sba4qhjf.js} +1 -1
- package/dist/chunks/{project-yzh7n5zh.js → command-scncj5yv.js} +15 -15
- package/dist/chunks/{project-kftbtgp1.js → command-sdrvr6hd.js} +15 -15
- package/dist/chunks/{project-ykcesz1b.js → command-shfaz11f.js} +4 -4
- package/dist/chunks/{project-3gvyd9sj.js → command-sjpb2e72.js} +8 -8
- package/dist/chunks/{project-68zcrnwe.js → command-syf0fv3f.js} +11 -11
- package/dist/chunks/{project-9pnczdbs.js → command-t3jgv66k.js} +9 -9
- package/dist/chunks/{project-qshm5y2w.js → command-t3q2ka56.js} +18 -18
- package/dist/chunks/{project-s3kkbcm8.js → command-t3xcjejh.js} +21 -21
- package/dist/chunks/{project-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{project-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{project-tjykrgmx.js → command-tjykrgmx.js} +1 -1
- package/dist/chunks/{project-v2dnnkcf.js → command-tnzyjfsr.js} +23 -23
- package/dist/chunks/{project-fj1qy593.js → command-tr0exa0z.js} +43 -43
- package/dist/chunks/{project-0v78h34c.js → command-v01naqnx.js} +30 -30
- package/dist/chunks/{project-th4eash0.js → command-v53xvqvh.js} +15 -15
- package/dist/chunks/{project-7g9a55ck.js → command-v5rb3gry.js} +4 -4
- package/dist/chunks/{project-mcxg6pmm.js → command-v8gy3pjr.js} +1 -1
- package/dist/chunks/{project-qgm72etc.js → command-vc3d140a.js} +21 -21
- package/dist/chunks/{project-x6fqe7r4.js → command-vex81zzz.js} +22 -22
- package/dist/chunks/{project-n4btqcr5.js → command-vj6w85cw.js} +17 -17
- package/dist/chunks/{project-qcc87r2a.js → command-vnwde1cm.js} +6 -6
- package/dist/chunks/command-w3vb4krt.js +4 -0
- package/dist/chunks/{project-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{project-kykq0etn.js → command-wcr0959g.js} +6 -6
- package/dist/chunks/{project-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{project-ah9hrena.js → command-wngp9twe.js} +4 -4
- package/dist/chunks/{project-brt6cdck.js → command-ww4cprnv.js} +30 -30
- package/dist/chunks/{project-sbzv84es.js → command-wwskzng8.js} +9 -9
- package/dist/chunks/{project-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{project-7vafhbq8.js → command-x4a87jpz.js} +10 -10
- package/dist/chunks/{project-xg8afpkp.js → command-x89xc156.js} +33 -33
- package/dist/chunks/{project-m4z37tme.js → command-xa23jzcd.js} +13 -13
- package/dist/chunks/{project-ratrq7cm.js → command-xb02k0wq.js} +4 -4
- package/dist/chunks/{project-386fwgkb.js → command-xbyx40wa.js} +13 -13
- package/dist/chunks/{project-bk2yksb6.js → command-xf2mx0nj.js} +16 -16
- package/dist/chunks/{project-s2skgyz3.js → command-xf5dfsz3.js} +64 -64
- package/dist/chunks/{project-bvc24bk4.js → command-xg3c18md.js} +10 -10
- package/dist/chunks/{project-af49zwzh.js → command-xj845f8f.js} +41 -41
- package/dist/chunks/{project-vxjsy3ee.js → command-xxz5bf5t.js} +2 -2
- package/dist/chunks/{project-bwrkx5bm.js → command-y0759frv.js} +82 -82
- package/dist/chunks/{project-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{project-93a8yfjt.js → command-y2cqme3r.js} +5 -5
- package/dist/chunks/{project-y71avatq.js → command-y71avatq.js} +1 -1
- package/dist/chunks/{project-wgxn7ww3.js → command-y724s5yt.js} +4 -4
- package/dist/chunks/{project-01bkck51.js → command-yaxh95xb.js} +9 -9
- package/dist/chunks/{project-a0zxnn01.js → command-yb3vshep.js} +10 -10
- package/dist/chunks/{project-r618fnyq.js → command-ybbfsve3.js} +26 -26
- package/dist/chunks/command-ydckrtmx.js +18 -0
- package/dist/chunks/{project-4yyr5k4w.js → command-yecrbd4q.js} +20 -20
- package/dist/chunks/{project-yfbd16n1.js → command-yfbd16n1.js} +2 -2
- package/dist/chunks/{project-jedv6mv7.js → command-yfmpqt7t.js} +18 -18
- package/dist/chunks/{project-1z80kc63.js → command-yhr218qz.js} +8 -8
- package/dist/chunks/{project-2nyjv4tn.js → command-yhzb4m19.js} +22 -22
- package/dist/chunks/{project-t0ezpshz.js → command-ytrfeffg.js} +3 -3
- package/dist/chunks/{project-aa3g7qm9.js → command-yzd93mfj.js} +5 -5
- package/dist/chunks/{project-z1k01bn4.js → command-z1k01bn4.js} +2 -2
- package/dist/chunks/{project-hzecryb5.js → command-z3s9j4q6.js} +12 -12
- package/dist/chunks/{project-djtdz80w.js → command-z3xgatyd.js} +4 -4
- package/dist/chunks/{project-pxaf7pxc.js → command-z62pd9tg.js} +5 -5
- package/dist/chunks/{project-by69x398.js → command-z7f3thhk.js} +4 -4
- package/dist/chunks/{project-ye66jgnw.js → command-zhwkzg3q.js} +16 -16
- package/dist/chunks/{project-4x0nmcjx.js → command-ztnyd3e4.js} +9 -9
- package/dist/chunks/{project-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- 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 +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +114 -114
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +64 -64
- 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.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 +358 -358
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- 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 +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +77 -77
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- 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 +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +80 -80
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +101 -101
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- 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 +95 -95
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -4
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- 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 +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/system-prompt.js +2 -2
- package/dist/plugin/update.js +6 -6
- 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 +111 -111
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +118 -118
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- 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 +110 -110
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +124 -124
- 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 +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- 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 +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +82 -82
- 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 +115 -115
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- 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/types/plugin/module.d.ts +36 -34
- 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 +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/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 +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/project-7zk4hah4.js +0 -4
- package/dist/chunks/project-86ccwtvh.js +0 -247
- package/dist/chunks/project-fehrn2qm.js +0 -20
- package/dist/chunks/project-mzwnbrn9.js +0 -22
- package/dist/chunks/project-rap9a73h.js +0 -18
- /package/dist/chunks/{project-0fabt78z.js → command-0fabt78z.js} +0 -0
- /package/dist/chunks/{project-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{project-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{project-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{project-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{project-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{project-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{project-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{project-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{project-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{project-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{project-3t738kvx.js → command-3t738kvx.js} +0 -0
- /package/dist/chunks/{project-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{project-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{project-41nvscxy.js → command-41nvscxy.js} +0 -0
- /package/dist/chunks/{project-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{project-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{project-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{project-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{project-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{project-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{project-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{project-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{project-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{project-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{project-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{project-982e01ww.js → command-982e01ww.js} +0 -0
- /package/dist/chunks/{project-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{project-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{project-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{project-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{project-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{project-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{project-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{project-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{project-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{project-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{project-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{project-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{project-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{project-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{project-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{project-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{project-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{project-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{project-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{project-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{project-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{project-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{project-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{project-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{project-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{project-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{project-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{project-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{project-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{project-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{project-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{project-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{project-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{project-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{project-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{project-mntxs535.js → command-mntxs535.js} +0 -0
- /package/dist/chunks/{project-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{project-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{project-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{project-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{project-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{project-p8qxwesx.js → command-p8qxwesx.js} +0 -0
- /package/dist/chunks/{project-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{project-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{project-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{project-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{project-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{project-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{project-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{project-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{project-se0s1eqw.js → command-se0s1eqw.js} +0 -0
- /package/dist/chunks/{project-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{project-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{project-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{project-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{project-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{project-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{project-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{project-x1b8g1yb.js → command-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{project-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{project-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{project-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{project-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{project-z9919s4g.js → command-z9919s4g.js} +0 -0
- /package/dist/chunks/{project-zbjnn3ac.js → command-zbjnn3ac.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-bnd53w8e.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-xj845f8f.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent2 = {};
|
|
15
|
+
__export(exports_agent2, {
|
|
16
|
+
AgentPlugin: () => exports_agent2,
|
|
17
|
+
Plugin: () => Plugin39
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin39 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin14 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID18.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID18.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin14 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID18.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID18.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID18.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin14 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin39, exports_agent2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service67,
|
|
3
|
+
node72
|
|
4
|
+
} from "./command-myw4ak0a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key3,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-yhr218qz.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service37,
|
|
19
|
+
node: () => node41
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode-ai/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service37 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service67;
|
|
29
|
+
return Service37.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
53
|
-
key:
|
|
52
|
+
make21({
|
|
53
|
+
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node41 = makeLocationNode({ service: Service37, layer, deps: [Global.node, node72] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service37, node41, exports_builtins };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID17,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-64z8z5x5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service76,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node81
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID17,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service76 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service76.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node81 = makeLocationNode({ service: Service76, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service76, locationLayer2, node81, exports_aisdk };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-k4bwy1x5.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service58,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node62
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service58 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service58.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node62 = makeLocationNode({
|
|
143
|
+
service: Service58,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service58, node62, exports_tool_output2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_lsp, {
|
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
10
|
Entry: () => Entry4,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info18,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info18, exports_lsp };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-sjpb2e72.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-6abnk40k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin35,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin35 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin8 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin8 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin35, exports_firecrawl };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-crmey8mf.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-z7f3thhk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service31,
|
|
11
|
+
node35
|
|
12
|
+
} from "./command-kk8qrnxm.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-p8qxwesx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service68,
|
|
19
|
+
node73
|
|
20
|
+
} from "./command-3nt7fz2d.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-myw4ak0a.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service54,
|
|
26
|
+
node57
|
|
27
|
+
} from "./command-rz5nyh7y.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./command-982e01ww.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError6
|
|
33
|
+
} from "./command-wcr0959g.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-mntxs535.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service29
|
|
39
|
+
} from "./command-ag4rn41e.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service52,
|
|
42
|
+
node55
|
|
43
|
+
} from "./command-zhwkzg3q.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service30,
|
|
48
|
+
node34,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
51
|
-
import {
|
|
52
|
-
Service34,
|
|
53
|
-
node38
|
|
54
|
-
} from "./project-env96yqd.js";
|
|
50
|
+
} from "./command-dyxej0k0.js";
|
|
55
51
|
import {
|
|
52
|
+
Service28,
|
|
56
53
|
node33
|
|
57
|
-
} from "./
|
|
54
|
+
} from "./command-mx0e3zaa.js";
|
|
55
|
+
import {
|
|
56
|
+
node32
|
|
57
|
+
} from "./command-3gcs5xa7.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./command-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service27,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node31
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service27 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service68;
|
|
92
|
+
const locations = yield* Service54;
|
|
93
|
+
const store = yield* Service52;
|
|
94
|
+
const execution = yield* Service28;
|
|
95
|
+
const instances = yield* Service31;
|
|
96
|
+
const admission = yield* Service30;
|
|
97
97
|
const database = yield* Service80;
|
|
98
98
|
const bus = yield* Service79;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError6({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service29.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service27.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node31 = makeGlobalNode({
|
|
167
|
+
service: Service27,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node73,
|
|
173
|
+
node57,
|
|
174
|
+
node55,
|
|
175
|
+
node33,
|
|
176
|
+
node35,
|
|
177
|
+
node34,
|
|
178
178
|
node85,
|
|
179
179
|
node84,
|
|
180
|
-
|
|
180
|
+
node32
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node31, exports_move };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/codemode/catalog.ts
|
|
6
6
|
var exports_catalog = {};
|
|
7
7
|
__export(exports_catalog, {
|
|
8
8
|
CodeModeCatalog: () => exports_catalog,
|
|
9
9
|
Summary: () => Summary2,
|
|
10
|
-
Tool: () =>
|
|
10
|
+
Tool: () => Tool3,
|
|
11
11
|
namespaceLine: () => namespaceLine2,
|
|
12
12
|
summarize: () => summarize2
|
|
13
13
|
});
|
|
14
14
|
import { Schema } from "effect";
|
|
15
|
-
var
|
|
15
|
+
var Tool3 = Schema.Struct({
|
|
16
16
|
type: Schema.Literal("tool"),
|
|
17
17
|
name: Schema.String,
|
|
18
18
|
description: Schema.String,
|
|
@@ -148,4 +148,4 @@ function cost(text) {
|
|
|
148
148
|
return Math.round(text.length / CHARACTERS_PER_TOKEN);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Tool3, Summary2, summarize2, namespaceLine2, exports_catalog };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z7f3thhk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./command-myw4ak0a.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./command-067xa773.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin42
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin42 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service67;
|
|
200
|
+
const mcp = yield* Service41;
|
|
201
201
|
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin42, exports_command2 };
|