@opencode/core 0.0.0-dev-19467 → 0.0.0-dev-19469
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{file-5h5hcfag.js → reference-01anbdkk.js} +27 -27
- package/dist/chunks/{file-qttnr0ye.js → reference-05r7bmwp.js} +10 -10
- package/dist/chunks/{file-88sz8qcd.js → reference-06dxphr1.js} +4 -4
- package/dist/chunks/{file-skre1xzp.js → reference-09aw4jvq.js} +9 -9
- package/dist/chunks/{file-bpbqk74e.js → reference-09y6afs0.js} +8 -8
- package/dist/chunks/{file-1cfb3ja4.js → reference-0gapa1rm.js} +5 -5
- package/dist/chunks/{file-fjkx7jfm.js → reference-0htbavtx.js} +17 -17
- package/dist/chunks/reference-0mesazry.js +4 -0
- package/dist/chunks/{file-jmdt0qbm.js → reference-0mhw05h8.js} +10 -10
- package/dist/chunks/{file-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-pm3zx1e2.js → reference-0qe8g8zg.js} +11 -11
- package/dist/chunks/{file-c98r53b8.js → reference-0t8dc6r8.js} +13 -13
- package/dist/chunks/{file-n8c291r7.js → reference-10jtetaj.js} +6 -6
- package/dist/chunks/{file-76t0zr3x.js → reference-12kja8s8.js} +11 -11
- package/dist/chunks/{file-yxzk4b0p.js → reference-15k12kva.js} +4 -4
- package/dist/chunks/{file-xp1skx2v.js → reference-15vt8tk0.js} +19 -19
- package/dist/chunks/{file-dhwr7h25.js → reference-16cax9zb.js} +11 -11
- package/dist/chunks/{file-bpn789zm.js → reference-17bm7pxq.js} +14 -14
- package/dist/chunks/{file-fygdb7h7.js → reference-18cztcj7.js} +3 -3
- package/dist/chunks/{file-z69s9t6b.js → reference-1ah30sey.js} +5 -5
- package/dist/chunks/{file-9q0jhhf9.js → reference-1c83pxjm.js} +8 -8
- package/dist/chunks/{file-jkrwprzx.js → reference-1cbphejb.js} +17 -17
- package/dist/chunks/{file-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mkh51v61.js → reference-1e9w7pgh.js} +10 -10
- package/dist/chunks/{file-t3yqqakc.js → reference-1ezb2zjw.js} +15 -15
- package/dist/chunks/{file-gr6g09x2.js → reference-1gnhaxbw.js} +3 -3
- package/dist/chunks/{file-e8es6s27.js → reference-1kb45nkz.js} +11 -11
- package/dist/chunks/{file-kmba0g0m.js → reference-1r2rfnkf.js} +24 -24
- package/dist/chunks/{file-jwx4y25k.js → reference-1tjg7tvh.js} +9 -9
- package/dist/chunks/{file-aw76w3jw.js → reference-1xcz5rcm.js} +9 -9
- package/dist/chunks/{file-k3vytwpg.js → reference-1xd5egdd.js} +17 -17
- package/dist/chunks/{file-mfqp6xfm.js → reference-1ygqh575.js} +6 -6
- package/dist/chunks/{file-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{file-yg6nt6v4.js → reference-2336b01z.js} +8 -8
- package/dist/chunks/{file-2402vzrj.js → reference-2402vzrj.js} +1 -1
- package/dist/chunks/{file-01mdjjj7.js → reference-27cwmj5g.js} +37 -37
- package/dist/chunks/{file-5p1xccta.js → reference-2a263qgy.js} +4 -4
- package/dist/chunks/{file-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-6jnybvqn.js → reference-2bt6bea8.js} +9 -9
- package/dist/chunks/{file-m27pyyd3.js → reference-2d6j2h4j.js} +6 -6
- package/dist/chunks/{file-n07gqhyx.js → reference-2e96adxv.js} +9 -9
- package/dist/chunks/{file-qgn6gcr1.js → reference-2k8khapm.js} +5 -5
- package/dist/chunks/{file-aznbw4af.js → reference-2kmxw8hs.js} +34 -34
- package/dist/chunks/{file-gn193kaw.js → reference-2kr5eys4.js} +2 -2
- package/dist/chunks/{file-954vm9zf.js → reference-2nv2m7pf.js} +6 -6
- package/dist/chunks/{file-sveyc280.js → reference-2rmxd9h0.js} +13 -13
- package/dist/chunks/{file-e9cy62py.js → reference-2wyjv582.js} +4 -4
- package/dist/chunks/{file-r9babyk8.js → reference-31dz7cp4.js} +1 -1
- package/dist/chunks/{file-4cgh75f3.js → reference-35rfs3k1.js} +8 -8
- package/dist/chunks/{file-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-ak4yxbec.js → reference-3hwn07qe.js} +11 -11
- package/dist/chunks/{file-w0gkjavc.js → reference-3sa4r9dq.js} +15 -15
- package/dist/chunks/{file-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-vr7gxye5.js → reference-3vnq2gnx.js} +11 -11
- package/dist/chunks/{file-z3pw5915.js → reference-3w0fmcng.js} +5 -5
- package/dist/chunks/{file-fbe32vd5.js → reference-3whwtej4.js} +6 -6
- package/dist/chunks/{file-kp3p0j6p.js → reference-415h19gn.js} +3 -3
- package/dist/chunks/{file-gdzz6jx4.js → reference-47fbce8x.js} +60 -60
- package/dist/chunks/{file-v0zt7nbb.js → reference-4g33vjc1.js} +48 -48
- package/dist/chunks/{file-v57h5aag.js → reference-4pq1e7ap.js} +32 -32
- package/dist/chunks/{file-rtv6ahp9.js → reference-4wkq7p63.js} +8 -8
- package/dist/chunks/{file-4y66k410.js → reference-4y66k410.js} +2 -2
- package/dist/chunks/{file-t7z3zppm.js → reference-4yg7xpeb.js} +2 -2
- package/dist/chunks/{file-zedqgydd.js → reference-54fz3v2y.js} +15 -15
- package/dist/chunks/{file-vb8ktjqd.js → reference-56e767g1.js} +29 -29
- package/dist/chunks/{file-nhzp11fy.js → reference-5d2ab029.js} +11 -11
- package/dist/chunks/{file-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{file-w0f6ctqr.js → reference-5gx2yyfz.js} +18 -18
- package/dist/chunks/{file-15ez12k6.js → reference-5j82523v.js} +30 -30
- package/dist/chunks/{file-ksz0h0wp.js → reference-5jtdmvnp.js} +1 -1
- package/dist/chunks/{file-nkdfvqze.js → reference-5qmb0wzx.js} +37 -37
- package/dist/chunks/{file-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-wzepkft7.js → reference-5v02x80t.js} +16 -16
- package/dist/chunks/{file-wzjjzz4p.js → reference-5wwh4mg2.js} +4 -4
- package/dist/chunks/{file-10nz5c35.js → reference-648tfcfv.js} +4 -4
- package/dist/chunks/{file-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{file-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-9cz3wv26.js → reference-6rh2dx9z.js} +5 -5
- package/dist/chunks/{file-71q4at8m.js → reference-71q4at8m.js} +1 -1
- package/dist/chunks/{file-y4pn6qcw.js → reference-73fcze5p.js} +6 -6
- package/dist/chunks/{file-we27jats.js → reference-78qgck3m.js} +12 -12
- package/dist/chunks/{file-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-w98apfbx.js → reference-7ec9e7fz.js} +10 -10
- package/dist/chunks/{file-g72m04gw.js → reference-7png34pd.js} +11 -11
- package/dist/chunks/{file-43kgpfns.js → reference-7vsprvj1.js} +22 -22
- package/dist/chunks/{file-y6f0p4jw.js → reference-7w99qc9d.js} +2 -2
- package/dist/chunks/{file-1awm1f41.js → reference-80e0yyk8.js} +12 -12
- package/dist/chunks/{file-asmz7wyz.js → reference-844ef7ks.js} +8 -8
- package/dist/chunks/{file-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-jmkfxt9k.js → reference-8r89cgw5.js} +26 -26
- package/dist/chunks/{file-ygcwy31f.js → reference-8zy0pqav.js} +25 -25
- package/dist/chunks/{file-6dqgf9h2.js → reference-94r5a2b1.js} +9 -9
- package/dist/chunks/{file-mwbghvtz.js → reference-96r2e1w0.js} +20 -20
- package/dist/chunks/{file-6wc117sj.js → reference-9ny7y94p.js} +10 -10
- package/dist/chunks/{file-rk0rec3h.js → reference-9pv0dm11.js} +9 -9
- package/dist/chunks/{file-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-43k15f45.js → reference-a4exdnt3.js} +4 -4
- package/dist/chunks/{file-xwsk2c8c.js → reference-a4kcyykg.js} +6 -6
- package/dist/chunks/{file-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{file-npz894wm.js → reference-ad84r26q.js} +20 -20
- package/dist/chunks/{file-m70sbz6t.js → reference-afdssyjb.js} +4 -4
- package/dist/chunks/{file-5t49yv3r.js → reference-b38z4m5h.js} +20 -20
- package/dist/chunks/{file-6d17qt6n.js → reference-b56hman4.js} +47 -47
- package/dist/chunks/{file-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-ckn2912w.js → reference-bc2jnt26.js} +7 -7
- package/dist/chunks/{file-7j9mf223.js → reference-bg8wk28x.js} +26 -26
- package/dist/chunks/{file-dzpsx89s.js → reference-bngkd4f8.js} +9 -9
- package/dist/chunks/{file-jc9hk3c4.js → reference-bshbjjhq.js} +30 -30
- package/dist/chunks/{file-s0hza5ac.js → reference-bw03vhcb.js} +4 -4
- package/dist/chunks/{file-3wyyhwd0.js → reference-bxya9zf1.js} +20 -20
- package/dist/chunks/{file-n6d0ct00.js → reference-c0j4bwt0.js} +11 -11
- package/dist/chunks/{file-gp52jd7g.js → reference-c5vgnrd2.js} +10 -10
- package/dist/chunks/{file-bmmbmmz8.js → reference-cb7jb397.js} +20 -20
- package/dist/chunks/{file-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-55ecvd0d.js → reference-ch958ebp.js} +43 -43
- package/dist/chunks/{file-1vtz46z8.js → reference-chnmz1hg.js} +8 -8
- package/dist/chunks/{file-0dey12nt.js → reference-ctfh8fzz.js} +24 -24
- package/dist/chunks/{file-y4trewk8.js → reference-cy1a2d0g.js} +26 -26
- package/dist/chunks/{file-b3wkxfg9.js → reference-d50f2zf5.js} +1 -1
- package/dist/chunks/{file-k4698d15.js → reference-d590qfxf.js} +8 -8
- package/dist/chunks/{file-vaspbzqy.js → reference-d6cdva8b.js} +78 -78
- package/dist/chunks/{file-vncycja5.js → reference-dfe8djrf.js} +4 -4
- package/dist/chunks/{file-d9vam3k2.js → reference-dfp9n8hb.js} +29 -29
- package/dist/chunks/{file-dyaxchcz.js → reference-dpa0gt8g.js} +20 -20
- package/dist/chunks/{file-q7wrh90t.js → reference-dqh78jdz.js} +29 -29
- package/dist/chunks/{file-0zcwb494.js → reference-dwqs10ka.js} +34 -34
- package/dist/chunks/reference-dxj72tfx.js +18 -0
- package/dist/chunks/{file-wvdcn5qm.js → reference-dydhxaw9.js} +20 -20
- package/dist/chunks/{file-nc8g0deh.js → reference-e2d25rr3.js} +25 -25
- package/dist/chunks/{file-jv01nqvq.js → reference-e6hmchc5.js} +5 -5
- package/dist/chunks/{file-63xctefh.js → reference-ebah8r6x.js} +6 -6
- package/dist/chunks/{file-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-2zj8fbp9.js → reference-f0rar1s7.js} +19 -19
- package/dist/chunks/{file-tte3y0bt.js → reference-f1md5hpv.js} +20 -20
- package/dist/chunks/{file-2q26t3z2.js → reference-f250hf8h.js} +15 -15
- package/dist/chunks/{file-3p0a3947.js → reference-f6jnqjkq.js} +34 -34
- package/dist/chunks/{file-f828m53h.js → reference-f828m53h.js} +2 -2
- package/dist/chunks/{file-f8q7mv7a.js → reference-f9bavhm2.js} +1 -1
- package/dist/chunks/{file-rj24jzzd.js → reference-fa3vxxse.js} +15 -15
- package/dist/chunks/reference-favptqsr.js +22 -0
- package/dist/chunks/{file-mp0p3w6e.js → reference-fbfybm5t.js} +14 -14
- package/dist/chunks/{file-eym8880c.js → reference-fdtzxv27.js} +8 -8
- package/dist/chunks/{file-xtnhd2d6.js → reference-fgtf9gwd.js} +11 -11
- package/dist/chunks/{file-y18dg9rm.js → reference-fp7m7k50.js} +25 -25
- package/dist/chunks/{file-xf7r26fr.js → reference-fsk062cm.js} +27 -27
- package/dist/chunks/{file-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-vsp1fds9.js → reference-g190xswt.js} +21 -21
- package/dist/chunks/{file-8qkkyzrv.js → reference-gc6qaqmt.js} +13 -13
- package/dist/chunks/{file-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-r7cr63pb.js → reference-gj09rpzd.js} +9 -9
- package/dist/chunks/{file-ag08y0z0.js → reference-gm03z5wg.js} +33 -33
- package/dist/chunks/{file-vgx6weyf.js → reference-gn2hfjap.js} +8 -8
- package/dist/chunks/{file-s4gwnm9s.js → reference-gtqrsy8f.js} +17 -17
- package/dist/chunks/{file-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-e052s0h1.js → reference-gvphacjb.js} +18 -18
- package/dist/chunks/{file-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-g2h5514g.js → reference-h4bptjw1.js} +3 -3
- package/dist/chunks/{file-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-bajakh74.js → reference-hfdr1yjj.js} +4 -4
- package/dist/chunks/{file-yt0fqk68.js → reference-hkfg6fzm.js} +5 -5
- package/dist/chunks/{file-nd64t4g7.js → reference-hpjzhk5e.js} +15 -15
- package/dist/chunks/{file-hxs4qgpe.js → reference-ht96ep0w.js} +20 -20
- package/dist/chunks/{file-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{file-zpqzfwh7.js → reference-j8pg3ej3.js} +4 -4
- package/dist/chunks/{file-ge9f1ey5.js → reference-jbbzf1js.js} +10 -10
- package/dist/chunks/{file-196zxc4b.js → reference-jcthwcnq.js} +22 -22
- package/dist/chunks/{file-xmftkv8j.js → reference-jd4jebz2.js} +24 -24
- package/dist/chunks/{file-p1mff96j.js → reference-jr6f0vph.js} +87 -87
- package/dist/chunks/{file-mka1mjms.js → reference-jx4nweh7.js} +13 -13
- package/dist/chunks/{file-96yt6zt0.js → reference-jy16bfac.js} +1 -1
- package/dist/chunks/{file-hr4nst8s.js → reference-k2as7s6q.js} +56 -56
- package/dist/chunks/{file-0py0pkk2.js → reference-k5tg8ptt.js} +22 -6
- package/dist/chunks/{file-zcyexcbg.js → reference-k8wp12df.js} +21 -21
- package/dist/chunks/{file-kpdtseex.js → reference-kb35dtpx.js} +4 -4
- package/dist/chunks/{file-rh4q0e7f.js → reference-kdgdx0pq.js} +21 -21
- package/dist/chunks/{file-kg06axw8.js → reference-kg06axw8.js} +1 -1
- package/dist/chunks/{file-wptj4zbr.js → reference-kn35aw4y.js} +13 -13
- package/dist/chunks/{file-brdav8ac.js → reference-krf6f92z.js} +1 -1
- package/dist/chunks/{file-p90jbscy.js → reference-m188z08q.js} +11 -11
- package/dist/chunks/{file-at361zj4.js → reference-m4gc54s5.js} +29 -29
- package/dist/chunks/{file-vvejnxw1.js → reference-m7c4bemr.js} +174 -174
- package/dist/chunks/{file-4h3kvjs2.js → reference-m7fm29bt.js} +7 -7
- package/dist/chunks/{file-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-pn6c68gz.js → reference-ma9zq0m7.js} +56 -56
- package/dist/chunks/{file-qsaqrdx1.js → reference-mb0geh9n.js} +11 -11
- package/dist/chunks/{file-bwvfabrt.js → reference-mcakkx8x.js} +6 -6
- package/dist/chunks/{file-7yh4e7ss.js → reference-mhkvc446.js} +3 -3
- package/dist/chunks/{file-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-4w79hth0.js → reference-ms97y41h.js} +11 -11
- package/dist/chunks/{file-rgerjr63.js → reference-mw9a6czv.js} +4 -4
- package/dist/chunks/{file-cgyb2chk.js → reference-n5ep5dan.js} +27 -27
- package/dist/chunks/{file-32ns7zf1.js → reference-n5my4zzm.js} +39 -39
- package/dist/chunks/{file-zg7fnakg.js → reference-n972z8tz.js} +293 -293
- package/dist/chunks/{file-qfhg0qm0.js → reference-na7vfx71.js} +15 -15
- package/dist/chunks/{file-pd0fpw0w.js → reference-nfxhw9qw.js} +13 -13
- package/dist/chunks/{file-hjt4xg1x.js → reference-nhy5jxhy.js} +4 -4
- package/dist/chunks/{file-b09hzw3k.js → reference-nng2ktcm.js} +2 -2
- package/dist/chunks/{file-x0mn1y4c.js → reference-nsabaa1m.js} +15 -15
- package/dist/chunks/{file-t0x5rdq8.js → reference-p1wf2k30.js} +9 -9
- package/dist/chunks/{file-w1e78axz.js → reference-p8q51ffm.js} +24 -24
- package/dist/chunks/{file-n8wswfp5.js → reference-p8r4fzyh.js} +16 -16
- package/dist/chunks/{file-j935v87r.js → reference-paphc93g.js} +2 -2
- package/dist/chunks/{file-xm0rhqjd.js → reference-pazrb1rr.js} +5 -5
- package/dist/chunks/{file-t8dapppc.js → reference-phdhrp7w.js} +37 -37
- package/dist/chunks/{file-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{file-81z8qjxd.js → reference-pnk6npkv.js} +16 -16
- package/dist/chunks/{file-q597yyn0.js → reference-ppe0rjzw.js} +16 -16
- package/dist/chunks/{file-f0bc8q2d.js → reference-psm6qbq5.js} +22 -22
- package/dist/chunks/{file-v6ypf6cj.js → reference-pyg81bkg.js} +4 -4
- package/dist/chunks/{file-q88zj522.js → reference-q5xz05ap.js} +11 -11
- package/dist/chunks/{file-zmdyh523.js → reference-qdxx0g8s.js} +32 -32
- package/dist/chunks/{file-vkt7gky2.js → reference-qgawthcf.js} +47 -47
- package/dist/chunks/{file-fgh0kbhd.js → reference-qmr73083.js} +1 -1
- package/dist/chunks/{file-tfngb0ww.js → reference-qr27hz8v.js} +4 -4
- package/dist/chunks/{file-c3tq07df.js → reference-qsam8w8k.js} +19 -19
- package/dist/chunks/{file-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{file-dp6qntr2.js → reference-r65k5kbp.js} +15 -15
- package/dist/chunks/{file-r9mregkx.js → reference-r9mregkx.js} +2 -2
- package/dist/chunks/{file-p5m12nsf.js → reference-rftpfvvg.js} +41 -41
- package/dist/chunks/{file-yp2x3t23.js → reference-rhraev7y.js} +4 -4
- package/dist/chunks/{file-ratrq7cm.js → reference-ryr25ayn.js} +4 -4
- package/dist/chunks/{file-87kgra54.js → reference-rzz62h8s.js} +6 -6
- package/dist/chunks/{file-9fecvkeg.js → reference-s5wgwj4n.js} +35 -35
- package/dist/chunks/{file-t550f9t1.js → reference-s8d7rejh.js} +4 -4
- package/dist/chunks/{file-w3gs9xya.js → reference-s8vrwrxy.js} +9 -9
- package/dist/chunks/{file-rbmgqr8n.js → reference-sa3n58kn.js} +8 -8
- package/dist/chunks/{file-8g4hjr24.js → reference-sb5pch95.js} +15 -15
- package/dist/chunks/{file-m7fcfcd3.js → reference-smg7z89f.js} +41 -41
- package/dist/chunks/{file-n76fdqym.js → reference-sv9bpgvh.js} +5 -5
- package/dist/chunks/{file-m0v68pa6.js → reference-szqgdezh.js} +26 -26
- package/dist/chunks/{file-2ktm995r.js → reference-t8vn9brm.js} +13 -13
- package/dist/chunks/{file-yymn1yqy.js → reference-t92920s6.js} +9 -9
- package/dist/chunks/{file-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{file-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mc8zj9wc.js → reference-v71evwnx.js} +19 -19
- package/dist/chunks/{file-k16ay38w.js → reference-v8ch97zc.js} +1 -1
- package/dist/chunks/{file-pjj7a5gk.js → reference-v8qyrbfj.js} +5 -5
- package/dist/chunks/{file-0m33zjrf.js → reference-vcgtdkxa.js} +25 -25
- package/dist/chunks/{file-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{file-65ae7ssf.js → reference-vgfzxgad.js} +15 -15
- package/dist/chunks/{file-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-yj688e5m.js → reference-w3n3y9pr.js} +20 -20
- package/dist/chunks/{file-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-qvz5qhdq.js → reference-w5s7sg4e.js} +34 -34
- package/dist/chunks/{file-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{file-5wh1mxz2.js → reference-wm1ya0ts.js} +20 -20
- package/dist/chunks/{file-99hfsv2g.js → reference-wst8cwqd.js} +21 -21
- package/dist/chunks/{file-44ddp8x2.js → reference-ww4b13kq.js} +18 -18
- package/dist/chunks/{file-4b96ps91.js → reference-wzpdcp4j.js} +14 -14
- package/dist/chunks/{file-3nnae7yt.js → reference-x014fvry.js} +26 -26
- package/dist/chunks/{file-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-8yay56x4.js → reference-x28agkan.js} +5 -5
- package/dist/chunks/{file-scjjkrgm.js → reference-xgpae3me.js} +16 -16
- package/dist/chunks/{file-46hd6k3g.js → reference-xj0mj0qg.js} +18 -18
- package/dist/chunks/{file-5h1vqfpf.js → reference-xs36768n.js} +24 -24
- package/dist/chunks/{file-2z1nbbgn.js → reference-xt2nr24r.js} +10 -10
- package/dist/chunks/{file-78nv4h6x.js → reference-xx1mwrye.js} +24 -24
- package/dist/chunks/{file-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-zq3nracj.js → reference-y4hk1f48.js} +20 -20
- package/dist/chunks/{file-xvvn7245.js → reference-y5y3sc4a.js} +30 -30
- package/dist/chunks/{file-y71avatq.js → reference-y71avatq.js} +1 -1
- package/dist/chunks/{file-6anwy9fs.js → reference-y8nmaz64.js} +6 -6
- package/dist/chunks/{file-zzr6y1q3.js → reference-yg98y7q8.js} +17 -17
- package/dist/chunks/{file-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-s4enseaf.js → reference-yrznvahk.js} +2 -2
- package/dist/chunks/{file-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-c4qh20ek.js → reference-z0dgpzg6.js} +23 -23
- package/dist/chunks/{file-29x78va6.js → reference-z63w68vq.js} +6 -6
- package/dist/chunks/{file-grfft0p3.js → reference-z9xr9zm9.js} +9 -9
- package/dist/chunks/{file-v366j0rp.js → reference-za77aepr.js} +3 -3
- package/dist/chunks/{file-tppe6m69.js → reference-zebdq5r6.js} +7 -7
- package/dist/chunks/{file-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
- package/dist/chunks/reference-zg1jk378.js +247 -0
- package/dist/chunks/{file-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- 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 +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +89 -89
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +94 -94
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- 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 +7 -7
- 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 +354 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +79 -79
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -2
- package/dist/plugin/plan.js +98 -98
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- 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 +3 -3
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/plugin/optimize.d.ts +2 -1
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/file-6kdq0pjd.js +0 -4
- package/dist/chunks/file-p2byknbn.js +0 -22
- package/dist/chunks/file-pf31ssb9.js +0 -18
- package/dist/chunks/file-zgqe0621.js +0 -247
- /package/dist/chunks/{file-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → reference-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service44
|
|
4
|
+
} from "./reference-phdhrp7w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service52
|
|
7
|
+
} from "./reference-qdxx0g8s.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin30
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin30 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service44;
|
|
27
|
+
const snapshot = yield* Service52;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin15 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin30, exports_snapshot };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-mw9a6czv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./reference-7ec9e7fz.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service23,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node27
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event6 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service23 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service79;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service78;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service23.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node27 = makeLocationNode({
|
|
188
|
+
service: Service23,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node84,
|
|
190
|
+
deps: [node84, node83]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service23, node27, exports_websearch3, Event6 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./reference-yg98y7q8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service13
|
|
9
|
+
} from "./reference-ww4b13kq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service10
|
|
12
|
+
} from "./reference-qsam8w8k.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./reference-3sa4r9dq.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./reference-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Plugin: () => Plugin42,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name10,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name10 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin42 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service13;
|
|
63
|
+
const sessionInstructions = yield* Service10;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service74;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin44 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent4 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name10, Input10, Plugin42, toModelContent4, exports_read };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info16,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info16, exports_permission };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./reference-psm6qbq5.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
12
|
Service53
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./reference-bxya9zf1.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./reference-yg98y7q8.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-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: () => Plugin27
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin27 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
35
|
const discovery = yield* Service53;
|
|
@@ -38,8 +38,8 @@ var Plugin11 = define({
|
|
|
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* Service74;
|
|
42
|
+
const watcher = yield* Service45;
|
|
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 { Plugin27, exports_instruction };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service49,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node54
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service49 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service49.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node54 = makeLocationNode({ service: Service49, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service49, node54, exports_image2 };
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./reference-yg98y7q8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service50
|
|
11
|
+
} from "./reference-jd4jebz2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./reference-sb5pch95.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service24,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-jx4nweh7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service63
|
|
22
|
+
} from "./reference-k2as7s6q.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service13,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-ww4b13kq.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./reference-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./reference-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin39,
|
|
42
|
+
name: () => name7,
|
|
43
43
|
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name7 = "patch";
|
|
89
|
+
var Input7 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
@@ -105,21 +105,21 @@ var toModelContent2 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin39 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service50;
|
|
112
|
+
const access = yield* Service13;
|
|
113
|
+
const fileMutation = yield* Service24;
|
|
114
|
+
const formatter = yield* Service14;
|
|
115
|
+
const location = yield* Service74;
|
|
116
|
+
const permission = yield* Service63;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name7, Input7, Applied2, Output5, toModelContent2, Plugin39, exports_patch };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service41,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node45
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service41 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service41, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service41.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service55, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node45 = makeGlobalNode({ service: Service41, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service41, node45, exports_environment };
|