@opencode/core 0.0.0-dev-19992 → 0.0.0-dev-19993
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{rpc-kz98t5xb.js → pty-026axa4a.js} +24 -24
- package/dist/chunks/{rpc-jpmjaseq.js → pty-02xe747d.js} +8 -8
- package/dist/chunks/{rpc-aqmrw25w.js → pty-038mqbwm.js} +5 -5
- package/dist/chunks/{rpc-bz2g5qqv.js → pty-050w92qt.js} +11 -11
- package/dist/chunks/{rpc-6ay8t20q.js → pty-062r8x8b.js} +83 -83
- package/dist/chunks/{rpc-m77ynzk7.js → pty-09tf4pjr.js} +83 -83
- package/dist/chunks/{rpc-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{rpc-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{rpc-camavqkh.js → pty-0tay0vp0.js} +15 -15
- package/dist/chunks/{rpc-q6zxb0dv.js → pty-0w94f9zc.js} +6 -6
- package/dist/chunks/{rpc-xyngvbdn.js → pty-1543s7pr.js} +4 -4
- package/dist/chunks/{rpc-pf2hb43r.js → pty-15zevn5w.js} +6 -6
- package/dist/chunks/{rpc-dc4azbw1.js → pty-192rtf0k.js} +29 -29
- package/dist/chunks/{rpc-7q9fqjem.js → pty-1avgqjfw.js} +11 -11
- package/dist/chunks/{rpc-wyzj5584.js → pty-1cd81313.js} +11 -11
- package/dist/chunks/{rpc-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{rpc-fwsv2j6h.js → pty-1m68c3fq.js} +11 -11
- package/dist/chunks/{rpc-cp75n9jp.js → pty-1sn1ktbx.js} +9 -9
- package/dist/chunks/{rpc-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{rpc-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{rpc-4nqx0pjw.js → pty-24dx1hrc.js} +10 -10
- package/dist/chunks/{rpc-5xbn3wz4.js → pty-29mx63hq.js} +24 -24
- package/dist/chunks/{rpc-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{rpc-8r8fhnyb.js → pty-2hvjkdzw.js} +3 -3
- package/dist/chunks/{rpc-6pzrsera.js → pty-2s238nn0.js} +169 -169
- package/dist/chunks/{rpc-yhs9sve9.js → pty-2sbg9ezb.js} +48 -48
- package/dist/chunks/{rpc-7eeptrcw.js → pty-2shksz5k.js} +13 -13
- package/dist/chunks/{rpc-h13tab88.js → pty-2sr83qrg.js} +1 -1
- package/dist/chunks/{rpc-0ke265bw.js → pty-2w6fc0zt.js} +5 -5
- package/dist/chunks/{rpc-4719gnan.js → pty-2yb6xvw8.js} +13 -13
- package/dist/chunks/{rpc-zn414pmx.js → pty-3cs1hnzz.js} +16 -16
- package/dist/chunks/{rpc-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{rpc-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-46zfe6jc.js → pty-3q7edt44.js} +14 -14
- package/dist/chunks/{rpc-7c7415gy.js → pty-3shkqxcj.js} +6 -6
- package/dist/chunks/{rpc-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-1v4ncvf1.js → pty-3srp75sn.js} +13 -13
- package/dist/chunks/{rpc-acpsw7f4.js → pty-3tjpy68d.js} +33 -33
- package/dist/chunks/{rpc-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-85ksh7tn.js → pty-41tykhqn.js} +8 -8
- package/dist/chunks/{rpc-62331pxr.js → pty-43kxyya3.js} +12 -12
- package/dist/chunks/pty-45th5jwr.js +18 -0
- package/dist/chunks/{rpc-nbze6fcs.js → pty-461fsfdt.js} +20 -20
- package/dist/chunks/{rpc-ywdz5hzb.js → pty-48yax929.js} +41 -41
- package/dist/chunks/{rpc-ykgervwn.js → pty-4cv6vszb.js} +22 -22
- package/dist/chunks/{rpc-g1sxm558.js → pty-4e8vs6eh.js} +8 -8
- package/dist/chunks/{rpc-gng7q7sj.js → pty-4efdx9rk.js} +16 -16
- package/dist/chunks/{rpc-kbw4jcdq.js → pty-4tajgtbv.js} +14 -14
- package/dist/chunks/pty-4wwmgmwd.js +26 -0
- package/dist/chunks/{rpc-h0c3er1k.js → pty-53gk70sf.js} +9 -9
- package/dist/chunks/{rpc-kj09xbws.js → pty-548d8qnr.js} +13 -13
- package/dist/chunks/{rpc-n73kz7xx.js → pty-570bm5aw.js} +19 -19
- package/dist/chunks/{rpc-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{rpc-dajadwvy.js → pty-5getdy1k.js} +15 -15
- package/dist/chunks/{rpc-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{rpc-x0sran1m.js → pty-5vdyt57w.js} +3 -3
- package/dist/chunks/{rpc-cmwkp3r5.js → pty-5yzzbxa7.js} +8 -8
- package/dist/chunks/{rpc-0jwsre1p.js → pty-607tc6va.js} +5 -5
- package/dist/chunks/{rpc-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{rpc-2402vzrj.js → pty-6h73sxmp.js} +5 -5
- package/dist/chunks/{rpc-5bdbc12f.js → pty-6kg1vfnr.js} +8 -8
- package/dist/chunks/{rpc-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{rpc-9g3kc011.js → pty-6ng8rhkc.js} +5 -5
- package/dist/chunks/{rpc-qsjcxkdn.js → pty-6rjq4ad6.js} +4 -4
- package/dist/chunks/{rpc-b41t4wre.js → pty-6svx4vfh.js} +26 -26
- package/dist/chunks/{rpc-y8vnvn5j.js → pty-6wc135vc.js} +25 -25
- package/dist/chunks/{rpc-sgaqkpk5.js → pty-6y2kb6da.js} +16 -16
- package/dist/chunks/{rpc-8qqdpc26.js → pty-71y3c5ag.js} +27 -27
- package/dist/chunks/{rpc-37s12vcn.js → pty-78v47nsk.js} +5 -5
- package/dist/chunks/{rpc-yg16m4gh.js → pty-7b6h5z22.js} +23 -23
- package/dist/chunks/{rpc-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-33pnsvg8.js → pty-7g9sy6yd.js} +10 -10
- package/dist/chunks/{rpc-xqzh09xr.js → pty-7mr8gmff.js} +4 -4
- package/dist/chunks/{rpc-61d3hh45.js → pty-870m6jn5.js} +6 -6
- package/dist/chunks/{rpc-8grck6yx.js → pty-879k3rbz.js} +5 -5
- package/dist/chunks/{rpc-tcezcvh9.js → pty-89znhe33.js} +4 -4
- package/dist/chunks/{rpc-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{rpc-tsfg207r.js → pty-8exbzf8y.js} +17 -17
- package/dist/chunks/{rpc-pfherxsy.js → pty-8m27p9j3.js} +10 -10
- package/dist/chunks/{rpc-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
- package/dist/chunks/{rpc-m4hm81g6.js → pty-8pf6zh8g.js} +7 -7
- package/dist/chunks/{rpc-nxbb8fxw.js → pty-8vhnwsrf.js} +70 -70
- package/dist/chunks/{rpc-h6r3nrb9.js → pty-8z00fdkb.js} +4 -4
- package/dist/chunks/{rpc-mf9m2v67.js → pty-93hpb89x.js} +3 -3
- package/dist/chunks/{rpc-tnb36c60.js → pty-9dvfkq0c.js} +9 -9
- package/dist/chunks/{rpc-vkjqcw97.js → pty-9j764z9f.js} +7 -7
- package/dist/chunks/{rpc-x7pv6ctg.js → pty-9n5gchmp.js} +26 -26
- package/dist/chunks/{rpc-dm31f7ef.js → pty-9pr215e3.js} +16 -16
- package/dist/chunks/{rpc-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
- package/dist/chunks/{rpc-wgz7hchk.js → pty-a5cfpm61.js} +6 -6
- package/dist/chunks/{rpc-c8cgma2b.js → pty-a8mkfh3x.js} +11 -11
- package/dist/chunks/{rpc-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{rpc-2297m39m.js → pty-ab845m4a.js} +23 -23
- package/dist/chunks/{rpc-cdgvj2kx.js → pty-abcdk8h0.js} +43 -43
- package/dist/chunks/{rpc-8x7dr5w6.js → pty-aemqn3ez.js} +11 -11
- package/dist/chunks/{rpc-ndqtf2h8.js → pty-atfs7rhk.js} +9 -9
- package/dist/chunks/{rpc-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{rpc-x52z618e.js → pty-ba30f0re.js} +26 -26
- package/dist/chunks/{rpc-kg23xgw4.js → pty-bbd5t3cy.js} +29 -29
- package/dist/chunks/{rpc-9kmbd9mt.js → pty-be40ghdv.js} +2 -2
- package/dist/chunks/{rpc-hfdr1yjj.js → pty-bha4atvq.js} +4 -4
- package/dist/chunks/{rpc-zyjq4k38.js → pty-bhteabqx.js} +4 -4
- package/dist/chunks/{rpc-5rma0qs2.js → pty-bpckba2r.js} +12 -12
- package/dist/chunks/{rpc-j3tj37yg.js → pty-bqa7vndz.js} +24 -24
- package/dist/chunks/{rpc-masy0ksy.js → pty-bqjt5s0q.js} +39 -39
- package/dist/chunks/{rpc-2kxt5g9w.js → pty-c7w3tbrx.js} +9 -9
- package/dist/chunks/{rpc-bccxfgwn.js → pty-ca9wasfp.js} +18 -18
- package/dist/chunks/{rpc-b0mytkpx.js → pty-cbc0wxnt.js} +4 -4
- package/dist/chunks/{rpc-b4bwt3xa.js → pty-cfhq3gyz.js} +28 -28
- package/dist/chunks/{rpc-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
- package/dist/chunks/{rpc-3j8kvhb5.js → pty-cp1t7mny.js} +23 -23
- package/dist/chunks/{rpc-j1xb3v0n.js → pty-czzrymxc.js} +19 -19
- package/dist/chunks/{rpc-4crtaem1.js → pty-d386qjdf.js} +3 -3
- package/dist/chunks/{rpc-gpgvdg4k.js → pty-d81wp89e.js} +15 -15
- package/dist/chunks/{rpc-v200xqhb.js → pty-d8sk975s.js} +24 -24
- package/dist/chunks/{rpc-7qg2jrvj.js → pty-dc0f92gk.js} +42 -42
- package/dist/chunks/{rpc-gamd18a2.js → pty-dh91zd6a.js} +11 -11
- package/dist/chunks/{rpc-g6q9qykm.js → pty-djszqvmq.js} +9 -9
- package/dist/chunks/{rpc-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{rpc-g8g228df.js → pty-draats0m.js} +5 -5
- package/dist/chunks/{rpc-drwq78ky.js → pty-drwq78ky.js} +1 -1
- package/dist/chunks/{rpc-nnjbn8t1.js → pty-e163j4jp.js} +15 -15
- package/dist/chunks/{rpc-7fy22w40.js → pty-e2sckgsq.js} +24 -24
- package/dist/chunks/{rpc-krrb0sne.js → pty-e4y0dkgq.js} +17 -17
- package/dist/chunks/{rpc-7y2vz6we.js → pty-e91xfsxp.js} +2 -2
- package/dist/chunks/{rpc-s8d7rejh.js → pty-eaj1djv9.js} +6 -6
- package/dist/chunks/{rpc-b9ehjk15.js → pty-ecxgrer6.js} +42 -42
- package/dist/chunks/{rpc-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{rpc-z4s70jvx.js → pty-ehhpwfhw.js} +32 -32
- package/dist/chunks/{rpc-bpm8jz68.js → pty-emca911v.js} +8 -8
- package/dist/chunks/{rpc-erw5rpbs.js → pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{rpc-x6z9f47m.js → pty-esmjnf1q.js} +6 -6
- package/dist/chunks/{rpc-deag6zkv.js → pty-et2qvwfy.js} +10 -10
- package/dist/chunks/{rpc-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{rpc-y0aq26gy.js → pty-eyx3sbbq.js} +4 -4
- package/dist/chunks/{rpc-nr54yvkx.js → pty-f22wqnxv.js} +11 -11
- package/dist/chunks/{rpc-f828m53h.js → pty-f828m53h.js} +2 -2
- package/dist/chunks/{rpc-byf9gwrr.js → pty-f8fgzrbf.js} +16 -16
- package/dist/chunks/{rpc-b8n6587t.js → pty-favr8gmm.js} +13 -13
- package/dist/chunks/{rpc-f7nmna5v.js → pty-feqpvc5c.js} +17 -17
- package/dist/chunks/{rpc-h57htbpc.js → pty-fmj93vfk.js} +12 -12
- package/dist/chunks/{rpc-qfent050.js → pty-frw7gw9n.js} +30 -30
- package/dist/chunks/{rpc-wcq0cga2.js → pty-fvkf5gpn.js} +5 -5
- package/dist/chunks/{rpc-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{rpc-s2scdk12.js → pty-fya5n5xa.js} +10 -10
- package/dist/chunks/{rpc-wrqzf6yv.js → pty-g2eett4k.js} +8 -8
- package/dist/chunks/{rpc-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{rpc-yrdhjzv2.js → pty-h0sprvfa.js} +46 -46
- package/dist/chunks/{rpc-2d5yg9xz.js → pty-h53kmbdm.js} +48 -48
- package/dist/chunks/{rpc-aacxctvt.js → pty-h61ncxx5.js} +8 -8
- package/dist/chunks/{rpc-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-1v9d934k.js → pty-ha666rq4.js} +3 -3
- package/dist/chunks/{rpc-2y0xkqje.js → pty-hm7r1852.js} +15 -15
- package/dist/chunks/{rpc-bz85s9hh.js → pty-hqmr0w3b.js} +1 -1
- package/dist/chunks/{rpc-xvr811ke.js → pty-hs74x4gh.js} +4 -4
- package/dist/chunks/{rpc-er62cyqb.js → pty-hsgwpaad.js} +12 -12
- package/dist/chunks/{rpc-vvaf4j8d.js → pty-hwdkr1sy.js} +9 -9
- package/dist/chunks/{rpc-x23ksf4z.js → pty-j1fnkb2v.js} +23 -23
- package/dist/chunks/{rpc-csw9sj5x.js → pty-j2zz4nqv.js} +15 -15
- package/dist/chunks/{rpc-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{rpc-q4r160dw.js → pty-j69p7kth.js} +22 -22
- package/dist/chunks/{rpc-jncpz27z.js → pty-j7c1rfea.js} +21 -21
- package/dist/chunks/{rpc-9xfcchtv.js → pty-jbtd89qx.js} +13 -13
- package/dist/chunks/{rpc-5113vt88.js → pty-jgq9btc2.js} +43 -43
- package/dist/chunks/{rpc-q4fmv0xv.js → pty-jgttmm4a.js} +5 -5
- package/dist/chunks/{rpc-4mwpykj0.js → pty-jhf3jymm.js} +6 -6
- package/dist/chunks/{rpc-bqp9ajbn.js → pty-jt4eq04m.js} +36 -36
- package/dist/chunks/{rpc-8bhhfc6h.js → pty-jz67am5p.js} +9 -9
- package/dist/chunks/{rpc-f5gy8qwh.js → pty-k1qrnqst.js} +8 -8
- package/dist/chunks/{rpc-me8pr9wv.js → pty-k5t1vn2m.js} +21 -21
- package/dist/chunks/{rpc-p3xc4xks.js → pty-kcnwc050.js} +27 -27
- package/dist/chunks/{rpc-fkjmw100.js → pty-knb7evpn.js} +6 -6
- package/dist/chunks/{rpc-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{rpc-tmw1rwa9.js → pty-m5j28g6y.js} +10 -10
- package/dist/chunks/{rpc-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-k1t2850w.js → pty-mbfxv7fw.js} +32 -32
- package/dist/chunks/{rpc-fmmg8gc5.js → pty-mfcw5yns.js} +5 -5
- package/dist/chunks/{rpc-mvfsc1pv.js → pty-mhkvc446.js} +3 -3
- package/dist/chunks/{rpc-3dfwtr57.js → pty-mkmvax1f.js} +8 -8
- package/dist/chunks/{rpc-gp5jhmvj.js → pty-mx7gy8pb.js} +5 -5
- package/dist/chunks/{rpc-whzfsptd.js → pty-mys1tqp3.js} +30 -30
- package/dist/chunks/{rpc-tafc1fk6.js → pty-nbgyd66e.js} +19 -19
- package/dist/chunks/{rpc-f0e6pqyf.js → pty-njs4fkas.js} +15 -15
- package/dist/chunks/{rpc-6ec6cttg.js → pty-nkasj3c8.js} +7 -7
- package/dist/chunks/{rpc-m2d0j7c0.js → pty-nscznvay.js} +9 -9
- package/dist/chunks/{rpc-vdbh6zs4.js → pty-nt2pe6m8.js} +21 -21
- package/dist/chunks/{rpc-15nepkqg.js → pty-nw53exab.js} +8 -8
- package/dist/chunks/{rpc-k3c624dm.js → pty-nzks3jc8.js} +3 -3
- package/dist/chunks/{rpc-zh982f6d.js → pty-p1cpmwyf.js} +19 -19
- package/dist/chunks/{rpc-nxts5t6n.js → pty-p1zevnby.js} +31 -31
- package/dist/chunks/{rpc-p28j5sbe.js → pty-p28j5sbe.js} +2 -2
- package/dist/chunks/{rpc-xvehhaav.js → pty-p7p04q1a.js} +11 -11
- package/dist/chunks/{rpc-0se06039.js → pty-p7zm9vnn.js} +18 -18
- package/dist/chunks/{rpc-ehmp4g5w.js → pty-p8z07maz.js} +18 -18
- package/dist/chunks/{rpc-ykv3t8te.js → pty-pcfkrm12.js} +4 -4
- package/dist/chunks/{rpc-cr07tj7n.js → pty-pecb0brz.js} +5 -5
- package/dist/chunks/{rpc-3qxgsv5e.js → pty-pekx08ex.js} +24 -24
- package/dist/chunks/{rpc-a3hs1tdx.js → pty-pf0d5y53.js} +154 -154
- package/dist/chunks/{rpc-8tsdq50x.js → pty-ph842b28.js} +4 -4
- package/dist/chunks/{rpc-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-t9zs3egg.js → pty-pmr4s4kc.js} +4 -4
- package/dist/chunks/{rpc-wpx0pb6f.js → pty-pvcnmygp.js} +18 -18
- package/dist/chunks/{rpc-a3b89sp2.js → pty-q40w5akv.js} +1 -1
- package/dist/chunks/{rpc-pnkbpv6t.js → pty-q58mka6k.js} +9 -9
- package/dist/chunks/{rpc-74daz04t.js → pty-qggqx5pb.js} +20 -20
- package/dist/chunks/{rpc-510m7gjw.js → pty-qjnxxf51.js} +5 -5
- package/dist/chunks/{rpc-3qw13626.js → pty-qr8qa9bm.js} +27 -27
- package/dist/chunks/{rpc-qcps4ny8.js → pty-qrrcqbrg.js} +11 -11
- package/dist/chunks/{rpc-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/pty-qtvmxc8s.js +4 -0
- package/dist/chunks/{rpc-3vc7fpqj.js → pty-r7pg2k45.js} +28 -28
- package/dist/chunks/{rpc-b0dgvpy7.js → pty-r9w3djhf.js} +9 -9
- package/dist/chunks/{rpc-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{rpc-yrbh5b2w.js → pty-rf2pre7z.js} +16 -16
- package/dist/chunks/{rpc-98frrk71.js → pty-rgch3z0v.js} +18 -18
- package/dist/chunks/{rpc-d57gtw90.js → pty-rp6xkheg.js} +3 -3
- package/dist/chunks/{rpc-c2786m8r.js → pty-rrfm0vdv.js} +14 -14
- package/dist/chunks/{rpc-dm30ym2f.js → pty-rsf4gv7k.js} +20 -20
- package/dist/chunks/{rpc-xgsnkr8v.js → pty-rt43k5p5.js} +32 -32
- package/dist/chunks/{rpc-6rtsw9n4.js → pty-rxdxv3zs.js} +14 -14
- package/dist/chunks/{rpc-sgvwkv8e.js → pty-rzz4s24w.js} +25 -25
- package/dist/chunks/{rpc-ctzssw83.js → pty-s0agc963.js} +8 -8
- package/dist/chunks/{rpc-0ph59fht.js → pty-s1x3xehd.js} +2 -2
- package/dist/chunks/{rpc-tzb6e3r6.js → pty-s23akgaf.js} +5 -5
- package/dist/chunks/{rpc-ktjtecaw.js → pty-s4w9dbtc.js} +8 -8
- package/dist/chunks/{rpc-bgg2t0gn.js → pty-s9na07f2.js} +11 -11
- package/dist/chunks/{rpc-magykp64.js → pty-sez5jh81.js} +4 -4
- package/dist/chunks/{rpc-r0wq7eep.js → pty-sgb290x0.js} +17 -17
- package/dist/chunks/{rpc-c585n4t8.js → pty-sk7gk9f5.js} +10 -10
- package/dist/chunks/{rpc-bwdf5y29.js → pty-t3444mmx.js} +3 -3
- package/dist/chunks/{rpc-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-nhsqghgk.js → pty-tct3dq34.js} +43 -43
- package/dist/chunks/{rpc-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-wqhxb2kt.js → pty-texm17j6.js} +24 -24
- package/dist/chunks/{rpc-sxz6gkc3.js → pty-tkmwgdpd.js} +4 -4
- package/dist/chunks/{rpc-1rn8gmsz.js → pty-tms1td0z.js} +48 -48
- package/dist/chunks/{rpc-v64nhsy3.js → pty-tpnwfd5g.js} +6 -6
- package/dist/chunks/{rpc-tvtrv512.js → pty-tvtrv512.js} +1 -1
- package/dist/chunks/{rpc-cwtqxc7t.js → pty-typarb9b.js} +17 -17
- package/dist/chunks/{rpc-zcrspsvn.js → pty-tz4n1mmd.js} +4 -4
- package/dist/chunks/{rpc-y49qhy70.js → pty-v2cwp70s.js} +47 -47
- package/dist/chunks/{rpc-2edszpwc.js → pty-vbwvxk55.js} +4 -4
- package/dist/chunks/{rpc-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-06dxphr1.js → pty-vj81g6vn.js} +4 -4
- package/dist/chunks/{rpc-y468816p.js → pty-vqwxbh15.js} +13 -13
- package/dist/chunks/{rpc-vahxzr05.js → pty-vw2351hj.js} +5 -5
- package/dist/chunks/{rpc-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{rpc-kv8ny5cf.js → pty-w2xf1871.js} +21 -21
- package/dist/chunks/{rpc-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-pb1eahw5.js → pty-w97g4k0g.js} +8 -8
- package/dist/chunks/{rpc-wjnjc2hh.js → pty-w9ka22cp.js} +29 -29
- package/dist/chunks/{rpc-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-15rq8gy3.js → pty-wwpq4dkc.js} +321 -321
- package/dist/chunks/{rpc-pb231g4a.js → pty-wx15ps39.js} +11 -11
- package/dist/chunks/{rpc-c6s6jqnn.js → pty-x10m976v.js} +30 -30
- package/dist/chunks/{rpc-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{rpc-4nx2vdbr.js → pty-x2jawspn.js} +7 -7
- package/dist/chunks/{rpc-gg4dpy88.js → pty-x2rw7g36.js} +5 -5
- package/dist/chunks/{rpc-20b89835.js → pty-xc8wbe60.js} +25 -25
- package/dist/chunks/{rpc-wawr4bz0.js → pty-xcz1w3cx.js} +26 -26
- package/dist/chunks/{rpc-wrgat8t0.js → pty-xhrfypmh.js} +35 -35
- package/dist/chunks/{rpc-97fmyryk.js → pty-xj2v2q7r.js} +3 -3
- package/dist/chunks/{rpc-zp98706c.js → pty-xkr6cyjb.js} +16 -16
- package/dist/chunks/{rpc-hm0xnccw.js → pty-xvnj5msj.js} +3 -3
- package/dist/chunks/{rpc-ay8pchpw.js → pty-xya6rnzh.js} +5 -5
- package/dist/chunks/{rpc-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-psmbgs7g.js → pty-y9g97vsr.js} +30 -30
- package/dist/chunks/{rpc-f2n192rq.js → pty-yp2x3t23.js} +4 -4
- package/dist/chunks/{rpc-7vb1rapr.js → pty-yrbxk7kt.js} +20 -20
- package/dist/chunks/{rpc-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{rpc-yrznvahk.js → pty-yrznvahk.js} +2 -2
- package/dist/chunks/{rpc-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-z63w68vq.js → pty-z63w68vq.js} +2 -2
- package/dist/chunks/{rpc-q9qmz9bt.js → pty-z7br6qex.js} +34 -34
- package/dist/chunks/{rpc-s1myyttd.js → pty-zab6dek8.js} +22 -22
- package/dist/chunks/{rpc-y375z6cy.js → pty-zcc1n10w.js} +6 -6
- package/dist/chunks/{rpc-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{rpc-1yv8ewat.js → pty-zg5t6seb.js} +11 -11
- package/dist/chunks/{rpc-86ptwy60.js → pty-zqpw1c2p.js} +24 -24
- package/dist/chunks/{rpc-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-wmk5945b.js → pty-zxeq00ty.js} +16 -16
- package/dist/chunks/{rpc-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +100 -100
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- 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 +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/rpc-0mesazry.js +0 -4
- package/dist/chunks/rpc-619r8v3y.js +0 -18
- package/dist/chunks/rpc-jmgc3nby.js +0 -26
- /package/dist/chunks/{rpc-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-5qd3pb7m.js → pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-922hggd3.js → pty-922hggd3.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer20,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node48,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer20 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
|
|
33
|
+
var node48 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer20, configured8, node48, exports_app };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node48
|
|
5
|
+
} from "./pty-wx15ps39.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-vj81g6vn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service73,
|
|
12
|
+
node77
|
|
13
|
+
} from "./pty-4e8vs6eh.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-2sbg9ezb.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9j764z9f.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error5
|
|
22
|
+
} from "./pty-texm17j6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service25,
|
|
25
|
+
node28
|
|
26
|
+
} from "./pty-s9na07f2.js";
|
|
27
27
|
import {
|
|
28
28
|
make14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-drwq78ky.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./pty-hqmr0w3b.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./pty-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service24,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer10,
|
|
45
|
+
node: () => node27,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer10 = Layer.effect(Service24, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service73;
|
|
157
|
+
const transport = yield* Service25;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error5({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -252,17 +252,17 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
252
252
|
};
|
|
253
253
|
});
|
|
254
254
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
255
|
-
return
|
|
255
|
+
return Service24.of({
|
|
256
256
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
257
257
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
258
258
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
259
259
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
262
|
+
var node27 = makeLocationNode({
|
|
263
|
+
service: Service24,
|
|
264
|
+
layer: layer10,
|
|
265
|
+
deps: [node77, node28, node48]
|
|
266
266
|
});
|
|
267
267
|
|
|
268
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
268
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer10, node27, exports_model_request };
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service78
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-s1x3xehd.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-3cs1hnzz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin4,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin4 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service78;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin4, exports_hg };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin15,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin15 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin15, exports_tool_input_repair };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-vbwvxk55.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service26,
|
|
7
|
+
node29
|
|
8
|
+
} from "./pty-tms1td0z.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service65,
|
|
11
|
+
node69
|
|
12
|
+
} from "./pty-2sbg9ezb.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service71,
|
|
15
|
+
node75
|
|
16
|
+
} from "./pty-texm17j6.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service23,
|
|
26
|
+
layer: () => layer9,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node26
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service23 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer9 = Layer.effect(Service23, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service26;
|
|
42
|
+
const tools = yield* Service71;
|
|
43
43
|
const bus = yield* Service83;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service65;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service23.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node26 = makeLocationNode({
|
|
124
|
+
service: Service23,
|
|
125
|
+
layer: layer9,
|
|
126
|
+
deps: [node75, node29, node87, node69]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name13,
|
|
129
|
+
export { namespace2, name13, Service23, layer9, node26, exports_mcp3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-vbwvxk55.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event14,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID9,
|
|
20
|
+
Info: () => Info23,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError6,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service57,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node60,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event14 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID9 = Form.ID;
|
|
39
|
+
var Info23 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID9
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID9
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID9
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID9,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service57 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer24 = Layer.effect(Service57, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError6({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID9.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service57.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node60 = makeLocationNode({ service: Service57, layer: layer24, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID9, Info23, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service57, layer24, node60, validateAnswer2, validateFields2, exports_form, Event14 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service78
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-s1x3xehd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service62
|
|
12
|
+
} from "./pty-k5t1vn2m.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service60
|
|
15
|
+
} from "./pty-ca9wasfp.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry4
|
|
21
|
+
} from "./pty-qr8qa9bm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service65
|
|
24
|
+
} from "./pty-2sbg9ezb.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service64
|
|
27
|
+
} from "./pty-hm7r1852.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./pty-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input11,
|
|
37
|
+
Output: () => Output8,
|
|
38
|
+
Plugin: () => Plugin29,
|
|
39
|
+
name: () => name11,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name11 = "glob";
|
|
46
|
+
var Input11 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input2 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output8 = Schema.Array(Entry4);
|
|
59
|
+
var toModelContent6 = (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 Plugin29 = {
|
|
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* Service62;
|
|
70
|
+
const ripgrep = yield* Service60;
|
|
71
71
|
const location = yield* Service78;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service64;
|
|
73
|
+
const permission = yield* Service65;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name11,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input11,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name11,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin21 = {
|
|
|
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) => Entry4.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: toModelContent6(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 {
|
|
128
|
+
export { name11, Input11, Output8, toModelContent6, Plugin29, exports_glob };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-93hpb89x.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|