@opencode/core 0.0.0-dev-19839 → 0.0.0-dev-19842
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 +91 -91
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{worktree-2grvmngk.js → workspace-04y2rkk2.js} +11 -11
- package/dist/chunks/{worktree-d2aac7k2.js → workspace-0f9afca0.js} +5 -5
- package/dist/chunks/{worktree-n0c6g085.js → workspace-0gptwf17.js} +27 -27
- package/dist/chunks/{worktree-2k8khapm.js → workspace-0jwsre1p.js} +5 -5
- package/dist/chunks/{worktree-36385fv4.js → workspace-0kkgx1hv.js} +5 -5
- package/dist/chunks/{worktree-ks6fp8g0.js → workspace-0me4z1n8.js} +16 -16
- package/dist/chunks/{worktree-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-bdreqd6y.js → workspace-0qn3s7y6.js} +9 -9
- package/dist/chunks/{worktree-ynvr2dvc.js → workspace-0t9d6x9s.js} +22 -22
- package/dist/chunks/{worktree-zhsyjq1s.js → workspace-0tgtrx77.js} +13 -13
- package/dist/chunks/{worktree-1jcctp8h.js → workspace-11kb2ryy.js} +22 -22
- package/dist/chunks/{worktree-n9nnv5bx.js → workspace-17zqg50h.js} +21 -21
- package/dist/chunks/{worktree-f2n192rq.js → workspace-1acjjqhc.js} +4 -4
- package/dist/chunks/{worktree-26zmw6vg.js → workspace-1b4r2z2j.js} +50 -50
- package/dist/chunks/{worktree-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-c9q1sp9w.js → workspace-1s7b1csw.js} +8 -8
- package/dist/chunks/{worktree-bwj0s2z3.js → workspace-1v57fm2m.js} +7 -7
- package/dist/chunks/{worktree-3errd6sf.js → workspace-1xam1b6j.js} +47 -47
- package/dist/chunks/{worktree-8tsdq50x.js → workspace-1y283654.js} +4 -4
- package/dist/chunks/{worktree-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2402vzrj.js → workspace-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-09r3zm1x.js → workspace-2438drjd.js} +9 -9
- package/dist/chunks/{worktree-t243pvw8.js → workspace-24xg1x4z.js} +16 -16
- package/dist/chunks/{worktree-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-7p8zv4r2.js → workspace-2mkhnbvz.js} +22 -22
- package/dist/chunks/{worktree-8gyebbke.js → workspace-2sezm37j.js} +6 -6
- package/dist/chunks/{worktree-rdrgmjyp.js → workspace-2xmpv3m6.js} +7 -7
- package/dist/chunks/{worktree-sj0sw9zb.js → workspace-2znr0nan.js} +32 -32
- package/dist/chunks/{worktree-pyj9dmja.js → workspace-31gccvh4.js} +13 -13
- package/dist/chunks/{worktree-75xv13tv.js → workspace-342mg198.js} +10 -10
- package/dist/chunks/{worktree-pfgvbcn0.js → workspace-347p2yks.js} +9 -9
- package/dist/chunks/{worktree-39xar9bx.js → workspace-357e4jec.js} +15 -15
- package/dist/chunks/{worktree-5e1anv4t.js → workspace-374v8g3a.js} +19 -19
- package/dist/chunks/{worktree-6xwcf1a8.js → workspace-3838ekre.js} +4 -4
- package/dist/chunks/{worktree-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-awazhe6z.js → workspace-3fe6bt6f.js} +17 -17
- package/dist/chunks/{worktree-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-knb7evpn.js → workspace-3tq5qxbk.js} +8 -8
- package/dist/chunks/{worktree-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-ywrevtsf.js → workspace-405nw1q2.js} +17 -17
- package/dist/chunks/{worktree-2xx7cc67.js → workspace-46kfxrdk.js} +33 -33
- package/dist/chunks/{worktree-cyq0b8sg.js → workspace-48nt27tg.js} +17 -17
- package/dist/chunks/{worktree-44h5tttr.js → workspace-4dgbcxzg.js} +4 -4
- package/dist/chunks/{worktree-r92bbbhx.js → workspace-4ejejf2p.js} +11 -11
- package/dist/chunks/{worktree-m55360kq.js → workspace-4m58q416.js} +41 -41
- package/dist/chunks/{worktree-hj38q284.js → workspace-4mtpks84.js} +18 -18
- package/dist/chunks/{worktree-4m36v5dn.js → workspace-4n7sevkh.js} +21 -21
- package/dist/chunks/{worktree-9x09xbgz.js → workspace-4n9bywtw.js} +6 -6
- package/dist/chunks/{worktree-56gdpj1q.js → workspace-56gdpj1q.js} +2 -2
- package/dist/chunks/{worktree-drwq78ky.js → workspace-57b9ws8p.js} +5 -5
- package/dist/chunks/{worktree-57ez7d0k.js → workspace-57ez7d0k.js} +2 -2
- package/dist/chunks/{worktree-jrra6jmc.js → workspace-5ah12t62.js} +6 -6
- package/dist/chunks/{worktree-5c4hm403.js → workspace-5c4hm403.js} +3 -3
- package/dist/chunks/{worktree-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-qge4gbge.js → workspace-5jv9rtqx.js} +27 -27
- package/dist/chunks/{worktree-5k7h9vpf.js → workspace-5smvddr8.js} +23 -23
- package/dist/chunks/{worktree-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-br0tr5aq.js → workspace-5xtgfte3.js} +8 -8
- package/dist/chunks/{worktree-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{worktree-k06dajrc.js → workspace-6as31qen.js} +13 -13
- package/dist/chunks/{worktree-awavsj5m.js → workspace-6dev9rqa.js} +3 -3
- package/dist/chunks/workspace-6dqdswvk.js +252 -0
- package/dist/chunks/{worktree-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-ctf4v5qh.js → workspace-6p1etxq2.js} +7 -7
- package/dist/chunks/{worktree-7hqt86v7.js → workspace-6pmq8b1f.js} +43 -43
- package/dist/chunks/workspace-6r3amyyd.js +4 -0
- package/dist/chunks/{worktree-ddt58ebd.js → workspace-6sc0ns97.js} +11 -11
- package/dist/chunks/{worktree-8e1xm2jx.js → workspace-6vdste0b.js} +17 -17
- package/dist/chunks/{worktree-r98rf7en.js → workspace-79psx6ha.js} +20 -20
- package/dist/chunks/{worktree-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-8nxjb84w.js → workspace-7fpdhx8y.js} +87 -87
- package/dist/chunks/{worktree-97z8nx23.js → workspace-7fzvq14v.js} +31 -31
- package/dist/chunks/{worktree-ybtbm60b.js → workspace-7nd7t3y6.js} +39 -39
- package/dist/chunks/{worktree-2rr20z1w.js → workspace-7pncbcke.js} +4 -4
- package/dist/chunks/{worktree-pv1q3n8t.js → workspace-7r3ygdmz.js} +14 -14
- package/dist/chunks/{worktree-1j08d619.js → workspace-7t824xx2.js} +18 -18
- package/dist/chunks/{worktree-pkwse4rj.js → workspace-7wh8xm2m.js} +15 -15
- package/dist/chunks/{worktree-hzq9ckfm.js → workspace-857crm20.js} +17 -17
- package/dist/chunks/{worktree-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-y31avz63.js → workspace-8kae62x2.js} +3 -3
- package/dist/chunks/{worktree-rjh41bnw.js → workspace-8nhzdh16.js} +8 -8
- package/dist/chunks/{worktree-kh82he3q.js → workspace-8r0skts4.js} +23 -23
- package/dist/chunks/{worktree-hkchw422.js → workspace-8s9gdvz1.js} +13 -13
- package/dist/chunks/{worktree-rhn8bjdn.js → workspace-8ycrq1wj.js} +9 -9
- package/dist/chunks/{worktree-d4cw493d.js → workspace-8z9aqbjr.js} +4 -4
- package/dist/chunks/{worktree-3stbnqm0.js → workspace-90bky85a.js} +37 -37
- package/dist/chunks/{worktree-jqtedxjm.js → workspace-9aza1f1x.js} +44 -44
- package/dist/chunks/{worktree-nksn1ctm.js → workspace-9btd272k.js} +26 -26
- package/dist/chunks/{worktree-346kb89v.js → workspace-9hckxq4k.js} +7 -7
- package/dist/chunks/{worktree-0njhf5dz.js → workspace-9n314x6j.js} +15 -15
- package/dist/chunks/{worktree-nbcy93d5.js → workspace-9tb0v2yh.js} +68 -68
- package/dist/chunks/{worktree-y5df08dr.js → workspace-9yzdvftt.js} +5 -5
- package/dist/chunks/{worktree-05tvpv5w.js → workspace-a2m7fzmh.js} +11 -11
- package/dist/chunks/{worktree-xpxqhtvz.js → workspace-a414py93.js} +21 -21
- package/dist/chunks/{worktree-4jq676mw.js → workspace-a84sqmex.js} +5 -5
- package/dist/chunks/{worktree-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-4jf64xzc.js → workspace-adykyd42.js} +9 -9
- package/dist/chunks/{worktree-qwyrfpbr.js → workspace-afps5b8n.js} +2 -2
- package/dist/chunks/{worktree-fmkkzw6c.js → workspace-as71pn4z.js} +12 -12
- package/dist/chunks/{worktree-a89emqe4.js → workspace-asfqdkpb.js} +162 -162
- package/dist/chunks/{worktree-m31hrvtp.js → workspace-avc8n21j.js} +20 -20
- package/dist/chunks/{worktree-ez0trfpj.js → workspace-avrvke37.js} +7 -7
- package/dist/chunks/{worktree-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-kv9x9mds.js → workspace-b8qvbf28.js} +4 -4
- package/dist/chunks/{worktree-d57x1pyx.js → workspace-berxm3qr.js} +7 -7
- package/dist/chunks/{worktree-pcvbzdg6.js → workspace-bm5d57fs.js} +27 -27
- package/dist/chunks/{worktree-c71ge8jf.js → workspace-bpy2r9c4.js} +11 -11
- package/dist/chunks/{worktree-dcvngtvp.js → workspace-bxbnev26.js} +27 -27
- package/dist/chunks/{worktree-8c28nkj2.js → workspace-byhenq9m.js} +13 -13
- package/dist/chunks/{worktree-g4ap4hkb.js → workspace-c34eff8t.js} +8 -8
- package/dist/chunks/{worktree-50x9syx5.js → workspace-c3nqgy48.js} +25 -25
- package/dist/chunks/{worktree-87dgkaj8.js → workspace-c7yg1ngd.js} +10 -10
- package/dist/chunks/{worktree-jdp0p5sy.js → workspace-ce8etdrj.js} +1 -1
- package/dist/chunks/{worktree-ggfrbsvd.js → workspace-cg72rvag.js} +6 -6
- package/dist/chunks/{worktree-nea2jzm4.js → workspace-cka6kvq6.js} +2 -2
- package/dist/chunks/{worktree-5nvfww89.js → workspace-cn886m9x.js} +9 -9
- package/dist/chunks/{worktree-1gayks8f.js → workspace-crekkz1m.js} +18 -18
- package/dist/chunks/{worktree-qmqgtz8f.js → workspace-cwa6csj7.js} +9 -9
- package/dist/chunks/{worktree-bjn91642.js → workspace-d8nc1xcx.js} +4 -4
- package/dist/chunks/{worktree-8gr00jt2.js → workspace-dhtzjjzz.js} +3 -3
- package/dist/chunks/{worktree-dj2t23y0.js → workspace-dj2t23y0.js} +2 -2
- package/dist/chunks/{worktree-y71avatq.js → workspace-dpkg50ah.js} +4 -4
- package/dist/chunks/{worktree-rq75yw12.js → workspace-e1pmkxcv.js} +8 -8
- package/dist/chunks/{worktree-zrbcx4wy.js → workspace-e43vk65n.js} +16 -16
- package/dist/chunks/{worktree-fp9dkyzv.js → workspace-e624nkeg.js} +30 -30
- package/dist/chunks/{worktree-23pqda6t.js → workspace-e6hd9jay.js} +4 -4
- package/dist/chunks/{worktree-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-bpsvpgx8.js → workspace-ejevs9sw.js} +17 -17
- package/dist/chunks/{worktree-bhhhtnas.js → workspace-ejgp49jg.js} +22 -22
- package/dist/chunks/{worktree-bk738gev.js → workspace-ek42fa6x.js} +23 -23
- package/dist/chunks/{worktree-g5pg1z3v.js → workspace-epb4w8jv.js} +24 -24
- package/dist/chunks/{worktree-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-3spkf7qp.js → workspace-f2we9qpp.js} +10 -10
- package/dist/chunks/{worktree-b97cbvw3.js → workspace-fch79rh9.js} +1 -1
- package/dist/chunks/{worktree-83gabncn.js → workspace-fdc34wrr.js} +24 -24
- package/dist/chunks/{worktree-z0hmyh7c.js → workspace-fffkv7qf.js} +26 -26
- package/dist/chunks/{worktree-y9v5gkeq.js → workspace-fszp41pp.js} +6 -6
- package/dist/chunks/{worktree-b0dgvpy7.js → workspace-fwwk8vbp.js} +9 -9
- package/dist/chunks/{worktree-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-qvd2vpt5.js → workspace-g3ns9rat.js} +23 -23
- package/dist/chunks/{worktree-rjn555ek.js → workspace-g8j4ctvn.js} +5 -5
- package/dist/chunks/{worktree-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-135ds6rk.js → workspace-ge7qjysf.js} +14 -14
- package/dist/chunks/{worktree-89s1mcqs.js → workspace-gn97k1b0.js} +11 -11
- package/dist/chunks/{worktree-hz84tk5e.js → workspace-gv66gg0x.js} +8 -8
- package/dist/chunks/{worktree-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-qsfdmrhc.js → workspace-gwphwnjy.js} +10 -10
- package/dist/chunks/{worktree-eex107wk.js → workspace-h2r7bbkd.js} +8 -8
- package/dist/chunks/{worktree-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-91xevwh1.js → workspace-h72e87dw.js} +5 -5
- package/dist/chunks/{worktree-12xc1hc8.js → workspace-h7krgpah.js} +11 -11
- package/dist/chunks/{worktree-pg2axqyg.js → workspace-hcxmrj2a.js} +11 -11
- package/dist/chunks/{worktree-q0r1avd8.js → workspace-hdm3sk1y.js} +37 -37
- package/dist/chunks/{worktree-9kpbfwfm.js → workspace-hdm8jbsf.js} +26 -26
- package/dist/chunks/{worktree-hdnk95c8.js → workspace-hdnk95c8.js} +2 -2
- package/dist/chunks/{worktree-32kkc7q0.js → workspace-hmyzz8y0.js} +17 -17
- package/dist/chunks/{worktree-jvmrmb3q.js → workspace-j13v91pw.js} +4 -4
- package/dist/chunks/{worktree-xjd2fv1x.js → workspace-j3enmtp4.js} +43 -43
- package/dist/chunks/{worktree-79rfjzgm.js → workspace-j4n38w1e.js} +11 -11
- package/dist/chunks/{worktree-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-vmgq4x8b.js → workspace-j699j8bt.js} +2 -2
- package/dist/chunks/{worktree-23sxaqwc.js → workspace-j8zzr2am.js} +4 -4
- package/dist/chunks/{worktree-vmwh049b.js → workspace-je7c2t6y.js} +6 -6
- package/dist/chunks/{worktree-vxrfxpxs.js → workspace-jj1193c7.js} +6 -6
- package/dist/chunks/{worktree-2tfmgkzg.js → workspace-jmphe03k.js} +4 -4
- package/dist/chunks/{worktree-qj8eh1ht.js → workspace-jw80jp6b.js} +4 -4
- package/dist/chunks/{worktree-7d0yyna9.js → workspace-kexq2ab1.js} +8 -8
- package/dist/chunks/{worktree-ss2rtpw1.js → workspace-ks40ppne.js} +11 -11
- package/dist/chunks/{worktree-5fj6ztyw.js → workspace-kwv0msad.js} +85 -85
- package/dist/chunks/{worktree-m0jqrx5p.js → workspace-m0jqrx5p.js} +2 -2
- package/dist/chunks/{worktree-3wx5qy6d.js → workspace-m0ned3ze.js} +10 -10
- package/dist/chunks/{worktree-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-cph6vb6s.js → workspace-m6v93gq1.js} +22 -22
- package/dist/chunks/{worktree-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-26k5bknw.js → workspace-mfhfdr54.js} +4 -4
- package/dist/chunks/{worktree-hxjj1ytk.js → workspace-mjcsnwzf.js} +298 -298
- package/dist/chunks/{worktree-sej8f238.js → workspace-mnfv1s1b.js} +11 -11
- package/dist/chunks/{worktree-ndqm9729.js → workspace-mrekswpf.js} +15 -15
- package/dist/chunks/{worktree-d96a640y.js → workspace-n5ff45t7.js} +16 -16
- package/dist/chunks/{worktree-zjhmce52.js → workspace-n69p783e.js} +1 -1
- package/dist/chunks/{worktree-35zpw20s.js → workspace-n882b035.js} +11 -11
- package/dist/chunks/{worktree-jhf3jymm.js → workspace-n8dykrk6.js} +6 -6
- package/dist/chunks/{worktree-fhs97t90.js → workspace-nscznvay.js} +9 -9
- package/dist/chunks/{worktree-k3c624dm.js → workspace-nzks3jc8.js} +3 -3
- package/dist/chunks/{worktree-wbtxrwsd.js → workspace-p00q0h88.js} +20 -20
- package/dist/chunks/{worktree-tbz0fdvh.js → workspace-p28j5sbe.js} +5 -5
- package/dist/chunks/{worktree-nrqt53h4.js → workspace-p79yh7x8.js} +21 -21
- package/dist/chunks/{worktree-0et686r7.js → workspace-pg93v6jv.js} +5 -5
- package/dist/chunks/{worktree-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-5cmxdwv8.js → workspace-pk2244jm.js} +3 -3
- package/dist/chunks/{worktree-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-bv5fntwv.js → workspace-pm2w02ap.js} +15 -15
- package/dist/chunks/{worktree-tx9w5tca.js → workspace-pn3cc07s.js} +8 -8
- package/dist/chunks/{worktree-p6fzwed5.js → workspace-pr971s7g.js} +3 -3
- package/dist/chunks/{worktree-780m7f13.js → workspace-pxfs15kn.js} +38 -38
- package/dist/chunks/{worktree-tz4n1mmd.js → workspace-q5asdkn4.js} +4 -4
- package/dist/chunks/{worktree-a46v4e4v.js → workspace-qa3qhgw8.js} +4 -4
- package/dist/chunks/{worktree-0w34kcyc.js → workspace-qed8dvxx.js} +9 -9
- package/dist/chunks/{worktree-wkfva7bh.js → workspace-qmrp7vx8.js} +22 -22
- package/dist/chunks/{worktree-e6hmchc5.js → workspace-qn4ba14w.js} +5 -5
- package/dist/chunks/{worktree-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-25cs5cen.js → workspace-qvb3nf84.js} +8 -8
- package/dist/chunks/{worktree-jfqbecxf.js → workspace-qvxdy1p7.js} +3 -3
- package/dist/chunks/{worktree-hekpxy8z.js → workspace-qxge5qk3.js} +5 -5
- package/dist/chunks/{worktree-mvfsc1pv.js → workspace-r5x6zcsm.js} +3 -3
- package/dist/chunks/{worktree-zab19jja.js → workspace-r79m9za8.js} +9 -9
- package/dist/chunks/{worktree-g057r8b7.js → workspace-ra0m4r42.js} +6 -6
- package/dist/chunks/{worktree-mdjkd3ee.js → workspace-rackk5d8.js} +21 -21
- package/dist/chunks/{worktree-gm5vzmqr.js → workspace-rag3edqr.js} +36 -36
- package/dist/chunks/workspace-rap9a73h.js +18 -0
- package/dist/chunks/{worktree-0vr4ynh9.js → workspace-rdp84m7y.js} +33 -33
- package/dist/chunks/{worktree-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-mn85ck47.js → workspace-rfe2qg2a.js} +27 -27
- package/dist/chunks/{worktree-twmrfj2d.js → workspace-rk7bc7ed.js} +25 -25
- package/dist/chunks/{worktree-ntj434hm.js → workspace-rp7dq0jc.js} +6 -6
- package/dist/chunks/{worktree-0e4n6tbr.js → workspace-rpery1mk.js} +9 -9
- package/dist/chunks/{worktree-ezy2bptn.js → workspace-rtv6ahp9.js} +8 -8
- package/dist/chunks/{worktree-9qwzd11x.js → workspace-rysm8zhq.js} +3 -3
- package/dist/chunks/{worktree-xcc1re04.js → workspace-sqkfb9wh.js} +11 -11
- package/dist/chunks/{worktree-7ge5j3yy.js → workspace-sv23krr8.js} +26 -26
- package/dist/chunks/{worktree-yst3wyvc.js → workspace-svpqbh55.js} +12 -12
- package/dist/chunks/{worktree-0v53mg2y.js → workspace-sx1n432n.js} +4 -4
- package/dist/chunks/{worktree-qk7sb3fs.js → workspace-t04jp1as.js} +28 -28
- package/dist/chunks/{worktree-mc3xbmaq.js → workspace-t0mtj9sp.js} +20 -20
- package/dist/chunks/{worktree-rrern9t5.js → workspace-t15k3d3j.js} +37 -37
- package/dist/chunks/{worktree-qz8rjx4n.js → workspace-t45trqgm.js} +16 -16
- package/dist/chunks/{worktree-eaj1djv9.js → workspace-t550f9t1.js} +8 -8
- package/dist/chunks/{worktree-ztf7grp6.js → workspace-ta339n92.js} +12 -12
- package/dist/chunks/{worktree-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-b0gk7qzq.js → workspace-te18sgca.js} +17 -17
- package/dist/chunks/{worktree-n4b7qefn.js → workspace-tn8p7ecq.js} +14 -14
- package/dist/chunks/{worktree-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-a2wwx1s9.js → workspace-twm8s0v6.js} +25 -25
- package/dist/chunks/{worktree-3cfzdc8e.js → workspace-tz2bjj40.js} +5 -5
- package/dist/chunks/{worktree-8wvjpm5e.js → workspace-v3ryxckp.js} +42 -42
- package/dist/chunks/{worktree-7zs56f9j.js → workspace-vbrdpthe.js} +6 -6
- package/dist/chunks/{worktree-mrcbab82.js → workspace-vcryphxd.js} +8 -8
- package/dist/chunks/{worktree-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-y9wbn93n.js → workspace-vmm0d4j2.js} +21 -21
- package/dist/chunks/{worktree-m64xvjj1.js → workspace-vrpz8t5t.js} +5 -5
- package/dist/chunks/{worktree-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-5g7dqg8p.js → workspace-w118tzke.js} +5 -5
- package/dist/chunks/{worktree-gc3cjvmd.js → workspace-w19jy31r.js} +5 -5
- package/dist/chunks/{worktree-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-m3mk1ymc.js → workspace-w6x78c9c.js} +11 -11
- package/dist/chunks/{worktree-hgcakkdy.js → workspace-w8vega6y.js} +4 -4
- package/dist/chunks/{worktree-zwnqbtaj.js → workspace-waexrdgv.js} +33 -33
- package/dist/chunks/{worktree-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-kz2med77.js → workspace-wdh627yk.js} +15 -15
- package/dist/chunks/workspace-wjzzwpk8.js +26 -0
- package/dist/chunks/{worktree-h6366cww.js → workspace-wssc7tyq.js} +24 -24
- package/dist/chunks/{worktree-nrvgxq91.js → workspace-wxg1tfxb.js} +4 -4
- package/dist/chunks/{worktree-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-p0w9t4nv.js → workspace-x1w6bk3j.js} +18 -18
- package/dist/chunks/{worktree-heyyxcdn.js → workspace-x5rn7qjp.js} +20 -20
- package/dist/chunks/{worktree-n32egdgz.js → workspace-xam54x1y.js} +22 -22
- package/dist/chunks/{worktree-fv3nz7za.js → workspace-xbpzf4zn.js} +11 -11
- package/dist/chunks/{worktree-ha48bngf.js → workspace-xhhx516y.js} +4 -4
- package/dist/chunks/{worktree-gwzmxzqv.js → workspace-xqq38mk8.js} +31 -31
- package/dist/chunks/{worktree-eq8dtg11.js → workspace-xwchxfcw.js} +8 -8
- package/dist/chunks/{worktree-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-2h5p72nb.js → workspace-y201z2mx.js} +4 -4
- package/dist/chunks/{worktree-t2866z93.js → workspace-y7f35ff5.js} +16 -16
- package/dist/chunks/{worktree-2xb0rw2k.js → workspace-ydm93f9x.js} +8 -8
- package/dist/chunks/{worktree-nrfrnn4g.js → workspace-ydpabj6e.js} +26 -26
- package/dist/chunks/{worktree-v4gw1aty.js → workspace-ynpw39jf.js} +24 -24
- package/dist/chunks/{worktree-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-e8qyrgb1.js → workspace-yt3hy1g9.js} +5 -5
- package/dist/chunks/{worktree-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-a70mfejk.js → workspace-z0zyb1s8.js} +52 -52
- package/dist/chunks/{worktree-ms96e6xa.js → workspace-z1va2kz6.js} +5 -5
- package/dist/chunks/{worktree-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-smxfcp26.js → workspace-zdn3zq9y.js} +9 -9
- package/dist/chunks/{worktree-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-v53ttaz3.js → workspace-zq22gkb0.js} +9 -9
- package/dist/chunks/{worktree-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- 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 +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +92 -92
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +93 -93
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- 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 +90 -90
- 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 +83 -83
- 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 +103 -103
- package/dist/mcp/instructions.js +127 -127
- 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 +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- 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 +119 -119
- 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 +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +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 +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- 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 +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- 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 +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/worktree-0mesazry.js +0 -4
- package/dist/chunks/worktree-1x11rq2a.js +0 -18
- package/dist/chunks/worktree-3ewahy0x.js +0 -252
- package/dist/chunks/worktree-td9rdqgs.js +0 -26
- /package/dist/chunks/{worktree-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service82,
|
|
4
4
|
node86
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-j13v91pw.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-t550f9t1.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event6,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options4,
|
|
30
|
+
Service: () => Service43,
|
|
31
|
+
configured: () => configured4,
|
|
32
|
+
layer: () => layer15,
|
|
33
|
+
node: () => node46
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event6 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options4 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer15 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service82;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer18 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make19({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service43.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured4(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service43,
|
|
110
|
+
layer: layer15(options),
|
|
111
111
|
deps: [node86]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node46 = configured4();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event6, Options4, Service43, layer15, configured4, node46, exports_instruction_discovery };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-9yzdvftt.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service67,
|
|
16
|
+
node69
|
|
17
|
+
} from "./workspace-gwphwnjy.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service50,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node53,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service50 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service67;
|
|
110
|
+
return Service50.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node53 = makeGlobalNode({
|
|
171
|
+
service: Service50,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node85, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node69]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service50, isError2, validateBranch2, node53, exports_repository_cache };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-pr971s7g.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service47
|
|
7
|
+
} from "./workspace-pxfs15kn.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service45
|
|
13
|
+
} from "./workspace-17zqg50h.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service58
|
|
16
|
+
} from "./workspace-405nw1q2.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service59
|
|
19
|
+
} from "./workspace-z0zyb1s8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service17,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-wdh627yk.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service77,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-374v8g3a.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service40
|
|
37
|
+
} from "./workspace-v3ryxckp.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./workspace-7fpdhx8y.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-7pncbcke.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./workspace-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input4,
|
|
53
|
+
Plugin: () => Plugin4,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name4
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name4 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input4 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin4 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service25;
|
|
122
|
+
const jobs = yield* Service58;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service45;
|
|
125
|
+
const access = yield* Service17;
|
|
126
|
+
const shell = yield* Service40;
|
|
127
|
+
const shellSelect = yield* Service77;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service59;
|
|
130
|
+
const config = yield* Service47;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin9 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name4,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin9 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name4,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input4,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin9 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name4,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name4];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin4, exports_shell };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-cka6kvq6.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service19,
|
|
17
|
+
node: () => node21
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service19 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service79;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service19.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node21 = makeLocationNode({
|
|
91
|
+
service: Service19,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node83, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service19, node21, exports_formatter2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-pk2244jm.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
9
|
Entry: () => Entry4,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info15
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry4 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry4 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info15 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export { Entry4,
|
|
21
|
+
export { Entry4, Info15, exports_formatter3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-pk2244jm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError7,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-0gptwf17.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-ydpabj6e.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve3
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve3(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -497,4 +497,4 @@ var PROTOCOLS = {
|
|
|
497
497
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
export {
|
|
500
|
+
export { resolve3, exports_variant };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-t550f9t1.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-5c4hm403.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info17,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info17 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info17, exports_permission };
|