@opencode/core 0.0.0-dev-19870 → 0.0.0-dev-19872
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{variant-t1vey1sx.js → worktree-0029brse.js} +3 -3
- package/dist/chunks/{variant-sh98p1a6.js → worktree-01xkgkan.js} +4 -4
- package/dist/chunks/{variant-x9x1wca8.js → worktree-050bv84r.js} +86 -86
- package/dist/chunks/{variant-msq0jde0.js → worktree-06dxphr1.js} +4 -4
- package/dist/chunks/{variant-pm0pb3r2.js → worktree-0c5gn5bj.js} +10 -10
- package/dist/chunks/{variant-mrvjcs5x.js → worktree-0jkw1j53.js} +6 -6
- package/dist/chunks/{variant-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{variant-sghfg077.js → worktree-0z8c9324.js} +11 -11
- package/dist/chunks/{variant-0jq9fyba.js → worktree-11dqjexa.js} +9 -9
- package/dist/chunks/{variant-aa2dfqx3.js → worktree-12egnza5.js} +7 -7
- package/dist/chunks/{variant-rhebeh0n.js → worktree-18j04j79.js} +17 -17
- package/dist/chunks/{variant-yp2x3t23.js → worktree-1acjjqhc.js} +4 -4
- package/dist/chunks/{variant-qxxgnsfr.js → worktree-1ay3g9r2.js} +22 -22
- package/dist/chunks/{variant-bcnj3jcy.js → worktree-1d5d9h0t.js} +2 -2
- package/dist/chunks/{variant-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-rvh4km1y.js → worktree-1ddefpyr.js} +18 -18
- package/dist/chunks/{variant-5mzeg4hj.js → worktree-1gjr3geq.js} +14 -14
- package/dist/chunks/{variant-tabeb9mm.js → worktree-1gvkbw2g.js} +64 -64
- package/dist/chunks/{variant-22hvkk3a.js → worktree-1rpj62d2.js} +14 -14
- package/dist/chunks/{variant-hzb4nw6c.js → worktree-1rqq8hq9.js} +2 -2
- package/dist/chunks/{variant-1ygqh575.js → worktree-1ygqh575.js} +2 -2
- package/dist/chunks/{variant-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{variant-23pqda6t.js → worktree-23pqda6t.js} +1 -1
- package/dist/chunks/{variant-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
- package/dist/chunks/{variant-pe9k0hgm.js → worktree-24jxm842.js} +20 -20
- package/dist/chunks/{variant-j79n6wxr.js → worktree-28zap5n3.js} +25 -25
- package/dist/chunks/{variant-geb11jcd.js → worktree-2a2ncbm6.js} +23 -23
- package/dist/chunks/{variant-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-e6aynt16.js → worktree-2k4q641w.js} +3 -3
- package/dist/chunks/{variant-ghwq1jbs.js → worktree-2sz976k1.js} +46 -46
- package/dist/chunks/{variant-d58cxt6j.js → worktree-2tk7wazy.js} +13 -13
- package/dist/chunks/{variant-3a83a0n4.js → worktree-30846h32.js} +8 -8
- package/dist/chunks/{variant-k5m7dxb4.js → worktree-35dwm1he.js} +31 -31
- package/dist/chunks/{variant-nmgvgfpr.js → worktree-37zv03r8.js} +10 -10
- package/dist/chunks/{variant-hs28tab5.js → worktree-3bapk1gs.js} +11 -11
- package/dist/chunks/{variant-n23fqgkg.js → worktree-3bvwqdfr.js} +4 -4
- package/dist/chunks/{variant-5hbhpyan.js → worktree-3ckfe0gn.js} +3 -3
- package/dist/chunks/{variant-4bwdz5w5.js → worktree-3dfzya26.js} +19 -19
- package/dist/chunks/{variant-pkgc53va.js → worktree-3eeqg3ch.js} +29 -29
- package/dist/chunks/{variant-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-enghe46c.js → worktree-3n1pthd2.js} +9 -9
- package/dist/chunks/{variant-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-dj9sq318.js → worktree-3w0fmcng.js} +5 -5
- package/dist/chunks/{variant-3tq5qxbk.js → worktree-44ke2mar.js} +8 -8
- package/dist/chunks/{variant-6qact9tb.js → worktree-47rg4hp1.js} +18 -18
- package/dist/chunks/{variant-27f6pddp.js → worktree-49efg6hh.js} +15 -15
- package/dist/chunks/{variant-whmjp8hh.js → worktree-4jv7e9dq.js} +6 -6
- package/dist/chunks/{variant-fknkhxqq.js → worktree-530x511h.js} +11 -11
- package/dist/chunks/{variant-mmacmsvk.js → worktree-56400ha2.js} +11 -11
- package/dist/chunks/{variant-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-brs92t9y.js → worktree-5j6r72e5.js} +1 -1
- package/dist/chunks/{variant-knws4kq8.js → worktree-5pj5yv8y.js} +19 -19
- package/dist/chunks/{variant-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-2336b01z.js → worktree-5we7r0eg.js} +5 -5
- package/dist/chunks/{variant-5g8jbnaq.js → worktree-5xzwezzv.js} +38 -38
- package/dist/chunks/{variant-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/worktree-6a3y69ev.js +26 -0
- package/dist/chunks/{variant-hhjr1295.js → worktree-6dpcvaj3.js} +27 -27
- package/dist/chunks/{variant-h9v43k74.js → worktree-6e4g0mmd.js} +6 -6
- package/dist/chunks/{variant-t6vsspdg.js → worktree-6hh8tjw2.js} +7 -7
- package/dist/chunks/{variant-85ka1n07.js → worktree-6j2syc76.js} +4 -4
- package/dist/chunks/worktree-6kdq0pjd.js +4 -0
- package/dist/chunks/{variant-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-h48hzw2b.js → worktree-6pbgrpz1.js} +8 -8
- package/dist/chunks/{variant-cd5s39xc.js → worktree-6skacn9s.js} +32 -32
- package/dist/chunks/{variant-qd8pq7fc.js → worktree-6snte3jf.js} +3 -3
- package/dist/chunks/{variant-1bbkgx8g.js → worktree-73tb2d7t.js} +3 -3
- package/dist/chunks/{variant-5td0dyr7.js → worktree-75wt9k9g.js} +1 -1
- package/dist/chunks/{variant-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-0jwsre1p.js → worktree-7dqw4kz8.js} +5 -5
- package/dist/chunks/{variant-z4dwdpe4.js → worktree-7h6v3mqz.js} +85 -85
- package/dist/chunks/{variant-rjhkz1w2.js → worktree-81pca9ss.js} +17 -17
- package/dist/chunks/{variant-j88pc17k.js → worktree-83xp5e3e.js} +2 -2
- package/dist/chunks/{variant-t3mnpksc.js → worktree-8c185vwj.js} +8 -8
- package/dist/chunks/{variant-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-ewxykczn.js → worktree-8hcfs6jd.js} +25 -25
- package/dist/chunks/{variant-cn5pa7p4.js → worktree-8jgc84wx.js} +10 -10
- package/dist/chunks/{variant-kjk9sg2v.js → worktree-8kzgg7jc.js} +18 -18
- package/dist/chunks/{variant-3kj23qd9.js → worktree-8mqynssf.js} +30 -30
- package/dist/chunks/{variant-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
- package/dist/chunks/{variant-95mg8qdk.js → worktree-8wgc21mb.js} +44 -44
- package/dist/chunks/{variant-eq85q6rd.js → worktree-90j31e8f.js} +28 -28
- package/dist/chunks/{variant-z8m6gbkd.js → worktree-92frf9bc.js} +17 -17
- package/dist/chunks/{variant-nm9hpb8x.js → worktree-9724qm49.js} +30 -30
- package/dist/chunks/{variant-e5j09evz.js → worktree-9d5hdd7t.js} +16 -16
- package/dist/chunks/{variant-p37cw4rj.js → worktree-9hn6k4tm.js} +8 -8
- package/dist/chunks/{variant-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
- package/dist/chunks/{variant-p26nknmg.js → worktree-a68v6zx7.js} +6 -6
- package/dist/chunks/{variant-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-grt0tkrz.js → worktree-ackyxpj1.js} +11 -11
- package/dist/chunks/{variant-w1kyw1wm.js → worktree-adpqb9ts.js} +6 -6
- package/dist/chunks/{variant-52mty8jq.js → worktree-af4q118x.js} +13 -13
- package/dist/chunks/{variant-sg4rfxht.js → worktree-an1ythzp.js} +12 -12
- package/dist/chunks/{variant-8qh6anns.js → worktree-ax36eyar.js} +8 -8
- package/dist/chunks/{variant-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-txhgrjp2.js → worktree-b8gtgm9a.js} +15 -15
- package/dist/chunks/{variant-xdjtnqtw.js → worktree-ba2a1zxc.js} +45 -45
- package/dist/chunks/{variant-xw0r27ex.js → worktree-baaqp4zd.js} +4 -4
- package/dist/chunks/{variant-j83byb14.js → worktree-bct739vz.js} +4 -4
- package/dist/chunks/{variant-1fp8qf5t.js → worktree-bd4e439d.js} +16 -16
- package/dist/chunks/{variant-g18gr89e.js → worktree-bggj1spx.js} +46 -46
- package/dist/chunks/{variant-cpf2vz9x.js → worktree-bk3tsm7g.js} +5 -5
- package/dist/chunks/{variant-t44e5ekz.js → worktree-bnq6mr9x.js} +5 -5
- package/dist/chunks/{variant-teqxcq05.js → worktree-bxy5ajfv.js} +9 -9
- package/dist/chunks/{variant-pstg3rfm.js → worktree-bz85s9hh.js} +1 -1
- package/dist/chunks/{variant-j0kmkqfz.js → worktree-c8a4jtjn.js} +11 -11
- package/dist/chunks/{variant-fka5ga8d.js → worktree-cd7c4bdb.js} +12 -12
- package/dist/chunks/{variant-ck31s172.js → worktree-cejdfrv6.js} +13 -13
- package/dist/chunks/{variant-w666pgwc.js → worktree-cem17g90.js} +39 -39
- package/dist/chunks/{variant-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
- package/dist/chunks/{variant-bajakh74.js → worktree-cq37gk0t.js} +4 -4
- package/dist/chunks/{variant-m59xe4a8.js → worktree-cs064az4.js} +7 -7
- package/dist/chunks/{variant-1rndcnww.js → worktree-cscxcgsg.js} +9 -9
- package/dist/chunks/{variant-q0t2e31h.js → worktree-d0mt1vja.js} +12 -12
- package/dist/chunks/{variant-66f6bbr7.js → worktree-d2ax4fej.js} +11 -11
- package/dist/chunks/{variant-4x868fka.js → worktree-d4q36r9n.js} +20 -20
- package/dist/chunks/{variant-p8mhfpfb.js → worktree-d737nyfv.js} +9 -9
- package/dist/chunks/{variant-2bq490qs.js → worktree-d7m6g9v6.js} +4 -4
- package/dist/chunks/{variant-hv4mpymf.js → worktree-d8c3ffv1.js} +8 -8
- package/dist/chunks/{variant-81swgkk7.js → worktree-dc6tzc5b.js} +7 -7
- package/dist/chunks/{variant-rj9ftj0p.js → worktree-dgrza9ek.js} +11 -11
- package/dist/chunks/{variant-797prdqw.js → worktree-dh787sn1.js} +33 -33
- package/dist/chunks/{variant-6mvzryz6.js → worktree-dje2ev5t.js} +6 -6
- package/dist/chunks/{variant-79qaa2kf.js → worktree-djszqvmq.js} +9 -9
- package/dist/chunks/{variant-rkyj0vr4.js → worktree-dk764wf3.js} +22 -22
- package/dist/chunks/{variant-smbnzawa.js → worktree-dmabgk2v.js} +5 -5
- package/dist/chunks/{variant-y71avatq.js → worktree-dpkg50ah.js} +4 -4
- package/dist/chunks/{variant-6wz2mwbh.js → worktree-dsymck0a.js} +13 -6
- package/dist/chunks/{variant-baasw9zs.js → worktree-dz8x4rxg.js} +4 -4
- package/dist/chunks/{variant-tgbn9x0e.js → worktree-e63kay3b.js} +30 -30
- package/dist/chunks/{variant-h2bgjhkt.js → worktree-ef1sz92s.js} +20 -20
- package/dist/chunks/{variant-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-x52p01ey.js → worktree-ep7dn8jk.js} +17 -17
- package/dist/chunks/{variant-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-gxbfjqcv.js → worktree-f06r0vcj.js} +8 -8
- package/dist/chunks/{variant-htkg1ped.js → worktree-f0svag7k.js} +49 -49
- package/dist/chunks/{variant-3sh56xx4.js → worktree-f2da3tzf.js} +16 -16
- package/dist/chunks/{variant-63t418ew.js → worktree-f40tx9v5.js} +7 -7
- package/dist/chunks/{variant-fhz5gfgy.js → worktree-f62qkzqr.js} +5 -5
- package/dist/chunks/{variant-f828m53h.js → worktree-f828m53h.js} +2 -2
- package/dist/chunks/{variant-78rnjdtr.js → worktree-fbf3se4r.js} +20 -20
- package/dist/chunks/{variant-mhk04qte.js → worktree-frr8ma5g.js} +15 -15
- package/dist/chunks/{variant-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{variant-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-ahkqwmsk.js → worktree-gg184eje.js} +14 -14
- package/dist/chunks/{variant-xq2nfj3p.js → worktree-gn0qs0ez.js} +32 -32
- package/dist/chunks/worktree-gqqsgceb.js +252 -0
- package/dist/chunks/{variant-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-3nxmjfv1.js → worktree-gzhks085.js} +14 -14
- package/dist/chunks/{variant-4dgbcxzg.js → worktree-h6r3nrb9.js} +4 -4
- package/dist/chunks/{variant-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-nxhqveyz.js → worktree-hkfg6fzm.js} +5 -5
- package/dist/chunks/{variant-kefnbk3p.js → worktree-hmkf95c9.js} +9 -9
- package/dist/chunks/{variant-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-tfn5j0a9.js → worktree-j93fbyzs.js} +13 -13
- package/dist/chunks/{variant-4b9121e6.js → worktree-ja2xmr49.js} +47 -47
- package/dist/chunks/{variant-p4qdj091.js → worktree-jaek9wet.js} +25 -25
- package/dist/chunks/{variant-69f6zjgr.js → worktree-jhyw6xje.js} +20 -20
- package/dist/chunks/worktree-jqh9b0xq.js +18 -0
- package/dist/chunks/{variant-5n7wdh8h.js → worktree-jtz05rza.js} +44 -44
- package/dist/chunks/{variant-v0qc0xfw.js → worktree-jvdmeb00.js} +17 -17
- package/dist/chunks/{variant-r558ape6.js → worktree-jyaxjask.js} +10 -10
- package/dist/chunks/{variant-ytn5d3vs.js → worktree-k03db8z3.js} +15 -15
- package/dist/chunks/{variant-j5029czd.js → worktree-k03y7cqw.js} +32 -32
- package/dist/chunks/{variant-qnk3s0sd.js → worktree-k39q4sf2.js} +19 -19
- package/dist/chunks/{variant-k3c624dm.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{variant-hmmkxdzd.js → worktree-k78r674t.js} +30 -30
- package/dist/chunks/{variant-gjt2phrg.js → worktree-k7zs4xcs.js} +5 -5
- package/dist/chunks/{variant-hfz6vx2t.js → worktree-kaagn64m.js} +25 -25
- package/dist/chunks/{variant-tz84jmpd.js → worktree-kccwy87p.js} +13 -13
- package/dist/chunks/{variant-mxw0tdhe.js → worktree-knhmpdmt.js} +5 -5
- package/dist/chunks/{variant-b09hzw3k.js → worktree-ky3seynh.js} +2 -2
- package/dist/chunks/{variant-hs7hr3sk.js → worktree-m183j3hp.js} +1 -1
- package/dist/chunks/{variant-aes001kk.js → worktree-m2g4r6ez.js} +8 -8
- package/dist/chunks/{variant-c488s98d.js → worktree-m2zz6rv6.js} +12 -12
- package/dist/chunks/{variant-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-b80rxd7q.js → worktree-m81pe42t.js} +15 -15
- package/dist/chunks/{variant-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-9pkkzrmj.js → worktree-ma48de29.js} +5 -5
- package/dist/chunks/{variant-0n363b86.js → worktree-mc5yagq3.js} +16 -16
- package/dist/chunks/{variant-hgyz5sh6.js → worktree-mdpcq19b.js} +11 -11
- package/dist/chunks/{variant-c2fs7f6w.js → worktree-mhyqqp67.js} +24 -24
- package/dist/chunks/{variant-mbjhvwvw.js → worktree-mn14093j.js} +5 -5
- package/dist/chunks/{variant-kmg4jv2q.js → worktree-mnzq238h.js} +12 -12
- package/dist/chunks/{variant-5ekhjdzd.js → worktree-mtthj00s.js} +41 -41
- package/dist/chunks/{variant-drds58r6.js → worktree-myvehfjc.js} +28 -28
- package/dist/chunks/{variant-59skmtgb.js → worktree-n48a3wtd.js} +9 -9
- package/dist/chunks/{variant-sg1qr0px.js → worktree-n4efq2p3.js} +20 -20
- package/dist/chunks/{variant-2wse4pe0.js → worktree-ncv4r2bp.js} +7 -7
- package/dist/chunks/{variant-6npfsxfv.js → worktree-ng12e52f.js} +3 -3
- package/dist/chunks/{variant-jkz8cxnn.js → worktree-nmb2jxzm.js} +27 -27
- package/dist/chunks/{variant-d60c54a9.js → worktree-nnc51gs2.js} +9 -9
- package/dist/chunks/{variant-2p6dchyf.js → worktree-nq9nxgcr.js} +22 -22
- package/dist/chunks/{variant-nrdmrqsx.js → worktree-nrdmrqsx.js} +1 -1
- package/dist/chunks/{variant-avssftjx.js → worktree-ntn63d0h.js} +22 -22
- package/dist/chunks/{variant-szh1cwdh.js → worktree-nwwa308c.js} +7 -7
- package/dist/chunks/{variant-hcy87vkc.js → worktree-nye5f74f.js} +11 -11
- package/dist/chunks/{variant-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
- package/dist/chunks/{variant-7dn399d2.js → worktree-p8d83q2f.js} +15 -15
- package/dist/chunks/{variant-gsgspxn5.js → worktree-pd8tqg4h.js} +21 -21
- package/dist/chunks/{variant-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{variant-nrjct5b1.js → worktree-pnd0g9pf.js} +5 -5
- package/dist/chunks/{variant-rhafb4aa.js → worktree-pnv527nz.js} +9 -9
- package/dist/chunks/{variant-wsr5pxgw.js → worktree-pvr04t1x.js} +20 -20
- package/dist/chunks/{variant-s305wbyz.js → worktree-pydpba5n.js} +137 -137
- package/dist/chunks/{variant-tn764by2.js → worktree-q17qcqnk.js} +11 -11
- package/dist/chunks/{variant-ye3jx5n8.js → worktree-q7hnyx62.js} +11 -11
- package/dist/chunks/{variant-wnnqbafk.js → worktree-qd60702v.js} +13 -13
- package/dist/chunks/{variant-kfmyqsf5.js → worktree-qp8jc7h3.js} +9 -9
- package/dist/chunks/{variant-zghmsxd1.js → worktree-qpx06cdk.js} +24 -24
- package/dist/chunks/{variant-mxra0cmd.js → worktree-qrq3k7hv.js} +38 -38
- package/dist/chunks/{variant-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-kj4zctnd.js → worktree-qvb4r7jj.js} +31 -31
- package/dist/chunks/{variant-vtd3ynzc.js → worktree-r4v7sw5j.js} +3 -3
- package/dist/chunks/{variant-wjjn3hja.js → worktree-r5ec8tk0.js} +4 -4
- package/dist/chunks/{variant-x76vnk27.js → worktree-rc43q7gj.js} +26 -26
- package/dist/chunks/{variant-38xgq6ts.js → worktree-rd8gh7p5.js} +1 -1
- package/dist/chunks/{variant-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-t550f9t1.js → worktree-rhjbct0v.js} +4 -4
- package/dist/chunks/{variant-426fnjcx.js → worktree-rr217x4v.js} +26 -26
- package/dist/chunks/{variant-bya9q4dt.js → worktree-rvemz3qf.js} +7 -7
- package/dist/chunks/{variant-7d77z8qn.js → worktree-s3nqtxxj.js} +28 -28
- package/dist/chunks/{variant-8s8mxddj.js → worktree-shh6fz4q.js} +4 -4
- package/dist/chunks/{variant-mrb3fjvr.js → worktree-sjwxqtfk.js} +17 -17
- package/dist/chunks/{variant-2v626tz4.js → worktree-smyb6yf6.js} +23 -23
- package/dist/chunks/{variant-b28k5m4e.js → worktree-smzykshb.js} +6 -6
- package/dist/chunks/{variant-p6keb3nc.js → worktree-srq7twvs.js} +20 -20
- package/dist/chunks/{variant-595ycqh3.js → worktree-t4ke9ew4.js} +12 -12
- package/dist/chunks/{variant-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-89znhe33.js → worktree-tcezcvh9.js} +4 -4
- package/dist/chunks/{variant-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{variant-tjedn1bk.js → worktree-tjedn1bk.js} +1 -1
- package/dist/chunks/{variant-h99nf0kn.js → worktree-tnx6ann6.js} +1 -1
- package/dist/chunks/{variant-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-csbme2kj.js → worktree-v3n2aj7f.js} +32 -32
- package/dist/chunks/{variant-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-69apea2v.js → worktree-w3x9v1nk.js} +8 -8
- package/dist/chunks/{variant-jz1pp4jz.js → worktree-w4ppdpd0.js} +16 -16
- package/dist/chunks/{variant-p9bjh04g.js → worktree-w5npym6y.js} +4 -4
- package/dist/chunks/{variant-h1cw8hcp.js → worktree-w5xsrbnb.js} +29 -29
- package/dist/chunks/{variant-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{variant-zmfbpthp.js → worktree-wder9crj.js} +12 -12
- package/dist/chunks/{variant-erzb7j7f.js → worktree-wgz7hchk.js} +6 -6
- package/dist/chunks/{variant-3sg1857t.js → worktree-wkt0yqpq.js} +1 -1
- package/dist/chunks/{variant-nwqme974.js → worktree-wv5sfath.js} +9 -9
- package/dist/chunks/{variant-984xje6x.js → worktree-wxffcvth.js} +3 -3
- package/dist/chunks/{variant-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-d5d87h16.js → worktree-x2eykcsk.js} +35 -35
- package/dist/chunks/{variant-9eqcjrtc.js → worktree-x96eb595.js} +23 -23
- package/dist/chunks/{variant-mpgyntzp.js → worktree-x9w52knk.js} +17 -17
- package/dist/chunks/{variant-wzbs3mda.js → worktree-x9wq683r.js} +10 -10
- package/dist/chunks/{variant-57b9ws8p.js → worktree-xfkkasph.js} +7 -7
- package/dist/chunks/{variant-5c64zym4.js → worktree-xk8j9t28.js} +25 -25
- package/dist/chunks/{variant-9x9g2km1.js → worktree-xrm9dfb1.js} +9 -9
- package/dist/chunks/{variant-y6f0p4jw.js → worktree-xxynqx5z.js} +3 -3
- package/dist/chunks/{variant-79dhzyk4.js → worktree-xzbq4t52.js} +35 -35
- package/dist/chunks/{variant-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-jk0hetf2.js → worktree-y1ygrsmg.js} +6 -6
- package/dist/chunks/{variant-sqjsdc8q.js → worktree-y7abhsg2.js} +9 -9
- package/dist/chunks/{variant-s2y5anze.js → worktree-y9854d0h.js} +3 -3
- package/dist/chunks/{variant-jc42g46n.js → worktree-ydg01c3p.js} +13 -13
- package/dist/chunks/{variant-vdkvxh6g.js → worktree-yjmcsphm.js} +26 -26
- package/dist/chunks/{variant-gg7pg1rj.js → worktree-yjptyezs.js} +5 -5
- package/dist/chunks/{variant-699ehe3v.js → worktree-ykze60hc.js} +20 -20
- package/dist/chunks/{variant-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-hsj07s21.js → worktree-z2cyrkj5.js} +16 -16
- package/dist/chunks/{variant-akz62yx4.js → worktree-z5z5sd66.js} +20 -20
- package/dist/chunks/{variant-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{variant-wv44f8tc.js → worktree-z9yzr4jj.js} +21 -21
- package/dist/chunks/{variant-jpg1q0jq.js → worktree-zdfdg6f3.js} +308 -308
- package/dist/chunks/{variant-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-9hfpfwmp.js → worktree-zh8xk7my.js} +28 -28
- package/dist/chunks/{variant-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +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 +122 -122
- 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 +124 -124
- 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 +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +81 -81
- 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 +82 -82
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- 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 +101 -101
- 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 +1 -1
- 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 +5 -5
- 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 +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- 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 +73 -73
- 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 +5 -5
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +94 -94
- 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 +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- 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 +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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- 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 +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +1 -1
- 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 +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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/variant-0x95mqex.js +0 -252
- package/dist/chunks/variant-2sy8xs0p.js +0 -26
- package/dist/chunks/variant-hxa7m5za.js +0 -4
- package/dist/chunks/variant-phz3h32g.js +0 -18
- /package/dist/chunks/{variant-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-r5ec8tk0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service75,
|
|
7
7
|
node78
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-8kzgg7jc.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service76,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node79
|
|
13
|
+
} from "./worktree-ncv4r2bp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service61,
|
|
16
|
+
node64
|
|
17
|
+
} from "./worktree-mtthj00s.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service25,
|
|
20
|
+
node28
|
|
21
|
+
} from "./worktree-wder9crj.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/location-lifecycle.ts
|
|
27
27
|
var exports_location_lifecycle = {};
|
|
28
28
|
__export(exports_location_lifecycle, {
|
|
29
29
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
Service: () => Service24,
|
|
31
|
+
node: () => node27
|
|
32
32
|
});
|
|
33
33
|
import { Context, Effect, Layer } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
36
|
-
class
|
|
36
|
+
class Service24 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service82;
|
|
40
40
|
const location = yield* Service76;
|
|
41
|
-
const permission = yield*
|
|
42
|
-
const forms = yield*
|
|
43
|
-
const rpc = yield*
|
|
41
|
+
const permission = yield* Service61;
|
|
42
|
+
const forms = yield* Service75;
|
|
43
|
+
const rpc = yield* Service25;
|
|
44
44
|
let closed = false;
|
|
45
45
|
const shutdown = yield* Effect.cached(Effect.gen(function* () {
|
|
46
46
|
closed = true;
|
|
@@ -51,15 +51,15 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
51
51
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
52
52
|
});
|
|
53
53
|
}).pipe(Effect.uninterruptible));
|
|
54
|
-
return
|
|
54
|
+
return Service24.of({
|
|
55
55
|
isClosed: () => closed,
|
|
56
56
|
shutdown
|
|
57
57
|
});
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
60
|
-
service:
|
|
59
|
+
var node27 = makeLocationNode({
|
|
60
|
+
service: Service24,
|
|
61
61
|
layer,
|
|
62
|
-
deps: [node86,
|
|
62
|
+
deps: [node86, node79, node64, node78, node28]
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service24, node27, exports_location_lifecycle };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node81
|
|
7
|
+
} from "./worktree-m2zz6rv6.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
12
|
Service83,
|
|
13
13
|
node87
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-0029brse.js";
|
|
15
15
|
import {
|
|
16
16
|
Service82,
|
|
17
17
|
node86
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-r5ec8tk0.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-8p4f9s12.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-cfpkc3c9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID16,
|
|
27
27
|
NotFoundError11
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-8mqynssf.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-ncv4r2bp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service68,
|
|
34
|
+
node71
|
|
35
|
+
} from "./worktree-hmkf95c9.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./worktree-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
41
|
make12
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./worktree-bnq6mr9x.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service27
|
|
45
|
+
} from "./worktree-18j04j79.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./worktree-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event7,
|
|
57
|
+
Info: () => Info5,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service26,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node29
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,13 +77,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info5 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
86
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
86
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -94,17 +94,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event7 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service26 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
103
|
const database = yield* Service83;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service82;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
107
|
+
const locations = yield* Service68;
|
|
108
108
|
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service27).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event7.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service26.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node29 = Node.makeGlobalNode({
|
|
265
|
+
service: Service26,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node81, node86, node87, AppProcess.node, node71]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event7, Service26, node29, exports_worktree2, OperationError2 };
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service76
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-ncv4r2bp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service48
|
|
11
|
+
} from "./worktree-dk764wf3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service71
|
|
14
|
+
} from "./worktree-cejdfrv6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service20,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-kccwy87p.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service61
|
|
22
|
+
} from "./worktree-mtthj00s.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service21,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-f2da3tzf.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./worktree-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin22,
|
|
42
|
+
name: () => name5,
|
|
43
43
|
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name5 = "patch";
|
|
89
|
+
var Input5 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,7 +96,7 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
@@ -105,21 +105,21 @@ var toModelContent2 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin22 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service48;
|
|
112
|
+
const access = yield* Service21;
|
|
113
|
+
const fileMutation = yield* Service20;
|
|
114
|
+
const formatter = yield* Service71;
|
|
115
115
|
const location = yield* Service76;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service61;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name5, Input5, Applied2, Output4, toModelContent2, Plugin22, exports_patch };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-3bvwqdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-0029brse.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-0029brse.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node62
|
|
12
|
+
} from "./worktree-ax36eyar.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID7,
|
|
25
|
+
Info: () => Info20,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service59,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured9,
|
|
30
|
+
node: () => node61
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID7 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info20 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID7,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info24 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID7,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service59 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service59,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node87,
|
|
64
|
+
deps: [node87, node62]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service83).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info20({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service59.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID7.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node61 = configured9();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID7, Info20, NotFound3, CreateConflict2, Service59, configured9, node61, exports_workspace };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make20,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make20(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|