@opencode/core 0.0.0-dev-20076 → 0.0.0-dev-20079
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{file-retention-zee1rnkq.js → location-lifecycle-06x8he3q.js} +4 -4
- package/dist/chunks/{file-retention-xxynqx5z.js → location-lifecycle-08rawchj.js} +3 -3
- package/dist/chunks/{file-retention-tfg9eqy2.js → location-lifecycle-09ww3nkz.js} +11 -11
- package/dist/chunks/{file-retention-0ft9cg2j.js → location-lifecycle-0gaj4617.js} +6 -6
- package/dist/chunks/{file-retention-nwzjzhhc.js → location-lifecycle-0httgp45.js} +53 -53
- package/dist/chunks/location-lifecycle-0mesazry.js +4 -0
- package/dist/chunks/{file-retention-0bftx5a5.js → location-lifecycle-0my6m5t2.js} +87 -87
- package/dist/chunks/{file-retention-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-484azhyv.js → location-lifecycle-0pfhfkh4.js} +18 -18
- package/dist/chunks/{file-retention-qmhwq76t.js → location-lifecycle-0q40c6p6.js} +20 -20
- package/dist/chunks/{file-retention-b971s22s.js → location-lifecycle-0z3tr3b5.js} +4 -4
- package/dist/chunks/{file-retention-tv6fr57g.js → location-lifecycle-12y94dz0.js} +11 -11
- package/dist/chunks/{file-retention-cfvy20zr.js → location-lifecycle-15hj9zcg.js} +9 -9
- package/dist/chunks/{file-retention-dg2cj1yd.js → location-lifecycle-18s9r5gn.js} +4 -4
- package/dist/chunks/{file-retention-ph5whc14.js → location-lifecycle-1dazxqgg.js} +5 -5
- package/dist/chunks/{file-retention-jh4dq78w.js → location-lifecycle-1efpx20h.js} +15 -15
- package/dist/chunks/{file-retention-pjzp5jm9.js → location-lifecycle-1gnq4k7b.js} +32 -32
- package/dist/chunks/{file-retention-m5xa4xm2.js → location-lifecycle-1hb2dmf7.js} +46 -46
- package/dist/chunks/{file-retention-yer1ws18.js → location-lifecycle-1hn05gyd.js} +14 -14
- package/dist/chunks/{file-retention-e981czdn.js → location-lifecycle-1pwc4c2w.js} +9 -9
- package/dist/chunks/{file-retention-h2r7bbkd.js → location-lifecycle-1y1z8jnb.js} +11 -11
- package/dist/chunks/{file-retention-j1x1sn3n.js → location-lifecycle-1y354hzw.js} +21 -21
- package/dist/chunks/{file-retention-a54wp4v4.js → location-lifecycle-1z08k0r1.js} +8 -8
- package/dist/chunks/{file-retention-cy9y9za1.js → location-lifecycle-1zcq3fa7.js} +30 -30
- package/dist/chunks/{file-retention-1tmvwee5.js → location-lifecycle-1zsrxcp1.js} +8 -8
- package/dist/chunks/{file-retention-21r38tys.js → location-lifecycle-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-2f8p2v54.js → location-lifecycle-21t6fa69.js} +20 -20
- package/dist/chunks/{file-retention-2402vzrj.js → location-lifecycle-2402vzrj.js} +1 -1
- package/dist/chunks/{file-retention-b3rc9xq5.js → location-lifecycle-24sw7gsr.js} +12 -12
- package/dist/chunks/{file-retention-z63w68vq.js → location-lifecycle-29x78va6.js} +6 -6
- package/dist/chunks/{file-retention-hgz4x7wa.js → location-lifecycle-2a5m3afh.js} +4 -4
- package/dist/chunks/{file-retention-41wzkj33.js → location-lifecycle-2tba787a.js} +12 -12
- package/dist/chunks/{file-retention-e0vnyvwh.js → location-lifecycle-2w9khnp1.js} +13 -13
- package/dist/chunks/{file-retention-xkzzg3p1.js → location-lifecycle-306r0xtt.js} +15 -15
- package/dist/chunks/{file-retention-bbr0ecrm.js → location-lifecycle-332s0etf.js} +11 -11
- package/dist/chunks/{file-retention-mfqp6xfm.js → location-lifecycle-33w4ejhs.js} +9 -9
- package/dist/chunks/{file-retention-mrkjr00d.js → location-lifecycle-350m4c2t.js} +26 -26
- package/dist/chunks/{file-retention-e9zqkyac.js → location-lifecycle-372gw5e0.js} +12 -12
- package/dist/chunks/{file-retention-sc7mjsx7.js → location-lifecycle-37vsdqvp.js} +24 -24
- package/dist/chunks/{file-retention-mp0x0ve6.js → location-lifecycle-38162gw5.js} +13 -13
- package/dist/chunks/{file-retention-h63arcwz.js → location-lifecycle-3aqrkape.js} +38 -38
- package/dist/chunks/{file-retention-3bc8czyk.js → location-lifecycle-3bc8czyk.js} +2 -2
- package/dist/chunks/{file-retention-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-v6gb7zv2.js → location-lifecycle-3ppptnan.js} +6 -6
- package/dist/chunks/{file-retention-7sk5kyxr.js → location-lifecycle-3r61ngk9.js} +16 -16
- package/dist/chunks/{file-retention-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-31hetm60.js → location-lifecycle-45zdvm0r.js} +4 -4
- package/dist/chunks/{file-retention-hvb7b1k8.js → location-lifecycle-48bssgwe.js} +11 -11
- package/dist/chunks/{file-retention-7h93y3jd.js → location-lifecycle-4gm3tq08.js} +16 -16
- package/dist/chunks/location-lifecycle-4v7qdvcn.js +18 -0
- package/dist/chunks/{file-retention-b7vm23fg.js → location-lifecycle-4xm8kk2n.js} +28 -28
- package/dist/chunks/{file-retention-y8x91hrb.js → location-lifecycle-4y5qxd6p.js} +3 -3
- package/dist/chunks/{file-retention-yrxt8wb8.js → location-lifecycle-531map3w.js} +67 -67
- package/dist/chunks/{file-retention-j67eyxhk.js → location-lifecycle-56mhcpbk.js} +34 -34
- package/dist/chunks/{file-retention-57ez7d0k.js → location-lifecycle-57ez7d0k.js} +2 -2
- package/dist/chunks/{file-retention-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-6xw3seg4.js → location-lifecycle-5e15319b.js} +5 -5
- package/dist/chunks/{file-retention-5ekn9679.js → location-lifecycle-5ekn9679.js} +1 -1
- package/dist/chunks/{file-retention-rgkm1ghw.js → location-lifecycle-5jhvhkxb.js} +8 -8
- package/dist/chunks/{file-retention-k2egtdaq.js → location-lifecycle-5nc5w3be.js} +9 -9
- package/dist/chunks/{file-retention-q9xx8pp8.js → location-lifecycle-5paxxmhy.js} +22 -22
- package/dist/chunks/{file-retention-mjm950tt.js → location-lifecycle-5syd9exq.js} +37 -37
- package/dist/chunks/{file-retention-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-669tq793.js → location-lifecycle-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-y56ehv6b.js → location-lifecycle-6fatt4mk.js} +9 -9
- package/dist/chunks/{file-retention-5carfvj1.js → location-lifecycle-6jxte08d.js} +2 -2
- package/dist/chunks/{file-retention-6msgmcgs.js → location-lifecycle-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-6pc27hjz.js → location-lifecycle-6pc27hjz.js} +2 -2
- package/dist/chunks/{file-retention-60kb57hy.js → location-lifecycle-6phrjhr6.js} +23 -23
- package/dist/chunks/{file-retention-sw1mxqw6.js → location-lifecycle-6xcwnmh5.js} +8 -8
- package/dist/chunks/{file-retention-t5ymyahf.js → location-lifecycle-6z9mwsmt.js} +24 -24
- package/dist/chunks/{file-retention-2daz2v6c.js → location-lifecycle-71k1amkv.js} +36 -36
- package/dist/chunks/{file-retention-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-qgn6gcr1.js → location-lifecycle-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-retention-tnyz8ww6.js → location-lifecycle-7gcp8pkf.js} +6 -6
- package/dist/chunks/{file-retention-sfn2jqx5.js → location-lifecycle-7k4trpze.js} +29 -29
- package/dist/chunks/{file-retention-ew6xy3kj.js → location-lifecycle-7zgec7h4.js} +13 -13
- package/dist/chunks/{file-retention-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-2vqpzfka.js → location-lifecycle-8tyewwk1.js} +31 -31
- package/dist/chunks/{file-retention-w5bfhdvm.js → location-lifecycle-8x37xyr8.js} +8 -8
- package/dist/chunks/{file-retention-vjgtykma.js → location-lifecycle-92e055yb.js} +13 -13
- package/dist/chunks/{file-retention-9xsfwcg4.js → location-lifecycle-93eat1mg.js} +35 -35
- package/dist/chunks/{file-retention-94ek1h2f.js → location-lifecycle-94ek1h2f.js} +2 -2
- package/dist/chunks/{file-retention-hv1rr3m3.js → location-lifecycle-99bg3790.js} +9 -9
- package/dist/chunks/{file-retention-vtxr0yy2.js → location-lifecycle-9cyfspf3.js} +5 -5
- package/dist/chunks/{file-retention-6477640v.js → location-lifecycle-9ep9adm8.js} +3 -3
- package/dist/chunks/{file-retention-4v7r6s0x.js → location-lifecycle-9m67a2xh.js} +32 -32
- package/dist/chunks/{file-retention-kwagda8j.js → location-lifecycle-9mjazamh.js} +10 -10
- package/dist/chunks/{file-retention-8rse1bz0.js → location-lifecycle-9ry0r7nj.js} +23 -23
- package/dist/chunks/{file-retention-bv6943e1.js → location-lifecycle-9tpqnd1t.js} +1 -1
- package/dist/chunks/{file-retention-8gsbz1zp.js → location-lifecycle-9wc7tdkr.js} +18 -18
- package/dist/chunks/{file-retention-krmp0vwn.js → location-lifecycle-a0nn69n9.js} +13 -13
- package/dist/chunks/{file-retention-h38jpad5.js → location-lifecycle-a2a6ph37.js} +13 -13
- package/dist/chunks/{file-retention-ratrq7cm.js → location-lifecycle-a2ew8a62.js} +4 -4
- package/dist/chunks/{file-retention-t2f6sps2.js → location-lifecycle-a6rtn05v.js} +28 -28
- package/dist/chunks/{file-retention-a28va38p.js → location-lifecycle-aaet6srn.js} +8 -8
- package/dist/chunks/{file-retention-ypvayta9.js → location-lifecycle-ackbfy2k.js} +5 -5
- package/dist/chunks/{file-retention-9kbs75gn.js → location-lifecycle-af06prj0.js} +25 -25
- package/dist/chunks/{file-retention-t0fxg8b9.js → location-lifecycle-ag9w8cw1.js} +5 -5
- package/dist/chunks/{file-retention-6a3zafpc.js → location-lifecycle-ah1gfr63.js} +8 -8
- package/dist/chunks/{file-retention-f96ctyse.js → location-lifecycle-ak22egzq.js} +6 -6
- package/dist/chunks/{file-retention-ewkprqrz.js → location-lifecycle-an22treg.js} +16 -16
- package/dist/chunks/{file-retention-jcmwmbwz.js → location-lifecycle-ax5pekk8.js} +1 -1
- package/dist/chunks/{file-retention-11gyv0qx.js → location-lifecycle-b5zdkcxk.js} +11 -11
- package/dist/chunks/{file-retention-3hwn7j4h.js → location-lifecycle-b6gygkdw.js} +5 -5
- package/dist/chunks/{file-retention-cybbce78.js → location-lifecycle-b7xn4ebh.js} +17 -17
- package/dist/chunks/{file-retention-2j7wsrwg.js → location-lifecycle-bpcnfm2r.js} +10 -10
- package/dist/chunks/{file-retention-4xzzvc1x.js → location-lifecycle-bqyb16m0.js} +16 -16
- package/dist/chunks/{file-retention-v9vsdr5e.js → location-lifecycle-bv91g476.js} +49 -49
- package/dist/chunks/{file-retention-ssh52gjb.js → location-lifecycle-bya39qz1.js} +7 -7
- package/dist/chunks/{file-retention-ma37n9mc.js → location-lifecycle-c1ctkbd0.js} +3 -3
- package/dist/chunks/{file-retention-cqdgmx8n.js → location-lifecycle-c42w4v4x.js} +23 -23
- package/dist/chunks/{file-retention-msnvgge2.js → location-lifecycle-cam1ayvb.js} +11 -11
- package/dist/chunks/{file-retention-g9kevcwd.js → location-lifecycle-cd9s2exm.js} +10 -10
- package/dist/chunks/{file-retention-ckecvw8r.js → location-lifecycle-ckecvw8r.js} +2 -2
- package/dist/chunks/{file-retention-p6j5c0dx.js → location-lifecycle-cmzswfdp.js} +26 -26
- package/dist/chunks/{file-retention-fqmzt9nn.js → location-lifecycle-cr14m58m.js} +22 -22
- package/dist/chunks/{file-retention-m16z5xgj.js → location-lifecycle-crn2xksg.js} +1 -1
- package/dist/chunks/{file-retention-g6q9qykm.js → location-lifecycle-cwa6csj7.js} +9 -9
- package/dist/chunks/{file-retention-e6hmchc5.js → location-lifecycle-d1khqved.js} +5 -5
- package/dist/chunks/{file-retention-xk5yp3rz.js → location-lifecycle-d8mt368w.js} +29 -29
- package/dist/chunks/{file-retention-k53npxr2.js → location-lifecycle-dagkn99r.js} +1 -1
- package/dist/chunks/{file-retention-n2srvep7.js → location-lifecycle-dbb8vp5z.js} +4 -4
- package/dist/chunks/{file-retention-98dhkg4b.js → location-lifecycle-dcvbrmh9.js} +19 -19
- package/dist/chunks/{file-retention-rp4daw2c.js → location-lifecycle-drtbjaez.js} +92 -92
- package/dist/chunks/{file-retention-drwq78ky.js → location-lifecycle-drwq78ky.js} +1 -1
- package/dist/chunks/{file-retention-tpw6cwsb.js → location-lifecycle-dv1qgsyq.js} +8 -8
- package/dist/chunks/{file-retention-hya5ekxn.js → location-lifecycle-dx1am6a9.js} +1 -1
- package/dist/chunks/{file-retention-136ah40c.js → location-lifecycle-dyjhz6jk.js} +11 -11
- package/dist/chunks/{file-retention-76j44xz4.js → location-lifecycle-e0rwsjxg.js} +32 -32
- package/dist/chunks/{file-retention-4ptehb38.js → location-lifecycle-e160f7zq.js} +15 -15
- package/dist/chunks/{file-retention-6jq4c9x7.js → location-lifecycle-e3fdxhn1.js} +13 -13
- package/dist/chunks/{file-retention-5qd3pb7m.js → location-lifecycle-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-retention-739g7xpm.js → location-lifecycle-e3t1k4fp.js} +147 -147
- package/dist/chunks/{file-retention-4e3kc42d.js → location-lifecycle-ebxse63s.js} +15 -15
- package/dist/chunks/{file-retention-v155ndty.js → location-lifecycle-ecqqbvyr.js} +9 -9
- package/dist/chunks/{file-retention-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-s76c0ttp.js → location-lifecycle-ehq2dyc1.js} +20 -20
- package/dist/chunks/{file-retention-pc4b88sv.js → location-lifecycle-em3h5ktn.js} +4 -4
- package/dist/chunks/{file-retention-ezwgvxy6.js → location-lifecycle-eqhwn6nh.js} +27 -27
- package/dist/chunks/{file-retention-ws1m066q.js → location-lifecycle-eqnkvkjj.js} +15 -15
- package/dist/chunks/{file-retention-tyd90661.js → location-lifecycle-er667zkn.js} +4 -4
- package/dist/chunks/{file-retention-erw5rpbs.js → location-lifecycle-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-retention-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-9q2dq694.js → location-lifecycle-evjk3azk.js} +9 -9
- package/dist/chunks/{file-retention-m3ebeh4f.js → location-lifecycle-f1afsy8x.js} +5 -5
- package/dist/chunks/{file-retention-r8xr0va3.js → location-lifecycle-f2n192rq.js} +4 -4
- package/dist/chunks/{file-retention-wxffcvth.js → location-lifecycle-f38mbwqt.js} +7 -7
- package/dist/chunks/{file-retention-ky3seynh.js → location-lifecycle-f38wsw69.js} +2 -2
- package/dist/chunks/{file-retention-tp2f02fq.js → location-lifecycle-fbhyvh8e.js} +16 -16
- package/dist/chunks/{file-retention-repb58am.js → location-lifecycle-frz8dvr7.js} +8 -8
- package/dist/chunks/{file-retention-hvgp7k47.js → location-lifecycle-fzdjqjqe.js} +20 -20
- package/dist/chunks/{file-retention-7ma666fp.js → location-lifecycle-g4exfbqr.js} +4 -4
- package/dist/chunks/{file-retention-3917zmsm.js → location-lifecycle-ga400k24.js} +12 -12
- package/dist/chunks/{file-retention-tn0keqwc.js → location-lifecycle-gd0x7v4t.js} +6 -6
- package/dist/chunks/{file-retention-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-ksp53khy.js → location-lifecycle-gkq5dawr.js} +30 -30
- package/dist/chunks/{file-retention-sn2197kq.js → location-lifecycle-gr6sb7t2.js} +28 -28
- package/dist/chunks/{file-retention-gv6a8nnw.js → location-lifecycle-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-1fq49j2d.js → location-lifecycle-gwyzdwgr.js} +18 -18
- package/dist/chunks/{file-retention-kkr60pt3.js → location-lifecycle-h04fec9s.js} +6 -6
- package/dist/chunks/{file-retention-4dgbcxzg.js → location-lifecycle-h6r3nrb9.js} +4 -4
- package/dist/chunks/{file-retention-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-css2w393.js → location-lifecycle-ha1n41tc.js} +10 -10
- package/dist/chunks/{file-retention-p10hfn84.js → location-lifecycle-hb8hngfc.js} +14 -14
- package/dist/chunks/{file-retention-r4m6sj2t.js → location-lifecycle-hgsf16v0.js} +46 -46
- package/dist/chunks/{file-retention-tq0ny4gr.js → location-lifecycle-hw583fet.js} +14 -14
- package/dist/chunks/{file-retention-k1qrnqst.js → location-lifecycle-hz0q9sdq.js} +8 -8
- package/dist/chunks/{file-retention-ttt144n2.js → location-lifecycle-j0hvv6pf.js} +17 -17
- package/dist/chunks/{file-retention-h27jqpzg.js → location-lifecycle-j41zh890.js} +27 -27
- package/dist/chunks/{file-retention-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-gx3bsgbr.js → location-lifecycle-jaay1cxn.js} +26 -26
- package/dist/chunks/{file-retention-7aqpe3z3.js → location-lifecycle-je42r6cz.js} +24 -24
- package/dist/chunks/{file-retention-053cybx6.js → location-lifecycle-jrh1janw.js} +10 -10
- package/dist/chunks/{file-retention-k3c624dm.js → location-lifecycle-k3c624dm.js} +3 -3
- package/dist/chunks/{file-retention-8rvbch5b.js → location-lifecycle-k6fxasg6.js} +7 -7
- package/dist/chunks/{file-retention-h0n36h3s.js → location-lifecycle-k9kced9z.js} +1 -1
- package/dist/chunks/{file-retention-wa8jxbkg.js → location-lifecycle-ka5skxx4.js} +32 -32
- package/dist/chunks/location-lifecycle-kkn4g2ed.js +507 -0
- package/dist/chunks/{file-retention-1agwz8aa.js → location-lifecycle-kp06gxjd.js} +43 -43
- package/dist/chunks/{file-retention-rjkx1558.js → location-lifecycle-kv1wsvct.js} +48 -48
- package/dist/chunks/{file-retention-ma0e9v7m.js → location-lifecycle-kwcx68me.js} +39 -39
- package/dist/chunks/{file-retention-amcfr32s.js → location-lifecycle-kx8hngxs.js} +6 -6
- package/dist/chunks/{file-retention-nq7qbqzc.js → location-lifecycle-m2d0j7c0.js} +9 -9
- package/dist/chunks/{file-retention-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-vrssy5kh.js → location-lifecycle-mg9my19h.js} +21 -21
- package/dist/chunks/{file-retention-kmssrs7f.js → location-lifecycle-mhjfzxr8.js} +4 -4
- package/dist/chunks/{file-retention-mhkvc446.js → location-lifecycle-mhkvc446.js} +1 -1
- package/dist/chunks/{file-retention-yk950sz5.js → location-lifecycle-mjqqjndj.js} +19 -19
- package/dist/chunks/{file-retention-x7c67s47.js → location-lifecycle-mrsgn7my.js} +5 -5
- package/dist/chunks/{file-retention-5xpznt2d.js → location-lifecycle-mvksx64m.js} +4 -4
- package/dist/chunks/{file-retention-vtg6dttc.js → location-lifecycle-nb8z3sb6.js} +14 -14
- package/dist/chunks/{file-retention-9dz39q6x.js → location-lifecycle-nbwd0k52.js} +14 -14
- package/dist/chunks/{file-retention-awaee7qt.js → location-lifecycle-nca7p386.js} +6 -6
- package/dist/chunks/location-lifecycle-ndes8vtz.js +26 -0
- package/dist/chunks/{file-retention-fc8s73xt.js → location-lifecycle-nmnv9rqk.js} +22 -22
- package/dist/chunks/{file-retention-az5wxh9j.js → location-lifecycle-np185wnj.js} +11 -11
- package/dist/chunks/{file-retention-28tx5a5b.js → location-lifecycle-nt2h4hjy.js} +24 -24
- package/dist/chunks/{file-retention-mvr5bn4j.js → location-lifecycle-nx2q6m6a.js} +12 -12
- package/dist/chunks/{file-retention-4qrxzr33.js → location-lifecycle-p0s3dwrr.js} +23 -23
- package/dist/chunks/{file-retention-vp54qpx1.js → location-lifecycle-p1x0rczn.js} +22 -22
- package/dist/chunks/{file-retention-aj2111eg.js → location-lifecycle-pg8ttqrz.js} +41 -41
- package/dist/chunks/{file-retention-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-r4aa4m0k.js → location-lifecycle-pxnzp80q.js} +4 -4
- package/dist/chunks/{file-retention-gzjk9fnj.js → location-lifecycle-q03mkthp.js} +29 -29
- package/dist/chunks/{file-retention-pmsv8f6n.js → location-lifecycle-q4g1c5bp.js} +2 -2
- package/dist/chunks/{file-retention-gv7n655z.js → location-lifecycle-qarqz51c.js} +17 -17
- package/dist/chunks/{file-retention-4w5f3qm5.js → location-lifecycle-qby9dwvd.js} +8 -8
- package/dist/chunks/{file-retention-2nxpygkr.js → location-lifecycle-qdt77h2n.js} +10 -10
- package/dist/chunks/{file-retention-kf2ta3ye.js → location-lifecycle-qk40f6qf.js} +23 -23
- package/dist/chunks/{file-retention-t9zs3egg.js → location-lifecycle-qq11w61w.js} +4 -4
- package/dist/chunks/{file-retention-bwz5vyq0.js → location-lifecycle-qs1cbs9d.js} +13 -13
- package/dist/chunks/{file-retention-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-7g57k9pp.js → location-lifecycle-qsg4qf1b.js} +19 -19
- package/dist/chunks/{file-retention-rnzy20mt.js → location-lifecycle-r8pe3876.js} +15 -15
- package/dist/chunks/{file-retention-gyc1mqyt.js → location-lifecycle-rcgrsjm5.js} +3 -3
- package/dist/chunks/{file-retention-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-s8d7rejh.js → location-lifecycle-rhjbct0v.js} +4 -4
- package/dist/chunks/{file-retention-013zbbfs.js → location-lifecycle-rj5nneh7.js} +7 -7
- package/dist/chunks/{file-retention-rty2yphq.js → location-lifecycle-rm0ybym0.js} +43 -43
- package/dist/chunks/{file-retention-sx1yqcbh.js → location-lifecycle-rvwa2653.js} +30 -30
- package/dist/chunks/{file-retention-yvvvp4gn.js → location-lifecycle-rzs3gq0x.js} +8 -8
- package/dist/chunks/{file-retention-7e2yy7bx.js → location-lifecycle-s0hza5ac.js} +4 -4
- package/dist/chunks/{file-retention-yrznvahk.js → location-lifecycle-s4enseaf.js} +2 -2
- package/dist/chunks/{file-retention-awnng6aw.js → location-lifecycle-s5jqsqh4.js} +3 -3
- package/dist/chunks/{file-retention-jw80jp6b.js → location-lifecycle-s8j6jbjj.js} +21 -21
- package/dist/chunks/{file-retention-sgwh5nyn.js → location-lifecycle-s942n1t7.js} +8 -8
- package/dist/chunks/{file-retention-8hddrz6y.js → location-lifecycle-sad129aw.js} +6 -6
- package/dist/chunks/{file-retention-brcqjxp1.js → location-lifecycle-sb3nsf3d.js} +15 -15
- package/dist/chunks/{file-retention-4b052jb4.js → location-lifecycle-sygkwpza.js} +18 -18
- package/dist/chunks/{file-retention-hfb3twc5.js → location-lifecycle-t6rsh1v1.js} +35 -35
- package/dist/chunks/{file-retention-k75f346z.js → location-lifecycle-t80y27b5.js} +7 -7
- package/dist/chunks/{file-retention-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-qq9k8xwf.js → location-lifecycle-te4zy289.js} +49 -49
- package/dist/chunks/{file-retention-7exmdcvp.js → location-lifecycle-tfkjwah6.js} +14 -14
- package/dist/chunks/{file-retention-wt002vfw.js → location-lifecycle-ths5nwb1.js} +10 -10
- package/dist/chunks/{file-retention-gar1kgy6.js → location-lifecycle-trzcm3tj.js} +23 -23
- package/dist/chunks/{file-retention-tvtrv512.js → location-lifecycle-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-j31v3zf1.js → location-lifecycle-tyq5db9e.js} +16 -16
- package/dist/chunks/{file-retention-kyngf2ah.js → location-lifecycle-v04nak97.js} +6 -6
- package/dist/chunks/{file-retention-gajvcqmf.js → location-lifecycle-v11xek3k.js} +24 -24
- package/dist/chunks/{file-retention-azms3gmy.js → location-lifecycle-v1g2mdy6.js} +30 -30
- package/dist/chunks/{file-retention-b8hpyb2b.js → location-lifecycle-v5d989bc.js} +13 -13
- package/dist/chunks/{file-retention-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-savsd166.js → location-lifecycle-vkbv809h.js} +57 -57
- package/dist/chunks/{file-retention-29yjzs39.js → location-lifecycle-vnfc2q6g.js} +32 -32
- package/dist/chunks/{file-retention-zfjgpsdd.js → location-lifecycle-vpwfjnrg.js} +24 -24
- package/dist/chunks/{file-retention-scw2ekxw.js → location-lifecycle-vv97ra8n.js} +11 -11
- package/dist/chunks/location-lifecycle-vyykgm21.js +252 -0
- package/dist/chunks/{file-retention-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-g58k0yz2.js → location-lifecycle-w1ahv8v5.js} +15 -15
- package/dist/chunks/{file-retention-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-g07zt90z.js → location-lifecycle-w73bfpmg.js} +32 -32
- package/dist/chunks/{file-retention-wd3x2cqz.js → location-lifecycle-wd3x2cqz.js} +2 -2
- package/dist/chunks/{file-retention-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-s9h1avrm.js → location-lifecycle-wg5yspwt.js} +21 -21
- package/dist/chunks/{file-retention-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-rg4p5e11.js → location-lifecycle-xvbd2t9n.js} +43 -43
- package/dist/chunks/{file-retention-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-gjy9kcm5.js → location-lifecycle-y2e1z292.js} +11 -11
- package/dist/chunks/{file-retention-68y7phbn.js → location-lifecycle-y5df08dr.js} +12 -12
- package/dist/chunks/{file-retention-dpkg50ah.js → location-lifecycle-y71avatq.js} +4 -4
- package/dist/chunks/{file-retention-h6kzzfz4.js → location-lifecycle-ybqc9gtf.js} +2 -2
- package/dist/chunks/{file-retention-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-cr07tj7n.js → location-lifecycle-yt0fqk68.js} +5 -5
- package/dist/chunks/{file-retention-z07pqspn.js → location-lifecycle-z07pqspn.js} +3 -3
- package/dist/chunks/{file-retention-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-y0mc46pw.js → location-lifecycle-z3nay82g.js} +9 -9
- package/dist/chunks/{file-retention-691kgrwj.js → location-lifecycle-z3vw9vry.js} +9 -9
- package/dist/chunks/{file-retention-vtbecytz.js → location-lifecycle-z9kjrvxh.js} +11 -11
- package/dist/chunks/{file-retention-sh5cyp0z.js → location-lifecycle-zbh9kwq1.js} +26 -26
- package/dist/chunks/{file-retention-3p2dz6q4.js → location-lifecycle-zcsvy2cz.js} +12 -12
- package/dist/chunks/{file-retention-zeh9ct20.js → location-lifecycle-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-0vdkq15g.js → location-lifecycle-zfkp2819.js} +1 -1
- package/dist/chunks/{file-retention-rqdsjm6x.js → location-lifecycle-zn78egd2.js} +32 -32
- package/dist/chunks/{file-retention-zm2y9yb3.js → location-lifecycle-zpzacb1g.js} +7 -7
- package/dist/chunks/{file-retention-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-4kr5mqj0.js → location-lifecycle-zypmjmgb.js} +27 -27
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +3 -3
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +78 -78
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-retention-1x11rq2a.js +0 -18
- package/dist/chunks/file-retention-4egeceed.js +0 -507
- package/dist/chunks/file-retention-6kdq0pjd.js +0 -4
- package/dist/chunks/file-retention-fes7pmbs.js +0 -252
- package/dist/chunks/file-retention-s958vy2b.js +0 -26
- /package/dist/chunks/{file-retention-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → location-lifecycle-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → location-lifecycle-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → location-lifecycle-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-lifecycle-3r61ngk9.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./location-lifecycle-tfkjwah6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service61,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node64
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service61 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service61.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node64 = makeLocationNode({ service: Service61, layer, deps: [node86, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service61, node64, exports_rpc, define2 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./file-retention-7sk5kyxr.js";
|
|
5
1
|
import {
|
|
6
2
|
Service82,
|
|
7
3
|
node86
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-3r61ngk9.js";
|
|
5
|
+
import {
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./location-lifecycle-y5df08dr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./location-lifecycle-tfkjwah6.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-4v7qdvcn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service71,
|
|
18
|
+
node75
|
|
19
|
+
} from "./location-lifecycle-6z9mwsmt.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node22
|
|
22
|
+
} from "./location-lifecycle-p1x0rczn.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node14
|
|
26
|
+
} from "./location-lifecycle-cwa6csj7.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service11,
|
|
36
|
+
node: () => node13
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service71;
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service11.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node13 = makeLocationNode({
|
|
106
|
+
service: Service11,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node75, FSUtil.node, node83, node85, node86, node22, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service11, node13, exports_location_watcher2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-jaay1cxn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-lifecycle-1hb2dmf7.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-45zdvm0r.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service70;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID12.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./location-lifecycle-3r61ngk9.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./location-lifecycle-d8mt368w.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./location-lifecycle-tfkjwah6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service52,
|
|
19
|
+
node54
|
|
20
|
+
} from "./location-lifecycle-350m4c2t.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID16,
|
|
23
|
+
Service78,
|
|
24
|
+
node82
|
|
25
|
+
} from "./location-lifecycle-6phrjhr6.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-lifecycle-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID14,
|
|
32
32
|
MethodID2,
|
|
33
33
|
Service76,
|
|
34
34
|
node80
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-lifecycle-tyq5db9e.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-lifecycle-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: () => NotFoundError5,
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service31,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer12,
|
|
58
|
+
node: () => node34
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
74
74
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
75
75
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
78
78
|
server: ServerName2
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service31 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
104
|
+
var layer12 = (options) => Layer.effect(Service31, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service79;
|
|
106
|
+
const environment = yield* Service52;
|
|
107
|
+
const bus = yield* Service82;
|
|
108
|
+
const forms = yield* Service78;
|
|
109
109
|
const integration = yield* Service76;
|
|
110
|
-
const credentials = yield*
|
|
110
|
+
const credentials = yield* Service77;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -135,7 +135,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -144,19 +144,19 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
144
144
|
const name = ServerName2.make(server);
|
|
145
145
|
const entry = entries.get(name);
|
|
146
146
|
if (!entry)
|
|
147
|
-
return yield* new
|
|
147
|
+
return yield* new NotFoundError5({ server: name });
|
|
148
148
|
return { name, entry };
|
|
149
149
|
});
|
|
150
150
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID16.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
const load = 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(
|
|
262
|
+
const load = 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(Service52, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -410,7 +410,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
410
410
|
}),
|
|
411
411
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
412
412
|
});
|
|
413
|
-
return
|
|
413
|
+
return Service31.of({
|
|
414
414
|
transform: state.transform,
|
|
415
415
|
reload: state.reload,
|
|
416
416
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured4(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
|
-
service:
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
521
|
+
service: Service31,
|
|
522
|
+
layer: layer12(options),
|
|
523
|
+
deps: [node83, node54, node86, node82, node80, node81]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var
|
|
526
|
+
var node34 = configured4();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service31, Options4, layer12, configured4, node34, exports_mcp4 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-lifecycle-trzcm3tj.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
@@ -12,22 +12,22 @@ __export(exports_location, {
|
|
|
12
12
|
Info: () => Info32,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service79,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node83,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service79 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node83 = LayerNode.unbound(Service79, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service80;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service79.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service79,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export { Info32, Ref4, response2,
|
|
43
|
+
export { Info32, Ref4, response2, Service79, node83, boundNode2, exports_location };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-12y94dz0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-lifecycle-3r61ngk9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./location-lifecycle-d8mt368w.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-tyq5db9e.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-lifecycle-qarqz51c.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service82;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -227,7 +227,7 @@ var OpenAIPlugin3 = define({
|
|
|
227
227
|
evt.headers["session-id"] = evt.sessionID;
|
|
228
228
|
}), { providerID: ID13.openai });
|
|
229
229
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
230
|
-
yield* bus.subscribe(
|
|
230
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
function headers(contentType, app) {
|