@opencode/core 0.0.0-dev-21269 → 0.0.0-dev-21289
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{voice-hx6e907q.js → model-retry-02w8hjv9.js} +11 -11
- package/dist/chunks/{voice-krbeg2se.js → model-retry-0bw8y30e.js} +51 -51
- package/dist/chunks/{voice-tx938nqc.js → model-retry-0cbhyycw.js} +19 -19
- package/dist/chunks/{voice-9t0xmec0.js → model-retry-0svm4j11.js} +15 -15
- package/dist/chunks/{voice-0vbcp93d.js → model-retry-0vbcp93d.js} +2 -2
- package/dist/chunks/{voice-q8ra9vd5.js → model-retry-0wcqedam.js} +38 -38
- package/dist/chunks/{voice-52nydkw8.js → model-retry-120g7207.js} +2 -2
- package/dist/chunks/{voice-zaxy7ecx.js → model-retry-13xvemqm.js} +15 -15
- package/dist/chunks/{voice-zhc0v3qp.js → model-retry-197b73fz.js} +44 -44
- package/dist/chunks/{voice-yp2x3t23.js → model-retry-1acjjqhc.js} +4 -4
- package/dist/chunks/{voice-rkprpv83.js → model-retry-1p07q0wb.js} +4 -4
- package/dist/chunks/{voice-vvne4gav.js → model-retry-1pr61bwh.js} +22 -22
- package/dist/chunks/{voice-5kxj697y.js → model-retry-1th0nyd1.js} +23 -23
- package/dist/chunks/{voice-wp1wkg59.js → model-retry-1trs7s7z.js} +18 -18
- package/dist/chunks/{voice-baqyxak2.js → model-retry-1ze9gtzp.js} +4 -4
- package/dist/chunks/{voice-tt8gc4fv.js → model-retry-25yddszk.js} +3 -3
- package/dist/chunks/{voice-788azn8w.js → model-retry-27dhaw8v.js} +86 -163
- package/dist/chunks/{voice-e61cj48z.js → model-retry-2g47h04h.js} +29 -29
- package/dist/chunks/{voice-8jzsrpfh.js → model-retry-2k0hjz8m.js} +4 -4
- package/dist/chunks/{voice-c214aq79.js → model-retry-2xr9pws4.js} +10 -10
- package/dist/chunks/{voice-4qnvasr9.js → model-retry-315ef24x.js} +8 -8
- package/dist/chunks/model-retry-374yendz.js +26 -0
- package/dist/chunks/{voice-1e040kv3.js → model-retry-3dt4tzwg.js} +2 -2
- package/dist/chunks/{voice-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{voice-wdqr7xqq.js → model-retry-3hskxyfj.js} +16 -16
- package/dist/chunks/{voice-fmdmz72r.js → model-retry-3htr7rzc.js} +21 -21
- package/dist/chunks/{voice-3hwn7j4h.js → model-retry-3hwn7j4h.js} +2 -2
- package/dist/chunks/{voice-n1900k66.js → model-retry-3pw8htx8.js} +1 -1
- package/dist/chunks/{voice-3smtnn6g.js → model-retry-3smtnn6g.js} +1 -1
- package/dist/chunks/{voice-capghd97.js → model-retry-3tnvd6qs.js} +23 -23
- package/dist/chunks/{voice-3tvqynh2.js → model-retry-3tvqynh2.js} +1 -1
- package/dist/chunks/{voice-y6bex35g.js → model-retry-3y377wv9.js} +4 -4
- package/dist/chunks/{voice-3zsf4n22.js → model-retry-3zsf4n22.js} +1 -1
- package/dist/chunks/{voice-gm31ynds.js → model-retry-461nxmbv.js} +5 -5
- package/dist/chunks/{voice-q2sz1tra.js → model-retry-4dwf0nmp.js} +13 -13
- package/dist/chunks/{voice-zybbj8zn.js → model-retry-4n984778.js} +29 -29
- package/dist/chunks/{voice-93fzsdqz.js → model-retry-4ndyr8vy.js} +18 -18
- package/dist/chunks/{voice-n5feeqsd.js → model-retry-4psrcf1w.js} +4 -4
- package/dist/chunks/{voice-4ts41tr6.js → model-retry-4vk656gf.js} +11 -11
- package/dist/chunks/{voice-54ma36ye.js → model-retry-54ma36ye.js} +1 -1
- package/dist/chunks/{voice-drwq78ky.js → model-retry-57b9ws8p.js} +5 -5
- package/dist/chunks/{voice-x77x046w.js → model-retry-5c6h6vqc.js} +9 -9
- package/dist/chunks/{voice-ft66ww99.js → model-retry-5fxpne0w.js} +2 -2
- package/dist/chunks/{voice-hhe0v7zm.js → model-retry-5kzpfxft.js} +24 -24
- package/dist/chunks/{voice-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{voice-hyjay5vw.js → model-retry-5mrmcz26.js} +32 -32
- package/dist/chunks/{voice-e7faghhc.js → model-retry-5yx9a2ww.js} +11 -11
- package/dist/chunks/{voice-rka5c9pw.js → model-retry-5ze9zbmh.js} +17 -17
- package/dist/chunks/{voice-z5pvh795.js → model-retry-61pea42y.js} +8 -8
- package/dist/chunks/{voice-6n27b0t2.js → model-retry-67zw56js.js} +32 -32
- package/dist/chunks/{voice-6827pfxn.js → model-retry-6827pfxn.js} +1 -1
- package/dist/chunks/{voice-n5csmyza.js → model-retry-6vmd7p6h.js} +9 -9
- package/dist/chunks/{voice-6xb47vfp.js → model-retry-6xb47vfp.js} +1 -1
- package/dist/chunks/{voice-ym1asdg7.js → model-retry-6xsr5dks.js} +33 -33
- package/dist/chunks/{voice-cy3cg06b.js → model-retry-6xymw6hf.js} +17 -17
- package/dist/chunks/{voice-9cvx9cd3.js → model-retry-73wqhfdm.js} +9 -9
- package/dist/chunks/{voice-775gj3j1.js → model-retry-775gj3j1.js} +2 -2
- package/dist/chunks/{voice-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{voice-bmr56wjg.js → model-retry-7cx595n2.js} +9 -9
- package/dist/chunks/{voice-0jwsre1p.js → model-retry-7dqw4kz8.js} +5 -5
- package/dist/chunks/{voice-7wfv1tbf.js → model-retry-7etyqpkv.js} +7 -7
- package/dist/chunks/{voice-m0xs32yr.js → model-retry-7fccas0j.js} +36 -35
- package/dist/chunks/{voice-vpm8vpz0.js → model-retry-7jdsj2a9.js} +3 -3
- package/dist/chunks/{voice-6k23gnk2.js → model-retry-7kw0mv8e.js} +29 -29
- package/dist/chunks/{voice-55m81wnp.js → model-retry-7pg7e456.js} +12 -12
- package/dist/chunks/{voice-y32fbaee.js → model-retry-7sp0jpsz.js} +9 -9
- package/dist/chunks/{voice-a20pjse5.js → model-retry-7v6vae4w.js} +3 -3
- package/dist/chunks/{voice-84txncab.js → model-retry-84txncab.js} +1 -1
- package/dist/chunks/{voice-y3vys761.js → model-retry-87pge11c.js} +60 -60
- package/dist/chunks/{voice-166kng33.js → model-retry-892mrmp0.js} +8 -8
- package/dist/chunks/{voice-gsbrh5b6.js → model-retry-8h4b0cs1.js} +22 -22
- package/dist/chunks/{voice-8m6m0r52.js → model-retry-8m6m0r52.js} +1 -1
- package/dist/chunks/model-retry-8mywswrd.js +86 -0
- package/dist/chunks/{voice-0pdk8z67.js → model-retry-8npnpzra.js} +5 -5
- package/dist/chunks/{voice-46459d5e.js → model-retry-8yaq5rsp.js} +32 -34
- package/dist/chunks/{voice-adj2f2vn.js → model-retry-93x8jgcz.js} +36 -36
- package/dist/chunks/{voice-jm1jdg4g.js → model-retry-99wvww9h.js} +21 -21
- package/dist/chunks/{voice-ddsesdvm.js → model-retry-9amv0j2y.js} +17 -17
- package/dist/chunks/{voice-p37cw4rj.js → model-retry-9hn6k4tm.js} +8 -8
- package/dist/chunks/{voice-pcf1k9th.js → model-retry-9p4ckb4p.js} +6 -6
- package/dist/chunks/{voice-jpt0ksjm.js → model-retry-9pf7je19.js} +3 -3
- package/dist/chunks/model-retry-9yd845wg.js +517 -0
- package/dist/chunks/model-retry-9zdhvgqs.js +18 -0
- package/dist/chunks/{voice-xr64f026.js → model-retry-a1hr7aq8.js} +28 -29
- package/dist/chunks/{voice-8btm942h.js → model-retry-a5mx5mz2.js} +2 -2
- package/dist/chunks/{voice-15rr0twx.js → model-retry-an6q6vkd.js} +28 -28
- package/dist/chunks/{voice-t6vsspdg.js → model-retry-b27vhd2z.js} +7 -7
- package/dist/chunks/{voice-zf1d6pfw.js → model-retry-b2zbab51.js} +9 -9
- package/dist/chunks/{voice-fan8xm03.js → model-retry-b4ytdsdb.js} +11 -11
- package/dist/chunks/{voice-ktg7dnk2.js → model-retry-b724djfs.js} +23 -23
- package/dist/chunks/{voice-zygw1fg1.js → model-retry-bhey597w.js} +57 -42
- package/dist/chunks/{voice-t6p333e3.js → model-retry-bhk1rbmp.js} +30 -30
- package/dist/chunks/{voice-1ffvrpkg.js → model-retry-bjx1sjef.js} +6 -6
- package/dist/chunks/{voice-kj9vwc9j.js → model-retry-bkb01ez0.js} +41 -41
- package/dist/chunks/{voice-x4p01p4y.js → model-retry-bx29z6jj.js} +20 -20
- package/dist/chunks/{voice-g686f6pq.js → model-retry-bxqk5pf5.js} +9 -9
- package/dist/chunks/{voice-bzeyqsqd.js → model-retry-bzeyqsqd.js} +1 -1
- package/dist/chunks/{voice-c1fqxshp.js → model-retry-c1fqxshp.js} +3 -3
- package/dist/chunks/{voice-9at0pwnx.js → model-retry-c3z27sd6.js} +9 -9
- package/dist/chunks/{voice-jz94ppxa.js → model-retry-c4zg4w5q.js} +17 -17
- package/dist/chunks/{voice-3yvt2eyd.js → model-retry-c77dabg0.js} +13 -13
- package/dist/chunks/{voice-3px9zfj5.js → model-retry-cbrfz1mf.js} +29 -29
- package/dist/chunks/{voice-zxc5z6hb.js → model-retry-cccr210v.js} +35 -35
- package/dist/chunks/{voice-asgfpy10.js → model-retry-cm7k2cvd.js} +11 -11
- package/dist/chunks/{voice-a4rkzzpg.js → model-retry-cnn1wj5a.js} +24 -24
- package/dist/chunks/{voice-q8xm0c2j.js → model-retry-cv3t9aez.js} +9 -9
- package/dist/chunks/{voice-t55rwbc2.js → model-retry-dkpq1bsc.js} +18 -18
- package/dist/chunks/{voice-xybefm6f.js → model-retry-dvwsp6mb.js} +17 -13
- package/dist/chunks/{voice-w1zgsyjh.js → model-retry-dxqvx2bd.js} +28 -28
- package/dist/chunks/{voice-zc7as1na.js → model-retry-dxt0ht33.js} +24 -24
- package/dist/chunks/{voice-wfqe50e8.js → model-retry-e3jwh7ys.js} +4 -4
- package/dist/chunks/{voice-5qd3pb7m.js → model-retry-e3qxr5gk.js} +2 -2
- package/dist/chunks/{voice-kw7ww2k8.js → model-retry-e4m4ah41.js} +46 -46
- package/dist/chunks/{voice-egpmcp8a.js → model-retry-eaz4frst.js} +11 -11
- package/dist/chunks/{voice-8sc2nzy6.js → model-retry-ebs8qv75.js} +10 -10
- package/dist/chunks/{voice-80kf5cft.js → model-retry-eefqbebw.js} +23 -23
- package/dist/chunks/{voice-eej6y6fw.js → model-retry-eej6y6fw.js} +2 -2
- package/dist/chunks/{voice-g9mhys8g.js → model-retry-ef28kdsf.js} +11 -11
- package/dist/chunks/{voice-ef5x83kb.js → model-retry-ef5x83kb.js} +1 -1
- package/dist/chunks/{voice-a7t9gw66.js → model-retry-ekp1j1b5.js} +23 -23
- package/dist/chunks/{voice-zcrspsvn.js → model-retry-embw8kgh.js} +4 -4
- package/dist/chunks/{voice-fe7mjage.js → model-retry-enbzs98c.js} +15 -15
- package/dist/chunks/{voice-1k9hs225.js → model-retry-f1kd18ve.js} +4 -4
- package/dist/chunks/{voice-bc25zkma.js → model-retry-f5rb7yq3.js} +30 -30
- package/dist/chunks/{voice-p38fre57.js → model-retry-f82ss59t.js} +3 -3
- package/dist/chunks/{voice-3xsm4mrf.js → model-retry-fc3q91nw.js} +41 -41
- package/dist/chunks/{voice-fcy631f0.js → model-retry-fcy631f0.js} +1 -1
- package/dist/chunks/{voice-0jq9fyba.js → model-retry-fdms3n6w.js} +9 -9
- package/dist/chunks/{voice-jnsvnygx.js → model-retry-ffptefkn.js} +48 -48
- package/dist/chunks/{voice-4bnzbgn8.js → model-retry-fqqv62af.js} +21 -19
- package/dist/chunks/{voice-1bq62cry.js → model-retry-fqyqba4e.js} +14 -14
- package/dist/chunks/{voice-m0k7y5tq.js → model-retry-frsszzbj.js} +11 -11
- package/dist/chunks/{voice-cwa6csj7.js → model-retry-ft3hqk2c.js} +9 -9
- package/dist/chunks/{voice-1ffqw314.js → model-retry-ftfbzs9m.js} +21 -21
- package/dist/chunks/{voice-7mcgqaeh.js → model-retry-fw7x2wjw.js} +9 -9
- package/dist/chunks/{voice-a47cqtsz.js → model-retry-fwgra7yh.js} +8 -8
- package/dist/chunks/{voice-ay7h7ryq.js → model-retry-fx6hsjqx.js} +22 -22
- package/dist/chunks/{voice-0tgjh03h.js → model-retry-fxjva6qe.js} +3 -3
- package/dist/chunks/{voice-dqpnj7av.js → model-retry-g36mkr7n.js} +29 -29
- package/dist/chunks/{voice-fgn3zs1a.js → model-retry-gchapswt.js} +11 -11
- package/dist/chunks/{voice-3yfbedjd.js → model-retry-gcsxsjs6.js} +18 -18
- package/dist/chunks/{voice-gd4qta3r.js → model-retry-gd4qta3r.js} +1 -1
- package/dist/chunks/{voice-d1r5081s.js → model-retry-gebtr55s.js} +5 -5
- package/dist/chunks/{voice-xgyd6awb.js → model-retry-grv8yzns.js} +32 -32
- package/dist/chunks/{voice-3vnym5x3.js → model-retry-gx4mz6q7.js} +54 -54
- package/dist/chunks/{voice-w645cvh3.js → model-retry-gxfsy275.js} +1 -1
- package/dist/chunks/{voice-n52gxnde.js → model-retry-gysb7t93.js} +91 -94
- package/dist/chunks/{voice-z5wvy2zw.js → model-retry-h6n0e19c.js} +107 -107
- package/dist/chunks/{voice-h6vf3j39.js → model-retry-h6vf3j39.js} +1 -1
- package/dist/chunks/{voice-81rrwt6s.js → model-retry-h896pcm5.js} +6 -6
- package/dist/chunks/{voice-v5130x7e.js → model-retry-hadpnrkv.js} +27 -27
- package/dist/chunks/{voice-q303yhz1.js → model-retry-hc9hnsc9.js} +12 -12
- package/dist/chunks/{voice-y8m1m766.js → model-retry-heq5p5e1.js} +4 -4
- package/dist/chunks/{voice-hgz4x7wa.js → model-retry-hgz4x7wa.js} +1 -1
- package/dist/chunks/{voice-bekrfzrn.js → model-retry-hj389172.js} +1 -1
- package/dist/chunks/{voice-rxwwr6rj.js → model-retry-j8jw8bvb.js} +27 -27
- package/dist/chunks/{voice-yzh5znq2.js → model-retry-jcen6etv.js} +31 -31
- package/dist/chunks/{voice-bxaezv13.js → model-retry-jcjcjx0t.js} +12 -12
- package/dist/chunks/{voice-fy8g54x2.js → model-retry-jq37yr04.js} +9 -9
- package/dist/chunks/{voice-atsf9aqe.js → model-retry-jv6mm5r1.js} +11 -11
- package/dist/chunks/{voice-6dh1jvz0.js → model-retry-k2gfd0vj.js} +13 -13
- package/dist/chunks/{voice-h81g9n7s.js → model-retry-k6jeefta.js} +3 -3
- package/dist/chunks/{voice-hq3c8me3.js → model-retry-khmqacep.js} +4 -4
- package/dist/chunks/{voice-wh6zw745.js → model-retry-kjdm35cs.js} +5 -5
- package/dist/chunks/{voice-9ca4c2n8.js → model-retry-km5jseh3.js} +29 -27
- package/dist/chunks/{voice-5307c9aq.js → model-retry-ktbcyka7.js} +4 -4
- package/dist/chunks/{voice-pzta8gqa.js → model-retry-kvpdra3r.js} +27 -27
- package/dist/chunks/{voice-kwb1v3vj.js → model-retry-kwb1v3vj.js} +1 -1
- package/dist/chunks/{voice-m37876mr.js → model-retry-kzqw00rs.js} +16 -16
- package/dist/chunks/{voice-0stcbem0.js → model-retry-m0z9j2xs.js} +37 -37
- package/dist/chunks/{voice-m552b91p.js → model-retry-m3vs2jhj.js} +16 -16
- package/dist/chunks/{voice-7zjhs1nm.js → model-retry-m4gqpe3z.js} +17 -17
- package/dist/chunks/{voice-8k16pbxa.js → model-retry-m6pj9s11.js} +5 -5
- package/dist/chunks/{voice-htn8a1qv.js → model-retry-m9c6r0nn.js} +13 -13
- package/dist/chunks/{voice-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{voice-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
- package/dist/chunks/{voice-84pnh87n.js → model-retry-mcgfs8g2.js} +11 -11
- package/dist/chunks/{voice-7gksfrk6.js → model-retry-mhgn79e1.js} +48 -48
- package/dist/chunks/{voice-ydyb6qzy.js → model-retry-mq044fh7.js} +13 -13
- package/dist/chunks/{voice-bhkm1g5m.js → model-retry-n6sdcjf7.js} +29 -29
- package/dist/chunks/{voice-ps2j6rx6.js → model-retry-n8v5cbt0.js} +20 -20
- package/dist/chunks/{voice-rjmsaa2q.js → model-retry-nentvqe9.js} +24 -24
- package/dist/chunks/{voice-r2z489rp.js → model-retry-nma959mg.js} +3 -3
- package/dist/chunks/{voice-wt0mmhah.js → model-retry-npr0wz9t.js} +6 -6
- package/dist/chunks/{voice-h978070j.js → model-retry-nz56sr1f.js} +19 -22
- package/dist/chunks/{voice-3pr9cre2.js → model-retry-paykg90t.js} +32 -32
- package/dist/chunks/{voice-xw8v86tr.js → model-retry-pfzgmgqq.js} +30 -30
- package/dist/chunks/{voice-pjvnvgmy.js → model-retry-pjvnvgmy.js} +1 -1
- package/dist/chunks/{voice-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{voice-dbx1c2tg.js → model-retry-pm9cq2zg.js} +35 -35
- package/dist/chunks/{voice-skrw0pay.js → model-retry-pp4zh5st.js} +181 -181
- package/dist/chunks/{voice-vy68hshx.js → model-retry-pq9chy9c.js} +10 -10
- package/dist/chunks/{voice-1c85gy23.js → model-retry-prx1gbh0.js} +5 -5
- package/dist/chunks/{voice-fcy1mh1a.js → model-retry-q7gr6qfd.js} +32 -32
- package/dist/chunks/{voice-xn17cbv3.js → model-retry-q8wdfhzq.js} +12 -12
- package/dist/chunks/model-retry-qj8x2vxm.js +130 -0
- package/dist/chunks/{voice-70z88rjf.js → model-retry-qjch4pc3.js} +15 -15
- package/dist/chunks/{voice-qnc92qwc.js → model-retry-qnc92qwc.js} +1 -1
- package/dist/chunks/{voice-gj71zhbs.js → model-retry-qne3fa44.js} +5 -5
- package/dist/chunks/{voice-gchk0vkb.js → model-retry-qq7kxqk9.js} +48 -48
- package/dist/chunks/{voice-qsdy395h.js → model-retry-qsdy395h.js} +1 -1
- package/dist/chunks/{voice-wez1ajrw.js → model-retry-qt88z79s.js} +7 -7
- package/dist/chunks/{voice-2560qahv.js → model-retry-qv0gwb50.js} +25 -25
- package/dist/chunks/{voice-jgpthgfz.js → model-retry-qwemz3ha.js} +21 -21
- package/dist/chunks/{voice-4ymz7vr5.js → model-retry-r0ena7ce.js} +23 -23
- package/dist/chunks/{voice-rdw6cm16.js → model-retry-rdw6cm16.js} +1 -1
- package/dist/chunks/{voice-72sk51vb.js → model-retry-re80xzqk.js} +31 -31
- package/dist/chunks/{voice-rert0e01.js → model-retry-rert0e01.js} +2 -2
- package/dist/chunks/{voice-3gwj7c3a.js → model-retry-rf6pfzwp.js} +1 -1
- package/dist/chunks/{voice-s8d7rejh.js → model-retry-rhjbct0v.js} +4 -4
- package/dist/chunks/{voice-rj3eygr5.js → model-retry-rj3eygr5.js} +2 -2
- package/dist/chunks/{voice-0n7hx3s8.js → model-retry-rkmhvsr4.js} +30 -37
- package/dist/chunks/{voice-hn4xv43g.js → model-retry-rr55ymyq.js} +24 -24
- package/dist/chunks/{voice-1h2d0ke7.js → model-retry-rv11vn85.js} +11 -11
- package/dist/chunks/{voice-bft59c27.js → model-retry-ry6831an.js} +9 -9
- package/dist/chunks/{voice-x63dfm1w.js → model-retry-s0s52qkt.js} +15 -15
- package/dist/chunks/{voice-dxj1qz4d.js → model-retry-s3j5qb0t.js} +18 -18
- package/dist/chunks/{voice-291dyprt.js → model-retry-s56kzkqb.js} +24 -24
- package/dist/chunks/{voice-sa8ekw3f.js → model-retry-sa8ekw3f.js} +2 -2
- package/dist/chunks/{voice-yfqqfr07.js → model-retry-scbxxt86.js} +20 -20
- package/dist/chunks/{voice-7czk49a2.js → model-retry-sh9986p4.js} +15 -15
- package/dist/chunks/{voice-j8v25mck.js → model-retry-snxa7hz3.js} +5 -5
- package/dist/chunks/{voice-syv4x271.js → model-retry-syv4x271.js} +1 -1
- package/dist/chunks/{voice-dp558nrd.js → model-retry-sz6fjq3m.js} +5 -5
- package/dist/chunks/{voice-6h73966b.js → model-retry-t01qgdv4.js} +17 -17
- package/dist/chunks/{voice-9cb08eze.js → model-retry-t39p8j64.js} +13 -13
- package/dist/chunks/{voice-tazgh4e4.js → model-retry-tazgh4e4.js} +1 -1
- package/dist/chunks/{voice-tcezcvh9.js → model-retry-tcezcvh9.js} +1 -1
- package/dist/chunks/{voice-be82r499.js → model-retry-tcpq0y9r.js} +12 -12
- package/dist/chunks/{voice-tdstcens.js → model-retry-tdstcens.js} +1 -1
- package/dist/chunks/{voice-1nkzkq3r.js → model-retry-tebr7jg9.js} +12 -12
- package/dist/chunks/{voice-tm0kqsz3.js → model-retry-tm0kqsz3.js} +1 -1
- package/dist/chunks/{voice-07hyrh53.js → model-retry-tx0gtb9m.js} +9 -9
- package/dist/chunks/{voice-tyytaxap.js → model-retry-tyytaxap.js} +1 -1
- package/dist/chunks/{voice-9qee0jk3.js → model-retry-tz35mf6x.js} +8 -8
- package/dist/chunks/{voice-jc4mxe0h.js → model-retry-tz70ab5q.js} +28 -28
- package/dist/chunks/{voice-hnqavcr7.js → model-retry-v15gsnts.js} +50 -50
- package/dist/chunks/{voice-46aes8ch.js → model-retry-v7024ht3.js} +19 -22
- package/dist/chunks/{voice-v7p4zvkq.js → model-retry-v7p4zvkq.js} +2 -2
- package/dist/chunks/{voice-zy43x3f1.js → model-retry-v7z2bvyd.js} +4 -4
- package/dist/chunks/{voice-e0yy9ryt.js → model-retry-v8chhsy3.js} +14 -14
- package/dist/chunks/{voice-y8ng1a9s.js → model-retry-v91zw3m9.js} +14 -14
- package/dist/chunks/{voice-c62gkb3b.js → model-retry-vdetfpsp.js} +28 -28
- package/dist/chunks/{voice-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
- package/dist/chunks/{voice-18zsf568.js → model-retry-vjh35t9b.js} +13 -13
- package/dist/chunks/{voice-10q04s9m.js → model-retry-vjtn814f.js} +19 -19
- package/dist/chunks/{voice-y6mhz57t.js → model-retry-vkfdnwpx.js} +4 -4
- package/dist/chunks/{voice-vzs5sf6e.js → model-retry-vzs5sf6e.js} +1 -1
- package/dist/chunks/{voice-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{voice-83vj9qt0.js → model-retry-w3x15rym.js} +24 -24
- package/dist/chunks/{voice-pvr736zf.js → model-retry-wcgsvnj5.js} +8 -8
- package/dist/chunks/{voice-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{voice-gj46k6vd.js → model-retry-wj5d0sg5.js} +27 -27
- package/dist/chunks/{voice-dtmw6jvf.js → model-retry-wksg1me0.js} +23 -23
- package/dist/chunks/{voice-2rfqgm69.js → model-retry-wn3g4ypj.js} +28 -28
- package/dist/chunks/{voice-zd055dky.js → model-retry-wn671ba5.js} +78 -81
- package/dist/chunks/{voice-t6twestg.js → model-retry-wp3yb7k0.js} +11 -11
- package/dist/chunks/{voice-0d60ahdf.js → model-retry-wxrr62q2.js} +11 -11
- package/dist/chunks/{voice-e9s8nezm.js → model-retry-xagp7a1s.js} +18 -18
- package/dist/chunks/{voice-d10c0ppg.js → model-retry-xe38j9wy.js} +29 -30
- package/dist/chunks/{voice-401wxw87.js → model-retry-xhhxc1wd.js} +3 -3
- package/dist/chunks/{voice-rzk8bj82.js → model-retry-xjt2m7da.js} +6 -6
- package/dist/chunks/{voice-y1fvbwt7.js → model-retry-y1fvbwt7.js} +1 -1
- package/dist/chunks/{voice-1a5chre8.js → model-retry-y3qxx51z.js} +14 -14
- package/dist/chunks/{voice-y71avatq.js → model-retry-y71avatq.js} +1 -1
- package/dist/chunks/{voice-sz1e9eqn.js → model-retry-ydma693n.js} +19 -19
- package/dist/chunks/{voice-wcmg8ka2.js → model-retry-yg89wztc.js} +11 -11
- package/dist/chunks/{voice-99xay3p1.js → model-retry-yvvvp4gn.js} +8 -8
- package/dist/chunks/{voice-qwfhs2mm.js → model-retry-yxwmwsaj.js} +21 -21
- package/dist/chunks/{voice-2w7xd5ef.js → model-retry-yxx1qbg8.js} +6 -6
- package/dist/chunks/{voice-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
- package/dist/chunks/{voice-z18fegx4.js → model-retry-z18fegx4.js} +1 -1
- package/dist/chunks/{voice-ax36eyar.js → model-retry-z2qvtray.js} +6 -6
- package/dist/chunks/{voice-wmg4dxvw.js → model-retry-z3ammv4w.js} +17 -17
- package/dist/chunks/{voice-x0m4hwhr.js → model-retry-zdqemt2t.js} +13 -13
- package/dist/chunks/{voice-wch0f9f3.js → model-retry-zkkxzzm7.js} +18 -18
- package/dist/chunks/{voice-vzbxwz1d.js → model-retry-zqma82cw.js} +11 -11
- package/dist/chunks/{voice-zr2ceqn5.js → model-retry-zr2ceqn5.js} +1 -1
- package/dist/chunks/{voice-hen2h1me.js → model-retry-zsg3hbgq.js} +1 -1
- package/dist/chunks/model-retry-zw8e9rvj.js +257 -0
- package/dist/chunks/{voice-zxq2ej10.js → model-retry-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +86 -85
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +101 -101
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- 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 +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +123 -123
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +21 -15
- package/dist/session/inbox.js +93 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +89 -86
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +14 -0
- package/dist/session/revert.js +96 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +221 -226
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +205 -205
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/credential/sql.d.ts +0 -3
- package/dist/types/credential.d.ts +0 -3
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/session/history.d.ts +35 -888
- package/dist/types/session/recent-text.d.ts +11 -0
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -1
- package/dist/types/session/transfer.d.ts +5 -55
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/voice-1x11rq2a.js +0 -18
- package/dist/chunks/voice-a3ebqg5m.js +0 -95
- package/dist/chunks/voice-d2czbp48.js +0 -69
- package/dist/chunks/voice-pjjz4vyy.js +0 -517
- package/dist/chunks/voice-rhvdwwz1.js +0 -26
- package/dist/chunks/voice-zqbqn1p8.js +0 -257
- package/dist/session/provider-context.js +0 -20
- package/dist/types/session/provider-context.d.ts +0 -46
- /package/dist/chunks/{voice-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{voice-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{voice-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{voice-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{voice-1kg9ymc8.js → model-retry-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{voice-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{voice-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{voice-2axfhc9x.js → model-retry-2axfhc9x.js} +0 -0
- /package/dist/chunks/{voice-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
- /package/dist/chunks/{voice-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{voice-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{voice-3asan66x.js → model-retry-3asan66x.js} +0 -0
- /package/dist/chunks/{voice-3t0ybcrp.js → model-retry-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{voice-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{voice-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
- /package/dist/chunks/{voice-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{voice-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{voice-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{voice-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
- /package/dist/chunks/{voice-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{voice-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
- /package/dist/chunks/{voice-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{voice-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{voice-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{voice-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{voice-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{voice-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{voice-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{voice-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{voice-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{voice-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{voice-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{voice-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
- /package/dist/chunks/{voice-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
- /package/dist/chunks/{voice-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
- /package/dist/chunks/{voice-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{voice-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{voice-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{voice-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{voice-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{voice-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{voice-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{voice-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{voice-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
- /package/dist/chunks/{voice-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
- /package/dist/chunks/{voice-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{voice-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{voice-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{voice-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
- /package/dist/chunks/{voice-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{voice-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
- /package/dist/chunks/{voice-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{voice-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{voice-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{voice-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{voice-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{voice-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
- /package/dist/chunks/{voice-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{voice-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{voice-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{voice-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{voice-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{voice-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{voice-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{voice-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{voice-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{voice-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{voice-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
- /package/dist/chunks/{voice-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{voice-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{voice-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{voice-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{voice-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{voice-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{voice-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{voice-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{voice-pyv0edze.js → model-retry-pyv0edze.js} +0 -0
- /package/dist/chunks/{voice-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{voice-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{voice-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
- /package/dist/chunks/{voice-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{voice-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{voice-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{voice-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{voice-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{voice-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{voice-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{voice-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{voice-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{voice-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{voice-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{voice-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
- /package/dist/chunks/{voice-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{voice-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
- /package/dist/chunks/{voice-x61499pn.js → model-retry-x61499pn.js} +0 -0
- /package/dist/chunks/{voice-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{voice-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{voice-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{voice-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
- /package/dist/chunks/{voice-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{voice-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./model-retry-fqqv62af.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./model-retry-7fccas0j.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-3y377wv9.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-retry-eefqbebw.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event19,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID16,
|
|
41
|
+
Info: () => Info26,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
|
-
Ref: () =>
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
47
|
+
Ref: () => Ref4,
|
|
48
|
+
Service: () => Service80,
|
|
49
|
+
node: () => node84
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event19 } from "@opencode/schema/integration";
|
|
72
|
+
var ID16 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info26 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID16,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Ref4 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service80 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service82;
|
|
117
|
+
const bus = yield* Service83;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info26.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service80.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -505,7 +505,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
505
505
|
value: Key4.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
|
-
...Object.keys(answer).length > 0 ? {
|
|
508
|
+
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
509
509
|
})
|
|
510
510
|
});
|
|
511
511
|
}),
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node84 = makeLocationNode({
|
|
633
|
+
service: Service80,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node86, node87, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID16, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info26, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service80, node84, exports_integration, Event19 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./model-retry-fqqv62af.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service67,
|
|
6
|
+
Event15
|
|
7
|
+
} from "./model-retry-1th0nyd1.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin41,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin41 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service83;
|
|
24
|
+
const wellknown = yield* Service67;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin16 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin41, exports_plugin };
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SessionMessage2
|
|
3
|
+
} from "./model-retry-gftt206x.js";
|
|
4
|
+
import {
|
|
5
|
+
SessionSchema2
|
|
6
|
+
} from "./model-retry-7jdsj2a9.js";
|
|
7
|
+
import {
|
|
8
|
+
MessageDecodeError2
|
|
9
|
+
} from "./model-retry-yxx1qbg8.js";
|
|
10
|
+
import {
|
|
11
|
+
InitializationBlocked2,
|
|
12
|
+
read3
|
|
13
|
+
} from "./model-retry-rhjbct0v.js";
|
|
14
|
+
import {
|
|
15
|
+
SessionMessageTable2
|
|
16
|
+
} from "./model-retry-c1fqxshp.js";
|
|
17
|
+
import {
|
|
18
|
+
initial2,
|
|
19
|
+
preview3
|
|
20
|
+
} from "./model-retry-1ze9gtzp.js";
|
|
21
|
+
import {
|
|
22
|
+
messageToText2
|
|
23
|
+
} from "./model-retry-8mywswrd.js";
|
|
24
|
+
import {
|
|
25
|
+
__export
|
|
26
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
27
|
+
|
|
28
|
+
// src/session/history.ts
|
|
29
|
+
var exports_history = {};
|
|
30
|
+
__export(exports_history, {
|
|
31
|
+
NativeWindow: () => NativeWindow2,
|
|
32
|
+
SessionHistory: () => exports_history,
|
|
33
|
+
decodeMessageRow: () => decodeMessageRow2,
|
|
34
|
+
decodeMessageRowSync: () => decodeMessageRowSync2,
|
|
35
|
+
entriesForRunner: () => entriesForRunner2,
|
|
36
|
+
firstUserMessage: () => firstUserMessage2,
|
|
37
|
+
isNativeCompaction: () => isNativeCompaction2,
|
|
38
|
+
latestCompaction: () => latestCompaction2,
|
|
39
|
+
load: () => load4,
|
|
40
|
+
preview: () => preview2
|
|
41
|
+
});
|
|
42
|
+
import { and, asc, desc, eq, gte, lt, or, sql } from "drizzle-orm";
|
|
43
|
+
import { Message } from "@opencode/ai";
|
|
44
|
+
import { Effect, Option, Schema } from "effect";
|
|
45
|
+
import { SessionLegacy } from "@opencode/schema/session-legacy";
|
|
46
|
+
var decode = Schema.decodeUnknownEffect(SessionMessage2.Info);
|
|
47
|
+
var decodeSync = Schema.decodeUnknownSync(SessionMessage2.Info);
|
|
48
|
+
var isNativeCompaction2 = (message) => message.type === "compaction" && message.status === "completed" && message.native?.messages !== undefined;
|
|
49
|
+
var NativeWindow2 = Schema.toCodecJson(Schema.Array(Message));
|
|
50
|
+
var decodesWindow = (messages) => Option.isSome(Schema.decodeUnknownOption(NativeWindow2)(messages));
|
|
51
|
+
var replayable = (message, boundary) => !isNativeCompaction2(message) || boundary === "latest" || boundary !== "local" && message.model?.providerID === boundary.providerID && message.model.id === boundary.id && decodesWindow(message.native.messages);
|
|
52
|
+
var latestCompaction2 = Effect.fnUntraced(function* (db, sessionID, boundary, before) {
|
|
53
|
+
return yield* db.select({ seq: SessionMessageTable2.seq }).from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, sessionID), eq(SessionMessageTable2.type, "compaction"), sql`json_extract(${SessionMessageTable2.data}, '$.status') = 'completed'`, before === undefined ? undefined : lt(SessionMessageTable2.seq, before), boundary === "latest" ? undefined : or(sql`coalesce(json_extract(${SessionMessageTable2.data}, '$.native.messages'), json_extract(${SessionMessageTable2.data}, '$.providerContext')) is null`, boundary === "local" ? undefined : and(sql`json_extract(${SessionMessageTable2.data}, '$.model.providerID') = ${boundary.providerID}`, sql`json_extract(${SessionMessageTable2.data}, '$.model.id') = ${boundary.id}`)))).orderBy(desc(SessionMessageTable2.seq)).limit(1).get().pipe(Effect.orDie);
|
|
54
|
+
});
|
|
55
|
+
var rowInput = (row) => ({
|
|
56
|
+
...SessionLegacy.message(row.type, row.data),
|
|
57
|
+
id: row.id,
|
|
58
|
+
type: row.type
|
|
59
|
+
});
|
|
60
|
+
var decodeMessageRowSync2 = (row) => decodeSync(rowInput(row));
|
|
61
|
+
var decodeMessageRow2 = (row) => decode(rowInput(row)).pipe(Effect.mapError(() => new MessageDecodeError2({
|
|
62
|
+
sessionID: SessionSchema2.ID.make(row.session_id),
|
|
63
|
+
messageID: SessionMessage2.ID.make(row.id)
|
|
64
|
+
})));
|
|
65
|
+
var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary, before) {
|
|
66
|
+
const compaction = yield* latestCompaction2(db, sessionID, boundary, before);
|
|
67
|
+
const rows = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, sessionID), compaction ? gte(SessionMessageTable2.seq, compaction.seq) : undefined)).orderBy(asc(SessionMessageTable2.seq)).all().pipe(Effect.orDie);
|
|
68
|
+
const decoded = yield* Effect.forEach(rows, (row) => decodeMessageRow2(row).pipe(Effect.map((message) => ({ seq: row.seq, message }))));
|
|
69
|
+
const start = decoded[0];
|
|
70
|
+
if (compaction && start && !replayable(start.message, boundary))
|
|
71
|
+
return yield* messageEntries(db, sessionID, boundary, compaction.seq);
|
|
72
|
+
const entries = compaction ? yield* withRecentText(db, sessionID, decoded) : decoded;
|
|
73
|
+
const native = entries.findLast((entry) => isNativeCompaction2(entry.message));
|
|
74
|
+
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
75
|
+
});
|
|
76
|
+
var withRecentText = Effect.fnUntraced(function* (db, sessionID, entries) {
|
|
77
|
+
const first = entries[0];
|
|
78
|
+
const compaction = first?.message;
|
|
79
|
+
if (compaction?.type !== "compaction" || compaction.status !== "completed")
|
|
80
|
+
return entries;
|
|
81
|
+
const keepID = compaction.metadata?.keepID;
|
|
82
|
+
if (typeof keepID !== "string")
|
|
83
|
+
return entries;
|
|
84
|
+
const start = yield* db.select({ seq: SessionMessageTable2.seq }).from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, sessionID), eq(SessionMessageTable2.id, SessionMessage2.ID.make(keepID)))).get().pipe(Effect.orDie);
|
|
85
|
+
if (!start)
|
|
86
|
+
return entries;
|
|
87
|
+
const rows = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, sessionID), gte(SessionMessageTable2.seq, start.seq), lt(SessionMessageTable2.seq, first.seq))).orderBy(asc(SessionMessageTable2.seq)).all().pipe(Effect.orDie);
|
|
88
|
+
const kept = yield* Effect.forEach(rows, decodeMessageRow2);
|
|
89
|
+
const recent = kept.map(messageToText2).filter(Boolean).join(`
|
|
90
|
+
|
|
91
|
+
`);
|
|
92
|
+
return [{ ...first, message: { ...compaction, metadata: { ...compaction.metadata, recent } } }, ...entries.slice(1)];
|
|
93
|
+
});
|
|
94
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
95
|
+
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
96
|
+
});
|
|
97
|
+
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
98
|
+
return yield* db.transaction(() => Effect.gen(function* () {
|
|
99
|
+
const messages = yield* messageEntries(db, sessionID, boundary);
|
|
100
|
+
return {
|
|
101
|
+
initial: yield* initial2(db, sessionID, instructions),
|
|
102
|
+
entries: messages
|
|
103
|
+
};
|
|
104
|
+
})).pipe(Effect.orDie);
|
|
105
|
+
});
|
|
106
|
+
var preview2 = Effect.fn("SessionHistory.preview")(function* (db, sessionID, instructions, boundary) {
|
|
107
|
+
const observed = yield* read3(instructions);
|
|
108
|
+
return yield* db.transaction(() => Effect.gen(function* () {
|
|
109
|
+
const messages = yield* messageEntries(db, sessionID, boundary);
|
|
110
|
+
const unsettled = messages.findIndex((entry) => entry.message.type === "assistant" && entry.message.time.completed === undefined);
|
|
111
|
+
const settled = unsettled === -1 ? messages : messages.slice(0, unsettled);
|
|
112
|
+
const assembled = yield* preview3(db, sessionID, instructions, observed);
|
|
113
|
+
return {
|
|
114
|
+
initial: assembled.initial,
|
|
115
|
+
messages: settled.map((entry) => entry.message),
|
|
116
|
+
instructionUpdate: assembled.update
|
|
117
|
+
};
|
|
118
|
+
})).pipe(Effect.catch((error) => error instanceof InitializationBlocked2 ? error : Effect.die(error)));
|
|
119
|
+
});
|
|
120
|
+
var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (db, sessionID) {
|
|
121
|
+
const row = yield* db.select().from(SessionMessageTable2).where(and(eq(SessionMessageTable2.session_id, sessionID), eq(SessionMessageTable2.type, "user"))).orderBy(asc(SessionMessageTable2.seq)).get().pipe(Effect.orDie);
|
|
122
|
+
if (!row)
|
|
123
|
+
return;
|
|
124
|
+
const message = yield* decodeMessageRow2(row).pipe(Effect.orElseSucceed(() => {
|
|
125
|
+
return;
|
|
126
|
+
}));
|
|
127
|
+
return message?.type === "user" ? message : undefined;
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
export { isNativeCompaction2, NativeWindow2, latestCompaction2, decodeMessageRowSync2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./model-retry-6xymw6hf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./model-retry-qq7kxqk9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service16
|
|
12
|
+
} from "./model-retry-99wvww9h.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin24
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin24 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service65;
|
|
34
|
+
const location = yield* Service76;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service16;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin39 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin24, exports_worktree };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info17 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info10 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info17, exports_provider2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./model-retry-fqqv62af.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event21,
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./model-retry-7fccas0j.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service66,
|
|
12
|
+
node70
|
|
13
|
+
} from "./model-retry-8h4b0cs1.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node80
|
|
20
|
+
} from "./model-retry-6xymw6hf.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-retry-kwb1v3vj.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-retry-xagp7a1s.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-retry-sz6fjq3m.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-6827pfxn.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service67,
|
|
37
|
+
Event15,
|
|
38
|
+
node71
|
|
39
|
+
} from "./model-retry-1th0nyd1.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options8,
|
|
49
|
+
Service: () => Service65,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured10,
|
|
52
52
|
latest: () => latest2,
|
|
53
53
|
layer: () => layer23,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node69,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options8 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -76,7 +76,7 @@ var Options5 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service65 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
94
94
|
setEntries: (next) => Ref.set(entries, next),
|
|
95
95
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
96
96
|
});
|
|
97
|
-
return Context.empty().pipe(Context.add(
|
|
97
|
+
return Context.empty().pipe(Context.add(Service65, service), Context.add(Test2, service));
|
|
98
98
|
}));
|
|
99
|
-
var layer23 = (options) => Layer.effect(
|
|
99
|
+
var layer23 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const watcher = yield*
|
|
103
|
-
const bus = yield*
|
|
104
|
-
const credentials = yield*
|
|
101
|
+
const location = yield* Service76;
|
|
102
|
+
const watcher = yield* Service66;
|
|
103
|
+
const bus = yield* Service83;
|
|
104
|
+
const credentials = yield* Service82;
|
|
105
105
|
const globalService = yield* Global.Service;
|
|
106
|
-
const wellknown = yield*
|
|
106
|
+
const wellknown = yield* Service67;
|
|
107
107
|
const processes = yield* AppProcess.Service;
|
|
108
108
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
109
109
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -254,8 +254,8 @@ var layer23 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
254
254
|
}, (effect) => reloadLock.withPermit(effect));
|
|
255
255
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
256
256
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
-
yield* bus.subscribe(
|
|
258
|
-
yield* bus.subscribe(
|
|
257
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
259
259
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
260
260
|
if (!wellknown.snapshot().length)
|
|
261
261
|
return Effect.void;
|
|
@@ -283,7 +283,7 @@ var layer23 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
283
283
|
`);
|
|
284
284
|
yield* requestReload;
|
|
285
285
|
}, (effect) => updateLock.withPermit(effect));
|
|
286
|
-
return
|
|
286
|
+
return Service65.of({
|
|
287
287
|
entries: Effect.fnUntraced(function* () {
|
|
288
288
|
return configs;
|
|
289
289
|
}),
|
|
@@ -295,22 +295,22 @@ var layer23 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
295
295
|
update
|
|
296
296
|
});
|
|
297
297
|
}));
|
|
298
|
-
function
|
|
298
|
+
function configured10(options) {
|
|
299
299
|
return makeLocationNode({
|
|
300
|
-
service:
|
|
300
|
+
service: Service65,
|
|
301
301
|
layer: layer23(options),
|
|
302
302
|
deps: [
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
node70,
|
|
304
|
+
node87,
|
|
305
305
|
FSUtil.node,
|
|
306
306
|
Global.node,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
node80,
|
|
308
|
+
node86,
|
|
309
|
+
node71,
|
|
310
310
|
AppProcess.node
|
|
311
311
|
]
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var node69 = configured10();
|
|
315
315
|
|
|
316
|
-
export { latest2,
|
|
316
|
+
export { latest2, Options8, Service65, Test2, testLayer2, layer23, configured10, node69, exports_config };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-retry-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|