@opencode/core 0.0.0-dev-19963 → 0.0.0-dev-19965
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{git-ex3p6n8c.js → project-058vq2j8.js} +11 -11
- package/dist/chunks/{git-s8d7rejh.js → project-0gdmqesm.js} +4 -4
- package/dist/chunks/{git-jfp1bkdw.js → project-0hrvvet0.js} +8 -8
- package/dist/chunks/{git-4snk6ghz.js → project-0jr93kkc.js} +8 -8
- package/dist/chunks/{git-1vqc4ctf.js → project-0merdtq6.js} +50 -50
- package/dist/chunks/project-0mesazry.js +4 -0
- package/dist/chunks/{git-svc4hy3t.js → project-0p4jx4fd.js} +14 -14
- package/dist/chunks/{git-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-0q0f95c6.js → project-0q0f95c6.js} +1 -1
- package/dist/chunks/{git-dmp6f7nw.js → project-15tf48hp.js} +25 -25
- package/dist/chunks/{git-rh3sb4f2.js → project-18wzm834.js} +17 -17
- package/dist/chunks/{git-rsz70btv.js → project-1c8prt5q.js} +10 -10
- package/dist/chunks/{git-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-ratrq7cm.js → project-1g7epwpd.js} +7 -7
- package/dist/chunks/{git-y1r3txym.js → project-1gcs78sm.js} +29 -29
- package/dist/chunks/{git-3qrd9h0m.js → project-1gd24jtv.js} +11 -11
- package/dist/chunks/{git-pngkqepv.js → project-1y7t7sgp.js} +19 -19
- package/dist/chunks/{git-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{git-6ersrjne.js → project-23pqda6t.js} +6 -6
- package/dist/chunks/{git-z1j1f49y.js → project-25sb2q89.js} +5 -5
- package/dist/chunks/{git-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-gq6j0wd7.js → project-2c50a4hz.js} +28 -28
- package/dist/chunks/{git-7abb9s9f.js → project-2chytzzm.js} +37 -37
- package/dist/chunks/{git-xwrsj031.js → project-2czxbyyd.js} +2 -2
- package/dist/chunks/{git-c765mh8b.js → project-2mq1h16s.js} +9 -9
- package/dist/chunks/{git-vesgbrs2.js → project-2r1f3161.js} +27 -27
- package/dist/chunks/{git-wrpan8g3.js → project-2x7jzfgr.js} +3 -3
- package/dist/chunks/{git-9f7rj4wk.js → project-2zcxjm8w.js} +20 -20
- package/dist/chunks/{git-j7ym9e45.js → project-3bxd3j1q.js} +6 -6
- package/dist/chunks/{git-dkfy5fvc.js → project-3de7jp1p.js} +17 -17
- package/dist/chunks/{git-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-395shjnb.js → project-3fr8ss9f.js} +9 -9
- package/dist/chunks/{git-4dc88x86.js → project-3g9mhmkp.js} +3 -3
- package/dist/chunks/{git-hsmp49ac.js → project-3gjyge2f.js} +14 -14
- package/dist/chunks/{git-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-05qtraqy.js → project-3ky9txt0.js} +17 -17
- package/dist/chunks/{git-2wb8zz4b.js → project-3rsgnsmd.js} +17 -17
- package/dist/chunks/{git-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-zy4qa08p.js → project-3wdv6d8m.js} +17 -17
- package/dist/chunks/{git-6y16pf8d.js → project-3xwvqmwq.js} +49 -49
- package/dist/chunks/{git-0k83jycd.js → project-3yh9ny3q.js} +325 -325
- package/dist/chunks/{git-ys00f8er.js → project-3z627z5z.js} +10 -10
- package/dist/chunks/{git-1bzc8wjz.js → project-40xgcexb.js} +4 -4
- package/dist/chunks/{git-h6r3nrb9.js → project-44h5tttr.js} +4 -4
- package/dist/chunks/{git-5v69qryj.js → project-46459e7q.js} +15 -15
- package/dist/chunks/{git-qpexc320.js → project-4n60pb9e.js} +5 -5
- package/dist/chunks/{git-3g6bmfcx.js → project-4s4ptdqs.js} +20 -20
- package/dist/chunks/{git-yvhxgmze.js → project-4y1rcddj.js} +22 -22
- package/dist/chunks/{git-r81nh1e1.js → project-52setmep.js} +23 -23
- package/dist/chunks/{git-1ygqh575.js → project-56gdpj1q.js} +9 -9
- package/dist/chunks/{git-57ez7d0k.js → project-57ez7d0k.js} +2 -2
- package/dist/chunks/{git-pq1c5pk5.js → project-5bsxggaw.js} +9 -9
- package/dist/chunks/{git-ka2w09r2.js → project-5c4s9rra.js} +16 -16
- package/dist/chunks/{git-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{git-cb4m6qbq.js → project-5dgn1ybc.js} +9 -9
- package/dist/chunks/{git-8ryk0bb9.js → project-5e15319b.js} +5 -5
- package/dist/chunks/{git-az72c4w6.js → project-5m7mkkpv.js} +37 -37
- package/dist/chunks/{git-xnmnj1k6.js → project-5qbx7kyj.js} +4 -4
- package/dist/chunks/{git-286es1k3.js → project-5r1a4zz1.js} +7 -7
- package/dist/chunks/{git-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-21pvqfky.js → project-5ykpya4c.js} +24 -24
- package/dist/chunks/{git-7dqw4kz8.js → project-607tc6va.js} +5 -5
- package/dist/chunks/{git-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{git-cwhqb0pk.js → project-66qpnbfn.js} +25 -25
- package/dist/chunks/{git-mg83pbjr.js → project-6d6xcght.js} +8 -8
- package/dist/chunks/{git-635s8sdc.js → project-6d7xp62b.js} +18 -18
- package/dist/chunks/{git-nkbrxe8d.js → project-6gnjnc72.js} +170 -170
- package/dist/chunks/{git-2402vzrj.js → project-6h73sxmp.js} +5 -5
- package/dist/chunks/{git-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{git-9t1rambg.js → project-6v2gbdep.js} +12 -12
- package/dist/chunks/{git-06dxphr1.js → project-6z4wb64c.js} +4 -4
- package/dist/chunks/{git-r6gr5y5e.js → project-6zza1smj.js} +11 -11
- package/dist/chunks/{git-q7x0kbq5.js → project-768me8ma.js} +24 -24
- package/dist/chunks/{git-3gwfj97d.js → project-77j4ksha.js} +13 -13
- package/dist/chunks/{git-dxbnpv2d.js → project-7a79fyt5.js} +6 -6
- package/dist/chunks/{git-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-1460jzd9.js → project-7n5vx9wf.js} +9 -9
- package/dist/chunks/{git-qj5rmx2e.js → project-7x6t9adc.js} +12 -12
- package/dist/chunks/{git-f8w6kc2m.js → project-81nbps67.js} +43 -43
- package/dist/chunks/{git-tcezcvh9.js → project-89znhe33.js} +4 -4
- package/dist/chunks/{git-njppd0qb.js → project-8apd0fk3.js} +2 -2
- package/dist/chunks/{git-b64x26df.js → project-8d4mrw56.js} +26 -26
- package/dist/chunks/{git-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-kz5tm6dy.js → project-8k32wqdf.js} +85 -85
- package/dist/chunks/{git-nyxjpem3.js → project-8mdcper2.js} +5 -5
- package/dist/chunks/{git-gn2hfjap.js → project-8n69n882.js} +7 -7
- package/dist/chunks/{git-dj2t23y0.js → project-8p4f9s12.js} +2 -2
- package/dist/chunks/{git-xmng7kkz.js → project-8r6fg7ct.js} +24 -24
- package/dist/chunks/{git-49p20qv9.js → project-8tbgdqxq.js} +4 -4
- package/dist/chunks/{git-cp64kxg5.js → project-91ny65fk.js} +24 -24
- package/dist/chunks/{git-ged09db7.js → project-97958gw3.js} +26 -26
- package/dist/chunks/{git-84wb89t3.js → project-99mdmb67.js} +29 -29
- package/dist/chunks/{git-brkskmey.js → project-9bvpbkhr.js} +27 -27
- package/dist/chunks/{git-vr2vg3zy.js → project-9fc3v4re.js} +4 -4
- package/dist/chunks/{git-h1bdwc5p.js → project-9ken6xqn.js} +8 -8
- package/dist/chunks/project-9zdhvgqs.js +18 -0
- package/dist/chunks/{git-daw445tw.js → project-a0yh64rb.js} +11 -11
- package/dist/chunks/{git-5c4hm403.js → project-a1bz86dw.js} +3 -3
- package/dist/chunks/{git-4ykpj415.js → project-a96hn7s0.js} +12 -12
- package/dist/chunks/{git-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{git-2ajybb6k.js → project-af7bxwvw.js} +5 -5
- package/dist/chunks/{git-68y7phbn.js → project-afed7ext.js} +5 -5
- package/dist/chunks/{git-bydnjh3t.js → project-b0dgvpy7.js} +9 -9
- package/dist/chunks/{git-2j90fwmk.js → project-b4m32151.js} +7 -7
- package/dist/chunks/{git-k9avtbwf.js → project-b4xa8xgk.js} +6 -6
- package/dist/chunks/{git-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-qfrmsbny.js → project-baxnm38s.js} +30 -30
- package/dist/chunks/{git-cmwkp3r5.js → project-br0tr5aq.js} +8 -8
- package/dist/chunks/{git-jqbgwaya.js → project-bsrjb1f7.js} +28 -28
- package/dist/chunks/{git-2jrkyvhw.js → project-btkph3mh.js} +24 -24
- package/dist/chunks/{git-a4gew60h.js → project-c0xp0z8j.js} +23 -23
- package/dist/chunks/{git-7vpk8sc3.js → project-c2ee59z5.js} +3 -3
- package/dist/chunks/{git-p1nmgx0b.js → project-cd5e0ncw.js} +1 -1
- package/dist/chunks/{git-m0jqrx5p.js → project-cfpkc3c9.js} +2 -2
- package/dist/chunks/{git-yvye40cq.js → project-chezdbnw.js} +10 -10
- package/dist/chunks/{git-jp53m4qq.js → project-chhs2fpd.js} +5 -5
- package/dist/chunks/{git-eyz1zzrw.js → project-cj6z7q4m.js} +18 -18
- package/dist/chunks/{git-p44d8wdy.js → project-cr07tj7n.js} +5 -5
- package/dist/chunks/{git-c8jj867k.js → project-csmvz898.js} +9 -9
- package/dist/chunks/{git-5ccchpgh.js → project-cwxh38s6.js} +26 -26
- package/dist/chunks/{git-ycjb11n5.js → project-d1mtykxg.js} +6 -6
- package/dist/chunks/{git-sg1xppj0.js → project-d1ss3yp7.js} +21 -21
- package/dist/chunks/{git-xpdbz8gv.js → project-d2amnt0t.js} +62 -62
- package/dist/chunks/{git-vbw67av1.js → project-d3skbh37.js} +43 -43
- package/dist/chunks/{git-tn9zx3br.js → project-d4mvnt5t.js} +11 -11
- package/dist/chunks/{git-2syg74rg.js → project-d7fjbfjm.js} +4 -4
- package/dist/chunks/{git-9n8tprqg.js → project-d7w19mqk.js} +6 -6
- package/dist/chunks/{git-ygdsm0w5.js → project-d8eda7kb.js} +11 -11
- package/dist/chunks/{git-zee1rnkq.js → project-ddt2bs9e.js} +4 -4
- package/dist/chunks/{git-3eyza1hw.js → project-dgt6kxbt.js} +13 -13
- package/dist/chunks/{git-2f0bjgcj.js → project-dj9sq318.js} +5 -5
- package/dist/chunks/{git-xfkkasph.js → project-drwq78ky.js} +4 -4
- package/dist/chunks/{git-5heajm94.js → project-ebpj8ebp.js} +8 -8
- package/dist/chunks/{git-shh6fz4q.js → project-ec8389mk.js} +4 -4
- package/dist/chunks/{git-tbp5s86q.js → project-ecbtfsmk.js} +39 -39
- package/dist/chunks/{git-jaeq979q.js → project-edx0sx26.js} +9 -9
- package/dist/chunks/{git-segwbde7.js → project-ee4p7x9e.js} +30 -30
- package/dist/chunks/{git-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-2hwxdyne.js → project-ep6z9mt6.js} +8 -8
- package/dist/chunks/{git-erw5rpbs.js → project-erw5rpbs.js} +2 -2
- package/dist/chunks/{git-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-4tvf6cka.js → project-ez67mx11.js} +18 -18
- package/dist/chunks/{git-408t61km.js → project-ezzzks3g.js} +22 -22
- package/dist/chunks/{git-2ye5xzh0.js → project-f09vbjwv.js} +16 -16
- package/dist/chunks/{git-r8xr0va3.js → project-f2n192rq.js} +4 -4
- package/dist/chunks/{git-6nkqx3gn.js → project-f4m13756.js} +20 -20
- package/dist/chunks/{git-5a98hshb.js → project-f55ehv52.js} +31 -31
- package/dist/chunks/{git-4arb9zza.js → project-f7rj482f.js} +8 -8
- package/dist/chunks/{git-hdnk95c8.js → project-f828m53h.js} +2 -2
- package/dist/chunks/{git-jphtr8zc.js → project-fa2frvsq.js} +13 -13
- package/dist/chunks/{git-wsb67xeh.js → project-fcbbx3j9.js} +11 -11
- package/dist/chunks/{git-nq7qbqzc.js → project-fhs97t90.js} +9 -9
- package/dist/chunks/{git-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-s8d8d7b9.js → project-g4jds230.js} +24 -24
- package/dist/chunks/{git-y31p2zpt.js → project-g6r4f441.js} +10 -10
- package/dist/chunks/{git-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-510m7gjw.js → project-gg7pg1rj.js} +5 -5
- package/dist/chunks/{git-at1kfnmk.js → project-gs3s1a1g.js} +8 -8
- package/dist/chunks/{git-56m60q16.js → project-gv66gg0x.js} +5 -5
- package/dist/chunks/{git-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{git-7w99qc9d.js → project-gynv5cx7.js} +3 -3
- package/dist/chunks/{git-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-7bpzgkas.js → project-ha607pgt.js} +6 -6
- package/dist/chunks/{git-a85400sx.js → project-hq2v06xf.js} +16 -16
- package/dist/chunks/{git-vb0vr72z.js → project-j3vg15m0.js} +17 -17
- package/dist/chunks/{git-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{git-aykj8f11.js → project-j8rw3axx.js} +22 -22
- package/dist/chunks/{git-b43x2tjx.js → project-jf6e2x3g.js} +8 -8
- package/dist/chunks/{git-n852fwdt.js → project-jg5wt5ha.js} +11 -11
- package/dist/chunks/{git-j8f2qs6h.js → project-jksd3hgh.js} +8 -8
- package/dist/chunks/{git-r69czbxd.js → project-jkyq3z1t.js} +24 -24
- package/dist/chunks/{git-abkadxp6.js → project-jmxz90ff.js} +16 -16
- package/dist/chunks/{git-7d76vwge.js → project-jrdxm6mh.js} +18 -18
- package/dist/chunks/{git-ghmv28rk.js → project-jtyz3hnt.js} +20 -20
- package/dist/chunks/{git-k3c624dm.js → project-k3c624dm.js} +3 -3
- package/dist/chunks/{git-8wk75bfx.js → project-k6p7079f.js} +20 -20
- package/dist/chunks/{git-r46ddqt3.js → project-k7vzf8ty.js} +6 -6
- package/dist/chunks/{git-nng2ktcm.js → project-kbwf032e.js} +2 -2
- package/dist/chunks/{git-44ke2mar.js → project-knb7evpn.js} +2 -2
- package/dist/chunks/{git-8gcb4b4w.js → project-kpt1qdq7.js} +11 -11
- package/dist/chunks/{git-bz85s9hh.js → project-kv4fs7t7.js} +1 -1
- package/dist/chunks/project-m2fv4tsm.js +26 -0
- package/dist/chunks/{git-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-hx36sbmw.js → project-m4nmqper.js} +11 -11
- package/dist/chunks/{git-fvcdj7wb.js → project-m4s37zq8.js} +11 -11
- package/dist/chunks/{git-vrq08rdj.js → project-m73pcdkj.js} +48 -48
- package/dist/chunks/{git-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-g190xswt.js → project-magykp64.js} +4 -4
- package/dist/chunks/project-mk5nqtvt.js +252 -0
- package/dist/chunks/{git-j3abd7zq.js → project-mk6cxvfk.js} +15 -15
- package/dist/chunks/{git-f7vnzrbx.js → project-mnfhan20.js} +8 -8
- package/dist/chunks/{git-fve8wnjz.js → project-mp0wkdkb.js} +9 -9
- package/dist/chunks/{git-vtyyf370.js → project-msyq6m42.js} +35 -35
- package/dist/chunks/{git-73tb2d7t.js → project-mvfsc1pv.js} +3 -3
- package/dist/chunks/{git-02pmypxa.js → project-n42gasq5.js} +32 -32
- package/dist/chunks/{git-5myv2p8d.js → project-n9k4a674.js} +11 -11
- package/dist/chunks/{git-2x6hqw9v.js → project-ndp4vv3f.js} +15 -15
- package/dist/chunks/{git-t9st246x.js → project-ng9fnydx.js} +47 -47
- package/dist/chunks/{git-41jetqzf.js → project-nhpae0wq.js} +35 -35
- package/dist/chunks/{git-s98dxwan.js → project-nwtacksf.js} +11 -11
- package/dist/chunks/{git-p28j5sbe.js → project-p28j5sbe.js} +2 -2
- package/dist/chunks/{git-wp1gq5nr.js → project-p2wj83qv.js} +15 -15
- package/dist/chunks/{git-ayjh3rzp.js → project-p53c638z.js} +15 -15
- package/dist/chunks/{git-kgpepejr.js → project-p9mnwjh7.js} +11 -11
- package/dist/chunks/{git-e60ey3ft.js → project-pavs221x.js} +4 -4
- package/dist/chunks/{git-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{git-r98e92ep.js → project-pmr4s4kc.js} +4 -4
- package/dist/chunks/{git-k242wpsy.js → project-pqeyfrg6.js} +16 -16
- package/dist/chunks/{git-c87apehh.js → project-pts6vf4w.js} +37 -37
- package/dist/chunks/{git-k1khj4z2.js → project-q0bq2k1c.js} +13 -13
- package/dist/chunks/{git-mdf2c320.js → project-q15fhm92.js} +6 -6
- package/dist/chunks/{git-qyx9bk35.js → project-qgcp42sq.js} +44 -44
- package/dist/chunks/{git-y1jyhyv0.js → project-qj90dp8f.js} +84 -84
- package/dist/chunks/{git-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{git-vytnvtsp.js → project-qtcnb6n0.js} +36 -36
- package/dist/chunks/{git-58bbchv8.js → project-qzxpbk08.js} +10 -10
- package/dist/chunks/{git-g923tb5w.js → project-r2147qr5.js} +13 -13
- package/dist/chunks/{git-35ht377h.js → project-r6dyg3h3.js} +22 -22
- package/dist/chunks/{git-8yy6x47x.js → project-r6q7g1m5.js} +13 -13
- package/dist/chunks/{git-4hbtcwyf.js → project-ra7k8cxz.js} +31 -31
- package/dist/chunks/{git-nx1dzctz.js → project-rbtwj3fv.js} +8 -8
- package/dist/chunks/{git-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-7yze2c8e.js → project-rf6x4mzb.js} +23 -23
- package/dist/chunks/{git-kkrawjrh.js → project-rsm7z9rp.js} +6 -6
- package/dist/chunks/{git-10z2cff9.js → project-rvgstrhz.js} +17 -17
- package/dist/chunks/{git-svg3w2h1.js → project-ryycqeg8.js} +1 -1
- package/dist/chunks/{git-mz31q2z2.js → project-rz9rje65.js} +15 -15
- package/dist/chunks/{git-mqnxk84h.js → project-s2b3f138.js} +7 -7
- package/dist/chunks/{git-ac6wgtzc.js → project-s5dm7ens.js} +21 -21
- package/dist/chunks/{git-way2fyha.js → project-sdkmmp6p.js} +29 -29
- package/dist/chunks/{git-xyst5azx.js → project-seetsk1y.js} +20 -20
- package/dist/chunks/{git-0cbp42yf.js → project-ss3aymxd.js} +3 -3
- package/dist/chunks/{git-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-1sjzhdj3.js → project-tb8aj0jp.js} +16 -16
- package/dist/chunks/{git-2k71kv7p.js → project-tbmac1c7.js} +4 -4
- package/dist/chunks/{git-my2v1wkz.js → project-tc2dawkr.js} +11 -11
- package/dist/chunks/{git-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{git-gn6qf5g4.js → project-tj88ws5h.js} +4 -4
- package/dist/chunks/{git-k9mgd1ps.js → project-tjr458hf.js} +10 -10
- package/dist/chunks/{git-0bgz29s9.js → project-tkndnfam.js} +4 -4
- package/dist/chunks/{git-50pgn4y4.js → project-tkrzs310.js} +6 -6
- package/dist/chunks/{git-mgg80ybm.js → project-tsxqf4cv.js} +25 -25
- package/dist/chunks/{git-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{git-r3grwxg7.js → project-twthfsw8.js} +43 -43
- package/dist/chunks/{git-nfmeaax4.js → project-tzsjrs71.js} +17 -17
- package/dist/chunks/{git-4nvcxvz7.js → project-vaahshze.js} +10 -10
- package/dist/chunks/{git-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{git-7ac170kv.js → project-vkxpz7g2.js} +4 -4
- package/dist/chunks/{git-yx0t6q4x.js → project-vm3z8dtg.js} +5 -5
- package/dist/chunks/{git-cxp53ypn.js → project-vsyfpyr9.js} +22 -22
- package/dist/chunks/{git-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-w8j3tndx.js → project-w4zfp3g6.js} +8 -8
- package/dist/chunks/{git-nmkrx1ap.js → project-w6y0yszf.js} +5 -5
- package/dist/chunks/{git-en150vp6.js → project-w7gj1e9s.js} +34 -34
- package/dist/chunks/{git-vyqn3nqs.js → project-waa9wdep.js} +6 -6
- package/dist/chunks/{git-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{git-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-pb8ht8km.js → project-x8rnm5yb.js} +22 -22
- package/dist/chunks/{git-pnss60ng.js → project-x99mmdzx.js} +10 -10
- package/dist/chunks/{git-fhz5gfgy.js → project-xjtsx636.js} +5 -5
- package/dist/chunks/{git-mjsf35yc.js → project-xrf7y2d9.js} +24 -24
- package/dist/chunks/{git-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-ccqtsjcf.js → project-y4wxjvpb.js} +11 -11
- package/dist/chunks/{git-0pwrfd95.js → project-y6g64962.js} +16 -16
- package/dist/chunks/{git-dpkg50ah.js → project-y71avatq.js} +4 -4
- package/dist/chunks/{git-mmbz82p6.js → project-yee4g248.js} +5 -5
- package/dist/chunks/{git-00gra85v.js → project-ykjmw520.js} +13 -13
- package/dist/chunks/{git-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{git-yrznvahk.js → project-yrznvahk.js} +2 -2
- package/dist/chunks/{git-h46291mb.js → project-z04y6wbq.js} +32 -32
- package/dist/chunks/{git-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-msknr91p.js → project-z47gpksh.js} +24 -24
- package/dist/chunks/{git-z63w68vq.js → project-z63w68vq.js} +2 -2
- package/dist/chunks/{git-ftqhemdh.js → project-zafvkgz2.js} +15 -15
- package/dist/chunks/{git-n42cx0ab.js → project-zc0wbjka.js} +29 -29
- package/dist/chunks/{git-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{git-2n10f9nc.js → project-zgqx0wd1.js} +3 -3
- package/dist/chunks/{git-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-s2k58n27.js → project-zvg9jnf3.js} +33 -33
- package/dist/chunks/{git-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-8b8nab4q.js → project-zymmqkhq.js} +12 -12
- 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 +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +98 -98
- package/dist/git.js +6 -6
- 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 +98 -98
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +16 -16
- 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 +5 -5
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/git-1tm0r3ht.js +0 -4
- package/dist/chunks/git-8mkkfjr9.js +0 -26
- package/dist/chunks/git-9sh4wc5j.js +0 -18
- package/dist/chunks/git-fqy4gber.js +0 -252
- /package/dist/chunks/{git-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → project-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-2x7jzfgr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-40xgcexb.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./project-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event15,
|
|
24
|
+
ID: () => ID13,
|
|
25
|
+
Info: () => Info26,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service64,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node67
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID13 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event15 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID13,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service64 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service64.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID13.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node67 = makeGlobalNode({ service: Service64, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID13, OAuth3, Key4, Value2, Event15, Info26, Service64, node67, exports_credential };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-2x7jzfgr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./project-40xgcexb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service40,
|
|
11
|
+
node42
|
|
12
|
+
} from "./project-3wdv6d8m.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node41
|
|
16
|
+
} from "./project-d1mtykxg.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./project-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service36
|
|
26
|
+
} from "./project-ddt2bs9e.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./project-b4xa8xgk.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service50,
|
|
32
|
+
node52
|
|
33
|
+
} from "./project-3gjyge2f.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./project-tkndnfam.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./project-g4jds230.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./project-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service35,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer14,
|
|
50
|
+
node: () => node38,
|
|
51
51
|
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service35 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service50;
|
|
70
|
+
const instances = yield* Service39;
|
|
71
71
|
const bus = yield* Service83;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service40;
|
|
73
73
|
const db = (yield* Service84).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service36.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make15({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service35.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node38 = makeGlobalNode({
|
|
133
|
+
service: Service35,
|
|
134
|
+
layer: layer14,
|
|
135
|
+
deps: [node52, node41, node87, node88, node42]
|
|
136
136
|
});
|
|
137
|
-
var noopLayer3 = Layer.succeed(
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service35, Service35.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service35, terminal2, layer14, node38, noopLayer3, exports_execution };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service5.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service5, node7, exports_location_watcher_policy };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-2czxbyyd.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service73,
|
|
10
|
+
node76
|
|
11
|
+
} from "./project-ez67mx11.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./project-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options10,
|
|
25
|
+
Service: () => Service72,
|
|
26
|
+
configured: () => configured10,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node75,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options10 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service72 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service73;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service72.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service80;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service72.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service72.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer25 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service80;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured10(options) {
|
|
186
|
+
return makeLocationNode({ service: Service72, layer: layer25(options), deps: [node84, node76] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node75 = configured10();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options10, Service72, ripgrepLayer2, fffLayer2, layer25, configured10, node75, exports_search };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-7a79fyt5.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-c2ee59z5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-afed7ext.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-6h73sxmp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service60,
|
|
16
|
+
node63
|
|
17
|
+
} from "./project-tjr458hf.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./project-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service59,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node62,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service59 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service60;
|
|
110
|
+
return Service59.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node62 = makeGlobalNode({
|
|
171
|
+
service: Service59,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node63]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service59, isError2, validateBranch2, node62, exports_repository_cache };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-afed7ext.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make21
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make21 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
23
|
const git = yield* Service82;
|
|
24
24
|
return {
|
|
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make21, exports_git2 };
|