@opencode/core 0.0.0-dev-20103 → 0.0.0-dev-20105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-service-map-0v53mg2y.js → worktree-00z3vp5f.js} +4 -4
- package/dist/chunks/{location-service-map-68dy1mx9.js → worktree-09tgrvw7.js} +31 -31
- package/dist/chunks/{location-service-map-bthk55h6.js → worktree-0bf3khfw.js} +22 -22
- package/dist/chunks/{location-service-map-hkfg6fzm.js → worktree-0f9afca0.js} +5 -5
- package/dist/chunks/{location-service-map-xmznkxks.js → worktree-0mr6qh9d.js} +1 -1
- package/dist/chunks/{location-service-map-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-7shq9dj0.js → worktree-0wgz3kfx.js} +8 -8
- package/dist/chunks/{location-service-map-z6k93gbd.js → worktree-0xc744yh.js} +26 -26
- package/dist/chunks/{location-service-map-r9w3djhf.js → worktree-11dqjexa.js} +9 -9
- package/dist/chunks/{location-service-map-dmx755zn.js → worktree-13gx36pc.js} +9 -9
- package/dist/chunks/{location-service-map-r8xr0va3.js → worktree-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-service-map-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-egx0h0k6.js → worktree-1myxn3kd.js} +24 -24
- package/dist/chunks/{location-service-map-mvc34etw.js → worktree-1q9thhxg.js} +9 -9
- package/dist/chunks/{location-service-map-mfqp6xfm.js → worktree-1ygqh575.js} +6 -6
- package/dist/chunks/{location-service-map-pkvp83aw.js → worktree-1zhvft14.js} +18 -18
- package/dist/chunks/{location-service-map-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{location-service-map-3hbctp76.js → worktree-25mrtkcq.js} +21 -21
- package/dist/chunks/{location-service-map-cn44awdn.js → worktree-26300t6s.js} +27 -27
- package/dist/chunks/{location-service-map-yffarvam.js → worktree-28rfmn1q.js} +14 -14
- package/dist/chunks/{location-service-map-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-te77dbbn.js → worktree-2k8482vm.js} +8 -8
- package/dist/chunks/{location-service-map-mswzr7xn.js → worktree-2n4z0gea.js} +26 -26
- package/dist/chunks/{location-service-map-cgza1zmh.js → worktree-348pjw7k.js} +12 -12
- package/dist/chunks/{location-service-map-88ncvmwj.js → worktree-34q1q4g3.js} +4 -4
- package/dist/chunks/{location-service-map-psnz0b2m.js → worktree-3654ekc1.js} +75 -75
- package/dist/chunks/{location-service-map-1v08eb6w.js → worktree-3dvng5ry.js} +15 -15
- package/dist/chunks/{location-service-map-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-dkgjef6k.js → worktree-3nyjywfs.js} +13 -13
- package/dist/chunks/{location-service-map-x5spkhqe.js → worktree-3qhjhqs4.js} +25 -25
- package/dist/chunks/{location-service-map-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-vgkexb79.js → worktree-3t84zwd8.js} +8 -8
- package/dist/chunks/{location-service-map-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-at1kfnmk.js → worktree-4a0nv7mx.js} +8 -8
- package/dist/chunks/{location-service-map-7evypc3h.js → worktree-4angy42y.js} +1 -1
- package/dist/chunks/{location-service-map-gk0e7dgm.js → worktree-4db8mzj7.js} +3 -3
- package/dist/chunks/{location-service-map-cnzxmjcj.js → worktree-4ev63tw3.js} +28 -28
- package/dist/chunks/{location-service-map-t2kq1zb2.js → worktree-4fa6t2zh.js} +66 -66
- package/dist/chunks/{location-service-map-vp8cnahr.js → worktree-4gy17at8.js} +18 -18
- package/dist/chunks/{location-service-map-xgjvnsnz.js → worktree-4hk27nw6.js} +10 -10
- package/dist/chunks/{location-service-map-833tk66z.js → worktree-4j9vtrd0.js} +11 -11
- package/dist/chunks/{location-service-map-eqqc0c45.js → worktree-4md04jt5.js} +17 -17
- package/dist/chunks/{location-service-map-fh5hhkj6.js → worktree-4n0pz7ta.js} +30 -30
- package/dist/chunks/{location-service-map-s6m6nc9p.js → worktree-4qw9jy8s.js} +6 -6
- package/dist/chunks/{location-service-map-0c2xmx3r.js → worktree-4yvz2rcy.js} +8 -8
- package/dist/chunks/{location-service-map-efg2p63t.js → worktree-5214kcsh.js} +38 -38
- package/dist/chunks/{location-service-map-rhrfrnty.js → worktree-53t702sg.js} +41 -41
- package/dist/chunks/{location-service-map-0mttjrfr.js → worktree-5935cfns.js} +8 -8
- package/dist/chunks/{location-service-map-wk1rrwe6.js → worktree-5bxn2d00.js} +11 -11
- package/dist/chunks/{location-service-map-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-5ekn9679.js → worktree-5ekn9679.js} +1 -1
- package/dist/chunks/{location-service-map-e2k0bps6.js → worktree-5qsvws2p.js} +31 -31
- package/dist/chunks/{location-service-map-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-d5g0vem9.js → worktree-5vd11pkv.js} +26 -26
- package/dist/chunks/{location-service-map-60djdr4t.js → worktree-5x326c62.js} +10 -10
- package/dist/chunks/{location-service-map-b24v4ebx.js → worktree-61hs1ryt.js} +26 -26
- package/dist/chunks/{location-service-map-mvav9bkw.js → worktree-62h9g2fv.js} +18 -18
- package/dist/chunks/{location-service-map-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{location-service-map-wn3c38y7.js → worktree-67k3ptxm.js} +13 -13
- package/dist/chunks/{location-service-map-axjpx4kj.js → worktree-6a4q1va2.js} +2 -2
- package/dist/chunks/{location-service-map-fp4gar62.js → worktree-6fx6kqf3.js} +18 -18
- package/dist/chunks/worktree-6kdq0pjd.js +4 -0
- package/dist/chunks/{location-service-map-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-service-map-8hcfckj3.js → worktree-6zsnk1nj.js} +8 -8
- package/dist/chunks/{location-service-map-1bbkgx8g.js → worktree-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-service-map-v7tjtnqr.js → worktree-7463r9za.js} +35 -35
- package/dist/chunks/{location-service-map-d40gq58t.js → worktree-76g3v1wk.js} +22 -22
- package/dist/chunks/{location-service-map-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-z8tmpf1c.js → worktree-7d83w40e.js} +1 -1
- package/dist/chunks/{location-service-map-2k8khapm.js → worktree-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-service-map-4c8bw516.js → worktree-7j2qha59.js} +8 -8
- package/dist/chunks/{location-service-map-45r8z7s5.js → worktree-85hqfz1z.js} +45 -45
- package/dist/chunks/{location-service-map-h5f6ggqy.js → worktree-87nphv2h.js} +10 -10
- package/dist/chunks/{location-service-map-36cphf8b.js → worktree-891pch5y.js} +9 -9
- package/dist/chunks/{location-service-map-x1vt8hry.js → worktree-8b96hdfe.js} +13 -13
- package/dist/chunks/{location-service-map-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-aq9v1yk8.js → worktree-8hbfdwcy.js} +6 -6
- package/dist/chunks/{location-service-map-n2fjwnd6.js → worktree-8q0abqdy.js} +11 -11
- package/dist/chunks/{location-service-map-4tgay3js.js → worktree-8xr9e5ma.js} +13 -13
- package/dist/chunks/{location-service-map-n51zs5vf.js → worktree-8xtjj1tw.js} +8 -8
- package/dist/chunks/{location-service-map-m1shccce.js → worktree-904rfj5f.js} +23 -23
- package/dist/chunks/{location-service-map-ykwb97px.js → worktree-92a34jea.js} +7 -7
- package/dist/chunks/{location-service-map-as62jwn8.js → worktree-92hycem4.js} +22 -22
- package/dist/chunks/{location-service-map-94ek1h2f.js → worktree-94ek1h2f.js} +2 -2
- package/dist/chunks/{location-service-map-55krd67x.js → worktree-97jrthbw.js} +22 -22
- package/dist/chunks/{location-service-map-eys57y9b.js → worktree-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-service-map-bq1hpwve.js → worktree-9knhcppf.js} +3 -3
- package/dist/chunks/{location-service-map-9x3kmp58.js → worktree-9p4j1g8x.js} +9 -9
- package/dist/chunks/{location-service-map-vg14phsn.js → worktree-a4xtdcdy.js} +30 -30
- package/dist/chunks/{location-service-map-1yqzakes.js → worktree-a55n900e.js} +11 -11
- package/dist/chunks/{location-service-map-4bx5mh4w.js → worktree-a71abfbd.js} +18 -18
- package/dist/chunks/{location-service-map-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-30krspkn.js → worktree-afjydgk3.js} +4 -4
- package/dist/chunks/{location-service-map-czvzv6fj.js → worktree-ak9z2h5t.js} +3 -3
- package/dist/chunks/{location-service-map-z9m63e6h.js → worktree-akfg0z59.js} +20 -20
- package/dist/chunks/{location-service-map-853pnbmg.js → worktree-akgm0gv0.js} +4 -4
- package/dist/chunks/{location-service-map-szeyyw6m.js → worktree-an0ayh94.js} +31 -31
- package/dist/chunks/{location-service-map-dfq5ekm3.js → worktree-an32yxdc.js} +1 -1
- package/dist/chunks/{location-service-map-w1rn1h1h.js → worktree-b4cpr7mt.js} +7 -7
- package/dist/chunks/{location-service-map-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-j237fm2y.js → worktree-b9mjazqy.js} +29 -29
- package/dist/chunks/{location-service-map-495chtjc.js → worktree-ba7qst6d.js} +23 -23
- package/dist/chunks/{location-service-map-cgm666vp.js → worktree-bhsdwye2.js} +11 -11
- package/dist/chunks/{location-service-map-a79ds6nc.js → worktree-bpktnpw7.js} +16 -16
- package/dist/chunks/{location-service-map-npsqtpy7.js → worktree-bwvgaq24.js} +31 -31
- package/dist/chunks/{location-service-map-nwheqxjr.js → worktree-c0bsws40.js} +32 -32
- package/dist/chunks/{location-service-map-vc0vj5dz.js → worktree-cb70gybk.js} +20 -20
- package/dist/chunks/{location-service-map-p8vkj1y5.js → worktree-cj8h12nx.js} +2 -2
- package/dist/chunks/{location-service-map-ckecvw8r.js → worktree-ckecvw8r.js} +2 -2
- package/dist/chunks/{location-service-map-0ft9cg2j.js → worktree-cpy6gm2a.js} +6 -6
- package/dist/chunks/{location-service-map-jqw5f6af.js → worktree-cqkjr9eb.js} +24 -24
- package/dist/chunks/{location-service-map-cphrfjpg.js → worktree-d16e32c3.js} +3 -3
- package/dist/chunks/{location-service-map-a89e0tac.js → worktree-d858xzj7.js} +4 -4
- package/dist/chunks/{location-service-map-vhycsadx.js → worktree-d8frqt36.js} +43 -43
- package/dist/chunks/{location-service-map-aamtrqep.js → worktree-dc6tzc5b.js} +9 -9
- package/dist/chunks/{location-service-map-y6bc7ytb.js → worktree-dd33gdcs.js} +19 -19
- package/dist/chunks/{location-service-map-m6nec9qq.js → worktree-dg2cj1yd.js} +4 -4
- package/dist/chunks/{location-service-map-79qaa2kf.js → worktree-djszqvmq.js} +9 -9
- package/dist/chunks/{location-service-map-dpkg50ah.js → worktree-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-service-map-m24y9wwb.js → worktree-drmc2xrn.js} +20 -20
- package/dist/chunks/{location-service-map-2gnwkpvd.js → worktree-e28zdnr3.js} +3 -3
- package/dist/chunks/{location-service-map-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-1kw05xve.js → worktree-emv10mfg.js} +27 -27
- package/dist/chunks/{location-service-map-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-service-map-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-wzrg2q53.js → worktree-eyk4t588.js} +48 -48
- package/dist/chunks/{location-service-map-1kyxasan.js → worktree-f9w2621f.js} +5 -5
- package/dist/chunks/{location-service-map-h4m0f94k.js → worktree-fa3800w2.js} +5 -5
- package/dist/chunks/{location-service-map-4t7rsg8e.js → worktree-fggcrdhd.js} +34 -34
- package/dist/chunks/{location-service-map-t30mswsp.js → worktree-ftxpvdc7.js} +15 -15
- package/dist/chunks/{location-service-map-xqngxfdt.js → worktree-fzc1rrhc.js} +166 -166
- package/dist/chunks/{location-service-map-yvybj0e9.js → worktree-g8sy80jx.js} +77 -77
- package/dist/chunks/{location-service-map-wb86x3ay.js → worktree-g9hze54y.js} +1 -1
- package/dist/chunks/{location-service-map-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-pwqjnrnh.js → worktree-gs1aapz6.js} +3 -3
- package/dist/chunks/{location-service-map-yf10kn3d.js → worktree-gs4tkc79.js} +8 -8
- package/dist/chunks/{location-service-map-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-service-map-x3v6tvna.js → worktree-gv8bg5p6.js} +15 -15
- package/dist/chunks/{location-service-map-8yktps7k.js → worktree-gvrsjrvz.js} +11 -11
- package/dist/chunks/{location-service-map-06ejv7nx.js → worktree-gze2a564.js} +20 -20
- package/dist/chunks/{location-service-map-4z91h2q2.js → worktree-h0v79wmk.js} +17 -17
- package/dist/chunks/{location-service-map-w8djw5a7.js → worktree-h5m7e0fe.js} +9 -9
- package/dist/chunks/{location-service-map-h6r3nrb9.js → worktree-h6r3nrb9.js} +1 -1
- package/dist/chunks/{location-service-map-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-qvreyy9g.js → worktree-hbyhqfhs.js} +5 -5
- package/dist/chunks/{location-service-map-ket9r42f.js → worktree-hy20qw0x.js} +18 -18
- package/dist/chunks/{location-service-map-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-ny2gagq3.js → worktree-ja2sysa1.js} +14 -14
- package/dist/chunks/{location-service-map-rgm7mqtj.js → worktree-jwjj0ar8.js} +18 -18
- package/dist/chunks/{location-service-map-4acwr5gm.js → worktree-k3anzat6.js} +24 -24
- package/dist/chunks/{location-service-map-k3c624dm.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{location-service-map-j9ty9cws.js → worktree-k53npxr2.js} +1 -1
- package/dist/chunks/{location-service-map-f73rjn58.js → worktree-k76fn4kw.js} +4 -4
- package/dist/chunks/{location-service-map-yx96bawg.js → worktree-kd3d1vys.js} +52 -52
- package/dist/chunks/{location-service-map-8r011ra3.js → worktree-kes845dh.js} +17 -17
- package/dist/chunks/{location-service-map-b3s7ae97.js → worktree-khmcpx04.js} +32 -32
- package/dist/chunks/{location-service-map-ntx68rw5.js → worktree-knc8nek6.js} +3 -3
- package/dist/chunks/{location-service-map-a3r4dcrj.js → worktree-ky3seynh.js} +2 -2
- package/dist/chunks/{location-service-map-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-service-map-vcdwqy0t.js → worktree-m4b4b35v.js} +39 -39
- package/dist/chunks/{location-service-map-2c0dm15m.js → worktree-m7d3ytap.js} +6 -6
- package/dist/chunks/{location-service-map-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-ce5fknq2.js → worktree-ma48de29.js} +5 -5
- package/dist/chunks/{location-service-map-61a3zr4c.js → worktree-mcphez6e.js} +11 -11
- package/dist/chunks/{location-service-map-esxc65j0.js → worktree-mdc5nwhd.js} +17 -17
- package/dist/chunks/{location-service-map-f3ngv102.js → worktree-mjymc32g.js} +4 -4
- package/dist/chunks/{location-service-map-h66kq4ja.js → worktree-mmgzkw4b.js} +10 -10
- package/dist/chunks/{location-service-map-2v9qn293.js → worktree-mn20a28a.js} +5 -5
- package/dist/chunks/{location-service-map-gp9g74ej.js → worktree-mvksx64m.js} +4 -4
- package/dist/chunks/{location-service-map-6k4ynzw8.js → worktree-n2fk86tq.js} +3 -3
- package/dist/chunks/{location-service-map-d4vrvgq4.js → worktree-n810d9f4.js} +11 -11
- package/dist/chunks/{location-service-map-7bgeh318.js → worktree-n9c5x41c.js} +21 -21
- package/dist/chunks/{location-service-map-9n2ezk31.js → worktree-nbpn5fgr.js} +25 -25
- package/dist/chunks/{location-service-map-c1np9tvh.js → worktree-nfpfdzzq.js} +12 -12
- package/dist/chunks/{location-service-map-vrp7sfj8.js → worktree-nppmj0x6.js} +12 -12
- package/dist/chunks/{location-service-map-0e3tt2mf.js → worktree-ntzzmvrg.js} +4 -4
- package/dist/chunks/{location-service-map-939j0jr0.js → worktree-nxhz0hz5.js} +11 -11
- package/dist/chunks/{location-service-map-wt3nx885.js → worktree-nz0453qb.js} +10 -10
- package/dist/chunks/{location-service-map-8e9852ac.js → worktree-p31vw5zt.js} +11 -11
- package/dist/chunks/{location-service-map-bwdmmacb.js → worktree-p6eds5cr.js} +12 -12
- package/dist/chunks/{location-service-map-cfmv9c3d.js → worktree-p7q1b1dk.js} +16 -16
- package/dist/chunks/{location-service-map-1d5e7fjz.js → worktree-pa033vv9.js} +12 -12
- package/dist/chunks/{location-service-map-w2qrtdv7.js → worktree-pag0f7q6.js} +22 -22
- package/dist/chunks/{location-service-map-f13k8as2.js → worktree-pcmmyvsr.js} +4 -4
- package/dist/chunks/{location-service-map-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-24dd53tp.js → worktree-pnv527nz.js} +9 -9
- package/dist/chunks/{location-service-map-py3kkmfq.js → worktree-py3kkmfq.js} +2 -2
- package/dist/chunks/{location-service-map-1g7epwpd.js → worktree-qa3qhgw8.js} +7 -7
- package/dist/chunks/worktree-qc068m1q.js +18 -0
- package/dist/chunks/{location-service-map-dp4kwseh.js → worktree-qc08edcd.js} +16 -16
- package/dist/chunks/{location-service-map-ardd2bsn.js → worktree-qfgk5m70.js} +3 -3
- package/dist/chunks/{location-service-map-w3m67914.js → worktree-qhmjmk1w.js} +35 -35
- package/dist/chunks/{location-service-map-9ss103sy.js → worktree-qj5cc9w6.js} +10 -10
- package/dist/chunks/{location-service-map-m3z1x1h0.js → worktree-qm63xfj9.js} +11 -11
- package/dist/chunks/{location-service-map-yjptyezs.js → worktree-qn4ba14w.js} +5 -5
- package/dist/chunks/{location-service-map-e5wg673t.js → worktree-qnksa3ad.js} +28 -28
- package/dist/chunks/{location-service-map-bf0cd63e.js → worktree-qqhk6b98.js} +5 -5
- package/dist/chunks/{location-service-map-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-d4w6k1nt.js → worktree-qsj8tpbg.js} +13 -13
- package/dist/chunks/{location-service-map-z8tr7vps.js → worktree-qtq40051.js} +44 -44
- package/dist/chunks/{location-service-map-8ssbnkm6.js → worktree-qv9g0gyx.js} +20 -20
- package/dist/chunks/{location-service-map-fanjy7dq.js → worktree-r1qjztdq.js} +20 -20
- package/dist/chunks/{location-service-map-x7xg137b.js → worktree-r7y78zcv.js} +4 -4
- package/dist/chunks/{location-service-map-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-s8d7rejh.js → worktree-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-service-map-b87s103s.js → worktree-rjb11c09.js} +24 -24
- package/dist/chunks/{location-service-map-k8f6en75.js → worktree-rqj5z4yb.js} +9 -9
- package/dist/chunks/{location-service-map-ddvvm6a9.js → worktree-rqz00b65.js} +10 -10
- package/dist/chunks/{location-service-map-2w5dyyz8.js → worktree-s0agc963.js} +5 -5
- package/dist/chunks/{location-service-map-y6n8wcsw.js → worktree-s1hq0v60.js} +13 -13
- package/dist/chunks/{location-service-map-k5h5c7q1.js → worktree-s31e5dqq.js} +35 -35
- package/dist/chunks/{location-service-map-te3fz92z.js → worktree-sd1fa18v.js} +9 -9
- package/dist/chunks/{location-service-map-ckh625m3.js → worktree-sn5dskjm.js} +28 -28
- package/dist/chunks/{location-service-map-q9v0w4bd.js → worktree-snbrpa5g.js} +19 -19
- package/dist/chunks/{location-service-map-nt81b04e.js → worktree-sr8hj6d6.js} +18 -18
- package/dist/chunks/{location-service-map-apeh0v2n.js → worktree-ssb8qcd9.js} +10 -10
- package/dist/chunks/{location-service-map-wnxpvc6c.js → worktree-szv3adj2.js} +2 -2
- package/dist/chunks/{location-service-map-c16s4pd0.js → worktree-t2q8n6ss.js} +40 -40
- package/dist/chunks/{location-service-map-q0ez028y.js → worktree-t5jfh8kc.js} +12 -12
- package/dist/chunks/{location-service-map-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/worktree-tcjtg44a.js +507 -0
- package/dist/chunks/{location-service-map-3pbjq009.js → worktree-tdhe5xga.js} +8 -8
- package/dist/chunks/{location-service-map-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-ny2517wm.js → worktree-tj8p0sq8.js} +21 -21
- package/dist/chunks/{location-service-map-evbgk2k8.js → worktree-tn0aqsam.js} +5 -5
- package/dist/chunks/{location-service-map-bk0crrr6.js → worktree-tt2ps04y.js} +23 -23
- package/dist/chunks/{location-service-map-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{location-service-map-aq0amx4n.js → worktree-tzcmwgv2.js} +11 -11
- package/dist/chunks/{location-service-map-cw6vaqhy.js → worktree-v5ysw9b9.js} +14 -14
- package/dist/chunks/{location-service-map-mfpnwtem.js → worktree-v5z7k5hc.js} +7 -7
- package/dist/chunks/{location-service-map-vfjhn2wd.js → worktree-v7z2bvyd.js} +4 -4
- package/dist/chunks/{location-service-map-myypamct.js → worktree-vddp9fpw.js} +26 -26
- package/dist/chunks/{location-service-map-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-r4k9ar4d.js → worktree-vsjn4aq5.js} +9 -9
- package/dist/chunks/{location-service-map-0cjbgter.js → worktree-vv8yfjwc.js} +11 -11
- package/dist/chunks/{location-service-map-s78dyy7j.js → worktree-vyjb9e8r.js} +24 -24
- package/dist/chunks/{location-service-map-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-service-map-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-3kh5ghz4.js → worktree-w6dwg7gz.js} +16 -16
- package/dist/chunks/{location-service-map-gg0c0qt7.js → worktree-wchfvtxb.js} +26 -26
- package/dist/chunks/{location-service-map-wd3x2cqz.js → worktree-wd3x2cqz.js} +2 -2
- package/dist/chunks/{location-service-map-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-2h8zcfyj.js → worktree-wg821d8s.js} +6 -6
- package/dist/chunks/{location-service-map-cmefedvg.js → worktree-wxffcvth.js} +3 -3
- package/dist/chunks/{location-service-map-awaee7qt.js → worktree-wzz0kxab.js} +9 -9
- package/dist/chunks/{location-service-map-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-xdhfzwgn.js → worktree-x8z8zpk0.js} +6 -6
- package/dist/chunks/{location-service-map-y7d70cjs.js → worktree-xbsm0w8x.js} +12 -12
- package/dist/chunks/{location-service-map-xfkkasph.js → worktree-xfkkasph.js} +1 -1
- package/dist/chunks/{location-service-map-dmqcgk4z.js → worktree-xkntkrq7.js} +5 -5
- package/dist/chunks/{location-service-map-jexxy024.js → worktree-xxynqx5z.js} +2 -2
- package/dist/chunks/{location-service-map-6a44wwkp.js → worktree-y0adyrm5.js} +3 -3
- package/dist/chunks/{location-service-map-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/worktree-ybrqsgzm.js +252 -0
- package/dist/chunks/{location-service-map-tegs1ycp.js → worktree-yf4jcbx9.js} +6 -6
- package/dist/chunks/{location-service-map-z4vn3wja.js → worktree-yfpm05b7.js} +10 -10
- package/dist/chunks/{location-service-map-asq856p3.js → worktree-yghvc19j.js} +15 -15
- package/dist/chunks/{location-service-map-bdphn620.js → worktree-ykzz1t9e.js} +45 -45
- package/dist/chunks/{location-service-map-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-service-map-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{location-service-map-wxp0jyf7.js → worktree-ysav94bt.js} +17 -17
- package/dist/chunks/{location-service-map-prgnye3a.js → worktree-ystnmmhc.js} +17 -17
- package/dist/chunks/{location-service-map-z07pqspn.js → worktree-z07pqspn.js} +3 -3
- package/dist/chunks/{location-service-map-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-5153gk4s.js → worktree-z3aggnr2.js} +26 -26
- package/dist/chunks/{location-service-map-9qkckev2.js → worktree-z4pkgcrj.js} +17 -17
- package/dist/chunks/{location-service-map-avae2qkj.js → worktree-z4ygwn82.js} +12 -12
- package/dist/chunks/{location-service-map-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{location-service-map-4bxhq5dc.js → worktree-z8zh437v.js} +15 -15
- package/dist/chunks/{location-service-map-rh6g2sa8.js → worktree-zbdxx7ek.js} +7 -7
- package/dist/chunks/{location-service-map-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-service-map-0bfzm7aa.js → worktree-zjp1cm63.js} +15 -15
- package/dist/chunks/{location-service-map-pnd08bfh.js → worktree-zk5bpfgp.js} +13 -13
- package/dist/chunks/{location-service-map-aq106s15.js → worktree-zp8n7hk2.js} +7 -7
- package/dist/chunks/{location-service-map-63kngrnd.js → worktree-zqm7km32.js} +3 -3
- package/dist/chunks/{location-service-map-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-4bvexzs9.js → worktree-zt0bgn8n.js} +10 -10
- package/dist/chunks/{location-service-map-awhka9ay.js → worktree-zv6910x8.js} +25 -25
- package/dist/chunks/worktree-zw0azyx1.js +26 -0
- package/dist/chunks/{location-service-map-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +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 +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- 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 +121 -121
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/location-service-map-0mesazry.js +0 -4
- package/dist/chunks/location-service-map-6enptsyn.js +0 -507
- package/dist/chunks/location-service-map-8gz0hh7m.js +0 -252
- package/dist/chunks/location-service-map-m18qmtz2.js +0 -18
- package/dist/chunks/location-service-map-p2zqjdg1.js +0 -26
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
17
|
Service77,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
node80
|
|
19
|
+
} from "./worktree-rqz00b65.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service60,
|
|
22
|
+
node62
|
|
23
|
+
} from "./worktree-0xc744yh.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
@@ -63,14 +63,14 @@ class Service49 extends Context.Service()("@opencode/Environment") {
|
|
|
63
63
|
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service77;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service60;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
68
|
return Service49.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
70
|
var node52 = makeLocationNode({
|
|
71
71
|
service: Service49,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node80, node62]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
76
|
export { Service49, node52, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service55,
|
|
6
|
+
node57
|
|
7
|
+
} from "./worktree-qhmjmk1w.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service14,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer9,
|
|
20
|
+
node: () => node17
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service14 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service55;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service14.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node17 = makeLocationNode({
|
|
69
|
+
service: Service14,
|
|
70
|
+
layer: layer9,
|
|
71
|
+
deps: [node57, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service14, layer9, node17, exports_generate };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-wxffcvth.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-ykzz1t9e.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-26300t6s.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-s1hq0v60.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service9,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service9.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node11 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service9, node11, exports_discovery };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-xfkkasph.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_command5 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service37,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service37 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service37.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service37, awaitActivation2, exports_service };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-gs1aapz6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-r7y78zcv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./worktree-yf4jcbx9.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-922hggd3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID5,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service43
|
|
16
|
+
} from "./worktree-z4pkgcrj.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-wxffcvth.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-z07pqspn.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,11 +42,11 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service54;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
49
|
+
const snapshot = yield* Service43;
|
|
50
50
|
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
@@ -74,10 +74,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service54;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service43;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
83
|
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-0mr6qh9d.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-knc8nek6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service75,
|
|
4
|
+
node78
|
|
5
|
+
} from "./worktree-26300t6s.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service74,
|
|
16
|
+
node77
|
|
17
|
+
} from "./worktree-904rfj5f.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service56,
|
|
20
|
+
node58
|
|
21
|
+
} from "./worktree-13gx36pc.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service73,
|
|
27
|
+
node76
|
|
28
|
+
} from "./worktree-z3aggnr2.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,7 +37,7 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError3,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError3,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service55,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
@@ -45,7 +45,7 @@ __export(exports_model_resolver, {
|
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
47
|
layer: () => layer23,
|
|
48
|
-
node: () =>
|
|
48
|
+
node: () => node57,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -56,7 +56,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
58
|
providerID: ID13,
|
|
59
|
-
modelID:
|
|
59
|
+
modelID: ID12,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -66,7 +66,7 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
68
|
providerID: ID13,
|
|
69
|
-
modelID:
|
|
69
|
+
modelID: ID12,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -77,7 +77,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
79
|
providerID: ID13,
|
|
80
|
-
modelID:
|
|
80
|
+
modelID: ID12,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -88,7 +88,7 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
90
|
providerID: ID13,
|
|
91
|
-
modelID:
|
|
91
|
+
modelID: ID12,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -100,7 +100,7 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
102
|
providerID: ID13,
|
|
103
|
-
modelID:
|
|
103
|
+
modelID: ID12,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -110,7 +110,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
112
|
providerID: ID13,
|
|
113
|
-
modelID:
|
|
113
|
+
modelID: ID12,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service55 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var layer23 = Layer.effect(
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer23 = Layer.effect(Service55, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service74;
|
|
263
|
+
const models = yield* Service73;
|
|
264
|
+
const integrations = yield* Service75;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service56;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer23 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service55.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node57 = makeLocationNode({
|
|
314
|
+
service: Service55,
|
|
315
315
|
layer: layer23,
|
|
316
|
-
deps: [
|
|
316
|
+
deps: [node77, node76, node78, Npm.node, node58]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
319
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service55, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer23, node57, exports_model_resolver };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service12
|
|
3
|
+
} from "./worktree-76g3v1wk.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/compaction.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
NativeCompactionPlugin: () =>
|
|
12
|
-
Plugin: () =>
|
|
9
|
+
var exports_compaction = {};
|
|
10
|
+
__export(exports_compaction, {
|
|
11
|
+
NativeCompactionPlugin: () => exports_compaction,
|
|
12
|
+
Plugin: () => Plugin16
|
|
13
13
|
});
|
|
14
14
|
import { LLMClient, Message } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect } from "effect";
|
|
17
|
-
var
|
|
17
|
+
var Plugin16 = define({
|
|
18
18
|
id: "opencode.compaction.native",
|
|
19
19
|
effect: Effect.fn("NativeCompactionPlugin")(function* () {
|
|
20
20
|
const llm = yield* LLMClient.Service;
|
|
21
|
-
const compaction = yield*
|
|
21
|
+
const compaction = yield* Service12;
|
|
22
22
|
yield* compaction.transform((editor) => {
|
|
23
23
|
editor.native((input) => {
|
|
24
24
|
const request = input.request;
|
|
@@ -36,4 +36,4 @@ var Plugin20 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { Plugin16, exports_compaction };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./worktree-m4b4b35v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service43
|
|
7
|
+
} from "./worktree-z4pkgcrj.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin31 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service47;
|
|
27
|
+
const snapshot = yield* Service43;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin5 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin31, exports_snapshot };
|