@opencode/core 0.0.0-dev-19836 → 0.0.0-dev-19839
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 +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{provider-evpbcqxk.js → worktree-05tvpv5w.js} +14 -14
- package/dist/chunks/{provider-yvh7vk42.js → worktree-09r3zm1x.js} +9 -9
- package/dist/chunks/{provider-p59m71ee.js → worktree-0e4n6tbr.js} +15 -15
- package/dist/chunks/{provider-sjdqp3nh.js → worktree-0et686r7.js} +7 -7
- package/dist/chunks/{provider-gqsmyx82.js → worktree-0njhf5dz.js} +15 -15
- package/dist/chunks/{provider-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{provider-bct739vz.js → worktree-0v53mg2y.js} +4 -4
- package/dist/chunks/{provider-b76baeng.js → worktree-0vr4ynh9.js} +30 -30
- package/dist/chunks/{provider-yj604rek.js → worktree-0w34kcyc.js} +9 -9
- package/dist/chunks/{provider-x0zfx1ce.js → worktree-12xc1hc8.js} +11 -11
- package/dist/chunks/{provider-ahsc6j0w.js → worktree-135ds6rk.js} +14 -14
- package/dist/chunks/{provider-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{provider-azz15b0c.js → worktree-1gayks8f.js} +18 -18
- package/dist/chunks/{provider-czpndhbz.js → worktree-1j08d619.js} +23 -23
- package/dist/chunks/{provider-7jh389ga.js → worktree-1jcctp8h.js} +24 -24
- package/dist/chunks/worktree-1x11rq2a.js +18 -0
- package/dist/chunks/{provider-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{provider-w4arg62q.js → worktree-23pqda6t.js} +4 -4
- package/dist/chunks/{provider-5phqnecy.js → worktree-23sxaqwc.js} +7 -7
- package/dist/chunks/{provider-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{provider-0t9wd588.js → worktree-25cs5cen.js} +8 -8
- package/dist/chunks/{provider-06dxphr1.js → worktree-26k5bknw.js} +4 -4
- package/dist/chunks/{provider-yc4tz3dj.js → worktree-26zmw6vg.js} +50 -50
- package/dist/chunks/{provider-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-1sadxdse.js → worktree-2grvmngk.js} +11 -11
- package/dist/chunks/{provider-mf9fhcz6.js → worktree-2h5p72nb.js} +4 -4
- package/dist/chunks/{provider-qgn6gcr1.js → worktree-2k8khapm.js} +5 -5
- package/dist/chunks/{provider-51y1rz4t.js → worktree-2rr20z1w.js} +4 -4
- package/dist/chunks/{provider-cq37gk0t.js → worktree-2tfmgkzg.js} +4 -4
- package/dist/chunks/{provider-7ntfaaks.js → worktree-2xb0rw2k.js} +8 -8
- package/dist/chunks/{provider-fcnhywp4.js → worktree-2xx7cc67.js} +33 -33
- package/dist/chunks/{provider-c0f3p06s.js → worktree-32kkc7q0.js} +17 -17
- package/dist/chunks/{provider-mgm5zdqv.js → worktree-346kb89v.js} +10 -10
- package/dist/chunks/{provider-69s15509.js → worktree-35zpw20s.js} +11 -11
- package/dist/chunks/{provider-kx6q1bss.js → worktree-36385fv4.js} +5 -5
- package/dist/chunks/{provider-q9kwjsx6.js → worktree-39xar9bx.js} +15 -15
- package/dist/chunks/{provider-9xvq3m7s.js → worktree-3cfzdc8e.js} +5 -5
- package/dist/chunks/{provider-pbb1p4ms.js → worktree-3errd6sf.js} +47 -47
- package/dist/chunks/worktree-3ewahy0x.js +252 -0
- package/dist/chunks/{provider-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-w7q1zcrw.js → worktree-3spkf7qp.js} +13 -13
- package/dist/chunks/{provider-1e2dyvvx.js → worktree-3stbnqm0.js} +35 -35
- package/dist/chunks/{provider-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-a200qbpt.js → worktree-3wx5qy6d.js} +10 -10
- package/dist/chunks/{provider-h6r3nrb9.js → worktree-44h5tttr.js} +4 -4
- package/dist/chunks/{provider-j4dv9dx7.js → worktree-4jf64xzc.js} +12 -12
- package/dist/chunks/{provider-phrvssew.js → worktree-4jq676mw.js} +5 -5
- package/dist/chunks/{provider-2vqtjfqv.js → worktree-4m36v5dn.js} +24 -24
- package/dist/chunks/{provider-c2ddg0d0.js → worktree-50x9syx5.js} +23 -23
- package/dist/chunks/{provider-1ygqh575.js → worktree-56gdpj1q.js} +9 -9
- package/dist/chunks/{provider-57ez7d0k.js → worktree-57ez7d0k.js} +2 -2
- package/dist/chunks/{provider-a1bz86dw.js → worktree-5c4hm403.js} +3 -3
- package/dist/chunks/{provider-jexxy024.js → worktree-5cmxdwv8.js} +3 -3
- package/dist/chunks/{provider-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{provider-skzznzbs.js → worktree-5e1anv4t.js} +22 -22
- package/dist/chunks/{provider-mvyy4qh8.js → worktree-5fj6ztyw.js} +84 -84
- package/dist/chunks/{provider-8atp6zqh.js → worktree-5g7dqg8p.js} +5 -5
- package/dist/chunks/{provider-mamd5kgb.js → worktree-5k7h9vpf.js} +23 -23
- package/dist/chunks/{provider-arxff2r5.js → worktree-5nvfww89.js} +11 -11
- package/dist/chunks/{provider-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{provider-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{provider-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{provider-hwvyndb6.js → worktree-6xwcf1a8.js} +4 -4
- package/dist/chunks/{provider-gfzhf7me.js → worktree-75xv13tv.js} +10 -10
- package/dist/chunks/{provider-vyqfs9aq.js → worktree-780m7f13.js} +40 -40
- package/dist/chunks/{provider-d31rezqm.js → worktree-79rfjzgm.js} +14 -14
- package/dist/chunks/{provider-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-x3hxzb6n.js → worktree-7d0yyna9.js} +8 -8
- package/dist/chunks/{provider-hzzpcvtj.js → worktree-7ge5j3yy.js} +26 -26
- package/dist/chunks/{provider-kdde5j3x.js → worktree-7hqt86v7.js} +43 -43
- package/dist/chunks/{provider-bdav1pff.js → worktree-7p8zv4r2.js} +28 -28
- package/dist/chunks/{provider-h4bz714h.js → worktree-7zs56f9j.js} +6 -6
- package/dist/chunks/{provider-hm5a9yba.js → worktree-83gabncn.js} +24 -24
- package/dist/chunks/{provider-s0ktpnqb.js → worktree-87dgkaj8.js} +10 -10
- package/dist/chunks/{provider-mpjm327k.js → worktree-89s1mcqs.js} +7 -7
- package/dist/chunks/{provider-kye37pnh.js → worktree-8c28nkj2.js} +13 -13
- package/dist/chunks/{provider-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{provider-t4bqh1bd.js → worktree-8e1xm2jx.js} +17 -17
- package/dist/chunks/{provider-fbnf3z29.js → worktree-8gr00jt2.js} +3 -3
- package/dist/chunks/{provider-sgc0b5k4.js → worktree-8gyebbke.js} +9 -9
- package/dist/chunks/{provider-1htf6gj8.js → worktree-8nxjb84w.js} +85 -85
- package/dist/chunks/{provider-vbfgae2j.js → worktree-8tsdq50x.js} +4 -4
- package/dist/chunks/{provider-hhm6svje.js → worktree-8wvjpm5e.js} +43 -43
- package/dist/chunks/{provider-dknzpsbe.js → worktree-91xevwh1.js} +5 -5
- package/dist/chunks/{provider-1682qy7f.js → worktree-97z8nx23.js} +25 -25
- package/dist/chunks/{provider-a9bks421.js → worktree-9kpbfwfm.js} +26 -26
- package/dist/chunks/{provider-pr7veg4m.js → worktree-9qwzd11x.js} +3 -3
- package/dist/chunks/{provider-1rh720zf.js → worktree-9x09xbgz.js} +6 -6
- package/dist/chunks/{provider-ss7ks4j5.js → worktree-a2wwx1s9.js} +25 -25
- package/dist/chunks/{provider-sxz6gkc3.js → worktree-a46v4e4v.js} +7 -7
- package/dist/chunks/{provider-j7s4bfg0.js → worktree-a70mfejk.js} +52 -52
- package/dist/chunks/{provider-gztt0stp.js → worktree-a89emqe4.js} +172 -172
- package/dist/chunks/{provider-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-8dbgybgw.js → worktree-awavsj5m.js} +3 -3
- package/dist/chunks/{provider-aya99032.js → worktree-awazhe6z.js} +17 -17
- package/dist/chunks/{provider-fdms3n6w.js → worktree-b0dgvpy7.js} +9 -9
- package/dist/chunks/{provider-0y1q99g5.js → worktree-b0gk7qzq.js} +20 -20
- package/dist/chunks/{provider-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-bz85s9hh.js → worktree-b97cbvw3.js} +1 -1
- package/dist/chunks/{provider-3znt1wpk.js → worktree-bdreqd6y.js} +9 -9
- package/dist/chunks/{provider-qw8em5ng.js → worktree-bhhhtnas.js} +22 -22
- package/dist/chunks/{provider-0rpg7gzc.js → worktree-bjn91642.js} +4 -4
- package/dist/chunks/{provider-7arg0xwe.js → worktree-bk738gev.js} +17 -17
- package/dist/chunks/{provider-rcj95w22.js → worktree-bpsvpgx8.js} +17 -17
- package/dist/chunks/{provider-p37cw4rj.js → worktree-br0tr5aq.js} +8 -8
- package/dist/chunks/{provider-rgk2ney7.js → worktree-bv5fntwv.js} +15 -15
- package/dist/chunks/{provider-74wf7e56.js → worktree-bwj0s2z3.js} +7 -7
- package/dist/chunks/{provider-dzkcnhdc.js → worktree-c71ge8jf.js} +11 -11
- package/dist/chunks/{provider-yaze7axp.js → worktree-c9q1sp9w.js} +8 -8
- package/dist/chunks/{provider-w6d5a1tb.js → worktree-cph6vb6s.js} +24 -24
- package/dist/chunks/{provider-8mr3k4h2.js → worktree-ctf4v5qh.js} +11 -11
- package/dist/chunks/{provider-nda2wghv.js → worktree-cyq0b8sg.js} +17 -17
- package/dist/chunks/{provider-s8zy8myc.js → worktree-d2aac7k2.js} +5 -5
- package/dist/chunks/{provider-aredzfvk.js → worktree-d4cw493d.js} +4 -4
- package/dist/chunks/{provider-82kndyh8.js → worktree-d57x1pyx.js} +7 -7
- package/dist/chunks/{provider-03wh323s.js → worktree-d96a640y.js} +16 -16
- package/dist/chunks/{provider-h0ccxrqf.js → worktree-dcvngtvp.js} +30 -30
- package/dist/chunks/{provider-y7ysfew0.js → worktree-ddt58ebd.js} +22 -22
- package/dist/chunks/{provider-8p4f9s12.js → worktree-dj2t23y0.js} +2 -2
- package/dist/chunks/{provider-drwq78ky.js → worktree-drwq78ky.js} +1 -1
- package/dist/chunks/{provider-0r7yqxbf.js → worktree-e6hmchc5.js} +5 -5
- package/dist/chunks/{provider-f62qkzqr.js → worktree-e8qyrgb1.js} +5 -5
- package/dist/chunks/{provider-rhjbct0v.js → worktree-eaj1djv9.js} +8 -8
- package/dist/chunks/{provider-n9q5nv43.js → worktree-eex107wk.js} +8 -8
- package/dist/chunks/{provider-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-ftqh13bq.js → worktree-eq8dtg11.js} +8 -8
- package/dist/chunks/{provider-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
- package/dist/chunks/{provider-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{provider-5em3v9t2.js → worktree-ez0trfpj.js} +7 -7
- package/dist/chunks/{provider-chrwx1ra.js → worktree-ezy2bptn.js} +8 -8
- package/dist/chunks/{provider-r8xr0va3.js → worktree-f2n192rq.js} +4 -4
- package/dist/chunks/{provider-qg0jgkcp.js → worktree-fhs97t90.js} +9 -9
- package/dist/chunks/{provider-hyrz6ndr.js → worktree-fmkkzw6c.js} +12 -12
- package/dist/chunks/{provider-v7c1j4fy.js → worktree-fp9dkyzv.js} +30 -30
- package/dist/chunks/{provider-s9rhvhkx.js → worktree-fv3nz7za.js} +11 -11
- package/dist/chunks/{provider-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{provider-4bnvpwd7.js → worktree-g057r8b7.js} +6 -6
- package/dist/chunks/{provider-p7vtmph1.js → worktree-g4ap4hkb.js} +8 -8
- package/dist/chunks/{provider-fa88dyr4.js → worktree-g5pg1z3v.js} +24 -24
- package/dist/chunks/{provider-5w7vw2xw.js → worktree-gc3cjvmd.js} +5 -5
- package/dist/chunks/{provider-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-zzrdptt8.js → worktree-ggfrbsvd.js} +6 -6
- package/dist/chunks/{provider-nbaznm45.js → worktree-gm5vzmqr.js} +42 -42
- package/dist/chunks/{provider-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{provider-1gncp487.js → worktree-gwzmxzqv.js} +23 -23
- package/dist/chunks/{provider-n8nx7cky.js → worktree-h6366cww.js} +26 -26
- package/dist/chunks/{provider-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-mzpqym4s.js → worktree-ha48bngf.js} +23 -23
- package/dist/chunks/{provider-f828m53h.js → worktree-hdnk95c8.js} +2 -2
- package/dist/chunks/{provider-apx0827f.js → worktree-hekpxy8z.js} +3 -3
- package/dist/chunks/{provider-7zzc33zw.js → worktree-heyyxcdn.js} +23 -23
- package/dist/chunks/{provider-e9sqvrex.js → worktree-hgcakkdy.js} +4 -4
- package/dist/chunks/{provider-njm86czr.js → worktree-hj38q284.js} +24 -24
- package/dist/chunks/{provider-g15pfrmb.js → worktree-hkchw422.js} +13 -13
- package/dist/chunks/{provider-52e3x94b.js → worktree-hxjj1ytk.js} +314 -314
- package/dist/chunks/{provider-05xfxpq7.js → worktree-hz84tk5e.js} +8 -8
- package/dist/chunks/{provider-whc354j7.js → worktree-hzq9ckfm.js} +20 -20
- package/dist/chunks/{provider-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-v2vsy0py.js → worktree-jdp0p5sy.js} +1 -1
- package/dist/chunks/{provider-4ckfh27y.js → worktree-jfqbecxf.js} +3 -3
- package/dist/chunks/{provider-zdwe30dy.js → worktree-jhf3jymm.js} +6 -6
- package/dist/chunks/{provider-1g0680n2.js → worktree-jqtedxjm.js} +44 -44
- package/dist/chunks/{provider-5rk0k3gd.js → worktree-jrra6jmc.js} +3 -3
- package/dist/chunks/{provider-q20c44bz.js → worktree-jvmrmb3q.js} +4 -4
- package/dist/chunks/{provider-78bv9fnp.js → worktree-k06dajrc.js} +17 -17
- package/dist/chunks/{provider-k3c624dm.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{provider-fbdydc3h.js → worktree-kh82he3q.js} +26 -26
- package/dist/chunks/{provider-fkjmw100.js → worktree-knb7evpn.js} +6 -6
- package/dist/chunks/{provider-2sd25e3x.js → worktree-ks6fp8g0.js} +16 -16
- package/dist/chunks/{provider-cnn77yjf.js → worktree-kv9x9mds.js} +4 -4
- package/dist/chunks/{provider-hgw9t808.js → worktree-kz2med77.js} +15 -15
- package/dist/chunks/{provider-cfpkc3c9.js → worktree-m0jqrx5p.js} +2 -2
- package/dist/chunks/{provider-49efg6hh.js → worktree-m31hrvtp.js} +14 -14
- package/dist/chunks/{provider-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-yhjdj6k2.js → worktree-m3mk1ymc.js} +11 -11
- package/dist/chunks/{provider-3k8yvm90.js → worktree-m55360kq.js} +41 -41
- package/dist/chunks/{provider-q17z9dx8.js → worktree-m64xvjj1.js} +5 -5
- package/dist/chunks/{provider-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-hqpd1xnh.js → worktree-mc3xbmaq.js} +13 -13
- package/dist/chunks/{provider-r5nnd09r.js → worktree-mdjkd3ee.js} +22 -22
- package/dist/chunks/{provider-90adh171.js → worktree-mn85ck47.js} +29 -29
- package/dist/chunks/{provider-6cpps8na.js → worktree-mrcbab82.js} +7 -7
- package/dist/chunks/{provider-hfn0xp6d.js → worktree-ms96e6xa.js} +5 -5
- package/dist/chunks/{provider-mhkvc446.js → worktree-mvfsc1pv.js} +3 -3
- package/dist/chunks/{provider-as2dbdzv.js → worktree-n0c6g085.js} +29 -29
- package/dist/chunks/{provider-d06mzzet.js → worktree-n32egdgz.js} +26 -26
- package/dist/chunks/{provider-cjjbnact.js → worktree-n4b7qefn.js} +16 -16
- package/dist/chunks/{provider-7py176jj.js → worktree-n9nnv5bx.js} +21 -21
- package/dist/chunks/{provider-mw0p63mw.js → worktree-nbcy93d5.js} +68 -68
- package/dist/chunks/{provider-hfczjsw8.js → worktree-ndqm9729.js} +18 -18
- package/dist/chunks/{provider-v2tzk7cv.js → worktree-nea2jzm4.js} +2 -2
- package/dist/chunks/{provider-v13rhakv.js → worktree-nksn1ctm.js} +26 -26
- package/dist/chunks/{provider-h6qqq1aa.js → worktree-nrfrnn4g.js} +27 -27
- package/dist/chunks/{provider-w9eedde7.js → worktree-nrqt53h4.js} +25 -25
- package/dist/chunks/{provider-pmyy6wgx.js → worktree-nrvgxq91.js} +4 -4
- package/dist/chunks/{provider-vhaqwyxf.js → worktree-ntj434hm.js} +6 -6
- package/dist/chunks/{provider-r8gxghcv.js → worktree-p0w9t4nv.js} +18 -18
- package/dist/chunks/{provider-chmcj56h.js → worktree-p6fzwed5.js} +3 -3
- package/dist/chunks/{provider-15td0j1z.js → worktree-pcvbzdg6.js} +23 -23
- package/dist/chunks/{provider-h489nx9j.js → worktree-pfgvbcn0.js} +9 -9
- package/dist/chunks/{provider-jen70y5q.js → worktree-pg2axqyg.js} +11 -11
- package/dist/chunks/{provider-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{provider-f8nt1psr.js → worktree-pkwse4rj.js} +20 -20
- package/dist/chunks/{provider-ksqszy4w.js → worktree-pv1q3n8t.js} +11 -11
- package/dist/chunks/{provider-2ajc930w.js → worktree-pyj9dmja.js} +13 -13
- package/dist/chunks/{provider-n865fexc.js → worktree-q0r1avd8.js} +31 -31
- package/dist/chunks/{provider-9e8cqta3.js → worktree-qge4gbge.js} +18 -18
- package/dist/chunks/{provider-magykp64.js → worktree-qj8eh1ht.js} +4 -4
- package/dist/chunks/{provider-a8psvap3.js → worktree-qk7sb3fs.js} +30 -30
- package/dist/chunks/{provider-2sejkfem.js → worktree-qmqgtz8f.js} +9 -9
- package/dist/chunks/{provider-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-wydv7ax3.js → worktree-qsfdmrhc.js} +10 -10
- package/dist/chunks/{provider-ztvmj9vt.js → worktree-qvd2vpt5.js} +19 -19
- package/dist/chunks/{provider-tcj2t8vk.js → worktree-qwyrfpbr.js} +2 -2
- package/dist/chunks/{provider-4w04jcng.js → worktree-qz8rjx4n.js} +16 -16
- package/dist/chunks/{provider-r47bzvnc.js → worktree-r92bbbhx.js} +8 -8
- package/dist/chunks/{provider-b580bgdr.js → worktree-r98rf7en.js} +20 -20
- package/dist/chunks/{provider-65062tcg.js → worktree-rdrgmjyp.js} +10 -10
- package/dist/chunks/{provider-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-gwcwkmv7.js → worktree-rhn8bjdn.js} +19 -19
- package/dist/chunks/{provider-z159ncje.js → worktree-rjh41bnw.js} +8 -8
- package/dist/chunks/{provider-txqffk2q.js → worktree-rjn555ek.js} +5 -5
- package/dist/chunks/{provider-3ge4rz06.js → worktree-rq75yw12.js} +8 -8
- package/dist/chunks/{provider-ksawsn4b.js → worktree-rrern9t5.js} +37 -37
- package/dist/chunks/{provider-a2fd5jyn.js → worktree-sej8f238.js} +11 -11
- package/dist/chunks/{provider-nbwvdyvz.js → worktree-sj0sw9zb.js} +29 -29
- package/dist/chunks/{provider-emkcrqbg.js → worktree-smxfcp26.js} +9 -9
- package/dist/chunks/{provider-nazpdbhc.js → worktree-ss2rtpw1.js} +13 -13
- package/dist/chunks/{provider-86tpqd10.js → worktree-t243pvw8.js} +16 -16
- package/dist/chunks/{provider-grj8yyr4.js → worktree-t2866z93.js} +12 -12
- package/dist/chunks/{provider-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-p28j5sbe.js → worktree-tbz0fdvh.js} +5 -5
- package/dist/chunks/{provider-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/worktree-td9rdqgs.js +26 -0
- package/dist/chunks/{provider-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{provider-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{provider-t1vbng9k.js → worktree-twmrfj2d.js} +22 -22
- package/dist/chunks/{provider-k1gkpfdk.js → worktree-tx9w5tca.js} +8 -8
- package/dist/chunks/{provider-e2hjzebn.js → worktree-tz4n1mmd.js} +4 -4
- package/dist/chunks/{provider-mda8qtvh.js → worktree-v4gw1aty.js} +24 -24
- package/dist/chunks/{provider-ygaaqm9q.js → worktree-v53ttaz3.js} +6 -6
- package/dist/chunks/{provider-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-a3r4dcrj.js → worktree-vmgq4x8b.js} +2 -2
- package/dist/chunks/{provider-ybhbtxjg.js → worktree-vmwh049b.js} +6 -6
- package/dist/chunks/{provider-75f34rtq.js → worktree-vxrfxpxs.js} +3 -3
- package/dist/chunks/{provider-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{provider-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-7mwfjdjg.js → worktree-wbtxrwsd.js} +16 -16
- package/dist/chunks/{provider-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{provider-yebb45zj.js → worktree-wkfva7bh.js} +24 -24
- package/dist/chunks/{provider-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{provider-czsahcf5.js → worktree-xcc1re04.js} +11 -11
- package/dist/chunks/{provider-5jpkytcg.js → worktree-xjd2fv1x.js} +43 -43
- package/dist/chunks/{provider-jtm58g5z.js → worktree-xpxqhtvz.js} +33 -33
- package/dist/chunks/{provider-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-basr843q.js → worktree-y31avz63.js} +3 -3
- package/dist/chunks/{provider-nsarsp7q.js → worktree-y5df08dr.js} +5 -5
- package/dist/chunks/{provider-y71avatq.js → worktree-y71avatq.js} +1 -1
- package/dist/chunks/{provider-671mfjqz.js → worktree-y9v5gkeq.js} +6 -6
- package/dist/chunks/{provider-h2pkw5gw.js → worktree-y9wbn93n.js} +21 -21
- package/dist/chunks/{provider-hhc94xxb.js → worktree-ybtbm60b.js} +37 -37
- package/dist/chunks/{provider-k8ens6qv.js → worktree-ynvr2dvc.js} +25 -25
- package/dist/chunks/{provider-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{provider-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{provider-cjj42we6.js → worktree-yst3wyvc.js} +23 -23
- package/dist/chunks/{provider-fjafz3nd.js → worktree-ywrevtsf.js} +17 -17
- package/dist/chunks/{provider-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-zp9qk7ne.js → worktree-z0hmyh7c.js} +30 -30
- package/dist/chunks/{provider-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{provider-3b9qt4hj.js → worktree-zab19jja.js} +9 -9
- package/dist/chunks/{provider-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{provider-fx87g1p8.js → worktree-zhsyjq1s.js} +13 -13
- package/dist/chunks/{provider-4drh5h3y.js → worktree-zjhmce52.js} +1 -1
- package/dist/chunks/{provider-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-c7yn6ytz.js → worktree-zrbcx4wy.js} +16 -16
- package/dist/chunks/{provider-855zaz61.js → worktree-ztf7grp6.js} +10 -10
- package/dist/chunks/{provider-05bgp5qp.js → worktree-zwnqbtaj.js} +33 -33
- package/dist/chunks/{provider-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 +84 -84
- package/dist/config/discovery.js +81 -81
- 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 +122 -122
- 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 +84 -84
- package/dist/database/database.js +65 -65
- 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.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 +368 -368
- 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 +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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- 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 +356 -356
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +123 -123
- 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 +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +102 -102
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- 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 +330 -330
- 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 +4 -4
- 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 +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- 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 +158 -158
- 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 +349 -349
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- 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 +5 -5
- 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 +4 -4
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- 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 +1 -1
- package/dist/session/title.js +155 -155
- 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 +215 -215
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- 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 +122 -122
- 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 +115 -115
- package/dist/tool/plugin/question.js +100 -100
- 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 +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +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 +3 -3
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- 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 +95 -95
- package/package.json +8 -8
- package/dist/chunks/provider-v1faaxn9.js +0 -18
- package/dist/chunks/provider-xsqp7mar.js +0 -252
- package/dist/chunks/provider-yn02nake.js +0 -26
- /package/dist/chunks/{provider-0mesazry.js → worktree-0mesazry.js} +0 -0
- /package/dist/chunks/{provider-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-p6fzwed5.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info28,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service75,
|
|
21
|
+
node: () => node79
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info28 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service75 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID14.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service75.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node79 = makeGlobalNode({ service: Service75, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID14, Info28, ListInput4, AddInput2, Service75, node79, exports_saved };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service11,
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service11 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service11.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service11, node13, exports_update };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-jvmrmb3q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./worktree-twmrfj2d.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./worktree-83gabncn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./worktree-fmkkzw6c.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-vmwh049b.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-d4cw493d.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-9x09xbgz.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service30;
|
|
58
|
+
const toolOutput = yield* Service49;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make7 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -209,4 +209,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
209
209
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
210
210
|
};
|
|
211
211
|
|
|
212
|
-
export { Outcome2,
|
|
212
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./worktree-jhf3jymm.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-1x11rq2a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./worktree-8wvjpm5e.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service37;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service46), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event10,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service56,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node59,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event10 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service56 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service56.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service56.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service56).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service56, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service56, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node59 = configured9();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event10, hasNativeBinding2, Native3, Options9, Service56, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured9, node59, exports_watcher };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin46
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin46 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin4 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin46, exports_mcp_codemode_exclusion };
|
|
@@ -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
|
+
Service64,
|
|
6
|
+
node68
|
|
7
|
+
} from "./worktree-gm5vzmqr.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_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service63,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer23,
|
|
20
|
+
node: () => node67
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service63 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer23 = Layer.effect(Service63, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service64;
|
|
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",
|
|
@@ -63,12 +63,12 @@ var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
63
63
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service63.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node67 = makeLocationNode({
|
|
69
|
+
service: Service63,
|
|
70
|
+
layer: layer23,
|
|
71
|
+
deps: [node68, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError3, Service63, layer23, node67, exports_generate2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-p6fzwed5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service21,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node25,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service21 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service83;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service21.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node25 = makeLocationNode({ service: Service21, layer, deps: [node87] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service21, node25, exports_instruction_entry };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service12,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node14
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service12 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node14 = makeLocationNode({
|
|
19
|
+
service: Service12,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service12, node14, bound2, exports_instance2 };
|