@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,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service54,
|
|
6
|
+
node56
|
|
7
|
+
} from "./worktree-90j31e8f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service14,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer9,
|
|
20
|
+
node: () => node17
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
27
27
|
}) {
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
31
31
|
message: Schema.String,
|
|
32
32
|
service: Schema.optional(Schema.String)
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service14 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service54;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -47,28 +47,28 @@ var layer23 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
47
47
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
48
48
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
49
49
|
], (error) => {
|
|
50
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
50
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
51
51
|
return Effect.fail(mapped);
|
|
52
52
|
}));
|
|
53
53
|
if (!resolved)
|
|
54
54
|
return yield* new ModelSelectionError2({
|
|
55
55
|
message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
|
|
56
56
|
});
|
|
57
|
-
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new
|
|
57
|
+
const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
58
58
|
message: error.message,
|
|
59
59
|
service: resolved.ref.providerID
|
|
60
60
|
})));
|
|
61
61
|
return response.text;
|
|
62
62
|
});
|
|
63
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
63
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
64
64
|
message: "Generation credentials are unavailable"
|
|
65
65
|
})));
|
|
66
|
-
return
|
|
66
|
+
return Service14.of({ text });
|
|
67
67
|
}));
|
|
68
|
-
var
|
|
69
|
-
service:
|
|
70
|
-
layer:
|
|
71
|
-
deps: [
|
|
68
|
+
var node17 = makeLocationNode({
|
|
69
|
+
service: Service14,
|
|
70
|
+
layer: layer9,
|
|
71
|
+
deps: [node56, llmClient2]
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { ModelSelectionError2,
|
|
74
|
+
export { ModelSelectionError2, UnavailableError2, Service14, layer9, node17, exports_generate };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-r5ec8tk0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
Event21
|
|
7
|
+
} from "./worktree-24jxm842.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin48,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin48 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service82;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service80;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin36 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event21.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin48, exports_plugin };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-r5ec8tk0.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,20 +12,20 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
20
|
Info: () => Info30,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service75,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
29
|
node: () => node78,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
@@ -33,9 +33,9 @@ __export(exports_form, {
|
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
39
|
var Info30 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service75 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer24 = Layer.effect(Service75, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service75.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var node78 = makeLocationNode({ service:
|
|
164
|
+
var node78 = makeLocationNode({ service: Service75, layer: layer24, deps: [node86] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer24, node78, validateAnswer2, validateFields2, exports_form, Event18 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-0029brse.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-r5ec8tk0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node81
|
|
15
|
+
} from "./worktree-m2zz6rv6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
19
|
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-dc6tzc5b.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
40
|
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
43
|
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node80,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
61
|
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -95,7 +95,7 @@ function fromRow(row) {
|
|
|
95
95
|
}
|
|
96
96
|
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service78;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
100
|
const bus = yield* Service82;
|
|
101
101
|
const db = (yield* Service83).db;
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID16.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,11 +168,11 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
168
168
|
if (!row)
|
|
169
169
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event19.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID16.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID16.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID16.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID16.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,7 +264,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
@@ -272,10 +272,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
272
272
|
});
|
|
273
273
|
return Service77.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
275
|
+
var node80 = makeGlobalNode({
|
|
276
276
|
service: Service77,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node86, node87, FSUtil.node,
|
|
278
|
+
deps: [node86, node87, FSUtil.node, node81, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service77, node80, exports_project };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service64
|
|
4
|
+
} from "./worktree-k39q4sf2.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./worktree-pd8tqg4h.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./worktree-jtz05rza.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-xxynqx5z.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service58
|
|
18
|
+
} from "./worktree-ep7dn8jk.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service61
|
|
22
|
+
} from "./worktree-mtthj00s.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service28
|
|
25
|
+
} from "./worktree-7h6v3mqz.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make8
|
|
31
|
+
} from "./worktree-q17qcqnk.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input8,
|
|
40
|
+
Output: () => Output5,
|
|
41
|
+
Plugin: () => Plugin25,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name8
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name8 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input8 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output5 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin25 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service28;
|
|
93
|
+
const jobs = yield* Service58;
|
|
94
|
+
const agents = yield* Service64;
|
|
95
|
+
const config = yield* Service46;
|
|
96
|
+
const permission = yield* Service61;
|
|
97
|
+
const models = yield* Service72;
|
|
98
|
+
const subagents = yield* make8;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin46 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin46 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name8,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin46 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID10.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name8];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name8, Input8, Output5, description5, Plugin25, exports_subagent };
|