@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,29 +1,29 @@
|
|
|
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
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-lifecycle-qarqz51c.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-lifecycle-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-lifecycle-45zdvm0r.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,7 +45,7 @@ var AzurePlugin2 = define({
|
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
46
|
const configured = yield* configuredSettings2(ID13.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
|
-
const bus = yield*
|
|
48
|
+
const bus = yield* Service82;
|
|
49
49
|
const tokens = new Map;
|
|
50
50
|
const loading = Semaphore.makeUnsafe(1);
|
|
51
51
|
const loaded = {};
|
|
@@ -161,7 +161,7 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
166
|
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-s8j6jbjj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info19
|
|
9
|
+
} from "./location-lifecycle-1y1z8jnb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info22
|
|
12
|
+
} from "./location-lifecycle-ag9w8cw1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info18
|
|
15
|
+
} from "./location-lifecycle-a2ew8a62.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info17
|
|
18
|
+
} from "./location-lifecycle-yt0fqk68.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-lifecycle-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info23
|
|
24
|
+
} from "./location-lifecycle-d1khqved.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info16
|
|
27
|
+
} from "./location-lifecycle-rm0ybym0.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-lifecycle-pxnzp80q.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info16.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info22, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info19, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info19, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info17, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info23, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service62,
|
|
3
|
+
node65,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-evjk3azk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service40,
|
|
8
|
+
node42
|
|
9
|
+
} from "./location-lifecycle-3ppptnan.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./location-lifecycle-71k1amkv.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-vyykgm21.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service62, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service60);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node42.replace(Layer.succeed(Service40, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node65.replace(Layer.succeed(Service62, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./location-lifecycle-tfkjwah6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service52
|
|
11
|
+
} from "./location-lifecycle-350m4c2t.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./location-lifecycle-w1ahv8v5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service19,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-qs1cbs9d.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service63
|
|
22
|
+
} from "./location-lifecycle-0httgp45.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service59,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-lifecycle-0pfhfkh4.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-lifecycle-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input3,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin3,
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name3 = "patch";
|
|
89
|
+
var Input3 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin3 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service52;
|
|
112
|
+
const access = yield* Service59;
|
|
113
|
+
const fileMutation = yield* Service19;
|
|
114
|
+
const formatter = yield* Service15;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service63;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin46 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -286,7 +286,7 @@ var Plugin46 = {
|
|
|
286
286
|
})
|
|
287
287
|
};
|
|
288
288
|
function errorMessage(error) {
|
|
289
|
-
if (error instanceof
|
|
289
|
+
if (error instanceof NotFound2)
|
|
290
290
|
return "file does not exist";
|
|
291
291
|
if (error instanceof WrongKind2)
|
|
292
292
|
return error.actual === "directory" ? "path is a directory" : `path is ${error.actual}`;
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name3, Input3, Applied2, Output3, toModelContent3, Plugin3, exports_patch };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service40,
|
|
10
|
+
node: () => node42
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service40 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node42 = LayerNode.unbound(Service40, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service40, node42, exports_service2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-lifecycle-48bssgwe.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service82,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node86,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service82 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service82,
|
|
84
|
+
deps: [node87],
|
|
85
|
+
layer: Layer.effect(Service82, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service83;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service82.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node86 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service82, configured12, node86, exports_bus };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
Service75
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-qarqz51c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./location-lifecycle-1hb2dmf7.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
12
|
const providers = yield* Service75;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service70);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-v04nak97.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-4y5qxd6p.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service83,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node87
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service83 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service83,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node87 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
|