@opencode-ai/core 0.0.0-dev-19114 → 0.0.0-dev-19116
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/catalog.js +82 -82
- package/dist/chunks/{rpc-krmx2xyr.js → persistent-pty-02ghykkt.js} +47 -47
- package/dist/chunks/{rpc-e0c61twq.js → persistent-pty-038hmbfv.js} +26 -26
- package/dist/chunks/{rpc-q55daa19.js → persistent-pty-039t5jx1.js} +11 -11
- package/dist/chunks/{rpc-0e0xafbb.js → persistent-pty-0e0xafbb.js} +2 -2
- package/dist/chunks/{rpc-bzxkbfsh.js → persistent-pty-0ez61b8c.js} +2 -2
- package/dist/chunks/{rpc-fcrkznn8.js → persistent-pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{rpc-jj3qxa52.js → persistent-pty-0k2v0y72.js} +4 -4
- package/dist/chunks/{rpc-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{rpc-qw4tavyr.js → persistent-pty-0q7jjq5p.js} +12 -12
- package/dist/chunks/{rpc-0rag4e4f.js → persistent-pty-0rag4e4f.js} +1 -1
- package/dist/chunks/{rpc-0s9ayhjt.js → persistent-pty-0s9ayhjt.js} +1 -1
- package/dist/chunks/{rpc-bct739vz.js → persistent-pty-0v53mg2y.js} +4 -4
- package/dist/chunks/{rpc-681pyqye.js → persistent-pty-12gh2r0n.js} +4 -4
- package/dist/chunks/{rpc-13a4dv0y.js → persistent-pty-13b7zb7a.js} +25 -25
- package/dist/chunks/{rpc-dw3xrg89.js → persistent-pty-14hmenm3.js} +3 -3
- package/dist/chunks/{rpc-k1a72sje.js → persistent-pty-15vsdprz.js} +28 -28
- package/dist/chunks/{rpc-3bm3cy1r.js → persistent-pty-1cse2xtn.js} +24 -24
- package/dist/chunks/{rpc-1ct4r87x.js → persistent-pty-1ct4r87x.js} +1 -1
- package/dist/chunks/persistent-pty-1k2nkqs9.js +243 -0
- package/dist/chunks/{rpc-362kye7e.js → persistent-pty-1pae77tt.js} +28 -28
- package/dist/chunks/{rpc-dyjhg8hd.js → persistent-pty-1qdvjv25.js} +28 -28
- package/dist/chunks/{rpc-fqae1sy2.js → persistent-pty-1t8g2pth.js} +4 -4
- package/dist/chunks/{rpc-gm9r9zqf.js → persistent-pty-1xdvak68.js} +24 -24
- package/dist/chunks/{rpc-hm8am6ct.js → persistent-pty-1zmt232p.js} +8 -8
- package/dist/chunks/persistent-pty-20s8sfqs.js +450 -0
- package/dist/chunks/{rpc-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{rpc-dnn1mfa9.js → persistent-pty-22wknqry.js} +10 -10
- package/dist/chunks/{rpc-ywszqpxp.js → persistent-pty-23c0csww.js} +9 -9
- package/dist/chunks/{rpc-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{rpc-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{rpc-4f62s5at.js → persistent-pty-2grmq5yz.js} +36 -36
- package/dist/chunks/{rpc-2ht70gj7.js → persistent-pty-2ht70gj7.js} +1 -1
- package/dist/chunks/{rpc-2jqmte8w.js → persistent-pty-2jqmte8w.js} +2 -2
- package/dist/chunks/{rpc-wtm3m4mv.js → persistent-pty-2m4g9ewj.js} +4 -4
- package/dist/chunks/{rpc-cn4y6mk1.js → persistent-pty-2nhytzg2.js} +12 -12
- package/dist/chunks/{rpc-qa3qhgw8.js → persistent-pty-34rkz0x9.js} +7 -7
- package/dist/chunks/{rpc-agypkckn.js → persistent-pty-3bmsdbgc.js} +20 -20
- package/dist/chunks/{rpc-3cm4x8pz.js → persistent-pty-3cm4x8pz.js} +2 -2
- package/dist/chunks/{rpc-kexr6zkj.js → persistent-pty-3d8pr09w.js} +15 -15
- package/dist/chunks/{rpc-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{rpc-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-3qzbfqsy.js → persistent-pty-3qzbfqsy.js} +2 -2
- package/dist/chunks/{rpc-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-0n8tzkkd.js → persistent-pty-41j7tnv9.js} +9 -9
- package/dist/chunks/{rpc-454k5vzh.js → persistent-pty-454k5vzh.js} +1 -1
- package/dist/chunks/{rpc-akr89kgy.js → persistent-pty-4ffy803j.js} +12 -12
- package/dist/chunks/{rpc-4r2nyarf.js → persistent-pty-4r2nyarf.js} +1 -1
- package/dist/chunks/{rpc-t53mj6v6.js → persistent-pty-4z6b0fg6.js} +6 -6
- package/dist/chunks/{rpc-5t5ksy9c.js → persistent-pty-51nwj3e2.js} +62 -62
- package/dist/chunks/{rpc-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{rpc-sj09nt66.js → persistent-pty-5djpcxd2.js} +17 -17
- package/dist/chunks/{rpc-5fmxt4p5.js → persistent-pty-5fmxt4p5.js} +1 -1
- package/dist/chunks/{rpc-5jvc5tg2.js → persistent-pty-5jvc5tg2.js} +1 -1
- package/dist/chunks/{rpc-pbv7m5sr.js → persistent-pty-5k3f87xj.js} +1 -1
- package/dist/chunks/{rpc-x64q5xrw.js → persistent-pty-608x8pfm.js} +1 -1
- package/dist/chunks/{rpc-dkzv161j.js → persistent-pty-61vgpbh6.js} +37 -37
- package/dist/chunks/{rpc-ywpw23hy.js → persistent-pty-6cmxkhbe.js} +10 -10
- package/dist/chunks/{rpc-8zj8e59x.js → persistent-pty-6ehp7zc5.js} +4 -4
- package/dist/chunks/{rpc-6tf8tr4v.js → persistent-pty-6tf8tr4v.js} +2 -2
- package/dist/chunks/{rpc-awvzwpe5.js → persistent-pty-6xkccwtq.js} +6 -6
- package/dist/chunks/{rpc-vvn5h3hg.js → persistent-pty-6y243n7t.js} +11 -11
- package/dist/chunks/{rpc-711hfp6y.js → persistent-pty-711hfp6y.js} +2 -2
- package/dist/chunks/{rpc-xw7hdwrj.js → persistent-pty-75ecc7tz.js} +29 -29
- package/dist/chunks/{rpc-ygw4aaat.js → persistent-pty-75yd3t4x.js} +28 -28
- package/dist/chunks/{rpc-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-2ptt8nrr.js → persistent-pty-7d3hynex.js} +23 -23
- package/dist/chunks/{rpc-dw7nx357.js → persistent-pty-7ejv2hd0.js} +41 -41
- package/dist/chunks/{rpc-ecj1d35v.js → persistent-pty-7hw31dwt.js} +8 -8
- package/dist/chunks/{rpc-b53s1hq4.js → persistent-pty-7rgs2zq8.js} +11 -11
- package/dist/chunks/{rpc-gzbkpp9m.js → persistent-pty-7w3s9kd0.js} +4 -4
- package/dist/chunks/{rpc-e11tpvzs.js → persistent-pty-7z714152.js} +9 -9
- package/dist/chunks/{rpc-0gxwyxn9.js → persistent-pty-7zak5xvr.js} +9 -9
- package/dist/chunks/persistent-pty-7zk4hah4.js +4 -0
- package/dist/chunks/{rpc-wta8nv8e.js → persistent-pty-86s3977f.js} +1 -1
- package/dist/chunks/{rpc-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
- package/dist/chunks/{rpc-mzsb370n.js → persistent-pty-8ftz6ejv.js} +13 -13
- package/dist/chunks/{rpc-vz05mr0w.js → persistent-pty-8p28ygyr.js} +9 -9
- package/dist/chunks/{rpc-93a8yfjt.js → persistent-pty-93a8yfjt.js} +2 -2
- package/dist/chunks/{rpc-y3xxj3sg.js → persistent-pty-9aq2mrk7.js} +13 -13
- package/dist/chunks/{rpc-g9hcz8g4.js → persistent-pty-9fm1kxq4.js} +3 -3
- package/dist/chunks/{rpc-6zynhbga.js → persistent-pty-9mwzjgyd.js} +28 -28
- package/dist/chunks/{rpc-jpnc116f.js → persistent-pty-9staja66.js} +3 -3
- package/dist/chunks/{rpc-f9kjby5r.js → persistent-pty-9x2w7v1q.js} +7 -7
- package/dist/chunks/{rpc-xgjn1vmq.js → persistent-pty-9xmd3vp9.js} +25 -25
- package/dist/chunks/{rpc-0c2bm2k8.js → persistent-pty-a3pq3n59.js} +44 -44
- package/dist/chunks/{rpc-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{rpc-bpj5emke.js → persistent-pty-ad75gk38.js} +15 -15
- package/dist/chunks/{rpc-5qvt5yk2.js → persistent-pty-ahexa12d.js} +40 -40
- package/dist/chunks/{rpc-8ftyy1y4.js → persistent-pty-ak6efjp5.js} +4 -4
- package/dist/chunks/{rpc-3g2y1byn.js → persistent-pty-awqyf91x.js} +5 -5
- package/dist/chunks/{rpc-vrpz8t5t.js → persistent-pty-b0grxa7w.js} +5 -5
- package/dist/chunks/{rpc-6gbhcw7b.js → persistent-pty-b4wqy378.js} +31 -31
- package/dist/chunks/{rpc-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{rpc-v550zfzq.js → persistent-pty-b8r2rjw8.js} +26 -26
- package/dist/chunks/{rpc-b9wsbatv.js → persistent-pty-b9wsbatv.js} +1 -1
- package/dist/chunks/{rpc-y092mk2a.js → persistent-pty-ba9rkfcs.js} +6 -6
- package/dist/chunks/{rpc-3x4vyhkr.js → persistent-pty-bf4rn6za.js} +6 -6
- package/dist/chunks/{rpc-p0b4ytnr.js → persistent-pty-bjs2yq5f.js} +6 -6
- package/dist/chunks/{rpc-t6f6dd4d.js → persistent-pty-bnxgfjcz.js} +9 -9
- package/dist/chunks/{rpc-2bmk1p60.js → persistent-pty-byd5pdh7.js} +32 -32
- package/dist/chunks/{rpc-sqqtc4xq.js → persistent-pty-c3cb06f5.js} +13 -13
- package/dist/chunks/{rpc-jjtztttc.js → persistent-pty-c44391z3.js} +17 -17
- package/dist/chunks/{rpc-tv79vecj.js → persistent-pty-c69vx815.js} +13 -13
- package/dist/chunks/{rpc-9ta1ym7w.js → persistent-pty-cb52j08x.js} +37 -37
- package/dist/chunks/{rpc-zq9fnn7x.js → persistent-pty-cmp1gbzr.js} +11 -11
- package/dist/chunks/{rpc-13wt57az.js → persistent-pty-cnzcswpq.js} +161 -161
- package/dist/chunks/{rpc-w09bvaae.js → persistent-pty-cq3yemdf.js} +51 -51
- package/dist/chunks/{rpc-xdqwr4d8.js → persistent-pty-csd2kfzw.js} +9 -9
- package/dist/chunks/{rpc-4rkx0bt1.js → persistent-pty-ctqk5yba.js} +7 -7
- package/dist/chunks/{rpc-z3xgatyd.js → persistent-pty-djtdz80w.js} +4 -4
- package/dist/chunks/{rpc-j4wxjfwy.js → persistent-pty-dm4vv4a6.js} +32 -32
- package/dist/chunks/{rpc-cvhw1js2.js → persistent-pty-dnk7gmhh.js} +7 -7
- package/dist/chunks/{rpc-7p4c7sjp.js → persistent-pty-dskqvp6c.js} +71 -71
- package/dist/chunks/{rpc-d8k9asg8.js → persistent-pty-dypfnnxv.js} +7 -7
- package/dist/chunks/{rpc-dkxcwvcg.js → persistent-pty-e18bnnvs.js} +9 -9
- package/dist/chunks/{rpc-05x7kg3x.js → persistent-pty-e3bzzpkn.js} +10 -10
- package/dist/chunks/{rpc-fcbhp7q1.js → persistent-pty-e3rf8krc.js} +20 -20
- package/dist/chunks/{rpc-mke2843p.js → persistent-pty-e4b60twv.js} +22 -22
- package/dist/chunks/{rpc-2kf7re16.js → persistent-pty-e5b0qn1c.js} +1 -1
- package/dist/chunks/{rpc-9b0zy0qp.js → persistent-pty-e8zb6afy.js} +36 -36
- package/dist/chunks/{rpc-m4673ea2.js → persistent-pty-egz8g656.js} +33 -33
- package/dist/chunks/{rpc-mhkvc446.js → persistent-pty-eq1pz5kg.js} +3 -3
- package/dist/chunks/{rpc-trt6hbzz.js → persistent-pty-ey1a04aj.js} +4 -4
- package/dist/chunks/{rpc-ez5b8bq3.js → persistent-pty-ez5b8bq3.js} +1 -1
- package/dist/chunks/{rpc-esmjj44a.js → persistent-pty-ezq5zned.js} +9 -9
- package/dist/chunks/{rpc-jwcy2c2z.js → persistent-pty-f0nz223j.js} +4 -4
- package/dist/chunks/{rpc-8enbe2zj.js → persistent-pty-f2c1rw5q.js} +8 -8
- package/dist/chunks/{rpc-4cpnf65c.js → persistent-pty-f4h69zw7.js} +32 -32
- package/dist/chunks/{rpc-t28cy6st.js → persistent-pty-f7p58vk5.js} +16 -16
- package/dist/chunks/{rpc-e3gwwck0.js → persistent-pty-f86dfzph.js} +11 -11
- package/dist/chunks/{rpc-w8h6fvwh.js → persistent-pty-f8r5v8zg.js} +2 -2
- package/dist/chunks/{rpc-08aze5ws.js → persistent-pty-fadw8aff.js} +29 -29
- package/dist/chunks/{rpc-rde9wvyt.js → persistent-pty-fak1e3ja.js} +16 -16
- package/dist/chunks/{rpc-97f5v037.js → persistent-pty-fgjfecz2.js} +8 -8
- package/dist/chunks/{rpc-rrq6kz97.js → persistent-pty-fsea1w0p.js} +36 -36
- package/dist/chunks/{rpc-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{rpc-fxypknc8.js → persistent-pty-fxypknc8.js} +1 -1
- package/dist/chunks/{rpc-9e0xajhk.js → persistent-pty-fy3x4dmh.js} +13 -13
- package/dist/chunks/{rpc-hrvm11jt.js → persistent-pty-g2dy4bvs.js} +3 -3
- package/dist/chunks/{rpc-d72308c8.js → persistent-pty-g2gt0w0k.js} +2 -2
- package/dist/chunks/{rpc-zy59706a.js → persistent-pty-g3xm713x.js} +11 -11
- package/dist/chunks/{rpc-re7ze2ma.js → persistent-pty-g41n1fn3.js} +5 -5
- package/dist/chunks/{rpc-agbwq1v1.js → persistent-pty-g9a9rqx4.js} +15 -15
- package/dist/chunks/{rpc-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-w55q2m1g.js → persistent-pty-gfze89fe.js} +18 -18
- package/dist/chunks/{rpc-3wv0wb6p.js → persistent-pty-gg2fk1c4.js} +15 -15
- package/dist/chunks/{rpc-vv86pfn4.js → persistent-pty-ggsr10e7.js} +12 -12
- package/dist/chunks/{rpc-gn28t5xn.js → persistent-pty-gkvzh88r.js} +14 -14
- package/dist/chunks/{rpc-fjhz18m3.js → persistent-pty-h0z0jvv9.js} +22 -22
- package/dist/chunks/{rpc-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-nrz5c8c1.js → persistent-pty-h9k9cmfx.js} +9 -9
- package/dist/chunks/{rpc-53rarqxp.js → persistent-pty-hc00199r.js} +10 -10
- package/dist/chunks/{rpc-tcqnna6w.js → persistent-pty-heq22s2d.js} +17 -17
- package/dist/chunks/{rpc-heyhwy2w.js → persistent-pty-heyhwy2w.js} +1 -1
- package/dist/chunks/{rpc-g0z069dn.js → persistent-pty-hmt4vayt.js} +5 -5
- package/dist/chunks/{rpc-6426t8cq.js → persistent-pty-hnhdj7rj.js} +27 -27
- package/dist/chunks/{rpc-hkfdkmkj.js → persistent-pty-hqty32ca.js} +25 -25
- package/dist/chunks/{rpc-v0sae4m8.js → persistent-pty-hrabpqyz.js} +29 -29
- package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
- package/dist/chunks/{rpc-hw4pv20g.js → persistent-pty-hw4pv20g.js} +2 -2
- package/dist/chunks/{rpc-sp67jf0a.js → persistent-pty-j0y8f0xq.js} +3 -3
- package/dist/chunks/{rpc-e5e2w1y3.js → persistent-pty-j2y37yhm.js} +26 -26
- package/dist/chunks/{rpc-11zyvh05.js → persistent-pty-j3kams4z.js} +37 -37
- package/dist/chunks/{rpc-kejw0t4e.js → persistent-pty-j43tf9gr.js} +5 -5
- package/dist/chunks/{rpc-wjdvdpz4.js → persistent-pty-j53zazwc.js} +9 -9
- package/dist/chunks/{rpc-mpbw7sv7.js → persistent-pty-j7s4pw35.js} +4 -4
- package/dist/chunks/{rpc-vg1f7981.js → persistent-pty-j844sf2z.js} +6 -6
- package/dist/chunks/{rpc-1mkf2rwt.js → persistent-pty-jcsk617h.js} +13 -13
- package/dist/chunks/{rpc-v6ym2mbm.js → persistent-pty-jg2z2cg4.js} +39 -39
- package/dist/chunks/{rpc-5z2s6r3m.js → persistent-pty-jx8dgn9c.js} +19 -19
- package/dist/chunks/{rpc-7frpa3vk.js → persistent-pty-k37hxh7q.js} +22 -22
- package/dist/chunks/{rpc-k4bwy1x5.js → persistent-pty-k4bwy1x5.js} +1 -1
- package/dist/chunks/{rpc-7jykqdz2.js → persistent-pty-k6gmgah6.js} +11 -11
- package/dist/chunks/{rpc-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
- package/dist/chunks/{rpc-yfbd16n1.js → persistent-pty-kk3rr3qh.js} +5 -5
- package/dist/chunks/{rpc-m51pq2yd.js → persistent-pty-kyktj0vd.js} +6 -6
- package/dist/chunks/{rpc-rvn46zq7.js → persistent-pty-m1peg48k.js} +9 -9
- package/dist/chunks/{rpc-zt79yd0y.js → persistent-pty-m8s7yz94.js} +8 -8
- package/dist/chunks/{rpc-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-1hyh32dx.js → persistent-pty-mcxg6pmm.js} +1 -1
- package/dist/chunks/{rpc-759pz1a2.js → persistent-pty-msqakgxm.js} +4 -4
- package/dist/chunks/{rpc-jj9xsyb9.js → persistent-pty-mszhq5w3.js} +16 -16
- package/dist/chunks/{rpc-d2pvyrbx.js → persistent-pty-mzr3jh1b.js} +4 -4
- package/dist/chunks/{rpc-7jdqkrnt.js → persistent-pty-mzr4n29e.js} +24 -24
- package/dist/chunks/{rpc-q3hv2sj9.js → persistent-pty-n0cjdfmr.js} +53 -53
- package/dist/chunks/{rpc-sygak18j.js → persistent-pty-n2jk6qtv.js} +19 -19
- package/dist/chunks/{rpc-6es5bxv4.js → persistent-pty-n8c15cqp.js} +16 -16
- package/dist/chunks/{rpc-eq7n8p4e.js → persistent-pty-nejtgedz.js} +10 -10
- package/dist/chunks/{rpc-r6p8n554.js → persistent-pty-njxgh0n2.js} +14 -14
- package/dist/chunks/{rpc-hky6zsj8.js → persistent-pty-nnhtcagv.js} +4 -4
- package/dist/chunks/{rpc-7g2wyn62.js → persistent-pty-nqajw534.js} +27 -27
- package/dist/chunks/{rpc-zjhjw14a.js → persistent-pty-nrvhq0he.js} +32 -32
- package/dist/chunks/{rpc-6yk53f3y.js → persistent-pty-nvem0zh0.js} +2 -2
- package/dist/chunks/{rpc-pb1tcd0x.js → persistent-pty-nxa8wnw5.js} +35 -35
- package/dist/chunks/{rpc-0vzfvg04.js → persistent-pty-p317p1wz.js} +8 -8
- package/dist/chunks/{rpc-68w074am.js → persistent-pty-p4vsqmpc.js} +11 -11
- package/dist/chunks/{rpc-8a1wqn9j.js → persistent-pty-pf6xx1eb.js} +4 -4
- package/dist/chunks/{rpc-m6v4gpqz.js → persistent-pty-pfdftes8.js} +11 -11
- package/dist/chunks/{rpc-k6sj68zp.js → persistent-pty-pha9f2e6.js} +7 -7
- package/dist/chunks/{rpc-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-txppa427.js → persistent-pty-pjw71kmm.js} +16 -16
- package/dist/chunks/{rpc-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-fdybstan.js → persistent-pty-psg7avar.js} +20 -20
- package/dist/chunks/{rpc-yvsdtapc.js → persistent-pty-pt72vb4m.js} +22 -22
- package/dist/chunks/{rpc-ydwy5z2b.js → persistent-pty-pt9vp53c.js} +46 -46
- package/dist/chunks/{rpc-f8qtv88y.js → persistent-pty-q3b0vsmg.js} +10 -10
- package/dist/chunks/{rpc-2ksdcbcj.js → persistent-pty-qf2z5hbw.js} +4 -4
- package/dist/chunks/{rpc-t789mvnh.js → persistent-pty-qkvqzff6.js} +32 -32
- package/dist/chunks/{rpc-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-9qm9egsn.js → persistent-pty-qvbcabdc.js} +2 -2
- package/dist/chunks/{rpc-hskdg1tj.js → persistent-pty-r2kxtd6z.js} +22 -22
- package/dist/chunks/{rpc-r8dhm0tv.js → persistent-pty-r8dhm0tv.js} +1 -1
- package/dist/chunks/{rpc-b9t840km.js → persistent-pty-rbyt0q31.js} +50 -50
- package/dist/chunks/{rpc-ex26y97c.js → persistent-pty-rc2v55kv.js} +35 -35
- package/dist/chunks/{rpc-1f1wzhgc.js → persistent-pty-rgpp5x08.js} +4 -4
- package/dist/chunks/{rpc-7n09dgdk.js → persistent-pty-rmy3e5eg.js} +3 -3
- package/dist/chunks/{rpc-8wp61sve.js → persistent-pty-rys4mg1v.js} +17 -17
- package/dist/chunks/{rpc-72scwqkv.js → persistent-pty-s3eqpch7.js} +1 -1
- package/dist/chunks/{rpc-a82phm85.js → persistent-pty-s5f025jh.js} +6 -6
- package/dist/chunks/{rpc-sba4qhjf.js → persistent-pty-sba4qhjf.js} +1 -1
- package/dist/chunks/{rpc-gvj0n0b8.js → persistent-pty-sg6b5yba.js} +40 -40
- package/dist/chunks/{rpc-yrydy187.js → persistent-pty-sgv9af10.js} +14 -14
- package/dist/chunks/{rpc-9aknjvfg.js → persistent-pty-t0av4jg5.js} +15 -15
- package/dist/chunks/{rpc-9zrnh5xs.js → persistent-pty-t5zy0tn8.js} +48 -48
- package/dist/chunks/{rpc-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-edyt7veh.js → persistent-pty-tcsbw5z6.js} +16 -16
- package/dist/chunks/{rpc-havr56k6.js → persistent-pty-tdz2d0bf.js} +11 -11
- package/dist/chunks/{rpc-yq5tbn9k.js → persistent-pty-tge6005x.js} +17 -17
- package/dist/chunks/{rpc-bcezcar3.js → persistent-pty-thfv75je.js} +5 -5
- package/dist/chunks/{rpc-tjykrgmx.js → persistent-pty-tjykrgmx.js} +1 -1
- package/dist/chunks/{rpc-8tb94gac.js → persistent-pty-v59vraf9.js} +32 -32
- package/dist/chunks/{rpc-0nsz8vzd.js → persistent-pty-v60ecprk.js} +9 -9
- package/dist/chunks/{rpc-k3fb46c0.js → persistent-pty-v6d825jm.js} +23 -23
- package/dist/chunks/{rpc-kyb8p98y.js → persistent-pty-vpcrvpem.js} +24 -24
- package/dist/chunks/{rpc-fmxyf492.js → persistent-pty-vsj8va3n.js} +20 -20
- package/dist/chunks/{rpc-cv5vc9nm.js → persistent-pty-vta8yyap.js} +31 -31
- package/dist/chunks/{rpc-gqzvtz8d.js → persistent-pty-vtmd3szc.js} +4 -4
- package/dist/chunks/{rpc-8yb6ktry.js → persistent-pty-vyrgm4zq.js} +11 -11
- package/dist/chunks/{rpc-mafy3fh7.js → persistent-pty-vyrse5sf.js} +20 -20
- package/dist/chunks/{rpc-6z5bwd8g.js → persistent-pty-w3jym6ha.js} +6 -6
- package/dist/chunks/{rpc-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-vg7vz8a0.js → persistent-pty-w7v3ectx.js} +20 -20
- package/dist/chunks/{rpc-wy3a9ktx.js → persistent-pty-wanpp1k7.js} +8 -8
- package/dist/chunks/{rpc-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-ztb7vdkc.js → persistent-pty-wdsftsg6.js} +23 -23
- package/dist/chunks/{rpc-abz7a5b3.js → persistent-pty-wfhhk81x.js} +9 -9
- package/dist/chunks/{rpc-q58618g1.js → persistent-pty-wfhxja34.js} +84 -84
- package/dist/chunks/{rpc-mq8dv1hp.js → persistent-pty-wfq5jtmb.js} +24 -24
- package/dist/chunks/{rpc-pkkvpc61.js → persistent-pty-wkq1a691.js} +18 -18
- package/dist/chunks/persistent-pty-wpa9nskr.js +22 -0
- package/dist/chunks/{rpc-79e6z3n4.js → persistent-pty-wpgkb29z.js} +10 -10
- package/dist/chunks/{rpc-y1wkrapf.js → persistent-pty-ws50g6ew.js} +32 -32
- package/dist/chunks/{rpc-r05hg6dq.js → persistent-pty-wy1gn0qd.js} +5 -5
- package/dist/chunks/{rpc-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{rpc-d910tjb6.js → persistent-pty-x4bzwk8v.js} +9 -9
- package/dist/chunks/{rpc-2pka3nkn.js → persistent-pty-xba749n3.js} +36 -36
- package/dist/chunks/{rpc-w6k1qeax.js → persistent-pty-xe339285.js} +22 -22
- package/dist/chunks/{rpc-q485ymv2.js → persistent-pty-xm1jwy74.js} +85 -85
- package/dist/chunks/{rpc-c6p2r8tp.js → persistent-pty-xqsy6kp0.js} +1 -1
- package/dist/chunks/{rpc-j1g84fdq.js → persistent-pty-xt7b81sn.js} +30 -30
- package/dist/chunks/{rpc-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-wnwn53rt.js → persistent-pty-y4avtqgk.js} +8 -8
- package/dist/chunks/{rpc-ajtjthsy.js → persistent-pty-yg7sb877.js} +2 -2
- package/dist/chunks/{rpc-88fx4v6q.js → persistent-pty-ygpseft7.js} +22 -22
- package/dist/chunks/{rpc-d54cj6d5.js → persistent-pty-yrcexxg5.js} +17 -17
- package/dist/chunks/{rpc-a9zfrvqc.js → persistent-pty-yvfkj8fv.js} +5 -5
- package/dist/chunks/{rpc-z1k01bn4.js → persistent-pty-z1k01bn4.js} +2 -2
- package/dist/chunks/{rpc-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{rpc-c45qpk7m.js → persistent-pty-zjey93np.js} +5 -5
- package/dist/chunks/{rpc-z2zzq6cg.js → persistent-pty-zn2pq4p8.js} +5 -5
- package/dist/chunks/{rpc-kpzf6j9d.js → persistent-pty-zrz343zw.js} +10 -10
- package/dist/chunks/{rpc-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{rpc-jg1vwa91.js → persistent-pty-zyvs8cv6.js} +13 -13
- 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 +83 -83
- 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 +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- 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 +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +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 +3 -3
- 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 +1 -1
- 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 +82 -82
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +71 -71
- 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 +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- 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 +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +208 -208
- package/dist/plugin/instance.js +3 -3
- 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 +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +77 -77
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- 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 +1 -1
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- 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 +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +80 -80
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- 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 +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +97 -97
- package/dist/skill.js +98 -98
- 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 +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +116 -116
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +102 -102
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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 +2 -2
- 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 +79 -79
- package/dist/workspace/driver.js +3 -3
- 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 +88 -88
- package/package.json +7 -7
- package/dist/chunks/rpc-4v7qdvcn.js +0 -18
- package/dist/chunks/rpc-835wsdkr.js +0 -243
- package/dist/chunks/rpc-aaqvfjmc.js +0 -450
- package/dist/chunks/rpc-b5q5y4vk.js +0 -4
- package/dist/chunks/rpc-rp7g6xwr.js +0 -22
- /package/dist/chunks/{rpc-0fabt78z.js → persistent-pty-0fabt78z.js} +0 -0
- /package/dist/chunks/{rpc-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3t738kvx.js → persistent-pty-3t738kvx.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-41nvscxy.js → persistent-pty-41nvscxy.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-982e01ww.js → persistent-pty-982e01ww.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a1tpkmh4.js → persistent-pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-j935v87r.js → persistent-pty-j935v87r.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-mntxs535.js → persistent-pty-mntxs535.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-p8qxwesx.js → persistent-pty-p8qxwesx.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-se0s1eqw.js → persistent-pty-se0s1eqw.js} +0 -0
- /package/dist/chunks/{rpc-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x1b8g1yb.js → persistent-pty-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{rpc-zbjnn3ac.js → persistent-pty-zbjnn3ac.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-f0nz223j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node81
|
|
7
|
+
} from "./persistent-pty-gfze89fe.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service59,
|
|
11
|
+
node61
|
|
12
|
+
} from "./persistent-pty-rc2v55kv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node78
|
|
16
|
+
} from "./persistent-pty-c44391z3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service72,
|
|
19
|
+
node74
|
|
20
|
+
} from "./persistent-pty-wfq5jtmb.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID8,
|
|
23
|
+
Service58,
|
|
24
|
+
node60
|
|
25
|
+
} from "./persistent-pty-hrabpqyz.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID7,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service57,
|
|
34
|
+
node59
|
|
35
|
+
} from "./persistent-pty-egz8g656.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./persistent-pty-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
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError3,
|
|
45
|
+
Options: () => Options3,
|
|
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: () => Service34,
|
|
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: () => configured3,
|
|
66
|
+
layer: () => layer15,
|
|
67
|
+
node: () => node36
|
|
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: ID7.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -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 Service34 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options3 = 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 layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service75;
|
|
178
|
+
const environment = yield* Service72;
|
|
179
|
+
const bus = yield* Service78;
|
|
180
|
+
const forms = yield* Service58;
|
|
181
|
+
const integration = yield* Service57;
|
|
182
|
+
const credentials = yield* Service59;
|
|
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 layer17 = (options) => Layer.effect(Service40, 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 = ID7.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError3({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -285,7 +285,7 @@ var layer17 = (options) => Layer.effect(Service40, 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 = ID8.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 layer17 = (options) => Layer.effect(Service40, 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(Service72, 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 layer17 = (options) => Layer.effect(Service40, 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(Event14.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 layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
557
557
|
concurrency: "unbounded",
|
|
558
558
|
discard: true
|
|
559
559
|
}));
|
|
560
|
-
return
|
|
560
|
+
return Service34.of({
|
|
561
561
|
transform: state.transform,
|
|
562
562
|
reload: state.reload,
|
|
563
563
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -677,14 +677,14 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
677
677
|
})
|
|
678
678
|
});
|
|
679
679
|
}));
|
|
680
|
-
function
|
|
680
|
+
function configured3(options) {
|
|
681
681
|
return makeLocationNode({
|
|
682
|
-
service:
|
|
683
|
-
layer:
|
|
684
|
-
deps: [
|
|
682
|
+
service: Service34,
|
|
683
|
+
layer: layer15(options),
|
|
684
|
+
deps: [node78, node74, node81, node60, node59, node61]
|
|
685
685
|
});
|
|
686
686
|
}
|
|
687
|
-
var
|
|
687
|
+
var node36 = configured3();
|
|
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,
|
|
738
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service34, Options3, layer15, configured3, node36, exports_mcp4 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options9,
|
|
15
|
+
Service: () => Service68,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node70,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options9 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service68 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service68.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured8(options) {
|
|
209
|
+
return makeLocationNode({ service: Service68, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node70 = configured8();
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Options9, Service68, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured8, node70, exports_select };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node81
|
|
4
|
+
} from "./persistent-pty-gfze89fe.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-rbyt0q31.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
@@ -21,12 +21,12 @@ __export(exports_skill5, {
|
|
|
21
21
|
ID: () => ID5,
|
|
22
22
|
Info: () => Info8,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service43,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node45,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -71,10 +71,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service43 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service78;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service43.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node45 = makeLocationNode({
|
|
112
|
+
service: Service43,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node81]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info8, ID5, Name2, available2, toModelOutput3, prepare3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info8, ID5, Name2, available2, toModelOutput3, prepare3, Service43, node45, exports_skill5, Event7 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./persistent-pty-6cmxkhbe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./persistent-pty-t5zy0tn8.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9x2w7v1q.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service46;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID9.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make5();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-p8qxwesx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node74
|
|
9
|
+
} from "./persistent-pty-wfq5jtmb.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-5jvc5tg2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service71,
|
|
24
|
+
node: () => node73
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service71 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service72;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service71.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -174,6 +174,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
174
174
|
}))))
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var node73 = makeLocationNode({ service: Service71, layer, deps: [node74, RipgrepBinary2.node] });
|
|
178
178
|
|
|
179
|
-
export { Error4, InvalidPatternError2,
|
|
179
|
+
export { Error4, InvalidPatternError2, Service71, node73, exports_ripgrep };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-n2jk6qtv.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service47,
|
|
3
|
+
node49
|
|
4
|
+
} from "./persistent-pty-e4b60twv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node78
|
|
8
|
+
} from "./persistent-pty-c44391z3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node48
|
|
12
|
+
} from "./persistent-pty-t5zy0tn8.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service2,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node3
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode-ai/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service46;
|
|
40
|
+
const watcher = yield* Service47;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service75;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service2.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node3 = makeLocationNode({
|
|
74
|
+
service: Service2,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node48, FSUtil.node, node49, node78]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service2,
|
|
80
|
+
layer: Layer.succeed(Service2, Service2.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service2, layer4, node3, empty2, exports_source };
|