@opencode/core 0.0.0-dev-19869 → 0.0.0-dev-19870
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{worktree-wk5z6jzv.js → variant-0jq9fyba.js} +9 -9
- package/dist/chunks/{worktree-fcrkznn8.js → variant-0jwsre1p.js} +5 -5
- package/dist/chunks/{worktree-t192gekf.js → variant-0n363b86.js} +20 -20
- package/dist/chunks/{worktree-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → variant-0q0f95c6.js} +1 -1
- package/dist/chunks/variant-0x95mqex.js +252 -0
- package/dist/chunks/{worktree-eq1pz5kg.js → variant-1bbkgx8g.js} +3 -3
- package/dist/chunks/{worktree-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-29xxxnfh.js → variant-1fp8qf5t.js} +14 -14
- package/dist/chunks/{worktree-n9ktaep2.js → variant-1rndcnww.js} +11 -11
- package/dist/chunks/{worktree-1ygqh575.js → variant-1ygqh575.js} +2 -2
- package/dist/chunks/{worktree-21r38tys.js → variant-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-70eyy827.js → variant-22hvkk3a.js} +13 -13
- package/dist/chunks/{worktree-s0agc963.js → variant-2336b01z.js} +8 -8
- package/dist/chunks/{worktree-qqtwvk4z.js → variant-23pqda6t.js} +4 -4
- package/dist/chunks/{worktree-dkgmj00c.js → variant-27f6pddp.js} +6 -6
- package/dist/chunks/{worktree-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-tj6nafm8.js → variant-2bq490qs.js} +4 -4
- package/dist/chunks/{worktree-fs0skkb3.js → variant-2p6dchyf.js} +24 -24
- package/dist/chunks/variant-2sy8xs0p.js +26 -0
- package/dist/chunks/{worktree-jzrbce6w.js → variant-2v626tz4.js} +18 -18
- package/dist/chunks/{worktree-kt1vcyar.js → variant-2wse4pe0.js} +16 -16
- package/dist/chunks/{worktree-sbd1zx3a.js → variant-38xgq6ts.js} +3 -3
- package/dist/chunks/{worktree-3a83a0n4.js → variant-3a83a0n4.js} +1 -1
- package/dist/chunks/{worktree-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-7kdkzndg.js → variant-3kj23qd9.js} +35 -35
- package/dist/chunks/{worktree-b0twfynp.js → variant-3nxmjfv1.js} +7 -7
- package/dist/chunks/{worktree-ccmdabta.js → variant-3sg1857t.js} +3 -3
- package/dist/chunks/{worktree-4xkxc3t4.js → variant-3sh56xx4.js} +18 -18
- package/dist/chunks/{worktree-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-zqx8wcya.js → variant-3tq5qxbk.js} +6 -6
- package/dist/chunks/{worktree-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-6srgc5f7.js → variant-426fnjcx.js} +26 -26
- package/dist/chunks/{worktree-vm7xxkph.js → variant-4b9121e6.js} +47 -47
- package/dist/chunks/{worktree-8dz1vcbc.js → variant-4bwdz5w5.js} +24 -24
- package/dist/chunks/{worktree-h6r3nrb9.js → variant-4dgbcxzg.js} +4 -4
- package/dist/chunks/{worktree-9racvqph.js → variant-4x868fka.js} +14 -14
- package/dist/chunks/{worktree-t0fn9gk0.js → variant-52mty8jq.js} +13 -13
- package/dist/chunks/{worktree-qqeeq2t9.js → variant-57b9ws8p.js} +4 -4
- package/dist/chunks/{worktree-11s59a84.js → variant-595ycqh3.js} +12 -12
- package/dist/chunks/{worktree-t3jywk8f.js → variant-59skmtgb.js} +9 -9
- package/dist/chunks/{worktree-wt5y36s4.js → variant-5c64zym4.js} +23 -23
- package/dist/chunks/{worktree-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-6h7j3cy3.js → variant-5ekhjdzd.js} +51 -51
- package/dist/chunks/{worktree-tnp1bzfj.js → variant-5g8jbnaq.js} +36 -36
- package/dist/chunks/{worktree-b6rq28qr.js → variant-5hbhpyan.js} +5 -5
- package/dist/chunks/{worktree-3bpj6ceb.js → variant-5mzeg4hj.js} +11 -11
- package/dist/chunks/{worktree-28cf9raz.js → variant-5n7wdh8h.js} +44 -44
- package/dist/chunks/{worktree-e3qxr5gk.js → variant-5qd3pb7m.js} +2 -2
- package/dist/chunks/{worktree-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-1sqm6k0j.js → variant-5td0dyr7.js} +3 -3
- package/dist/chunks/{worktree-zvffvgzw.js → variant-63t418ew.js} +7 -7
- package/dist/chunks/{worktree-669tq793.js → variant-669tq793.js} +1 -1
- package/dist/chunks/{worktree-nm76w6gv.js → variant-66f6bbr7.js} +11 -11
- package/dist/chunks/{worktree-cwn9cw75.js → variant-699ehe3v.js} +16 -16
- package/dist/chunks/{worktree-sm965ndy.js → variant-69apea2v.js} +4 -4
- package/dist/chunks/{worktree-h36ryfv7.js → variant-69f6zjgr.js} +20 -20
- package/dist/chunks/{worktree-2402vzrj.js → variant-6h73sxmp.js} +5 -5
- package/dist/chunks/{worktree-6msgmcgs.js → variant-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-1218kfkx.js → variant-6mvzryz6.js} +6 -6
- package/dist/chunks/{worktree-y23sf9zr.js → variant-6npfsxfv.js} +5 -5
- package/dist/chunks/{worktree-wxkrd8sq.js → variant-6qact9tb.js} +18 -18
- package/dist/chunks/{worktree-h21m3h6n.js → variant-6wz2mwbh.js} +6 -6
- package/dist/chunks/{worktree-1rc4386p.js → variant-78rnjdtr.js} +18 -18
- package/dist/chunks/{worktree-9pj1d4f4.js → variant-797prdqw.js} +33 -33
- package/dist/chunks/{worktree-w16pgjcx.js → variant-79dhzyk4.js} +37 -37
- package/dist/chunks/{worktree-c765mh8b.js → variant-79qaa2kf.js} +9 -9
- package/dist/chunks/{worktree-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-tjhrsaf7.js → variant-7d77z8qn.js} +16 -16
- package/dist/chunks/{worktree-w9wca7t8.js → variant-7dn399d2.js} +15 -15
- package/dist/chunks/{worktree-2w6fc0zt.js → variant-81swgkk7.js} +7 -7
- package/dist/chunks/{worktree-qmwxv1vq.js → variant-85ka1n07.js} +4 -4
- package/dist/chunks/{worktree-tcezcvh9.js → variant-89znhe33.js} +4 -4
- package/dist/chunks/{worktree-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-8p4f9s12.js → variant-8p4f9s12.js} +2 -2
- package/dist/chunks/{worktree-4jk0qxj4.js → variant-8qh6anns.js} +6 -6
- package/dist/chunks/{worktree-3ythc6yv.js → variant-8s8mxddj.js} +4 -4
- package/dist/chunks/{worktree-q5ampng9.js → variant-95mg8qdk.js} +27 -27
- package/dist/chunks/{worktree-y6a4cmqh.js → variant-984xje6x.js} +9 -9
- package/dist/chunks/{worktree-wxqxrmdn.js → variant-9eqcjrtc.js} +21 -21
- package/dist/chunks/{worktree-ttca00zt.js → variant-9hfpfwmp.js} +25 -25
- package/dist/chunks/{worktree-j34dxvpb.js → variant-9pkkzrmj.js} +5 -5
- package/dist/chunks/{worktree-2463j9pj.js → variant-9x9g2km1.js} +13 -13
- package/dist/chunks/{worktree-a1bz86dw.js → variant-a1bz86dw.js} +3 -3
- package/dist/chunks/{worktree-mgn7rzyp.js → variant-aa2dfqx3.js} +9 -9
- package/dist/chunks/{worktree-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-tnk6yr9e.js → variant-aes001kk.js} +11 -11
- package/dist/chunks/{worktree-exg3tbdv.js → variant-ahkqwmsk.js} +10 -10
- package/dist/chunks/{worktree-8b4cgdt8.js → variant-akz62yx4.js} +22 -22
- package/dist/chunks/{worktree-cy5zkmv9.js → variant-avssftjx.js} +26 -26
- package/dist/chunks/{worktree-5nb2d01r.js → variant-b09hzw3k.js} +2 -2
- package/dist/chunks/{worktree-ht4gnk1k.js → variant-b28k5m4e.js} +3 -3
- package/dist/chunks/{worktree-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-nvkemvkp.js → variant-b80rxd7q.js} +16 -16
- package/dist/chunks/{worktree-baasw9zs.js → variant-baasw9zs.js} +1 -1
- package/dist/chunks/{worktree-bajakh74.js → variant-bajakh74.js} +4 -4
- package/dist/chunks/{worktree-y3eyw53f.js → variant-bcnj3jcy.js} +4 -4
- package/dist/chunks/{worktree-s197j8aa.js → variant-brs92t9y.js} +1 -1
- package/dist/chunks/{worktree-czf046f0.js → variant-bya9q4dt.js} +9 -9
- package/dist/chunks/{worktree-t9v9zp6z.js → variant-c2fs7f6w.js} +24 -24
- package/dist/chunks/{worktree-sjf3tctt.js → variant-c488s98d.js} +12 -12
- package/dist/chunks/{worktree-59km82at.js → variant-cd5s39xc.js} +34 -34
- package/dist/chunks/{worktree-cfpkc3c9.js → variant-cfpkc3c9.js} +2 -2
- package/dist/chunks/{worktree-3j8s7hm7.js → variant-ck31s172.js} +18 -18
- package/dist/chunks/{worktree-gr3j20z5.js → variant-cn5pa7p4.js} +10 -10
- package/dist/chunks/{worktree-0w85qfcj.js → variant-cpf2vz9x.js} +8 -8
- package/dist/chunks/{worktree-c7t7ttxe.js → variant-csbme2kj.js} +29 -29
- package/dist/chunks/{worktree-efkf1zjd.js → variant-d58cxt6j.js} +13 -13
- package/dist/chunks/{worktree-yy256scs.js → variant-d5d87h16.js} +34 -34
- package/dist/chunks/{worktree-k5xfnnfv.js → variant-d60c54a9.js} +11 -11
- package/dist/chunks/{worktree-3w2b2yj4.js → variant-dj9sq318.js} +5 -5
- package/dist/chunks/{worktree-5gczjwyk.js → variant-drds58r6.js} +32 -32
- package/dist/chunks/{worktree-w4sgba9p.js → variant-e5j09evz.js} +23 -23
- package/dist/chunks/{worktree-m1njnqbf.js → variant-e6aynt16.js} +5 -5
- package/dist/chunks/{worktree-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-sxnvhwv1.js → variant-enghe46c.js} +7 -7
- package/dist/chunks/{worktree-jyetza0x.js → variant-eq85q6rd.js} +35 -35
- package/dist/chunks/{worktree-erw5rpbs.js → variant-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-64mbz47k.js → variant-erzb7j7f.js} +6 -6
- package/dist/chunks/{worktree-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-pjgmd77a.js → variant-ewxykczn.js} +20 -20
- package/dist/chunks/{worktree-f828m53h.js → variant-f828m53h.js} +2 -2
- package/dist/chunks/{worktree-3801kdgp.js → variant-fhz5gfgy.js} +5 -5
- package/dist/chunks/{worktree-ky8bwrva.js → variant-fka5ga8d.js} +6 -6
- package/dist/chunks/{worktree-tvfyrrh0.js → variant-fknkhxqq.js} +15 -24
- package/dist/chunks/{worktree-fxbjtjnd.js → variant-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-am5t4rbj.js → variant-g18gr89e.js} +46 -46
- package/dist/chunks/{worktree-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-bjb9b4mn.js → variant-geb11jcd.js} +23 -23
- package/dist/chunks/{worktree-fvsyg6qk.js → variant-gg7pg1rj.js} +5 -5
- package/dist/chunks/{worktree-vcxwaaxe.js → variant-ghwq1jbs.js} +41 -41
- package/dist/chunks/{worktree-28544jz8.js → variant-gjt2phrg.js} +5 -5
- package/dist/chunks/{worktree-yfaww8xg.js → variant-grt0tkrz.js} +11 -11
- package/dist/chunks/{worktree-axxg5j10.js → variant-gsgspxn5.js} +24 -24
- package/dist/chunks/{worktree-gv6a8nnw.js → variant-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-e5fd240w.js → variant-gxbfjqcv.js} +8 -8
- package/dist/chunks/{worktree-2dwhn3my.js → variant-h1cw8hcp.js} +23 -23
- package/dist/chunks/{worktree-yasnnz0a.js → variant-h2bgjhkt.js} +20 -20
- package/dist/chunks/{worktree-6tm94hss.js → variant-h48hzw2b.js} +10 -10
- package/dist/chunks/{worktree-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-kvshrfkj.js → variant-h99nf0kn.js} +1 -1
- package/dist/chunks/{worktree-z8j5hfwf.js → variant-h9v43k74.js} +4 -4
- package/dist/chunks/{worktree-gna9rzrz.js → variant-hcy87vkc.js} +11 -11
- package/dist/chunks/{worktree-gmkwjvek.js → variant-hfz6vx2t.js} +23 -23
- package/dist/chunks/{worktree-6a90knky.js → variant-hgyz5sh6.js} +11 -11
- package/dist/chunks/{worktree-zxj82hcj.js → variant-hhjr1295.js} +22 -22
- package/dist/chunks/{worktree-d34gzn5d.js → variant-hmmkxdzd.js} +37 -37
- package/dist/chunks/{worktree-kcyks54t.js → variant-hs28tab5.js} +8 -8
- package/dist/chunks/{worktree-9w5k7bqz.js → variant-hs7hr3sk.js} +5 -5
- package/dist/chunks/{worktree-xbp7gjm9.js → variant-hsj07s21.js} +16 -16
- package/dist/chunks/{worktree-6zwr9q5m.js → variant-htkg1ped.js} +54 -54
- package/dist/chunks/{worktree-mpmcaacv.js → variant-hv4mpymf.js} +10 -10
- package/dist/chunks/variant-hxa7m5za.js +4 -0
- package/dist/chunks/{worktree-90wr37ay.js → variant-hzb4nw6c.js} +5 -5
- package/dist/chunks/{worktree-dtfx1akz.js → variant-j0kmkqfz.js} +11 -11
- package/dist/chunks/{worktree-h51w75cp.js → variant-j5029czd.js} +39 -39
- package/dist/chunks/{worktree-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-45fhr245.js → variant-j79n6wxr.js} +22 -22
- package/dist/chunks/{worktree-ve4pfa0n.js → variant-j83byb14.js} +4 -4
- package/dist/chunks/{worktree-g3mn8s68.js → variant-j88pc17k.js} +2 -2
- package/dist/chunks/{worktree-6hqwt1nw.js → variant-jc42g46n.js} +15 -15
- package/dist/chunks/{worktree-nrkjg2yg.js → variant-jk0hetf2.js} +6 -6
- package/dist/chunks/{worktree-vay95fzq.js → variant-jkz8cxnn.js} +22 -22
- package/dist/chunks/{worktree-vtmgncrs.js → variant-jpg1q0jq.js} +291 -291
- package/dist/chunks/{worktree-0787dcsh.js → variant-jz1pp4jz.js} +16 -16
- package/dist/chunks/{worktree-nzks3jc8.js → variant-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-6d4vre1e.js → variant-k5m7dxb4.js} +33 -33
- package/dist/chunks/{worktree-218c6ez9.js → variant-kefnbk3p.js} +9 -9
- package/dist/chunks/{worktree-jthyzkpc.js → variant-kfmyqsf5.js} +6 -6
- package/dist/chunks/{worktree-70x5mss4.js → variant-kj4zctnd.js} +36 -36
- package/dist/chunks/{worktree-71a6hfp5.js → variant-kjk9sg2v.js} +18 -18
- package/dist/chunks/{worktree-246ka326.js → variant-kmg4jv2q.js} +14 -14
- package/dist/chunks/{worktree-qxds82wp.js → variant-knws4kq8.js} +19 -19
- package/dist/chunks/{worktree-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-hb7v7ywc.js → variant-m59xe4a8.js} +7 -7
- package/dist/chunks/{worktree-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-s1pqek41.js → variant-mbjhvwvw.js} +10 -10
- package/dist/chunks/{worktree-gjnhxr8h.js → variant-mhk04qte.js} +11 -11
- package/dist/chunks/{worktree-f9yrz0nb.js → variant-mmacmsvk.js} +11 -11
- package/dist/chunks/{worktree-ns90ddce.js → variant-mpgyntzp.js} +11 -11
- package/dist/chunks/{worktree-cye10yf4.js → variant-mrb3fjvr.js} +11 -11
- package/dist/chunks/{worktree-51f5btjf.js → variant-mrvjcs5x.js} +6 -6
- package/dist/chunks/{worktree-bccb6npm.js → variant-msq0jde0.js} +4 -4
- package/dist/chunks/{worktree-zjp9qjhq.js → variant-mxra0cmd.js} +40 -40
- package/dist/chunks/{worktree-czys4tjs.js → variant-mxw0tdhe.js} +10 -10
- package/dist/chunks/{worktree-1mrwszqa.js → variant-n23fqgkg.js} +4 -4
- package/dist/chunks/{worktree-xp0zd8np.js → variant-nm9hpb8x.js} +32 -32
- package/dist/chunks/{worktree-7zsm68gg.js → variant-nmgvgfpr.js} +10 -10
- package/dist/chunks/{worktree-t51qk8jz.js → variant-nrdmrqsx.js} +21 -21
- package/dist/chunks/{worktree-has2vgfm.js → variant-nrjct5b1.js} +3 -3
- package/dist/chunks/{worktree-ckdz0ad0.js → variant-nwqme974.js} +9 -9
- package/dist/chunks/{worktree-sra9araw.js → variant-nxhqveyz.js} +5 -5
- package/dist/chunks/{worktree-6stnv1c0.js → variant-p26nknmg.js} +11 -11
- package/dist/chunks/{worktree-p28j5sbe.js → variant-p28j5sbe.js} +2 -2
- package/dist/chunks/{worktree-5xtgfte3.js → variant-p37cw4rj.js} +4 -4
- package/dist/chunks/{worktree-75ah400z.js → variant-p4qdj091.js} +27 -27
- package/dist/chunks/{worktree-fc1cvdk9.js → variant-p6keb3nc.js} +14 -14
- package/dist/chunks/{worktree-a881zpfh.js → variant-p8mhfpfb.js} +9 -9
- package/dist/chunks/{worktree-3t8frjm5.js → variant-p9bjh04g.js} +4 -4
- package/dist/chunks/{worktree-0k4c1wrr.js → variant-pe9k0hgm.js} +20 -20
- package/dist/chunks/variant-phz3h32g.js +18 -0
- package/dist/chunks/{worktree-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-g8hymqtc.js → variant-pkgc53va.js} +25 -25
- package/dist/chunks/{worktree-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-bmpcrrg0.js → variant-pm0pb3r2.js} +16 -16
- package/dist/chunks/{worktree-ryt7pzqc.js → variant-pstg3rfm.js} +1 -1
- package/dist/chunks/{worktree-p3xeg7xc.js → variant-q0t2e31h.js} +12 -12
- package/dist/chunks/{worktree-agnb6b4y.js → variant-qd8pq7fc.js} +3 -3
- package/dist/chunks/{worktree-e6r8tc5b.js → variant-qnk3s0sd.js} +18 -18
- package/dist/chunks/{worktree-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-gqyhxdpp.js → variant-qxxgnsfr.js} +20 -20
- package/dist/chunks/{worktree-xgpk3fc4.js → variant-r558ape6.js} +22 -22
- package/dist/chunks/{worktree-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-fhs97t90.js → variant-rhafb4aa.js} +5 -5
- package/dist/chunks/{worktree-wbgjk9hv.js → variant-rhebeh0n.js} +21 -21
- package/dist/chunks/{worktree-24ddpwsm.js → variant-rj9ftj0p.js} +13 -13
- package/dist/chunks/{worktree-q60qjx67.js → variant-rjhkz1w2.js} +14 -14
- package/dist/chunks/{worktree-p3d2pjj7.js → variant-rkyj0vr4.js} +24 -24
- package/dist/chunks/{worktree-49asqp28.js → variant-rvh4km1y.js} +20 -20
- package/dist/chunks/{worktree-bmpepz07.js → variant-s2y5anze.js} +3 -3
- package/dist/chunks/{worktree-g5x507wm.js → variant-s305wbyz.js} +160 -160
- package/dist/chunks/{worktree-gxgynv4w.js → variant-sg1qr0px.js} +20 -20
- package/dist/chunks/{worktree-ank7hx1v.js → variant-sg4rfxht.js} +15 -15
- package/dist/chunks/{worktree-xp1ejmsr.js → variant-sghfg077.js} +8 -8
- package/dist/chunks/{worktree-w9y6772s.js → variant-sh98p1a6.js} +4 -4
- package/dist/chunks/{worktree-mtqf31pt.js → variant-smbnzawa.js} +10 -10
- package/dist/chunks/{worktree-1rk9t83t.js → variant-sqjsdc8q.js} +10 -10
- package/dist/chunks/{worktree-aw0v1j7y.js → variant-szh1cwdh.js} +7 -7
- package/dist/chunks/{worktree-b512ytgh.js → variant-t1vey1sx.js} +3 -3
- package/dist/chunks/{worktree-mkccyhb3.js → variant-t3mnpksc.js} +8 -8
- package/dist/chunks/{worktree-7k0xwvvh.js → variant-t44e5ekz.js} +8 -8
- package/dist/chunks/{worktree-t550f9t1.js → variant-t550f9t1.js} +1 -1
- package/dist/chunks/{worktree-at5d07az.js → variant-t6vsspdg.js} +7 -7
- package/dist/chunks/{worktree-jjm18tvm.js → variant-tabeb9mm.js} +63 -63
- package/dist/chunks/{worktree-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-mwwsh29t.js → variant-teqxcq05.js} +9 -9
- package/dist/chunks/{worktree-g0t6d1hq.js → variant-tfn5j0a9.js} +11 -11
- package/dist/chunks/{worktree-bkcnheq0.js → variant-tgbn9x0e.js} +32 -32
- package/dist/chunks/{worktree-ph842b28.js → variant-tjedn1bk.js} +4 -4
- package/dist/chunks/{worktree-57a2pt8j.js → variant-tn764by2.js} +8 -8
- package/dist/chunks/{worktree-tvtrv512.js → variant-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-b1wsctr3.js → variant-txhgrjp2.js} +15 -15
- package/dist/chunks/{worktree-287pmr97.js → variant-tz84jmpd.js} +13 -13
- package/dist/chunks/{worktree-pd15fgp8.js → variant-v0qc0xfw.js} +12 -12
- package/dist/chunks/{worktree-54ptgeb2.js → variant-vdkvxh6g.js} +28 -28
- package/dist/chunks/{worktree-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-9ymcqn9e.js → variant-vtd3ynzc.js} +3 -3
- package/dist/chunks/{worktree-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-de7zd4tj.js → variant-w1kyw1wm.js} +11 -11
- package/dist/chunks/{worktree-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-8d55p9gd.js → variant-w666pgwc.js} +43 -43
- package/dist/chunks/{worktree-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-n8c291r7.js → variant-whmjp8hh.js} +9 -9
- package/dist/chunks/{worktree-e982br48.js → variant-wjjn3hja.js} +4 -4
- package/dist/chunks/{worktree-xsny6hxq.js → variant-wnnqbafk.js} +15 -15
- package/dist/chunks/{worktree-x7vm5fej.js → variant-wsr5pxgw.js} +20 -20
- package/dist/chunks/{worktree-bnw2aka3.js → variant-wv44f8tc.js} +22 -22
- package/dist/chunks/{worktree-z1y70ee3.js → variant-wzbs3mda.js} +10 -10
- package/dist/chunks/{worktree-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-8emwh38k.js → variant-x52p01ey.js} +17 -17
- package/dist/chunks/{worktree-34g626t1.js → variant-x76vnk27.js} +26 -26
- package/dist/chunks/{worktree-yrmashwv.js → variant-x9x1wca8.js} +81 -81
- package/dist/chunks/{worktree-pvrysvhk.js → variant-xdjtnqtw.js} +35 -35
- package/dist/chunks/{worktree-k8zyetr0.js → variant-xq2nfj3p.js} +29 -29
- package/dist/chunks/{worktree-jvf3yq6v.js → variant-xw0r27ex.js} +4 -4
- package/dist/chunks/{worktree-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-rj6d5p5e.js → variant-y6f0p4jw.js} +3 -3
- package/dist/chunks/{worktree-y71avatq.js → variant-y71avatq.js} +1 -1
- package/dist/chunks/{worktree-bs95t40t.js → variant-ye3jx5n8.js} +8 -8
- package/dist/chunks/{worktree-yp2x3t23.js → variant-yp2x3t23.js} +1 -1
- package/dist/chunks/{worktree-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-s4enseaf.js → variant-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-wfsp5hpn.js → variant-ytn5d3vs.js} +17 -17
- package/dist/chunks/{worktree-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-19x32724.js → variant-z4dwdpe4.js} +89 -89
- package/dist/chunks/{worktree-29x78va6.js → variant-z63w68vq.js} +6 -6
- package/dist/chunks/{worktree-7kxej2em.js → variant-z8m6gbkd.js} +12 -12
- package/dist/chunks/{worktree-zeh9ct20.js → variant-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-c4gmtxpm.js → variant-zghmsxd1.js} +19 -19
- package/dist/chunks/{worktree-xbgsghrj.js → variant-zmfbpthp.js} +15 -15
- package/dist/chunks/{worktree-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +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 +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- 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 +88 -88
- package/dist/generate.js +102 -102
- 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 +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- 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 +101 -101
- 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 +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +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 +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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 +1 -1
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- 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 +88 -88
- package/dist/reference.js +90 -90
- 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 +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +7 -7
- 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 +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- 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 +1 -1
- 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 +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +137 -137
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- 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 +124 -124
- 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 +121 -121
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +95 -95
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/worktree-0mesazry.js +0 -4
- package/dist/chunks/worktree-6zs4aaxp.js +0 -252
- package/dist/chunks/worktree-bdmzhav8.js +0 -26
- package/dist/chunks/worktree-ht5y0zrb.js +0 -18
- /package/dist/chunks/{worktree-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → variant-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → variant-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → variant-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-wjjn3hja.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./variant-2wse4pe0.js";
|
|
9
9
|
import {
|
|
10
10
|
ID9,
|
|
11
|
-
Service60,
|
|
12
|
-
node63
|
|
13
|
-
} from "./worktree-e6r8tc5b.js";
|
|
14
|
-
import {
|
|
15
|
-
NotFoundError8
|
|
16
|
-
} from "./worktree-y6a4cmqh.js";
|
|
17
|
-
import {
|
|
18
11
|
Service58,
|
|
19
12
|
node61
|
|
20
|
-
} from "./
|
|
13
|
+
} from "./variant-qnk3s0sd.js";
|
|
21
14
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./variant-984xje6x.js";
|
|
24
17
|
import {
|
|
25
18
|
Service57,
|
|
26
19
|
node60
|
|
27
|
-
} from "./
|
|
20
|
+
} from "./variant-kmg4jv2q.js";
|
|
21
|
+
import {
|
|
22
|
+
match2
|
|
23
|
+
} from "./variant-y1fvbwt7.js";
|
|
24
|
+
import {
|
|
25
|
+
Service56,
|
|
26
|
+
node59
|
|
27
|
+
} from "./variant-txhgrjp2.js";
|
|
28
28
|
import {
|
|
29
29
|
Service59,
|
|
30
30
|
node62
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./variant-3a83a0n4.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./variant-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
45
|
+
Event: () => Event12,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
|
-
Rule: () =>
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service55,
|
|
55
|
+
Source: () => Source4,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node58
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event12 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
|
+
var Source4 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
82
|
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID7,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,14 +125,14 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service55 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service82;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
132
|
+
const location = yield* Service76;
|
|
133
|
+
const agents = yield* Service58;
|
|
134
|
+
const sessions = yield* Service57;
|
|
135
|
+
const saved = yield* Service56;
|
|
136
136
|
const hooks = yield* Service59;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID7.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID7.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service55.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node58 = makeLocationNode({
|
|
303
|
+
service: Service55,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node86,
|
|
305
|
+
deps: [node86, node80, node61, node60, node59, node62]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID7, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service55, node58, exports_permission2, Rule3, Ruleset2, Event12 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-t1vey1sx.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-wjjn3hja.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node64
|
|
12
|
+
} from "./variant-x52p01ey.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service31,
|
|
15
|
+
node33
|
|
16
|
+
} from "./variant-mrvjcs5x.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./variant-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./variant-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service28
|
|
26
|
+
} from "./variant-xw0r27ex.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./variant-984xje6x.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service57,
|
|
32
|
+
node60
|
|
33
|
+
} from "./variant-kmg4jv2q.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./variant-n23fqgkg.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./variant-h2bgjhkt.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./variant-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service27,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer11,
|
|
50
|
+
node: () => node30,
|
|
51
|
+
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service27 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer11 = Layer.effect(Service27, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service57;
|
|
70
|
+
const instances = yield* Service31;
|
|
71
71
|
const bus = yield* Service82;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service61;
|
|
73
73
|
const db = (yield* Service83).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,7 +82,7 @@ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service28.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -110,7 +110,7 @@ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service27.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node30 = makeGlobalNode({
|
|
133
|
+
service: Service27,
|
|
134
|
+
layer: layer11,
|
|
135
|
+
deps: [node60, node33, node86, node87, node64]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer2 = Layer.succeed(Service27, Service27.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer3 = Layer.succeed(Service41, Service41.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service27, terminal2, layer11, node30, noopLayer2, exports_execution };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./variant-akz62yx4.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-h9v43k74.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service39
|
|
4
|
+
} from "./variant-5n7wdh8h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./variant-knws4kq8.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./variant-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin25
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin25 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service39;
|
|
27
|
+
const shell = yield* Service50;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin27 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin25, exports_shell };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-wjjn3hja.js";
|
|
5
5
|
import {
|
|
6
6
|
Event18,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service73,
|
|
8
|
+
node77
|
|
9
|
+
} from "./variant-7d77z8qn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service40,
|
|
12
|
+
node42
|
|
13
|
+
} from "./variant-2p6dchyf.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./variant-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node80
|
|
20
|
+
} from "./variant-2wse4pe0.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./variant-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./variant-c2fs7f6w.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./variant-h48hzw2b.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./variant-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service64,
|
|
36
|
+
Event14,
|
|
37
|
+
node67
|
|
38
|
+
} from "./variant-pe9k0hgm.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./variant-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options4,
|
|
48
|
+
Service: () => Service39,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured4,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer16,
|
|
53
|
+
node: () => node41,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options4 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service39 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service39, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service76;
|
|
97
|
+
const watcher = yield* Service40;
|
|
98
98
|
const bus = yield* Service82;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service73;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service64;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -222,7 +222,7 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
224
|
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service39.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured4(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service39,
|
|
268
|
+
layer: layer16(options),
|
|
269
|
+
deps: [node42, node86, FSUtil.node, Global.node, node80, node77, node67]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node41 = configured4();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options4, Service39, Test2, testLayer2, layer16, configured4, node41, exports_config };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load4() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load4 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./variant-gsgspxn5.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|