@opencode/core 0.0.0-dev-20303 → 0.0.0-dev-20307
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{ripgrep-0996nyz8.js → config-0jq9fyba.js} +9 -9
- package/dist/chunks/{ripgrep-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-zexvq6re.js → config-0q3s84gs.js} +35 -35
- package/dist/chunks/{ripgrep-q13923st.js → config-0t7zfrp0.js} +2 -2
- package/dist/chunks/{ripgrep-pqcvfzvm.js → config-0tny3c9f.js} +27 -27
- package/dist/chunks/{ripgrep-dc0h2f5m.js → config-0vd4engx.js} +10 -10
- package/dist/chunks/{ripgrep-4nj6keg1.js → config-0w59s7c2.js} +18 -18
- package/dist/chunks/{ripgrep-pf2cvmpq.js → config-0x3pdc3s.js} +67 -67
- package/dist/chunks/{ripgrep-2xqghjp6.js → config-12xz87kv.js} +3 -3
- package/dist/chunks/{ripgrep-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-srep0201.js → config-1jz99jwb.js} +48 -48
- package/dist/chunks/{ripgrep-2qtr0tge.js → config-1mddym19.js} +49 -49
- package/dist/chunks/{ripgrep-f6ejcacf.js → config-1rzg8cx3.js} +34 -34
- package/dist/chunks/{ripgrep-1nkg8qc4.js → config-1sf86jmj.js} +12 -12
- package/dist/chunks/{ripgrep-1ygqh575.js → config-1ygqh575.js} +2 -2
- package/dist/chunks/{ripgrep-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-febda8v4.js → config-25be0864.js} +17 -17
- package/dist/chunks/{ripgrep-ff3zzamp.js → config-269darmg.js} +40 -40
- package/dist/chunks/{ripgrep-7y05g5y6.js → config-292wsk96.js} +5 -5
- package/dist/chunks/{ripgrep-5vqak28j.js → config-29t9s0qq.js} +15 -15
- package/dist/chunks/{ripgrep-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-1jd7dvgb.js → config-2d52yt7h.js} +17 -17
- package/dist/chunks/{ripgrep-8q7cq0y1.js → config-2f04pwep.js} +3 -3
- package/dist/chunks/{ripgrep-9gjvwznx.js → config-2fa7a2cb.js} +25 -25
- package/dist/chunks/{ripgrep-ay7z0nzh.js → config-2hbvw9vv.js} +10 -10
- package/dist/chunks/{ripgrep-djszqvmq.js → config-2sejkfem.js} +9 -9
- package/dist/chunks/{ripgrep-ab4nhn8b.js → config-2shgxpvs.js} +6 -6
- package/dist/chunks/{ripgrep-fq5zwzwv.js → config-2sz29cz1.js} +29 -29
- package/dist/chunks/{ripgrep-zxf6vy87.js → config-2vpry5jy.js} +15 -15
- package/dist/chunks/{ripgrep-cztphjx7.js → config-32775zb7.js} +327 -327
- package/dist/chunks/{ripgrep-0b5t2wwf.js → config-3d257yh9.js} +9 -9
- package/dist/chunks/{ripgrep-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{ripgrep-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-qbv4sgsg.js → config-3jgxhq06.js} +44 -44
- package/dist/chunks/{ripgrep-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-h93zm1px.js → config-3xvfcnst.js} +7 -7
- package/dist/chunks/{ripgrep-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-fbxnn3zg.js → config-422899az.js} +39 -39
- package/dist/chunks/{ripgrep-8wbxkt1z.js → config-44ak30pa.js} +4 -4
- package/dist/chunks/{ripgrep-6ejtffh2.js → config-45trpagw.js} +21 -21
- package/dist/chunks/{ripgrep-e65wgfyf.js → config-46119t3w.js} +13 -13
- package/dist/chunks/{ripgrep-q6kv5hce.js → config-4dzbwv5q.js} +32 -32
- package/dist/chunks/{ripgrep-ttpyk6f9.js → config-4kd7e6ys.js} +9 -9
- package/dist/chunks/{ripgrep-eqd5gpxy.js → config-4kmetaym.js} +44 -44
- package/dist/chunks/{ripgrep-31wx1wqg.js → config-4n7khwcq.js} +32 -29
- package/dist/chunks/{ripgrep-kb6vbnxp.js → config-4wwqnvbr.js} +4 -4
- package/dist/chunks/{ripgrep-dtyy8xh0.js → config-4xh623zh.js} +26 -26
- package/dist/chunks/{ripgrep-bgxcxs0p.js → config-510m7gjw.js} +5 -5
- package/dist/chunks/{ripgrep-54ma36ye.js → config-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-57ez7d0k.js → config-57ez7d0k.js} +2 -2
- package/dist/chunks/{ripgrep-e0rfdckv.js → config-59akn9cc.js} +17 -17
- package/dist/chunks/{ripgrep-bm4pzggq.js → config-5cwfczjf.js} +32 -32
- package/dist/chunks/{ripgrep-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-amjwwp15.js → config-5fn2wwsq.js} +20 -20
- package/dist/chunks/{ripgrep-r9w59ptg.js → config-5mvwrzry.js} +25 -25
- package/dist/chunks/{ripgrep-552s6kfz.js → config-5n0kyfxb.js} +15 -15
- package/dist/chunks/{ripgrep-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-y1cgxa56.js → config-5t7tt675.js} +13 -13
- package/dist/chunks/{ripgrep-gvrdb957.js → config-5xvskv7y.js} +11 -11
- package/dist/chunks/{ripgrep-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-v89pjvzk.js → config-6jcmgf9k.js} +8 -8
- package/dist/chunks/{ripgrep-6ne0j7pm.js → config-6jrp8t3j.js} +11 -11
- package/dist/chunks/{ripgrep-632bft3r.js → config-6k72yjme.js} +19 -19
- package/dist/chunks/{ripgrep-qa3v0gpg.js → config-6km63wvd.js} +24 -24
- package/dist/chunks/{ripgrep-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-rkprpv83.js → config-6pc27hjz.js} +6 -6
- package/dist/chunks/{ripgrep-bhzbay2t.js → config-6tdhfkhk.js} +5 -5
- package/dist/chunks/{ripgrep-dr2s0fjn.js → config-75jb4kyn.js} +12 -12
- package/dist/chunks/{ripgrep-je856w56.js → config-77m06x4p.js} +11 -11
- package/dist/chunks/{ripgrep-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-7dqw4kz8.js → config-7dqw4kz8.js} +1 -1
- package/dist/chunks/{ripgrep-74a0hazz.js → config-7jtbgzxh.js} +11 -11
- package/dist/chunks/{ripgrep-zn4xb62a.js → config-7t1gf4xk.js} +20 -20
- package/dist/chunks/{ripgrep-5hcrxyky.js → config-7xv45gyt.js} +6 -6
- package/dist/chunks/{ripgrep-sj415v3s.js → config-87m1q7ht.js} +10 -10
- package/dist/chunks/{ripgrep-d8s5zaak.js → config-89392nta.js} +18 -18
- package/dist/chunks/{ripgrep-5gxtf2ep.js → config-8d0exfkm.js} +24 -24
- package/dist/chunks/{ripgrep-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-ttqh24zm.js → config-8gxqpgph.js} +4 -4
- package/dist/chunks/{ripgrep-v5fx191f.js → config-8hj0xwzd.js} +30 -30
- package/dist/chunks/{ripgrep-w2y23yj1.js → config-8rrryrvw.js} +13 -13
- package/dist/chunks/{ripgrep-yxj4ckh3.js → config-90jdj94b.js} +22 -22
- package/dist/chunks/{ripgrep-rkdvqggb.js → config-92azg307.js} +5 -5
- package/dist/chunks/{ripgrep-94ek1h2f.js → config-94ek1h2f.js} +2 -2
- package/dist/chunks/{ripgrep-dvs6zpk2.js → config-95y9ape3.js} +41 -41
- package/dist/chunks/{ripgrep-0j9j0cr0.js → config-9bmgxnfb.js} +23 -23
- package/dist/chunks/{ripgrep-qcbzzkxa.js → config-9mkjfjeb.js} +32 -32
- package/dist/chunks/config-9sh4wc5j.js +18 -0
- package/dist/chunks/{ripgrep-pmg28md7.js → config-9z9ew9nd.js} +1 -1
- package/dist/chunks/{ripgrep-rnk4bdv4.js → config-a0ex1whv.js} +21 -21
- package/dist/chunks/{ripgrep-ts8814z6.js → config-a8qx80kp.js} +19 -19
- package/dist/chunks/{ripgrep-7j2mf0b2.js → config-aa6e1bxm.js} +28 -28
- package/dist/chunks/{ripgrep-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-3y377wv9.js → config-addxnjmp.js} +4 -4
- package/dist/chunks/{ripgrep-gmfetzq4.js → config-arjb37bx.js} +45 -37
- package/dist/chunks/{ripgrep-ngymw408.js → config-asnp7hhc.js} +4 -4
- package/dist/chunks/{ripgrep-zrc0yy2v.js → config-b164etxs.js} +27 -27
- package/dist/chunks/{ripgrep-3kkw8qnw.js → config-b1gf7dz2.js} +24 -24
- package/dist/chunks/{ripgrep-v5dkyp31.js → config-b27vhd2z.js} +4 -4
- package/dist/chunks/{ripgrep-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-m74y7a9x.js → config-b9hntxh7.js} +14 -14
- package/dist/chunks/{ripgrep-92z2dgw1.js → config-ba9gehx5.js} +3 -3
- package/dist/chunks/{ripgrep-k8e0krnc.js → config-bdqrk2vk.js} +8 -8
- package/dist/chunks/{ripgrep-mtf32xg9.js → config-bhemr9wh.js} +11 -11
- package/dist/chunks/{ripgrep-8djhgsab.js → config-bnvytdy7.js} +16 -16
- package/dist/chunks/{ripgrep-ag1tg3gv.js → config-byf60vcv.js} +33 -33
- package/dist/chunks/{ripgrep-pxvtywqb.js → config-c6t9gnna.js} +6 -6
- package/dist/chunks/{ripgrep-ws6q902r.js → config-ca9g9rqk.js} +5 -5
- package/dist/chunks/{ripgrep-jkfm4w29.js → config-ce44v4st.js} +28 -28
- package/dist/chunks/{ripgrep-ckecvw8r.js → config-ckecvw8r.js} +2 -2
- package/dist/chunks/{ripgrep-n50qm4s2.js → config-cswq075c.js} +58 -58
- package/dist/chunks/{ripgrep-nhvjymvq.js → config-d2kdndyg.js} +22 -22
- package/dist/chunks/{ripgrep-kcetpk2c.js → config-d7syg0tc.js} +12 -12
- package/dist/chunks/{ripgrep-1m0xqqrr.js → config-d7wsq8bv.js} +11 -11
- package/dist/chunks/{ripgrep-eefdys5x.js → config-dah29an0.js} +4 -4
- package/dist/chunks/{ripgrep-nsth5a41.js → config-dc965nrq.js} +31 -31
- package/dist/chunks/{ripgrep-xkntkrq7.js → config-dmqcgk4z.js} +5 -5
- package/dist/chunks/{ripgrep-3c4e9bh1.js → config-dmqymbqv.js} +7 -7
- package/dist/chunks/{ripgrep-qrgme6ew.js → config-dr8yj0jr.js} +6 -6
- package/dist/chunks/{ripgrep-drwq78ky.js → config-drwq78ky.js} +1 -1
- package/dist/chunks/{ripgrep-q26n4fcx.js → config-dzjeaeqz.js} +14 -14
- package/dist/chunks/{ripgrep-ytbta4pq.js → config-e1n7rw9f.js} +4 -4
- package/dist/chunks/{ripgrep-0f9afca0.js → config-ead3g9p8.js} +5 -5
- package/dist/chunks/{ripgrep-t550f9t1.js → config-eaj1djv9.js} +8 -8
- package/dist/chunks/{ripgrep-jpz1sap8.js → config-ebp6b9tv.js} +14 -14
- package/dist/chunks/{ripgrep-ecfe7b91.js → config-ecfe7b91.js} +2 -2
- package/dist/chunks/{ripgrep-e4dzh796.js → config-eemsvzwm.js} +9 -9
- package/dist/chunks/{ripgrep-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-deajr4zv.js → config-efjjk5dx.js} +11 -11
- package/dist/chunks/{ripgrep-73tb2d7t.js → config-eq1pz5kg.js} +3 -3
- package/dist/chunks/{ripgrep-1d3bftpa.js → config-eq9h0d5y.js} +8 -8
- package/dist/chunks/{ripgrep-hzxzc04q.js → config-eqht9cbe.js} +29 -29
- package/dist/chunks/{ripgrep-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-2pdg46mn.js → config-f1vyadhg.js} +14 -14
- package/dist/chunks/{ripgrep-q1v5hekz.js → config-few7m4w4.js} +11 -11
- package/dist/chunks/{ripgrep-mjpfq375.js → config-ff2d7thw.js} +25 -25
- package/dist/chunks/{ripgrep-yyksnw28.js → config-fj4h7adg.js} +28 -28
- package/dist/chunks/{ripgrep-zrq8kphx.js → config-fqtvmpfq.js} +8 -8
- package/dist/chunks/{ripgrep-35agz59w.js → config-fvanntqq.js} +5 -5
- package/dist/chunks/{ripgrep-d9wxm2fe.js → config-g31nq6sa.js} +8 -8
- package/dist/chunks/{ripgrep-kb333kjr.js → config-g8z1d8m7.js} +7 -7
- package/dist/chunks/{ripgrep-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-wybk36vp.js → config-ghxng14m.js} +10 -10
- package/dist/chunks/{ripgrep-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-nqfwyc43.js → config-gvw0fbgk.js} +8 -8
- package/dist/chunks/{ripgrep-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-v6695139.js → config-h78069mn.js} +11 -11
- package/dist/chunks/{ripgrep-sd5f6jdk.js → config-h896pcm5.js} +6 -6
- package/dist/chunks/{ripgrep-s5hrj64x.js → config-h8rda941.js} +23 -23
- package/dist/chunks/{ripgrep-fp2xarvc.js → config-hekxc47r.js} +1 -1
- package/dist/chunks/{ripgrep-ckr8yqr6.js → config-hnw0gg26.js} +5 -5
- package/dist/chunks/{ripgrep-4k5pyaj2.js → config-hzc9ca78.js} +10 -10
- package/dist/chunks/{ripgrep-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-jr0j7mve.js → config-jf3khhe6.js} +6 -6
- package/dist/chunks/{ripgrep-whp3wsjn.js → config-jge473sv.js} +11 -11
- package/dist/chunks/{ripgrep-fk34k8b0.js → config-jha2wz63.js} +77 -77
- package/dist/chunks/{ripgrep-qx1x9vga.js → config-jhp1ybt8.js} +22 -22
- package/dist/chunks/{ripgrep-f7xy0jcj.js → config-jhser3r8.js} +12 -12
- package/dist/chunks/{ripgrep-3v1h8cz5.js → config-jnj9g4r4.js} +48 -48
- package/dist/chunks/{ripgrep-szsbf3na.js → config-jq6r9rxs.js} +4 -4
- package/dist/chunks/{ripgrep-pttkx1dj.js → config-jwhtpyzr.js} +27 -27
- package/dist/chunks/{ripgrep-h2r7bbkd.js → config-k0gdq8ga.js} +8 -8
- package/dist/chunks/{ripgrep-k3c624dm.js → config-k3c624dm.js} +3 -3
- package/dist/chunks/config-k8cz98np.js +252 -0
- package/dist/chunks/{ripgrep-h3whq8hs.js → config-kcsm1vfq.js} +7 -7
- package/dist/chunks/{ripgrep-9x50181g.js → config-kgw42yf8.js} +12 -12
- package/dist/chunks/{ripgrep-a2tjj438.js → config-kwwj852z.js} +79 -79
- package/dist/chunks/{ripgrep-k40x70x4.js → config-m10m16yg.js} +8 -8
- package/dist/chunks/{ripgrep-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-tk70hm4f.js → config-mekq1jxg.js} +31 -31
- package/dist/chunks/{ripgrep-4858gwxg.js → config-mjrszqca.js} +35 -35
- package/dist/chunks/{ripgrep-yhc2xmq5.js → config-mt9yrtbx.js} +1 -1
- package/dist/chunks/{ripgrep-jzq9sbf8.js → config-mxp0vfn9.js} +37 -37
- package/dist/chunks/{ripgrep-p97ze781.js → config-n10xprsy.js} +20 -20
- package/dist/chunks/{ripgrep-fj137pk4.js → config-n8zm2rh5.js} +4 -4
- package/dist/chunks/{ripgrep-pvvafe22.js → config-nbbwaq1x.js} +10 -10
- package/dist/chunks/{ripgrep-mwyh8wfh.js → config-nej22d74.js} +26 -26
- package/dist/chunks/{ripgrep-m2d0j7c0.js → config-nq7qbqzc.js} +9 -9
- package/dist/chunks/{ripgrep-rk6ps10a.js → config-nzsvss4e.js} +5 -5
- package/dist/chunks/{ripgrep-zgfpqdce.js → config-p0317zjm.js} +54 -54
- package/dist/chunks/{ripgrep-v9htzwy6.js → config-p27bdzt8.js} +39 -39
- package/dist/chunks/{ripgrep-pa8pe2x7.js → config-p37cw4rj.js} +8 -8
- package/dist/chunks/{ripgrep-dq3vednk.js → config-p67888xt.js} +15 -15
- package/dist/chunks/{ripgrep-c35597j6.js → config-p6wxjpka.js} +4 -4
- package/dist/chunks/{ripgrep-zd5925e4.js → config-pd37k1mn.js} +10 -10
- package/dist/chunks/{ripgrep-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-vncycja5.js → config-pmr4s4kc.js} +4 -4
- package/dist/chunks/{ripgrep-b1k697tw.js → config-pq8y9jyn.js} +9 -9
- package/dist/chunks/{ripgrep-wpzekwss.js → config-q0mntv84.js} +6 -6
- package/dist/chunks/{ripgrep-t849abxh.js → config-q2gm30vq.js} +11 -10
- package/dist/chunks/{ripgrep-8jsvkn40.js → config-q3pdm90z.js} +29 -29
- package/dist/chunks/{ripgrep-tdmq7741.js → config-q67st9n4.js} +38 -38
- package/dist/chunks/{ripgrep-4gr8y5nf.js → config-q7e6fk49.js} +25 -25
- package/dist/chunks/{ripgrep-d450k981.js → config-q8n9d2sh.js} +8 -8
- package/dist/chunks/{ripgrep-nn5bpfje.js → config-qehv365y.js} +9 -9
- package/dist/chunks/{ripgrep-8epfg41c.js → config-qexff29z.js} +6 -6
- package/dist/chunks/{ripgrep-sfpzfcnw.js → config-qgdgv7hk.js} +3 -3
- package/dist/chunks/{ripgrep-jw80jp6b.js → config-qj8eh1ht.js} +4 -4
- package/dist/chunks/{ripgrep-n0gf5ey7.js → config-qnv5e02b.js} +22 -22
- package/dist/chunks/{ripgrep-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-hbyhqfhs.js → config-qsr9synt.js} +5 -5
- package/dist/chunks/{ripgrep-pnh2hy2c.js → config-qwb4tgp6.js} +23 -23
- package/dist/chunks/{ripgrep-r7nsrefv.js → config-r3q6pmcz.js} +6 -6
- package/dist/chunks/{ripgrep-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-x591492r.js → config-s5cnhrvf.js} +15 -15
- package/dist/chunks/{ripgrep-5frpvc34.js → config-s8610hey.js} +2 -2
- package/dist/chunks/{ripgrep-zbzhtaz8.js → config-s8avne91.js} +25 -25
- package/dist/chunks/{ripgrep-4pdcrpe9.js → config-s8fxn872.js} +13 -13
- package/dist/chunks/{ripgrep-18qa6r1n.js → config-sa09mgdh.js} +16 -16
- package/dist/chunks/{ripgrep-2x0wkexj.js → config-sk4te5ak.js} +27 -27
- package/dist/chunks/config-sv1g477j.js +26 -0
- package/dist/chunks/{ripgrep-bahgfxtd.js → config-sve1nj7a.js} +33 -33
- package/dist/chunks/{ripgrep-aa6tf4fy.js → config-syj77zjw.js} +22 -22
- package/dist/chunks/{ripgrep-dj9sq318.js → config-t0fxg8b9.js} +5 -5
- package/dist/chunks/{ripgrep-d21fb1vq.js → config-t9b158gy.js} +13 -13
- package/dist/chunks/{ripgrep-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-89znhe33.js → config-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-ycg97etn.js → config-tk3wdx18.js} +174 -174
- package/dist/chunks/{ripgrep-2t95j9c0.js → config-tq32sg09.js} +25 -25
- package/dist/chunks/{ripgrep-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-qwhsc8p7.js → config-twx3wtca.js} +18 -18
- package/dist/chunks/{ripgrep-cx34d9wd.js → config-v8fkb6at.js} +11 -11
- package/dist/chunks/{ripgrep-tjedn1bk.js → config-vbfgae2j.js} +4 -4
- package/dist/chunks/{ripgrep-xvp1j2dc.js → config-vd7rzxqf.js} +5 -5
- package/dist/chunks/{ripgrep-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-kmjdna7m.js → config-vk0rzmvc.js} +50 -50
- package/dist/chunks/{ripgrep-00bkszwx.js → config-vwpf3yy2.js} +23 -23
- package/dist/chunks/{ripgrep-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-w1eejvng.js → config-w1eejvng.js} +1 -1
- package/dist/chunks/{ripgrep-3skt28fc.js → config-w3c417zp.js} +3 -3
- package/dist/chunks/{ripgrep-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-zwet3d57.js → config-w7qq5tsb.js} +22 -22
- package/dist/chunks/{ripgrep-wd3x2cqz.js → config-wd3x2cqz.js} +2 -2
- package/dist/chunks/{ripgrep-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-x7xnx0we.js → config-wf79szkf.js} +22 -22
- package/dist/chunks/{ripgrep-37m9xwpn.js → config-wgbxdxnn.js} +26 -26
- package/dist/chunks/{ripgrep-695yb3ne.js → config-wkvewthv.js} +22 -22
- package/dist/chunks/{ripgrep-zmyzpzwz.js → config-ws9abje0.js} +5 -5
- package/dist/chunks/{ripgrep-8vxvqh3p.js → config-wzwsskye.js} +20 -20
- package/dist/chunks/{ripgrep-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-qzqedjgs.js → config-xfcb1x2f.js} +21 -21
- package/dist/chunks/{ripgrep-m4v4sst7.js → config-xks95tas.js} +23 -23
- package/dist/chunks/{ripgrep-9tn9hv36.js → config-xpkwndmr.js} +33 -33
- package/dist/chunks/{ripgrep-bea85hdf.js → config-xvgtn10j.js} +3 -3
- package/dist/chunks/{ripgrep-n1ka8r9d.js → config-xwm6bryg.js} +4 -4
- package/dist/chunks/{ripgrep-bs1d3dhn.js → config-y0ghwd9k.js} +3 -3
- package/dist/chunks/{ripgrep-px76j0pk.js → config-y0mc46pw.js} +9 -9
- package/dist/chunks/{ripgrep-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-xsbrecyh.js → config-y5df08dr.js} +12 -12
- package/dist/chunks/{ripgrep-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{ripgrep-q9m9wzt0.js → config-y8q9ap8c.js} +19 -19
- package/dist/chunks/{ripgrep-k06t1zgt.js → config-y9a1hj5c.js} +11 -11
- package/dist/chunks/{ripgrep-k1qrnqst.js → config-yf10kn3d.js} +8 -8
- package/dist/chunks/{ripgrep-qfchpyts.js → config-yfcxk4hn.js} +25 -25
- package/dist/chunks/{ripgrep-w8wd44rg.js → config-yhd4mc25.js} +22 -22
- package/dist/chunks/{ripgrep-8gy77n4q.js → config-yk4jbxhg.js} +12 -12
- package/dist/chunks/{ripgrep-yp2x3t23.js → config-yp2x3t23.js} +1 -1
- package/dist/chunks/{ripgrep-j726xjcb.js → config-yp2zyt9e.js} +32 -32
- package/dist/chunks/{ripgrep-0ahrpcjw.js → config-ypxgwkzp.js} +14 -14
- package/dist/chunks/{ripgrep-3p17jnne.js → config-yqsrqvmh.js} +14 -14
- package/dist/chunks/{ripgrep-3es9bxre.js → config-yr1ytw2x.js} +17 -17
- package/dist/chunks/{ripgrep-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-0939078r.js → config-yttf4vyv.js} +3 -3
- package/dist/chunks/{ripgrep-n3fk10xz.js → config-yvpx9whs.js} +32 -32
- package/dist/chunks/{ripgrep-sm965ndy.js → config-yvvvp4gn.js} +8 -8
- package/dist/chunks/{ripgrep-z1t4ccqy.js → config-z04bxrmy.js} +11 -11
- package/dist/chunks/{ripgrep-z07pqspn.js → config-z07pqspn.js} +3 -3
- package/dist/chunks/{ripgrep-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-4438m4a7.js → config-z349dkze.js} +17 -17
- package/dist/chunks/{ripgrep-jtkxxjqx.js → config-z3xax5j7.js} +18 -18
- package/dist/chunks/{ripgrep-j6rk38x8.js → config-z3zp24an.js} +6 -6
- package/dist/chunks/{ripgrep-z63w68vq.js → config-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-8qxm69fb.js → config-z75a89z7.js} +19 -19
- package/dist/chunks/{ripgrep-rthtq9ap.js → config-z8pd6906.js} +28 -28
- package/dist/chunks/{ripgrep-w1ad28wa.js → config-ze5v0a14.js} +8 -8
- package/dist/chunks/{ripgrep-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-wj1rks9h.js → config-zz0c306v.js} +28 -28
- package/dist/chunks/{ripgrep-r2rgjgj7.js → config-zz3bkaqy.js} +32 -32
- 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 +77 -77
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- 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 +124 -124
- 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 +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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/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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- 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 +103 -103
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- 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 +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +99 -99
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- 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 +95 -95
- 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 +79 -79
- 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 +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- 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 +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- 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/verbosity.js +93 -93
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +87 -87
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +149 -149
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- 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 +4 -4
- package/dist/session/runner/step.js +126 -126
- 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 +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- 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 +16 -16
- package/dist/types/credential.d.ts +6 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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/ripgrep-38phvaps.js +0 -252
- package/dist/chunks/ripgrep-9zdhvgqs.js +0 -18
- package/dist/chunks/ripgrep-pwr21gwd.js +0 -26
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-34c7v6d4.js → config-34c7v6d4.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → config-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service58,
|
|
6
|
+
node60
|
|
7
|
+
} from "./config-6km63wvd.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service20,
|
|
17
|
+
node: () => node22,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service20 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service58;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service20.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node22 = makeLocationNode({ service: Service20, layer, deps: [node60] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service20, readText2, syncTextBom2, node22, exports_file_mutation };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-12xz87kv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./config-d7syg0tc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service50
|
|
9
|
+
} from "./config-h896pcm5.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-z3zp24an.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service75
|
|
29
|
+
} from "./config-b9hntxh7.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service51
|
|
34
|
+
} from "./config-2fa7a2cb.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service48
|
|
37
|
+
} from "./config-mxp0vfn9.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./config-sa09mgdh.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./config-vwpf3yy2.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./config-4kd7e6ys.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./config-qehv365y.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./config-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -63,18 +63,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
-
const bus = yield*
|
|
66
|
+
const bus = yield* Service82;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service75;
|
|
69
|
+
const instances = yield* Service50;
|
|
70
|
+
const execution = yield* Service48;
|
|
71
|
+
const admission = yield* Service51;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError10({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service50, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service50, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service50, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service84, database), Effect.provideService(Service82, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service82, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./config-h896pcm5.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./config-vk0rzmvc.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service50;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./config-d7syg0tc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node68
|
|
7
|
+
} from "./config-syj77zjw.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service9,
|
|
10
|
+
node11
|
|
11
|
+
} from "./config-yfcxk4hn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service32
|
|
14
|
+
} from "./config-9sh4wc5j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node25,
|
|
17
17
|
ID3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-5fn2wwsq.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service4,
|
|
21
|
+
node5
|
|
22
|
+
} from "./config-p37cw4rj.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-32775zb7.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make3,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-gvw0fbgk.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service2,
|
|
35
|
+
node3
|
|
36
|
+
} from "./config-s8fxn872.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service3,
|
|
39
|
+
node4
|
|
40
|
+
} from "./config-0jq9fyba.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer3,
|
|
50
|
+
node: () => node2
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
pending: [...pending]
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
var
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
134
|
-
const bus = yield*
|
|
135
|
-
const updates = yield*
|
|
128
|
+
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
+
const registry = yield* Service32;
|
|
130
|
+
const sdk = yield* Service2;
|
|
131
|
+
const instance = yield* Service4;
|
|
132
|
+
const sources = yield* Service9;
|
|
133
|
+
const modules = yield* make3();
|
|
134
|
+
const bus = yield* Service82;
|
|
135
|
+
const updates = yield* Service3;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
210
|
+
node25,
|
|
211
|
+
node3,
|
|
212
|
+
node5,
|
|
213
|
+
node11,
|
|
214
|
+
node4,
|
|
215
|
+
node86,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node68,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export {
|
|
227
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-bhemr9wh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./config-d7syg0tc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID10,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event16,
|
|
11
|
+
Service70
|
|
12
|
+
} from "./config-arjb37bx.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID9,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-sve1nj7a.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID8,
|
|
22
22
|
mergeOverlay2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-0q3s84gs.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID7,
|
|
26
26
|
VariantID2,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info21
|
|
28
|
+
} from "./config-byf60vcv.js";
|
|
29
29
|
import {
|
|
30
30
|
success2,
|
|
31
31
|
error2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./config-pjvnvgmy.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/chatgpt.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -41,8 +41,8 @@ var issuer = "https://auth.openai.com";
|
|
|
41
41
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
42
42
|
var resource = "https://api.openai.com/v1";
|
|
43
43
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
44
|
-
var providerID =
|
|
45
|
-
var integrationID =
|
|
44
|
+
var providerID = ID8.openai;
|
|
45
|
+
var integrationID = ID9.make("openai");
|
|
46
46
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
47
47
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
48
48
|
var fallbackModels = new Set([
|
|
@@ -59,11 +59,12 @@ var fallbackModels = new Set([
|
|
|
59
59
|
]);
|
|
60
60
|
var nonRetryableSharingCodes = [
|
|
61
61
|
"subscription_sharing_usage_limit_exceeded",
|
|
62
|
-
"
|
|
62
|
+
"subscription_sharing_user_not_eligible",
|
|
63
63
|
"subscription_sharing_unsupported_capability",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
64
|
+
"subscription_sharing_route_not_supported",
|
|
65
|
+
"subscription_sharing_invalid_user",
|
|
66
|
+
"chatpass_v2_scope_not_authorized",
|
|
67
|
+
"chatpass_v2_invalid_authorization_context"
|
|
67
68
|
];
|
|
68
69
|
var RemoteModel = Schema.Struct({
|
|
69
70
|
slug: Schema.String,
|
|
@@ -136,7 +137,9 @@ var signIn = (app, savedClientID, storage) => ({
|
|
|
136
137
|
const result = yield* Deferred.await(received);
|
|
137
138
|
const respond = (error) => Effect.sync(() => result.response.writeHead(error ? 400 : 200, { "Content-Type": "text/html" }).end(error ? error2(error, { provider: "ChatGPT" }) : success2({ provider: "ChatGPT" })));
|
|
138
139
|
return yield* Effect.gen(function* () {
|
|
139
|
-
|
|
140
|
+
if (savedID && result.clientID && result.clientID !== savedID)
|
|
141
|
+
return yield* Effect.fail(new Error("ChatGPT returned a different client than this connection. Connect again."));
|
|
142
|
+
const clientID = savedID ?? result.clientID;
|
|
140
143
|
if (!clientID)
|
|
141
144
|
return yield* Effect.fail(new Error("ChatGPT sign-in did not return a client ID. Connect again."));
|
|
142
145
|
const tokens = yield* exchange(result.code, clientID, redirect, pkce, app);
|
|
@@ -168,8 +171,8 @@ function listen(server) {
|
|
|
168
171
|
var ChatGPTPlugin2 = define({
|
|
169
172
|
id: "opencode.provider.chatgpt",
|
|
170
173
|
effect: Effect.fn(function* (ctx) {
|
|
171
|
-
const bus = yield*
|
|
172
|
-
const credentials = yield*
|
|
174
|
+
const bus = yield* Service82;
|
|
175
|
+
const credentials = yield* Service70;
|
|
173
176
|
const loading = Semaphore.makeUnsafe(1);
|
|
174
177
|
let chatgpt;
|
|
175
178
|
let available;
|
|
@@ -191,7 +194,7 @@ var ChatGPTPlugin2 = define({
|
|
|
191
194
|
yield* ctx.integration.transform((editor) => {
|
|
192
195
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
193
196
|
});
|
|
194
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
197
|
+
yield* Effect.forEach(yield* credentials.list(ID9.make("openai")), (entry) => {
|
|
195
198
|
const value = entry.value;
|
|
196
199
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
197
200
|
return Effect.void;
|
|
@@ -256,7 +259,7 @@ var ChatGPTPlugin2 = define({
|
|
|
256
259
|
});
|
|
257
260
|
const refreshModels = Effect.fn("ChatGPTPlugin.refreshModels")(function* () {
|
|
258
261
|
const connection = source;
|
|
259
|
-
const credential = connection?.type === "credential" ? (yield* credentials.get(
|
|
262
|
+
const credential = connection?.type === "credential" ? (yield* credentials.get(ID10.make(connection.id)))?.value : undefined;
|
|
260
263
|
if (credential?.type !== "oauth" || credential.methodID !== methodID || credential.expires <= Date.now() + 60000)
|
|
261
264
|
return;
|
|
262
265
|
const metadata = Option.getOrUndefined(decodeMetadata(credential.metadata));
|
|
@@ -276,7 +279,7 @@ var ChatGPTPlugin2 = define({
|
|
|
276
279
|
}));
|
|
277
280
|
});
|
|
278
281
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload()))).pipe(Effect.andThen(refreshModels().pipe(Effect.forkScoped, Effect.asVoid)));
|
|
279
|
-
yield* bus.subscribe(
|
|
282
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
280
283
|
yield* refreshModels().pipe(Effect.forkScoped);
|
|
281
284
|
yield* Effect.sleep(Duration.minutes(15)).pipe(Effect.andThen(refreshModels), Effect.forever, Effect.forkScoped);
|
|
282
285
|
})
|
|
@@ -335,7 +338,7 @@ function deriveModels2(remote, existing) {
|
|
|
335
338
|
const found = byID.get(model.modelID);
|
|
336
339
|
return found ? [deriveModel(found, model)] : [];
|
|
337
340
|
}),
|
|
338
|
-
...remote.filter((model) => !known.has(
|
|
341
|
+
...remote.filter((model) => !known.has(ID7.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID8.openai, ID7.make(model.slug))))
|
|
339
342
|
];
|
|
340
343
|
}
|
|
341
344
|
function deriveModel(remote, previous) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin21,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin21 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin45 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin21, exports_opencode };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-12xz87kv.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node62
|
|
12
|
+
} from "./config-r3q6pmcz.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID5,
|
|
25
|
+
Info: () => Info9,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service59,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured7,
|
|
30
|
+
node: () => node61
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID5 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info9 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID5,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info30 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID5,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service59 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured7 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service59,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node62]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info9({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service59.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID5.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node61 = configured7();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID5, Info9, NotFound3, CreateConflict2, Service59, configured7, node61, exports_workspace };
|