@opencode-ai/core 0.0.0-dev-19116 → 0.0.0-dev-19117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +1 -1
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{persistent-pty-f7p58vk5.js → ripgrep-07yw2x03.js} +18 -18
- package/dist/chunks/{persistent-pty-0e0xafbb.js → ripgrep-0e0xafbb.js} +2 -2
- package/dist/chunks/{persistent-pty-wkq1a691.js → ripgrep-0eqyng1a.js} +18 -18
- package/dist/chunks/{persistent-pty-bjs2yq5f.js → ripgrep-0gaj4617.js} +6 -6
- package/dist/chunks/{persistent-pty-sgv9af10.js → ripgrep-0gnwfkec.js} +14 -14
- package/dist/chunks/{persistent-pty-20s8sfqs.js → ripgrep-0ja1cg2h.js} +286 -286
- package/dist/chunks/{persistent-pty-608x8pfm.js → ripgrep-0jn9ejg7.js} +1 -1
- package/dist/chunks/{persistent-pty-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0s9ayhjt.js → ripgrep-0s9ayhjt.js} +1 -1
- package/dist/chunks/{persistent-pty-b0grxa7w.js → ripgrep-0t098hqn.js} +5 -5
- package/dist/chunks/{persistent-pty-nxa8wnw5.js → ripgrep-0yqj1sc4.js} +24 -24
- package/dist/chunks/{persistent-pty-fy3x4dmh.js → ripgrep-0zdpcrzf.js} +13 -13
- package/dist/chunks/{persistent-pty-34rkz0x9.js → ripgrep-19vf66h0.js} +7 -7
- package/dist/chunks/{persistent-pty-1ct4r87x.js → ripgrep-1ct4r87x.js} +1 -1
- package/dist/chunks/{persistent-pty-hmt4vayt.js → ripgrep-1f0wyff1.js} +3 -3
- package/dist/chunks/{persistent-pty-14hmenm3.js → ripgrep-1hy241bm.js} +3 -3
- package/dist/chunks/{persistent-pty-7ejv2hd0.js → ripgrep-1k0gne18.js} +38 -38
- package/dist/chunks/{persistent-pty-dskqvp6c.js → ripgrep-1tfkjp3e.js} +71 -71
- package/dist/chunks/{persistent-pty-pfdftes8.js → ripgrep-1w5ptdxf.js} +11 -11
- package/dist/chunks/{persistent-pty-wdsftsg6.js → ripgrep-1y8p760r.js} +23 -23
- package/dist/chunks/{persistent-pty-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-zyvs8cv6.js → ripgrep-21whxf52.js} +13 -13
- package/dist/chunks/{persistent-pty-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-z63w68vq.js → ripgrep-29x78va6.js} +6 -6
- package/dist/chunks/{persistent-pty-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-2ht70gj7.js → ripgrep-2ht70gj7.js} +1 -1
- package/dist/chunks/{persistent-pty-2jqmte8w.js → ripgrep-2jqmte8w.js} +2 -2
- package/dist/chunks/{persistent-pty-9xmd3vp9.js → ripgrep-2srh953x.js} +25 -25
- package/dist/chunks/{persistent-pty-mcxg6pmm.js → ripgrep-2w6bfmvf.js} +1 -1
- package/dist/chunks/{persistent-pty-4ffy803j.js → ripgrep-2wjw4vy5.js} +12 -12
- package/dist/chunks/ripgrep-2y15j0tk.js +18 -0
- package/dist/chunks/{persistent-pty-ahexa12d.js → ripgrep-32s9yjrm.js} +42 -42
- package/dist/chunks/{persistent-pty-0rag4e4f.js → ripgrep-36mzbjn4.js} +4 -4
- package/dist/chunks/{persistent-pty-15vsdprz.js → ripgrep-3djzqpk0.js} +25 -25
- package/dist/chunks/{persistent-pty-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-jx8dgn9c.js → ripgrep-3kxajfcb.js} +16 -16
- package/dist/chunks/{persistent-pty-nrvhq0he.js → ripgrep-3mf5xj6g.js} +32 -32
- package/dist/chunks/{persistent-pty-3qzbfqsy.js → ripgrep-3qzbfqsy.js} +2 -2
- package/dist/chunks/{persistent-pty-nvem0zh0.js → ripgrep-3qze2g25.js} +2 -2
- package/dist/chunks/{persistent-pty-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-njxgh0n2.js → ripgrep-3ss45ava.js} +18 -18
- package/dist/chunks/{persistent-pty-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-7zak5xvr.js → ripgrep-3tz2ea3y.js} +11 -11
- package/dist/chunks/{persistent-pty-k6gmgah6.js → ripgrep-40myj96f.js} +11 -11
- package/dist/chunks/{persistent-pty-j7s4pw35.js → ripgrep-42gstqmc.js} +4 -4
- package/dist/chunks/{persistent-pty-cb52j08x.js → ripgrep-44k9zdes.js} +37 -37
- package/dist/chunks/{persistent-pty-454k5vzh.js → ripgrep-454k5vzh.js} +1 -1
- package/dist/chunks/{persistent-pty-6y243n7t.js → ripgrep-46wy7nmf.js} +11 -11
- package/dist/chunks/{persistent-pty-xm1jwy74.js → ripgrep-48en1mwc.js} +90 -90
- package/dist/chunks/{persistent-pty-v59vraf9.js → ripgrep-4epewzf2.js} +32 -32
- package/dist/chunks/{persistent-pty-1qdvjv25.js → ripgrep-4f96dzf6.js} +28 -28
- package/dist/chunks/{persistent-pty-ygpseft7.js → ripgrep-4h7t20e0.js} +22 -22
- package/dist/chunks/{persistent-pty-f8r5v8zg.js → ripgrep-4jtd95fb.js} +2 -2
- package/dist/chunks/{persistent-pty-4r2nyarf.js → ripgrep-4r2nyarf.js} +1 -1
- package/dist/chunks/{persistent-pty-9fm1kxq4.js → ripgrep-5854x11z.js} +3 -3
- package/dist/chunks/{persistent-pty-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-5fmxt4p5.js → ripgrep-5fmxt4p5.js} +1 -1
- package/dist/chunks/{persistent-pty-yrcexxg5.js → ripgrep-5j9k34kg.js} +23 -23
- package/dist/chunks/{persistent-pty-5jvc5tg2.js → ripgrep-5jvc5tg2.js} +1 -1
- package/dist/chunks/{persistent-pty-j935v87r.js → ripgrep-5qd3pb7m.js} +2 -2
- package/dist/chunks/{persistent-pty-n2jk6qtv.js → ripgrep-5rpr6ky1.js} +15 -15
- package/dist/chunks/{persistent-pty-ez5b8bq3.js → ripgrep-5sg4xzjf.js} +7 -7
- package/dist/chunks/{persistent-pty-y4avtqgk.js → ripgrep-5tc0y89d.js} +11 -11
- package/dist/chunks/{persistent-pty-j844sf2z.js → ripgrep-5vqfft53.js} +6 -6
- package/dist/chunks/{persistent-pty-zrz343zw.js → ripgrep-5ycc874r.js} +10 -10
- package/dist/chunks/{persistent-pty-3d8pr09w.js → ripgrep-5ygrhnqv.js} +15 -15
- package/dist/chunks/{persistent-pty-jg2z2cg4.js → ripgrep-67bet904.js} +41 -41
- package/dist/chunks/{persistent-pty-w3jym6ha.js → ripgrep-6abnk40k.js} +6 -6
- package/dist/chunks/{persistent-pty-wfhxja34.js → ripgrep-6brqwvd5.js} +89 -89
- package/dist/chunks/{persistent-pty-s5f025jh.js → ripgrep-6m03kfba.js} +3 -3
- package/dist/chunks/{persistent-pty-pjw71kmm.js → ripgrep-6pg4jkhc.js} +14 -14
- package/dist/chunks/{persistent-pty-xe339285.js → ripgrep-6skpevf5.js} +22 -22
- package/dist/chunks/{persistent-pty-6tf8tr4v.js → ripgrep-6tf8tr4v.js} +2 -2
- package/dist/chunks/{persistent-pty-f2c1rw5q.js → ripgrep-6w7e9vmm.js} +8 -8
- package/dist/chunks/{persistent-pty-711hfp6y.js → ripgrep-711hfp6y.js} +2 -2
- package/dist/chunks/{persistent-pty-mzr4n29e.js → ripgrep-74ey9zf4.js} +24 -24
- package/dist/chunks/{persistent-pty-e5b0qn1c.js → ripgrep-768z0hjh.js} +1 -1
- package/dist/chunks/{persistent-pty-h9k9cmfx.js → ripgrep-76wr4mq2.js} +9 -9
- package/dist/chunks/{persistent-pty-r2kxtd6z.js → ripgrep-78dqkwkk.js} +22 -22
- package/dist/chunks/{persistent-pty-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-hnhdj7rj.js → ripgrep-7d35953p.js} +27 -27
- package/dist/chunks/{persistent-pty-3bmsdbgc.js → ripgrep-7dwcteqq.js} +21 -21
- package/dist/chunks/{persistent-pty-byd5pdh7.js → ripgrep-7k0jwsa3.js} +27 -27
- package/dist/chunks/{persistent-pty-qf2z5hbw.js → ripgrep-7kgtsxjw.js} +4 -4
- package/dist/chunks/{persistent-pty-b8r2rjw8.js → ripgrep-7me1svnr.js} +24 -24
- package/dist/chunks/{persistent-pty-egz8g656.js → ripgrep-7pkp8xq8.js} +31 -31
- package/dist/chunks/{persistent-pty-yvfkj8fv.js → ripgrep-7qnza9rw.js} +5 -5
- package/dist/chunks/{persistent-pty-vyrgm4zq.js → ripgrep-7wyfdtz8.js} +11 -11
- package/dist/chunks/{persistent-pty-eq1pz5kg.js → ripgrep-7yh4e7ss.js} +3 -3
- package/dist/chunks/{persistent-pty-rys4mg1v.js → ripgrep-8h6vxt8w.js} +19 -19
- package/dist/chunks/{persistent-pty-c3cb06f5.js → ripgrep-8j688k7y.js} +17 -17
- package/dist/chunks/{persistent-pty-wanpp1k7.js → ripgrep-8ksg784e.js} +6 -6
- package/dist/chunks/{persistent-pty-c44391z3.js → ripgrep-8xm2e362.js} +16 -16
- package/dist/chunks/{persistent-pty-fadw8aff.js → ripgrep-8xptgnz1.js} +30 -30
- package/dist/chunks/{persistent-pty-e3rf8krc.js → ripgrep-91q12184.js} +20 -20
- package/dist/chunks/{persistent-pty-93a8yfjt.js → ripgrep-93a8yfjt.js} +2 -2
- package/dist/chunks/{persistent-pty-g9a9rqx4.js → ripgrep-96bmt5xb.js} +12 -12
- package/dist/chunks/{persistent-pty-c69vx815.js → ripgrep-9fpwc135.js} +13 -13
- package/dist/chunks/{persistent-pty-bf4rn6za.js → ripgrep-9hhgj58j.js} +6 -6
- package/dist/chunks/{persistent-pty-5k3f87xj.js → ripgrep-9pfqepek.js} +3 -3
- package/dist/chunks/{persistent-pty-qvbcabdc.js → ripgrep-9qm9egsn.js} +2 -2
- package/dist/chunks/{persistent-pty-k37hxh7q.js → ripgrep-9vbhqqdq.js} +20 -20
- package/dist/chunks/{persistent-pty-2nhytzg2.js → ripgrep-9whdxbg9.js} +12 -12
- package/dist/chunks/{persistent-pty-1xdvak68.js → ripgrep-9z5bj76v.js} +24 -24
- package/dist/chunks/ripgrep-a21023rp.js +22 -0
- package/dist/chunks/{persistent-pty-rbyt0q31.js → ripgrep-a4f478em.js} +62 -62
- package/dist/chunks/{persistent-pty-ggsr10e7.js → ripgrep-a8mkyf75.js} +12 -12
- package/dist/chunks/{persistent-pty-3cm4x8pz.js → ripgrep-aa3g7qm9.js} +5 -5
- package/dist/chunks/{persistent-pty-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-rmy3e5eg.js → ripgrep-aj7d9r5a.js} +3 -3
- package/dist/chunks/{persistent-pty-yg7sb877.js → ripgrep-ajtjthsy.js} +2 -2
- package/dist/chunks/{persistent-pty-awqyf91x.js → ripgrep-awqyf91x.js} +2 -2
- package/dist/chunks/{persistent-pty-j3kams4z.js → ripgrep-b0tdp1rr.js} +37 -37
- package/dist/chunks/ripgrep-b52w4pfb.js +20 -0
- package/dist/chunks/{persistent-pty-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-ezq5zned.js → ripgrep-b9pt6hex.js} +9 -9
- package/dist/chunks/{persistent-pty-b9wsbatv.js → ripgrep-b9wsbatv.js} +1 -1
- package/dist/chunks/{persistent-pty-csd2kfzw.js → ripgrep-bbxy1t52.js} +9 -9
- package/dist/chunks/{persistent-pty-23c0csww.js → ripgrep-bdmzwyaa.js} +7 -7
- package/dist/chunks/{persistent-pty-75yd3t4x.js → ripgrep-bge6q0dt.js} +28 -28
- package/dist/chunks/{persistent-pty-22wknqry.js → ripgrep-bnc2083e.js} +10 -10
- package/dist/chunks/{persistent-pty-nejtgedz.js → ripgrep-bvn2enxy.js} +10 -10
- package/dist/chunks/{persistent-pty-8ftz6ejv.js → ripgrep-bxrqv5tf.js} +13 -13
- package/dist/chunks/{persistent-pty-dypfnnxv.js → ripgrep-by2d8rp5.js} +7 -7
- package/dist/chunks/{persistent-pty-nnhtcagv.js → ripgrep-che8skc9.js} +4 -4
- package/dist/chunks/{persistent-pty-g41n1fn3.js → ripgrep-d1a1bt21.js} +5 -5
- package/dist/chunks/{persistent-pty-wy1gn0qd.js → ripgrep-d36vjxce.js} +5 -5
- package/dist/chunks/{persistent-pty-g2gt0w0k.js → ripgrep-d72308c8.js} +2 -2
- package/dist/chunks/{persistent-pty-a3pq3n59.js → ripgrep-dhkrg1xs.js} +43 -43
- package/dist/chunks/{persistent-pty-5djpcxd2.js → ripgrep-dqwhaazx.js} +17 -17
- package/dist/chunks/{persistent-pty-ws50g6ew.js → ripgrep-ds0aszyw.js} +27 -27
- package/dist/chunks/{persistent-pty-zjey93np.js → ripgrep-dy5g39ka.js} +5 -5
- package/dist/chunks/{persistent-pty-0ez61b8c.js → ripgrep-e1hrx4vk.js} +2 -2
- package/dist/chunks/{persistent-pty-pf6xx1eb.js → ripgrep-e8zgvj34.js} +6 -6
- package/dist/chunks/{persistent-pty-wpgkb29z.js → ripgrep-em5rm6ec.js} +10 -10
- package/dist/chunks/{persistent-pty-cmp1gbzr.js → ripgrep-eqpzyj2r.js} +8 -8
- package/dist/chunks/{persistent-pty-nqajw534.js → ripgrep-ev2yz940.js} +27 -27
- package/dist/chunks/{persistent-pty-ad75gk38.js → ripgrep-ewww49mf.js} +15 -15
- package/dist/chunks/{persistent-pty-j2y37yhm.js → ripgrep-eyfhpjry.js} +26 -26
- package/dist/chunks/{persistent-pty-f0nz223j.js → ripgrep-f0nz223j.js} +1 -1
- package/dist/chunks/{persistent-pty-x4bzwk8v.js → ripgrep-f1yhq58f.js} +9 -9
- package/dist/chunks/{persistent-pty-41j7tnv9.js → ripgrep-fggsr9ap.js} +9 -9
- package/dist/chunks/{persistent-pty-jcsk617h.js → ripgrep-fjxg2ary.js} +10 -10
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-fxypknc8.js → ripgrep-fxypknc8.js} +1 -1
- package/dist/chunks/{persistent-pty-02ghykkt.js → ripgrep-fyy0s8gy.js} +43 -43
- package/dist/chunks/{persistent-pty-2m4g9ewj.js → ripgrep-fz4jwa6n.js} +20 -20
- package/dist/chunks/{persistent-pty-hqty32ca.js → ripgrep-g3z0m5pf.js} +25 -25
- package/dist/chunks/{persistent-pty-m8s7yz94.js → ripgrep-g5ezvv16.js} +8 -8
- package/dist/chunks/{persistent-pty-ey1a04aj.js → ripgrep-g7csxrs7.js} +4 -4
- package/dist/chunks/{persistent-pty-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-wfq5jtmb.js → ripgrep-gjhar930.js} +24 -24
- package/dist/chunks/{persistent-pty-b4wqy378.js → ripgrep-gwszgtmr.js} +24 -24
- package/dist/chunks/{persistent-pty-n0cjdfmr.js → ripgrep-gye7vvze.js} +50 -50
- package/dist/chunks/{persistent-pty-cnzcswpq.js → ripgrep-h4b9wg2c.js} +155 -155
- package/dist/chunks/{persistent-pty-61vgpbh6.js → ripgrep-h5hj52e4.js} +37 -37
- package/dist/chunks/{persistent-pty-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-rc2v55kv.js → ripgrep-hb1mzqn1.js} +34 -34
- package/dist/chunks/{persistent-pty-6cmxkhbe.js → ripgrep-hcdssky2.js} +10 -10
- package/dist/chunks/{persistent-pty-t0av4jg5.js → ripgrep-heem8ggn.js} +7 -7
- package/dist/chunks/{persistent-pty-heyhwy2w.js → ripgrep-heyhwy2w.js} +1 -1
- package/dist/chunks/{persistent-pty-vpcrvpem.js → ripgrep-hhmxjvcb.js} +31 -31
- package/dist/chunks/{persistent-pty-dm4vv4a6.js → ripgrep-hkvmnyc2.js} +34 -34
- package/dist/chunks/{persistent-pty-gkvzh88r.js → ripgrep-hpg5nh6v.js} +11 -11
- package/dist/chunks/{persistent-pty-g2dy4bvs.js → ripgrep-hrvm11jt.js} +3 -3
- package/dist/chunks/{persistent-pty-thfv75je.js → ripgrep-je9hks3h.js} +5 -5
- package/dist/chunks/{persistent-pty-e3bzzpkn.js → ripgrep-jjtbt1qg.js} +8 -8
- package/dist/chunks/{persistent-pty-xqsy6kp0.js → ripgrep-jnmmvqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-51nwj3e2.js → ripgrep-jnypjjjz.js} +60 -60
- package/dist/chunks/{persistent-pty-12gh2r0n.js → ripgrep-js6asbw1.js} +4 -4
- package/dist/chunks/{persistent-pty-heq22s2d.js → ripgrep-jt44cnxn.js} +15 -15
- package/dist/chunks/{persistent-pty-k4bwy1x5.js → ripgrep-k4bwy1x5.js} +1 -1
- package/dist/chunks/{persistent-pty-kg06axw8.js → ripgrep-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-sg6b5yba.js → ripgrep-km4669cs.js} +41 -41
- package/dist/chunks/{persistent-pty-hw4pv20g.js → ripgrep-kvsjn1dr.js} +2 -2
- package/dist/chunks/{persistent-pty-2grmq5yz.js → ripgrep-kw4j1pbq.js} +22 -22
- package/dist/chunks/{persistent-pty-038hmbfv.js → ripgrep-kxjsfdz8.js} +23 -23
- package/dist/chunks/{persistent-pty-cq3yemdf.js → ripgrep-m21v4znd.js} +51 -51
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-hrabpqyz.js → ripgrep-ma5tpqfg.js} +29 -29
- package/dist/chunks/{persistent-pty-6xkccwtq.js → ripgrep-mbc5mvmj.js} +6 -6
- package/dist/chunks/{persistent-pty-1pae77tt.js → ripgrep-mcqq6vbh.js} +25 -25
- package/dist/chunks/{persistent-pty-fgjfecz2.js → ripgrep-mtcjf44p.js} +6 -6
- package/dist/chunks/{persistent-pty-fak1e3ja.js → ripgrep-mv8wgq99.js} +13 -13
- package/dist/chunks/{persistent-pty-ctqk5yba.js → ripgrep-my77j7pt.js} +7 -7
- package/dist/chunks/{persistent-pty-v6d825jm.js → ripgrep-n7wjrxzb.js} +21 -21
- package/dist/chunks/{persistent-pty-7w3s9kd0.js → ripgrep-nca7p386.js} +4 -4
- package/dist/chunks/{persistent-pty-8p28ygyr.js → ripgrep-nevxv2d6.js} +6 -6
- package/dist/chunks/ripgrep-nfxm2j3p.js +243 -0
- package/dist/chunks/{persistent-pty-msqakgxm.js → ripgrep-nmgddbg4.js} +8 -8
- package/dist/chunks/{persistent-pty-9x2w7v1q.js → ripgrep-nv4gk3n9.js} +7 -7
- package/dist/chunks/{persistent-pty-vtmd3szc.js → ripgrep-nw80mg4a.js} +4 -4
- package/dist/chunks/{persistent-pty-e18bnnvs.js → ripgrep-nzkt02mj.js} +9 -9
- package/dist/chunks/{persistent-pty-mszhq5w3.js → ripgrep-p1zz6beh.js} +14 -14
- package/dist/chunks/{persistent-pty-m1peg48k.js → ripgrep-p325kmej.js} +9 -9
- package/dist/chunks/{persistent-pty-xba749n3.js → ripgrep-p3szxjdh.js} +36 -36
- package/dist/chunks/{persistent-pty-tge6005x.js → ripgrep-pdtadr89.js} +18 -18
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-gfze89fe.js → ripgrep-pkxk1635.js} +16 -16
- package/dist/chunks/{persistent-pty-mzr3jh1b.js → ripgrep-pr9h59nx.js} +4 -4
- package/dist/chunks/{persistent-pty-s3eqpch7.js → ripgrep-pt7wq7x0.js} +1 -1
- package/dist/chunks/{persistent-pty-xt7b81sn.js → ripgrep-pwtwj0bs.js} +30 -30
- package/dist/chunks/{persistent-pty-g3xm713x.js → ripgrep-pxst6xf4.js} +13 -13
- package/dist/chunks/{persistent-pty-1cse2xtn.js → ripgrep-q1wfyw2p.js} +27 -27
- package/dist/chunks/{persistent-pty-n8c15cqp.js → ripgrep-q5j29kx8.js} +11 -11
- package/dist/chunks/{persistent-pty-0jwsre1p.js → ripgrep-qgn6gcr1.js} +5 -5
- package/dist/chunks/{persistent-pty-86s3977f.js → ripgrep-qs4avvkb.js} +1 -1
- package/dist/chunks/{persistent-pty-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-9mwzjgyd.js → ripgrep-qyh9kz4d.js} +28 -28
- package/dist/chunks/{persistent-pty-j53zazwc.js → ripgrep-qzyjhkhb.js} +9 -9
- package/dist/chunks/{persistent-pty-e8zb6afy.js → ripgrep-r1j3nz9t.js} +38 -38
- package/dist/chunks/{persistent-pty-q3b0vsmg.js → ripgrep-r1rbm2q7.js} +10 -10
- package/dist/chunks/{persistent-pty-p4vsqmpc.js → ripgrep-r4e8mhdp.js} +11 -11
- package/dist/chunks/{persistent-pty-r8dhm0tv.js → ripgrep-r8dhm0tv.js} +1 -1
- package/dist/chunks/{persistent-pty-f4h69zw7.js → ripgrep-rgv1ms02.js} +32 -32
- package/dist/chunks/{persistent-pty-0q7jjq5p.js → ripgrep-rk27q5w5.js} +12 -12
- package/dist/chunks/{persistent-pty-1t8g2pth.js → ripgrep-rkbnrd1t.js} +4 -4
- package/dist/chunks/{persistent-pty-dnk7gmhh.js → ripgrep-rmha8y3b.js} +10 -10
- package/dist/chunks/{persistent-pty-4z6b0fg6.js → ripgrep-rvb2zp0m.js} +6 -6
- package/dist/chunks/{persistent-pty-wfhhk81x.js → ripgrep-rwzmbvvc.js} +9 -9
- package/dist/chunks/{persistent-pty-7hw31dwt.js → ripgrep-ryr6cb0z.js} +5 -5
- package/dist/chunks/{persistent-pty-sba4qhjf.js → ripgrep-sba4qhjf.js} +1 -1
- package/dist/chunks/{persistent-pty-7rgs2zq8.js → ripgrep-sczbbc3q.js} +11 -11
- package/dist/chunks/{persistent-pty-7d3hynex.js → ripgrep-sdzmedwm.js} +18 -18
- package/dist/chunks/{persistent-pty-6ehp7zc5.js → ripgrep-sh8ph4n7.js} +4 -4
- package/dist/chunks/{persistent-pty-75ecc7tz.js → ripgrep-sqpx7b0d.js} +29 -29
- package/dist/chunks/{persistent-pty-rgpp5x08.js → ripgrep-sxhwk0c0.js} +4 -4
- package/dist/chunks/{persistent-pty-j43tf9gr.js → ripgrep-t4jvr5wy.js} +5 -5
- package/dist/chunks/{persistent-pty-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-89znhe33.js → ripgrep-tcezcvh9.js} +4 -4
- package/dist/chunks/{persistent-pty-tdz2d0bf.js → ripgrep-tdz2d0bf.js} +1 -1
- package/dist/chunks/{persistent-pty-t5zy0tn8.js → ripgrep-tfvhtj86.js} +48 -48
- package/dist/chunks/{persistent-pty-tjykrgmx.js → ripgrep-tjykrgmx.js} +1 -1
- package/dist/chunks/{persistent-pty-hc00199r.js → ripgrep-tnsd1rs6.js} +10 -10
- package/dist/chunks/{persistent-pty-f86dfzph.js → ripgrep-tp7tf7xy.js} +11 -11
- package/dist/chunks/{persistent-pty-v60ecprk.js → ripgrep-tppvcy65.js} +7 -7
- package/dist/chunks/{persistent-pty-tcsbw5z6.js → ripgrep-tq2fd8r9.js} +16 -16
- package/dist/chunks/{persistent-pty-9aq2mrk7.js → ripgrep-txm2bbyw.js} +13 -13
- package/dist/chunks/{persistent-pty-ak6efjp5.js → ripgrep-vakdx653.js} +4 -4
- package/dist/chunks/{persistent-pty-0v53mg2y.js → ripgrep-ve4pfa0n.js} +4 -4
- package/dist/chunks/{persistent-pty-h0z0jvv9.js → ripgrep-vfqqmq4r.js} +19 -19
- package/dist/chunks/{persistent-pty-9staja66.js → ripgrep-vn1zxxz9.js} +9 -9
- package/dist/chunks/{persistent-pty-psg7avar.js → ripgrep-vrnz0jpz.js} +17 -17
- package/dist/chunks/{persistent-pty-1zmt232p.js → ripgrep-vyjva4w2.js} +8 -8
- package/dist/chunks/{persistent-pty-vta8yyap.js → ripgrep-w18traxp.js} +26 -26
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-fsea1w0p.js → ripgrep-w525msx4.js} +34 -34
- package/dist/chunks/{persistent-pty-kyktj0vd.js → ripgrep-w8f6gg2r.js} +6 -6
- package/dist/chunks/{persistent-pty-bnxgfjcz.js → ripgrep-w97cb5cg.js} +15 -15
- package/dist/chunks/{persistent-pty-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-pt72vb4m.js → ripgrep-wg31t6sj.js} +20 -20
- package/dist/chunks/{persistent-pty-e4b60twv.js → ripgrep-wjdcppan.js} +24 -24
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-gg2fk1c4.js → ripgrep-xsfpm1p4.js} +11 -11
- package/dist/chunks/{persistent-pty-0k2v0y72.js → ripgrep-xw0r27ex.js} +4 -4
- package/dist/chunks/{persistent-pty-j0y8f0xq.js → ripgrep-xxz5bf5t.js} +3 -3
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-w7v3ectx.js → ripgrep-y6yv2n5p.js} +20 -20
- package/dist/chunks/{persistent-pty-13b7zb7a.js → ripgrep-ybt0syy4.js} +23 -23
- package/dist/chunks/{persistent-pty-kk3rr3qh.js → ripgrep-yfbd16n1.js} +5 -5
- package/dist/chunks/{persistent-pty-pt9vp53c.js → ripgrep-ytezje8q.js} +46 -46
- package/dist/chunks/{persistent-pty-z1k01bn4.js → ripgrep-z1k01bn4.js} +2 -2
- package/dist/chunks/{persistent-pty-djtdz80w.js → ripgrep-z3xgatyd.js} +4 -4
- package/dist/chunks/{persistent-pty-vsj8va3n.js → ripgrep-z8wxwp11.js} +29 -29
- package/dist/chunks/{persistent-pty-zn2pq4p8.js → ripgrep-zajwd6at.js} +5 -5
- package/dist/chunks/{persistent-pty-pha9f2e6.js → ripgrep-zc06qzv2.js} +11 -11
- package/dist/chunks/{persistent-pty-039t5jx1.js → ripgrep-zgnmmxh6.js} +11 -11
- package/dist/chunks/{persistent-pty-vyrse5sf.js → ripgrep-zj3wcxn0.js} +18 -18
- package/dist/chunks/{persistent-pty-p317p1wz.js → ripgrep-ztm1zg4x.js} +8 -8
- package/dist/chunks/{persistent-pty-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-7z714152.js → ripgrep-zytde4j9.js} +9 -9
- package/dist/chunks/{persistent-pty-qkvqzff6.js → ripgrep-zzz6jtjg.js} +36 -36
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +78 -78
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +76 -76
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +208 -208
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +215 -215
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +96 -96
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +117 -117
- package/dist/tool/plugin/edit.js +112 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- 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 +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +86 -86
- package/package.json +7 -7
- package/dist/chunks/persistent-pty-1k2nkqs9.js +0 -243
- package/dist/chunks/persistent-pty-ba9rkfcs.js +0 -20
- package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
- package/dist/chunks/persistent-pty-wpa9nskr.js +0 -22
- /package/dist/chunks/{persistent-pty-0fabt78z.js → ripgrep-0fabt78z.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t738kvx.js → ripgrep-3t738kvx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-41nvscxy.js → ripgrep-41nvscxy.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-7zk4hah4.js → ripgrep-7zk4hah4.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-982e01ww.js → ripgrep-982e01ww.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a1tpkmh4.js → ripgrep-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mntxs535.js → ripgrep-mntxs535.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-p8qxwesx.js → ripgrep-p8qxwesx.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-se0s1eqw.js → ripgrep-se0s1eqw.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x1b8g1yb.js → ripgrep-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
- /package/dist/chunks/{persistent-pty-zbjnn3ac.js → ripgrep-zbjnn3ac.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./ripgrep-xsfpm1p4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./ripgrep-pkxk1635.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service38
|
|
9
|
+
} from "./ripgrep-b52w4pfb.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-p8qxwesx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service53
|
|
16
|
+
} from "./ripgrep-3mf5xj6g.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-mntxs535.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-982e01ww.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./ripgrep-vn1zxxz9.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./ripgrep-hrvm11jt.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
46
|
-
const database = yield*
|
|
47
|
-
const bus = yield*
|
|
45
|
+
const instances = yield* Service38;
|
|
46
|
+
const database = yield* Service80;
|
|
47
|
+
const bus = yield* Service79;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service53;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID9.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service38;
|
|
78
|
+
const bus = yield* Service79;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service53;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID9.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID9.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./ripgrep-3djzqpk0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./ripgrep-b52w4pfb.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-2y15j0tk.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service38;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service52), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-mtcjf44p.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./ripgrep-mntxs535.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./ripgrep-hrvm11jt.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./ripgrep-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./ripgrep-z1k01bn4.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
Service75,
|
|
18
|
-
node78
|
|
19
|
-
} from "./persistent-pty-c44391z3.js";
|
|
15
|
+
} from "./ripgrep-aaet6srn.js";
|
|
20
16
|
import {
|
|
21
17
|
Service73,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
18
|
+
node76
|
|
19
|
+
} from "./ripgrep-8xm2e362.js";
|
|
20
|
+
import {
|
|
21
|
+
Service62,
|
|
22
|
+
node64
|
|
23
|
+
} from "./ripgrep-sqpx7b0d.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service61,
|
|
33
|
+
node: () => node63
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service61,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node63,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service61 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service73;
|
|
66
|
+
const workspace = yield* Service62;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service61.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node63 = makeLocationNode({
|
|
71
|
+
service: Service61,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node76, node64]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service61, node63, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./ripgrep-ma5tpqfg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./ripgrep-a4f478em.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service22
|
|
14
|
+
} from "./ripgrep-kxjsfdz8.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin30,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name12 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
|
-
var
|
|
35
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
36
36
|
|
|
37
37
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
38
|
-
var
|
|
38
|
+
var Input12 = Schema.Struct({
|
|
39
39
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
40
40
|
});
|
|
41
41
|
var Output = Schema.Struct({
|
|
42
42
|
provider: ID4,
|
|
43
43
|
results: Schema.Array(Result2)
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Plugin30 = {
|
|
46
46
|
id: "opencode.tool.websearch",
|
|
47
47
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
48
|
-
const permission = yield*
|
|
49
|
-
const forms = yield*
|
|
50
|
-
const websearch = yield*
|
|
48
|
+
const permission = yield* Service45;
|
|
49
|
+
const forms = yield* Service65;
|
|
50
|
+
const websearch = yield* Service22;
|
|
51
51
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
52
|
-
name:
|
|
52
|
+
name: name12,
|
|
53
53
|
options: { codemode: false },
|
|
54
|
-
description:
|
|
55
|
-
input:
|
|
54
|
+
description: description5,
|
|
55
|
+
input: Input12,
|
|
56
56
|
output: Output,
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name12,
|
|
60
60
|
resources: [input.query],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: input,
|
|
@@ -193,9 +193,9 @@ ${result.content}` : ""}`;
|
|
|
193
193
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
194
194
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
195
195
|
if (disabled)
|
|
196
|
-
delete event.tools[
|
|
196
|
+
delete event.tools[name12];
|
|
197
197
|
}));
|
|
198
198
|
})
|
|
199
199
|
};
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin30, exports_websearch2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-f0nz223j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node82
|
|
7
|
+
} from "./ripgrep-pkxk1635.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service72,
|
|
11
|
+
node75
|
|
12
|
+
} from "./ripgrep-hb1mzqn1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service73,
|
|
15
|
+
node76
|
|
16
|
+
} from "./ripgrep-8xm2e362.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service61,
|
|
19
|
+
node63
|
|
20
|
+
} from "./ripgrep-gjhar930.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID13,
|
|
23
|
+
Service65,
|
|
24
|
+
node68
|
|
25
|
+
} from "./ripgrep-ma5tpqfg.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./ripgrep-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID11,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service59,
|
|
34
|
+
node61
|
|
35
|
+
} from "./ripgrep-7pkp8xq8.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError3,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service42,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured4,
|
|
66
|
+
layer: () => layer17,
|
|
67
|
+
node: () => node44
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode-ai/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode-ai/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID11.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service42 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer17 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service73;
|
|
178
|
+
const environment = yield* Service61;
|
|
179
|
+
const bus = yield* Service79;
|
|
180
|
+
const forms = yield* Service65;
|
|
181
|
+
const integration = yield* Service59;
|
|
182
|
+
const credentials = yield* Service72;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID11.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -285,7 +285,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
285
285
|
const elicitation = {
|
|
286
286
|
create: (input) => Effect.gen(function* () {
|
|
287
287
|
if (input.params.mode === "url") {
|
|
288
|
-
const formID =
|
|
288
|
+
const formID = ID13.create();
|
|
289
289
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
290
290
|
urlElicitations.set(key, formID);
|
|
291
291
|
return yield* forms.ask({
|
|
@@ -403,7 +403,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
403
403
|
entry.scope = scope;
|
|
404
404
|
const authProvider = yield* connectProvider(entry);
|
|
405
405
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
406
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
406
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service61, environment), Scope.provide(scope), Effect.exit);
|
|
407
407
|
if (Exit.isSuccess(result)) {
|
|
408
408
|
entry.client = result.value.connection;
|
|
409
409
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -527,7 +527,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
527
527
|
yield* startServer(name, entry);
|
|
528
528
|
}).pipe(locks.withLock(name));
|
|
529
529
|
});
|
|
530
|
-
fork(bus.subscribe(
|
|
530
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
531
531
|
const state = create3({
|
|
532
532
|
name: "mcp",
|
|
533
533
|
initial: () => ({
|
|
@@ -557,7 +557,7 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service42.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -677,14 +677,14 @@ var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
677
677
|
})
|
|
678
678
|
});
|
|
679
679
|
}));
|
|
680
|
-
function
|
|
680
|
+
function configured4(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [
|
|
682
|
+
service: Service42,
|
|
683
|
+
layer: layer17(options),
|
|
684
|
+
deps: [node76, node63, node82, node68, node61, node75]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node44 = configured4();
|
|
688
688
|
function toElicitationField(key, property, required) {
|
|
689
689
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
690
690
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
738
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service42, Options4, layer17, configured4, node44, exports_mcp4 };
|