@opencode/core 0.0.0-dev-20050 → 0.0.0-dev-20053
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{ripgrep-pnf9bbby.js → instruction-discovery-0chg25k6.js} +14 -14
- package/dist/chunks/{ripgrep-0b9a3syv.js → instruction-discovery-0gaj4617.js} +6 -6
- package/dist/chunks/{ripgrep-vr2vg3zy.js → instruction-discovery-0m0tvs7x.js} +4 -4
- package/dist/chunks/{ripgrep-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-510m7gjw.js → instruction-discovery-0r7yqxbf.js} +5 -5
- package/dist/chunks/{ripgrep-xjtsx636.js → instruction-discovery-0ryd0fps.js} +5 -5
- package/dist/chunks/{ripgrep-actssrt8.js → instruction-discovery-0wexbj72.js} +15 -15
- package/dist/chunks/{ripgrep-1dkxveh1.js → instruction-discovery-0wry3n1m.js} +41 -41
- package/dist/chunks/{ripgrep-m549exyf.js → instruction-discovery-11s59a84.js} +12 -12
- package/dist/chunks/{ripgrep-tzqmq8qk.js → instruction-discovery-15kgmdgj.js} +28 -28
- package/dist/chunks/{ripgrep-mhkvc446.js → instruction-discovery-1bbkgx8g.js} +3 -3
- package/dist/chunks/{ripgrep-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-eqhs44f7.js → instruction-discovery-1e5e9c2h.js} +6 -6
- package/dist/chunks/{ripgrep-mvksx64m.js → instruction-discovery-1ed2t66p.js} +4 -4
- package/dist/chunks/{ripgrep-t8ger676.js → instruction-discovery-1n98hr1n.js} +3 -3
- package/dist/chunks/{ripgrep-aqga0sge.js → instruction-discovery-1phdpwc2.js} +23 -23
- package/dist/chunks/{ripgrep-8sp14q84.js → instruction-discovery-1rawk49q.js} +13 -13
- package/dist/chunks/{ripgrep-vprkr44c.js → instruction-discovery-1s7z0cjk.js} +5 -5
- package/dist/chunks/{ripgrep-0eb83wjd.js → instruction-discovery-1saq4hr5.js} +28 -28
- package/dist/chunks/{ripgrep-31kr05fx.js → instruction-discovery-1vvr2ajh.js} +14 -14
- package/dist/chunks/{ripgrep-mhtr458h.js → instruction-discovery-1w70gyjm.js} +36 -36
- package/dist/chunks/{ripgrep-jd4wkpr4.js → instruction-discovery-2040r5xd.js} +11 -11
- package/dist/chunks/{ripgrep-ae0wcwdj.js → instruction-discovery-20fk9aev.js} +4 -4
- package/dist/chunks/{ripgrep-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-bpcytqs1.js → instruction-discovery-22ebvdeb.js} +32 -32
- package/dist/chunks/{ripgrep-2402vzrj.js → instruction-discovery-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-qby9dwvd.js → instruction-discovery-2eegacq4.js} +8 -8
- package/dist/chunks/{ripgrep-16h2319r.js → instruction-discovery-2qrdqbn9.js} +20 -20
- package/dist/chunks/{ripgrep-5v8ce13p.js → instruction-discovery-2wt5435z.js} +46 -46
- package/dist/chunks/{ripgrep-nta5d6qs.js → instruction-discovery-32mptbtk.js} +22 -22
- package/dist/chunks/{ripgrep-qdpn6yaw.js → instruction-discovery-3433kd31.js} +8 -8
- package/dist/chunks/{ripgrep-6564zykp.js → instruction-discovery-39zjwp2f.js} +31 -31
- package/dist/chunks/{ripgrep-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-cmwkp3r5.js → instruction-discovery-3hfr6h8q.js} +8 -8
- package/dist/chunks/{ripgrep-bnn53enc.js → instruction-discovery-3mcjejv0.js} +15 -15
- package/dist/chunks/{ripgrep-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-3zsf4n22.js → instruction-discovery-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-5mtzsd3b.js → instruction-discovery-44h5tttr.js} +4 -4
- package/dist/chunks/{ripgrep-knb7evpn.js → instruction-discovery-44ke2mar.js} +2 -2
- package/dist/chunks/{ripgrep-ydgy0jv4.js → instruction-discovery-45f95y49.js} +8 -8
- package/dist/chunks/{ripgrep-59smysxg.js → instruction-discovery-49gctfzm.js} +75 -75
- package/dist/chunks/{ripgrep-tfzngn12.js → instruction-discovery-4bm5ja14.js} +4 -4
- package/dist/chunks/{ripgrep-05dza9z3.js → instruction-discovery-4d4s568v.js} +16 -16
- package/dist/chunks/{ripgrep-r3j6szw2.js → instruction-discovery-4pymtaw6.js} +12 -12
- package/dist/chunks/{ripgrep-y2wxfe7c.js → instruction-discovery-4qa2vbsh.js} +15 -15
- package/dist/chunks/{ripgrep-acq9m0ym.js → instruction-discovery-4s2t67gb.js} +3 -3
- package/dist/chunks/{ripgrep-k9rdbn52.js → instruction-discovery-4s9mtqqy.js} +11 -11
- package/dist/chunks/{ripgrep-ckecvw8r.js → instruction-discovery-54tcyq79.js} +2 -2
- package/dist/chunks/{ripgrep-cyvnqhyj.js → instruction-discovery-55eajq8q.js} +27 -27
- package/dist/chunks/{ripgrep-mfqp6xfm.js → instruction-discovery-56gdpj1q.js} +6 -6
- package/dist/chunks/{ripgrep-1wfwk98z.js → instruction-discovery-5773vcrt.js} +10 -10
- package/dist/chunks/{ripgrep-apgpszpz.js → instruction-discovery-578btx0z.js} +24 -24
- package/dist/chunks/{ripgrep-57ez7d0k.js → instruction-discovery-57ez7d0k.js} +2 -2
- package/dist/chunks/{ripgrep-3eavv4sq.js → instruction-discovery-5amwhyk8.js} +6 -6
- package/dist/chunks/{ripgrep-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-5ekn9679.js → instruction-discovery-5ekn9679.js} +1 -1
- package/dist/chunks/{ripgrep-zy77hdr2.js → instruction-discovery-5j0v07dd.js} +57 -57
- package/dist/chunks/{ripgrep-7mcn7qf3.js → instruction-discovery-5p35wnkk.js} +23 -23
- package/dist/chunks/{ripgrep-e3qxr5gk.js → instruction-discovery-5qd3pb7m.js} +2 -2
- package/dist/chunks/{ripgrep-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-fn2248ay.js → instruction-discovery-5t720x8c.js} +6 -6
- package/dist/chunks/{ripgrep-7xvv7bz4.js → instruction-discovery-5t7an2a8.js} +11 -11
- package/dist/chunks/{ripgrep-b8f0afpw.js → instruction-discovery-5x6h8zsv.js} +10 -10
- package/dist/chunks/{ripgrep-gpjvt01r.js → instruction-discovery-5zj68cj2.js} +25 -25
- package/dist/chunks/{ripgrep-qz02d4gv.js → instruction-discovery-659sfxq9.js} +11 -11
- package/dist/chunks/{ripgrep-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-dqa86y6d.js → instruction-discovery-6jq1twvs.js} +19 -19
- package/dist/chunks/{ripgrep-7hrpqjht.js → instruction-discovery-6megmk7j.js} +174 -174
- package/dist/chunks/{ripgrep-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-6m34trkv.js → instruction-discovery-715tkws1.js} +19 -19
- package/dist/chunks/{ripgrep-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-85bay2vb.js → instruction-discovery-7cbq4mgj.js} +17 -17
- package/dist/chunks/{ripgrep-qgn6gcr1.js → instruction-discovery-7dqw4kz8.js} +5 -5
- package/dist/chunks/{ripgrep-2fcft0mp.js → instruction-discovery-7vrq869m.js} +23 -23
- package/dist/chunks/{ripgrep-wsckwg56.js → instruction-discovery-7w57ebwc.js} +5 -5
- package/dist/chunks/instruction-discovery-82dwf0d7.js +26 -0
- package/dist/chunks/{ripgrep-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-cckcq9gg.js → instruction-discovery-8s77jh8q.js} +13 -13
- package/dist/chunks/{ripgrep-p5m10399.js → instruction-discovery-8x5fbbq2.js} +25 -25
- package/dist/chunks/{ripgrep-rxw4b0p8.js → instruction-discovery-90jp2e9k.js} +5 -5
- package/dist/chunks/{ripgrep-c7s3naqd.js → instruction-discovery-91pn7y7z.js} +7 -7
- package/dist/chunks/{ripgrep-vy4zg7qh.js → instruction-discovery-965ggptx.js} +12 -12
- package/dist/chunks/{ripgrep-a1pqyhn8.js → instruction-discovery-97zbn10c.js} +7 -7
- package/dist/chunks/{ripgrep-vtxr0yy2.js → instruction-discovery-9cyfspf3.js} +5 -5
- package/dist/chunks/{ripgrep-vx17ftxw.js → instruction-discovery-9jd99yzh.js} +12 -12
- package/dist/chunks/{ripgrep-mt83epq0.js → instruction-discovery-9kdxktf7.js} +28 -28
- package/dist/chunks/instruction-discovery-9sh4wc5j.js +18 -0
- package/dist/chunks/{ripgrep-k3fn0r21.js → instruction-discovery-9z7zzmhv.js} +11 -11
- package/dist/chunks/{ripgrep-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-sra9araw.js → instruction-discovery-af04s6ss.js} +5 -5
- package/dist/chunks/{ripgrep-dhwr7h25.js → instruction-discovery-akrnn5pm.js} +11 -11
- package/dist/chunks/{ripgrep-emrjvxqt.js → instruction-discovery-ap3b078m.js} +11 -11
- package/dist/chunks/{ripgrep-8bn8hgnq.js → instruction-discovery-atnq9fe8.js} +32 -32
- package/dist/chunks/{ripgrep-nn6way1v.js → instruction-discovery-aye1rqq8.js} +5 -5
- package/dist/chunks/{ripgrep-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-mryf79qs.js → instruction-discovery-bf0dbsxh.js} +6 -6
- package/dist/chunks/{ripgrep-6nvpmb1g.js → instruction-discovery-bfcwx7ng.js} +32 -32
- package/dist/chunks/{ripgrep-fyymr9xg.js → instruction-discovery-bjn91642.js} +4 -4
- package/dist/chunks/{ripgrep-z07pqspn.js → instruction-discovery-bjtzbw4r.js} +3 -3
- package/dist/chunks/{ripgrep-ksk9sffd.js → instruction-discovery-byfdp7sc.js} +17 -17
- package/dist/chunks/{ripgrep-6wf2qcdr.js → instruction-discovery-c4hpbxsz.js} +11 -11
- package/dist/chunks/{ripgrep-0sgh8d45.js → instruction-discovery-c6yaza7c.js} +11 -11
- package/dist/chunks/{ripgrep-5168mhb0.js → instruction-discovery-cb50g36s.js} +30 -30
- package/dist/chunks/{ripgrep-j4zepqap.js → instruction-discovery-cbd96z7n.js} +25 -25
- package/dist/chunks/{ripgrep-r10vypme.js → instruction-discovery-cm7ckfx7.js} +11 -11
- package/dist/chunks/{ripgrep-7h5xaqf5.js → instruction-discovery-css18bw4.js} +4 -4
- package/dist/chunks/{ripgrep-znr0k2jp.js → instruction-discovery-d3p4xgmg.js} +9 -9
- package/dist/chunks/{ripgrep-y0fe2sxw.js → instruction-discovery-d4ytm8cd.js} +6 -6
- package/dist/chunks/{ripgrep-sge84xqd.js → instruction-discovery-dbc2k69g.js} +32 -32
- package/dist/chunks/{ripgrep-bct739vz.js → instruction-discovery-dfe8djrf.js} +4 -4
- package/dist/chunks/{ripgrep-0f59mhbe.js → instruction-discovery-djg052x6.js} +85 -85
- package/dist/chunks/{ripgrep-yz4h9str.js → instruction-discovery-djkbap09.js} +30 -30
- package/dist/chunks/{ripgrep-qqgkaj4y.js → instruction-discovery-dkddc65t.js} +2 -2
- package/dist/chunks/{ripgrep-y71avatq.js → instruction-discovery-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-faj2svbs.js → instruction-discovery-e0r7vjdq.js} +9 -9
- package/dist/chunks/{ripgrep-am9wkded.js → instruction-discovery-e2v056qs.js} +6 -6
- package/dist/chunks/{ripgrep-ymhgemp7.js → instruction-discovery-e4934fpk.js} +15 -15
- package/dist/chunks/{ripgrep-f9tp083j.js → instruction-discovery-e6rhpkh1.js} +27 -27
- package/dist/chunks/{ripgrep-rhjbct0v.js → instruction-discovery-eaj1djv9.js} +8 -8
- package/dist/chunks/{ripgrep-xwpyg3km.js → instruction-discovery-ee381eds.js} +51 -51
- package/dist/chunks/{ripgrep-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-adtat7gs.js → instruction-discovery-efbtb4e8.js} +11 -11
- package/dist/chunks/{ripgrep-ye7rqg8q.js → instruction-discovery-en7c0xf8.js} +24 -24
- package/dist/chunks/{ripgrep-d8zjpaz4.js → instruction-discovery-eneefzjq.js} +8 -8
- package/dist/chunks/{ripgrep-h90yrjs5.js → instruction-discovery-enqpmdm5.js} +35 -35
- package/dist/chunks/{ripgrep-563md3e9.js → instruction-discovery-eqnpzj6x.js} +46 -46
- package/dist/chunks/{ripgrep-e1jn5pvd.js → instruction-discovery-eqrkd5z0.js} +4 -4
- package/dist/chunks/{ripgrep-erw5rpbs.js → instruction-discovery-erw5rpbs.js} +2 -2
- package/dist/chunks/{ripgrep-b884akk1.js → instruction-discovery-erxzqa2e.js} +31 -31
- package/dist/chunks/{ripgrep-5a6df3z5.js → instruction-discovery-et40h98e.js} +30 -30
- package/dist/chunks/{ripgrep-bf2n6fqr.js → instruction-discovery-etph2ke2.js} +30 -30
- package/dist/chunks/{ripgrep-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-ag9w8cw1.js → instruction-discovery-evbgk2k8.js} +5 -5
- package/dist/chunks/{ripgrep-f2s5w1yc.js → instruction-discovery-evfjsp4y.js} +24 -24
- package/dist/chunks/{ripgrep-h35mffgv.js → instruction-discovery-fpzdzkj0.js} +19 -19
- package/dist/chunks/{ripgrep-hcgjh0hf.js → instruction-discovery-ft6ep068.js} +20 -20
- package/dist/chunks/{ripgrep-rfan2r90.js → instruction-discovery-fwy2bgzc.js} +2 -2
- package/dist/chunks/{ripgrep-7jbn65n7.js → instruction-discovery-g00n1506.js} +21 -21
- package/dist/chunks/{ripgrep-2ab5p2tv.js → instruction-discovery-g2pkmnsy.js} +30 -30
- package/dist/chunks/{ripgrep-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-94ek1h2f.js → instruction-discovery-gfvb90ym.js} +2 -2
- package/dist/chunks/{ripgrep-1wss5ece.js → instruction-discovery-gkbk41jf.js} +8 -8
- package/dist/chunks/{ripgrep-vswzb2pw.js → instruction-discovery-gkz88561.js} +1 -1
- package/dist/chunks/{ripgrep-45mv0mmk.js → instruction-discovery-gm52bzsg.js} +32 -32
- package/dist/chunks/{ripgrep-bm72tg9x.js → instruction-discovery-gmjjhz4f.js} +9 -9
- package/dist/chunks/{ripgrep-8sc544a3.js → instruction-discovery-gmx50r0d.js} +9 -9
- package/dist/chunks/{ripgrep-pcmkyeay.js → instruction-discovery-gtwzfepv.js} +6 -6
- package/dist/chunks/{ripgrep-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-5h5gn2dz.js → instruction-discovery-h2hm217k.js} +3 -3
- package/dist/chunks/{ripgrep-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/instruction-discovery-hcvhzkzs.js +503 -0
- package/dist/chunks/{ripgrep-44wj9dtk.js → instruction-discovery-hncjez84.js} +5 -5
- package/dist/chunks/{ripgrep-9d7sads4.js → instruction-discovery-hq4dtc3h.js} +11 -11
- package/dist/chunks/{ripgrep-0wwq9p0h.js → instruction-discovery-htvkgf1n.js} +26 -26
- package/dist/chunks/{ripgrep-6xadn18s.js → instruction-discovery-j148vjdr.js} +19 -19
- package/dist/chunks/{ripgrep-2mnth441.js → instruction-discovery-j3w7b9je.js} +4 -4
- package/dist/chunks/{ripgrep-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-bfddptag.js → instruction-discovery-j6bx7044.js} +11 -11
- package/dist/chunks/{ripgrep-m9y9g4ac.js → instruction-discovery-j6qe1feh.js} +11 -11
- package/dist/chunks/{ripgrep-b09hzw3k.js → instruction-discovery-jca4demv.js} +2 -2
- package/dist/chunks/{ripgrep-cd9xet5t.js → instruction-discovery-jff2zpce.js} +43 -43
- package/dist/chunks/{ripgrep-4zwdaqgd.js → instruction-discovery-jk5nd1ev.js} +43 -43
- package/dist/chunks/{ripgrep-7p50jswy.js → instruction-discovery-jnn0bp1d.js} +11 -11
- package/dist/chunks/{ripgrep-q04jv8av.js → instruction-discovery-jt292q3w.js} +32 -32
- package/dist/chunks/{ripgrep-zcrspsvn.js → instruction-discovery-jvf3yq6v.js} +4 -4
- package/dist/chunks/{ripgrep-k1jh2k0y.js → instruction-discovery-k7b9gx9s.js} +24 -24
- package/dist/chunks/{ripgrep-0pr3hkd7.js → instruction-discovery-k9d40v1y.js} +4 -4
- package/dist/chunks/{ripgrep-14pzmvty.js → instruction-discovery-kad7k73d.js} +8 -8
- package/dist/chunks/{ripgrep-psdrcdc3.js → instruction-discovery-kaqea1z3.js} +37 -37
- package/dist/chunks/{ripgrep-ber7bg81.js → instruction-discovery-kbez90jx.js} +9 -9
- package/dist/chunks/{ripgrep-pnv527nz.js → instruction-discovery-kfphszmj.js} +9 -9
- package/dist/chunks/{ripgrep-x1vnw4j8.js → instruction-discovery-kjhp2gs9.js} +4 -4
- package/dist/chunks/{ripgrep-1newhgc6.js → instruction-discovery-krerckhf.js} +23 -23
- package/dist/chunks/{ripgrep-tcx6fb2d.js → instruction-discovery-m2w22vaf.js} +16 -16
- package/dist/chunks/{ripgrep-fbkyw6cz.js → instruction-discovery-m3af1xqw.js} +9 -9
- package/dist/chunks/{ripgrep-m3fdjcah.js → instruction-discovery-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-ejf2c6et.js → instruction-discovery-m88pfp32.js} +3 -3
- package/dist/chunks/{ripgrep-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-2ygzq7an.js → instruction-discovery-mbjzy413.js} +12 -12
- package/dist/chunks/{ripgrep-sq2j235b.js → instruction-discovery-mh5s6r0s.js} +41 -41
- package/dist/chunks/{ripgrep-tsbagf10.js → instruction-discovery-mnxhb66b.js} +22 -22
- package/dist/chunks/{ripgrep-tnc4b65w.js → instruction-discovery-mpmef94f.js} +30 -30
- package/dist/chunks/{ripgrep-agvrswhg.js → instruction-discovery-mt2z56f5.js} +25 -25
- package/dist/chunks/{ripgrep-9j7e6784.js → instruction-discovery-mtjrch8b.js} +24 -24
- package/dist/chunks/{ripgrep-gchntx1p.js → instruction-discovery-mva6xa9e.js} +41 -41
- package/dist/chunks/{ripgrep-ve6nm2s5.js → instruction-discovery-mx9vqzsb.js} +6 -6
- package/dist/chunks/{ripgrep-2c5sxent.js → instruction-discovery-n1bt1yd9.js} +5 -5
- package/dist/chunks/{ripgrep-jakqjnps.js → instruction-discovery-n484hve9.js} +12 -12
- package/dist/chunks/{ripgrep-gzbkpp9m.js → instruction-discovery-nca7p386.js} +4 -4
- package/dist/chunks/{ripgrep-kzt398fn.js → instruction-discovery-nhyq2g63.js} +29 -29
- package/dist/chunks/{ripgrep-95svjcrc.js → instruction-discovery-nn3r97b9.js} +4 -4
- package/dist/chunks/{ripgrep-j0h9pff0.js → instruction-discovery-npyy71b9.js} +20 -20
- package/dist/chunks/{ripgrep-k3c624dm.js → instruction-discovery-nzks3jc8.js} +3 -3
- package/dist/chunks/{ripgrep-5cgbbxx2.js → instruction-discovery-p4thxdrt.js} +23 -23
- package/dist/chunks/{ripgrep-rsc9fyh1.js → instruction-discovery-p6dvmy6m.js} +8 -8
- package/dist/chunks/{ripgrep-d0j79zbm.js → instruction-discovery-pamen60e.js} +11 -11
- package/dist/chunks/{ripgrep-seb716sx.js → instruction-discovery-pc2w18tz.js} +11 -11
- package/dist/chunks/{ripgrep-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-4dre8h63.js → instruction-discovery-pkfpcs6v.js} +48 -48
- package/dist/chunks/{ripgrep-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-r4ehhsv8.js → instruction-discovery-pn4n9n96.js} +17 -17
- package/dist/chunks/{ripgrep-54frbgjx.js → instruction-discovery-pnra210x.js} +10 -10
- package/dist/chunks/{ripgrep-wd3x2cqz.js → instruction-discovery-psazpmmj.js} +2 -2
- package/dist/chunks/{ripgrep-x5wf3cfa.js → instruction-discovery-pwcz8111.js} +13 -13
- package/dist/chunks/{ripgrep-mfd42sw3.js → instruction-discovery-q082haf0.js} +92 -92
- package/dist/chunks/{ripgrep-gqp6qxk9.js → instruction-discovery-q2em0wnb.js} +29 -29
- package/dist/chunks/{ripgrep-y6f0p4jw.js → instruction-discovery-q3t37ft6.js} +3 -3
- package/dist/chunks/{ripgrep-vhexq360.js → instruction-discovery-q5797vwk.js} +29 -29
- package/dist/chunks/{ripgrep-fbms8ej5.js → instruction-discovery-q7qx1k0z.js} +31 -31
- package/dist/chunks/{ripgrep-vjtpgjq7.js → instruction-discovery-qahfex6h.js} +22 -22
- package/dist/chunks/instruction-discovery-qapv375x.js +4 -0
- package/dist/chunks/{ripgrep-9ayecn4x.js → instruction-discovery-qemwa272.js} +29 -29
- package/dist/chunks/{ripgrep-vsp1fds9.js → instruction-discovery-qj8eh1ht.js} +21 -21
- package/dist/chunks/{ripgrep-237jz2dm.js → instruction-discovery-qsaqc0wr.js} +16 -16
- package/dist/chunks/{ripgrep-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-sgzpp7nr.js → instruction-discovery-r53cm70s.js} +5 -5
- package/dist/chunks/{ripgrep-qa3qhgw8.js → instruction-discovery-ratrq7cm.js} +4 -4
- package/dist/chunks/{ripgrep-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-d4he2qe1.js → instruction-discovery-rey5gbxv.js} +9 -9
- package/dist/chunks/{ripgrep-agse1mrh.js → instruction-discovery-rnrng9qw.js} +11 -11
- package/dist/chunks/{ripgrep-gfhqj7dq.js → instruction-discovery-rt03rqyf.js} +5 -5
- package/dist/chunks/{ripgrep-2w5dyyz8.js → instruction-discovery-rtathh62.js} +8 -8
- package/dist/chunks/{ripgrep-qqvywntg.js → instruction-discovery-rw1kqm1d.js} +11 -11
- package/dist/chunks/{ripgrep-ta58qp5f.js → instruction-discovery-s7pfqayf.js} +5 -5
- package/dist/chunks/{ripgrep-8nhw5eyq.js → instruction-discovery-sgrqhgmf.js} +10 -10
- package/dist/chunks/{ripgrep-pnqe9gv0.js → instruction-discovery-sqy4ahhk.js} +1 -1
- package/dist/chunks/{ripgrep-09j1wten.js → instruction-discovery-svqww8e9.js} +12 -12
- package/dist/chunks/{ripgrep-ggw7ge79.js → instruction-discovery-sx1fh020.js} +18 -18
- package/dist/chunks/{ripgrep-tz7p6r84.js → instruction-discovery-t9ca33zz.js} +4 -4
- package/dist/chunks/{ripgrep-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-sfq6dn5s.js → instruction-discovery-tb574xta.js} +17 -17
- package/dist/chunks/{ripgrep-89znhe33.js → instruction-discovery-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-kb9hzx7k.js → instruction-discovery-th62b91t.js} +27 -27
- package/dist/chunks/{ripgrep-gd2jr9d1.js → instruction-discovery-tpqwk5ce.js} +53 -53
- package/dist/chunks/{ripgrep-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-z0xdv2q8.js → instruction-discovery-tww8z1vj.js} +26 -26
- package/dist/chunks/{ripgrep-tc0ehr23.js → instruction-discovery-tzztennb.js} +44 -44
- package/dist/chunks/{ripgrep-9q6pqx2w.js → instruction-discovery-v1eq4e05.js} +8 -8
- package/dist/chunks/{ripgrep-86zvre4w.js → instruction-discovery-v2dx9ytq.js} +8 -8
- package/dist/chunks/{ripgrep-8vh0cnbs.js → instruction-discovery-v2ja366f.js} +13 -13
- package/dist/chunks/{ripgrep-cfxcnq7f.js → instruction-discovery-vbh3tngh.js} +11 -11
- package/dist/chunks/{ripgrep-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-qgecjrfz.js → instruction-discovery-vgsrdn5q.js} +11 -11
- package/dist/chunks/{ripgrep-t590yz96.js → instruction-discovery-vybhs2ww.js} +9 -9
- package/dist/chunks/{ripgrep-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-h2grecd6.js → instruction-discovery-vzdazkqw.js} +15 -15
- package/dist/chunks/{ripgrep-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/instruction-discovery-w4wez72a.js +252 -0
- package/dist/chunks/{ripgrep-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-zhwag984.js → instruction-discovery-wmz1520h.js} +20 -20
- package/dist/chunks/{ripgrep-wjcmexze.js → instruction-discovery-wps88n7s.js} +12 -12
- package/dist/chunks/{ripgrep-za6yq9hg.js → instruction-discovery-wr7ps67x.js} +5 -5
- package/dist/chunks/{ripgrep-jn08bmc5.js → instruction-discovery-wta2bqzn.js} +20 -20
- package/dist/chunks/{ripgrep-1a9bc6ss.js → instruction-discovery-wyyg1kth.js} +13 -13
- package/dist/chunks/{ripgrep-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-8v2r9b99.js → instruction-discovery-x4rn42j9.js} +20 -20
- package/dist/chunks/{ripgrep-ah6tdzr8.js → instruction-discovery-x5gsvnve.js} +22 -22
- package/dist/chunks/{ripgrep-drwq78ky.js → instruction-discovery-xfkkasph.js} +4 -4
- package/dist/chunks/{ripgrep-hpj7es9f.js → instruction-discovery-xga2m62q.js} +18 -18
- package/dist/chunks/{ripgrep-fh3sfp11.js → instruction-discovery-xh5b640q.js} +40 -40
- package/dist/chunks/{ripgrep-6870w4kz.js → instruction-discovery-xkfpn5tc.js} +13 -13
- package/dist/chunks/{ripgrep-k2eanbb6.js → instruction-discovery-xmx6g731.js} +1 -1
- package/dist/chunks/{ripgrep-4xwkvhnj.js → instruction-discovery-xz1491ck.js} +20 -20
- package/dist/chunks/{ripgrep-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-8s1fj8xg.js → instruction-discovery-y72zmemf.js} +8 -8
- package/dist/chunks/{ripgrep-d3srfpjk.js → instruction-discovery-y9ac25rv.js} +26 -26
- package/dist/chunks/{ripgrep-1acjjqhc.js → instruction-discovery-yp2x3t23.js} +4 -4
- package/dist/chunks/{ripgrep-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-s4enseaf.js → instruction-discovery-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-h71w788e.js → instruction-discovery-z4ztj7g0.js} +5 -5
- package/dist/chunks/{ripgrep-29x78va6.js → instruction-discovery-z63w68vq.js} +6 -6
- package/dist/chunks/{ripgrep-4475gzjd.js → instruction-discovery-z6kcpssz.js} +8 -8
- package/dist/chunks/{ripgrep-vemcyc6m.js → instruction-discovery-ze7b11e9.js} +25 -25
- package/dist/chunks/{ripgrep-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-0c7hyzvt.js → instruction-discovery-zm8zfhe0.js} +30 -30
- package/dist/chunks/{ripgrep-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-ers8xvjx.js → instruction-discovery-zrahedb4.js} +15 -15
- package/dist/chunks/{ripgrep-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-c211bx59.js → instruction-discovery-zyn1nver.js} +7 -7
- package/dist/chunks/{ripgrep-fb1j3qsp.js → instruction-discovery-zzy8bv2k.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- 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 +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- 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 +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +223 -223
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +3 -3
- 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 +92 -92
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0mesazry.js +0 -4
- package/dist/chunks/ripgrep-4v7qdvcn.js +0 -18
- package/dist/chunks/ripgrep-hz7paq91.js +0 -252
- package/dist/chunks/ripgrep-q54075k1.js +0 -26
- package/dist/chunks/ripgrep-ycjw1vkg.js +0 -503
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → instruction-discovery-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./ripgrep-r10vypme.js";
|
|
5
1
|
import {
|
|
6
2
|
Service83,
|
|
7
3
|
node87
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-cm7ckfx7.js";
|
|
5
|
+
import {
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./instruction-discovery-qsaqc0wr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service45,
|
|
11
|
+
node47
|
|
12
|
+
} from "./instruction-discovery-mx9vqzsb.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service81,
|
|
19
19
|
node85
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instruction-discovery-3mcjejv0.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-dkddc65t.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service79,
|
|
26
|
+
node83
|
|
27
|
+
} from "./instruction-discovery-kbez90jx.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./instruction-discovery-gmjjhz4f.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instruction-discovery-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service42
|
|
39
|
+
} from "./instruction-discovery-jvf3yq6v.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service75,
|
|
42
|
+
node79
|
|
43
|
+
} from "./instruction-discovery-6jq1twvs.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service44,
|
|
48
|
+
node46,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./instruction-discovery-y9ac25rv.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
52
|
+
Service41,
|
|
53
53
|
node44
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./instruction-discovery-0wry3n1m.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node35
|
|
57
|
+
} from "./instruction-discovery-578btx0z.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./instruction-discovery-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: () => Service28,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node31
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/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 Service28 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
91
|
const projects = yield* Service81;
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
92
|
+
const locations = yield* Service79;
|
|
93
|
+
const store = yield* Service75;
|
|
94
|
+
const execution = yield* Service41;
|
|
95
|
+
const instances = yield* Service45;
|
|
96
|
+
const admission = yield* Service44;
|
|
97
|
+
const database = yield* Service83;
|
|
98
|
+
const bus = yield* Service82;
|
|
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 NotFoundError9({ 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(Service20, 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* Service42.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 Service28.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(Service20, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node31 = makeGlobalNode({
|
|
167
|
+
service: Service28,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node85,
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
node83,
|
|
174
|
+
node79,
|
|
175
175
|
node44,
|
|
176
|
+
node47,
|
|
176
177
|
node46,
|
|
177
|
-
node45,
|
|
178
|
-
node88,
|
|
179
178
|
node87,
|
|
180
|
-
|
|
179
|
+
node86,
|
|
180
|
+
node35
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node31, exports_move };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-dkddc65t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./instruction-discovery-g00n1506.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service19
|
|
15
|
+
} from "./instruction-discovery-xga2m62q.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry2
|
|
21
|
+
} from "./instruction-discovery-nhyq2g63.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service73
|
|
24
|
+
} from "./instruction-discovery-5j0v07dd.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service21
|
|
27
|
+
} from "./instruction-discovery-zrahedb4.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
@@ -35,9 +35,9 @@ __export(exports_glob, {
|
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
36
|
Input: () => Input3,
|
|
37
37
|
Output: () => Output3,
|
|
38
|
-
Plugin: () =>
|
|
38
|
+
Plugin: () => Plugin21,
|
|
39
39
|
name: () => name3,
|
|
40
|
-
toModelContent: () =>
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
@@ -55,22 +55,22 @@ var Input3 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var Output3 = Schema.Array(
|
|
59
|
-
var
|
|
58
|
+
var Output3 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin21 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service53;
|
|
70
|
+
const ripgrep = yield* Service19;
|
|
71
71
|
const location = yield* Service80;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service21;
|
|
73
|
+
const permission = yield* Service73;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
75
|
name: name3,
|
|
76
76
|
options: { codemode: false },
|
|
@@ -111,18 +111,18 @@ var Plugin37 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry2.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { name3, Input3, Output3,
|
|
128
|
+
export { name3, Input3, Output3, toModelContent2, Plugin21, exports_glob };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service68,
|
|
4
|
+
node72
|
|
5
|
+
} from "./instruction-discovery-gm52bzsg.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID9,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service67,
|
|
16
|
+
node71
|
|
17
|
+
} from "./instruction-discovery-22ebvdeb.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service50,
|
|
20
|
+
node52
|
|
21
|
+
} from "./instruction-discovery-4s9mtqqy.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service66,
|
|
27
|
+
node70
|
|
28
|
+
} from "./instruction-discovery-zm8zfhe0.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service49,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer19,
|
|
48
|
+
node: () => node51,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID9,
|
|
59
|
+
modelID: ID8,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID9,
|
|
69
|
+
modelID: ID8,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID9,
|
|
80
|
+
modelID: ID8,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID9,
|
|
91
|
+
modelID: ID8,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID9,
|
|
103
|
+
modelID: ID8,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID9,
|
|
113
|
+
modelID: ID8,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service49 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer19 = Layer.effect(Service49, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service67;
|
|
263
|
+
const models = yield* Service66;
|
|
264
|
+
const integrations = yield* Service68;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service50;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service49.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node51 = makeLocationNode({
|
|
314
|
+
service: Service49,
|
|
315
|
+
layer: layer19,
|
|
316
|
+
deps: [node71, node70, node72, Npm.node, node52]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
319
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service49, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node51, exports_model_resolver };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./instruction-discovery-en7c0xf8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make6
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make6 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service64;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make6, LoadError2, exports_module };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-j6bx7044.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin35 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin27 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin27 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin35, exports_tavily };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service53,
|
|
6
|
+
node55
|
|
7
|
+
} from "./instruction-discovery-g00n1506.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service20,
|
|
17
|
+
node: () => node23,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service20 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service53;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service20.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node23 = makeLocationNode({ service: Service20, layer, deps: [node55] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service20, readText2, syncTextBom2, node23, exports_file_mutation };
|