@opencode/core 0.0.0-dev-1266 → 0.0.0-dev-1274
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 +94 -94
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +258 -258
- package/dist/bus.js +80 -80
- package/dist/chunks/wellknown-00q5c7ny.js +48 -0
- package/dist/chunks/wellknown-00ve6mdn.js +18 -0
- package/dist/chunks/{credential-034tev2y.js → wellknown-034tev2y.js} +2 -2
- package/dist/chunks/{credential-94e33dpz.js → wellknown-04qc8z7j.js} +3 -3
- package/dist/chunks/{credential-ttz31trp.js → wellknown-0fvxehme.js} +5 -5
- package/dist/chunks/{credential-0ma9gw4f.js → wellknown-0ma9gw4f.js} +2 -2
- package/dist/chunks/{credential-hxyt6xjy.js → wellknown-0nz55kmn.js} +14 -14
- package/dist/chunks/{credential-a0njj5td.js → wellknown-0p664kx6.js} +6 -6
- package/dist/chunks/{credential-jtj80tfk.js → wellknown-10ah2vsp.js} +24 -41
- package/dist/chunks/{credential-vstw9esd.js → wellknown-11f4vkhr.js} +17 -17
- package/dist/chunks/{credential-nkpvg6fm.js → wellknown-12gkcqap.js} +23 -23
- package/dist/chunks/{credential-gx76kxxn.js → wellknown-18b1hh0p.js} +8 -8
- package/dist/chunks/{credential-1aqsckx4.js → wellknown-1aqsckx4.js} +1 -1
- package/dist/chunks/{credential-1aryjtsy.js → wellknown-1aryjtsy.js} +1 -1
- package/dist/chunks/{credential-f5xy1qn8.js → wellknown-1bbryb4w.js} +6 -6
- package/dist/chunks/{credential-1ep2p91f.js → wellknown-1ep2p91f.js} +2 -2
- package/dist/chunks/{credential-b588tj1k.js → wellknown-1f3f09ty.js} +22 -22
- package/dist/chunks/{credential-2w9hcewk.js → wellknown-1g33jr7s.js} +6 -6
- package/dist/chunks/{credential-x5fke988.js → wellknown-1t7bna1x.js} +5 -5
- package/dist/chunks/{credential-msd2a3qm.js → wellknown-1v2g13eq.js} +4 -4
- package/dist/chunks/{credential-jd2k76th.js → wellknown-1w56m6hw.js} +3 -3
- package/dist/chunks/{credential-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
- package/dist/chunks/{credential-bqbrpb0z.js → wellknown-1z4gzts3.js} +38 -38
- package/dist/chunks/{credential-f9t22jxr.js → wellknown-239ft0hq.js} +11 -11
- package/dist/chunks/{credential-tb2mrvc9.js → wellknown-26wfx3k0.js} +4 -4
- package/dist/chunks/{credential-ea76zaj4.js → wellknown-27vwpkqs.js} +7 -7
- package/dist/chunks/{credential-8bpryfcs.js → wellknown-2e4jyqpy.js} +28 -28
- package/dist/chunks/{credential-083bb7kr.js → wellknown-2eyxc6yq.js} +1 -1
- package/dist/chunks/{credential-2fc7eemy.js → wellknown-2fc7eemy.js} +1 -1
- package/dist/chunks/{credential-y9x812en.js → wellknown-2kdxm5sv.js} +81 -81
- package/dist/chunks/{credential-g42b6ca9.js → wellknown-2mbjfaxd.js} +4 -4
- package/dist/chunks/{credential-2p60zmnr.js → wellknown-2p60zmnr.js} +2 -2
- package/dist/chunks/{credential-2prt43t7.js → wellknown-2prt43t7.js} +1 -1
- package/dist/chunks/{credential-emh57nvb.js → wellknown-2rnbxajr.js} +8 -8
- package/dist/chunks/{credential-t8t4hh39.js → wellknown-2w0fxkqg.js} +2 -2
- package/dist/chunks/{credential-2vaagxfs.js → wellknown-34gd944s.js} +183 -183
- package/dist/chunks/{credential-90ct6wq4.js → wellknown-38aws4xb.js} +4 -4
- package/dist/chunks/{credential-br85n61x.js → wellknown-3adw4bt5.js} +9 -9
- package/dist/chunks/{credential-nvx1pt8f.js → wellknown-3am32n0d.js} +16 -16
- package/dist/chunks/{credential-bctkw1y7.js → wellknown-3epvxjx2.js} +25 -25
- package/dist/chunks/{credential-75p4zwqn.js → wellknown-3f3rpwdz.js} +10 -10
- package/dist/chunks/{credential-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-b0fy1v2h.js → wellknown-3n1bw4p7.js} +1 -1
- package/dist/chunks/{credential-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
- package/dist/chunks/{credential-2azy8kv6.js → wellknown-3ryz99p0.js} +4 -4
- package/dist/chunks/{credential-h5kxrezk.js → wellknown-3vadn2gy.js} +29 -29
- package/dist/chunks/{credential-z658waa6.js → wellknown-3vm4zwhg.js} +22 -22
- package/dist/chunks/{credential-pcgy6jah.js → wellknown-3wwst4c5.js} +6 -6
- package/dist/chunks/{credential-40y6dtc2.js → wellknown-40y6dtc2.js} +1 -1
- package/dist/chunks/{credential-w2eysc6j.js → wellknown-40za9wsf.js} +9 -9
- package/dist/chunks/{credential-44pmzq9c.js → wellknown-44pmzq9c.js} +2 -2
- package/dist/chunks/{credential-1r670a2x.js → wellknown-45bebn9c.js} +18 -18
- package/dist/chunks/{credential-t7ns9v9m.js → wellknown-46vh34ss.js} +11 -11
- package/dist/chunks/{credential-j68k2dd2.js → wellknown-49vqy2az.js} +35 -35
- package/dist/chunks/{credential-4dx1dgte.js → wellknown-4dx1dgte.js} +1 -1
- package/dist/chunks/{credential-4f25tdd0.js → wellknown-4f25tdd0.js} +1 -1
- package/dist/chunks/{credential-5mmnhktp.js → wellknown-4jexctq9.js} +9 -9
- package/dist/chunks/{credential-4pyp9zr9.js → wellknown-4pyp9zr9.js} +1 -1
- package/dist/chunks/{credential-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
- package/dist/chunks/{credential-hz0tdhxc.js → wellknown-4x5nk1x5.js} +36 -36
- package/dist/chunks/{credential-x50jzt61.js → wellknown-4yav3t7s.js} +49 -49
- package/dist/chunks/{credential-pq0hd913.js → wellknown-525mz8jg.js} +4 -4
- package/dist/chunks/{credential-haz0swaw.js → wellknown-5afvs6k1.js} +22 -22
- package/dist/chunks/{credential-04f94dax.js → wellknown-5er5nwr6.js} +43 -43
- package/dist/chunks/{credential-2s42xwzj.js → wellknown-5gszs3mg.js} +8 -8
- package/dist/chunks/{credential-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
- package/dist/chunks/{credential-qk70ddp3.js → wellknown-5tfk53q0.js} +43 -43
- package/dist/chunks/{credential-8zw7n6f9.js → wellknown-60j45npd.js} +23 -23
- package/dist/chunks/{credential-ab3scrh1.js → wellknown-61625brq.js} +15 -15
- package/dist/chunks/{credential-p9291rxh.js → wellknown-64ny3mcx.js} +15 -15
- package/dist/chunks/wellknown-69gprzdq.js +35 -0
- package/dist/chunks/{credential-6ndwemk5.js → wellknown-6d86p0rx.js} +32 -32
- package/dist/chunks/{credential-jxxxy27w.js → wellknown-6h75haat.js} +8 -8
- package/dist/chunks/{credential-y9x9m3cp.js → wellknown-6h8vcvjm.js} +9 -9
- package/dist/chunks/{credential-fssek1qm.js → wellknown-6hzsz47x.js} +24 -24
- package/dist/chunks/{credential-mczeabwm.js → wellknown-6n7km2ez.js} +14 -14
- package/dist/chunks/{credential-1c1zg5kd.js → wellknown-6nk6b5z2.js} +21 -21
- package/dist/chunks/{credential-qzz1xg45.js → wellknown-6qkskqcr.js} +36 -36
- package/dist/chunks/{credential-agje4kmn.js → wellknown-6y2b864j.js} +4 -4
- package/dist/chunks/{credential-xwq0gncp.js → wellknown-6zrhfp6q.js} +84 -84
- package/dist/chunks/{credential-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-wq2zrtad.js → wellknown-7mp3bmtj.js} +3 -3
- package/dist/chunks/{credential-kb5p7079.js → wellknown-7naf8s2s.js} +35 -35
- package/dist/chunks/{credential-kzrp6a9e.js → wellknown-7pxtpnyj.js} +5 -5
- package/dist/chunks/{credential-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
- package/dist/chunks/{credential-7weczvnd.js → wellknown-7weczvnd.js} +1 -1
- package/dist/chunks/{credential-jh9q4qkg.js → wellknown-80a1w5an.js} +2 -2
- package/dist/chunks/{credential-80mg3ag8.js → wellknown-80mg3ag8.js} +3 -3
- package/dist/chunks/{credential-80pdk984.js → wellknown-80pdk984.js} +1 -1
- package/dist/chunks/{credential-r17j3nh0.js → wellknown-81wndkw9.js} +16 -16
- package/dist/chunks/{credential-asm9vz9z.js → wellknown-84aeym0z.js} +35 -35
- package/dist/chunks/{credential-85jq8dht.js → wellknown-85jq8dht.js} +1 -1
- package/dist/chunks/{credential-6qpf3bcy.js → wellknown-86d88khw.js} +32 -32
- package/dist/chunks/{credential-c1wm9w65.js → wellknown-88gs4f06.js} +5 -5
- package/dist/chunks/{credential-8b3vzgkx.js → wellknown-8b3vzgkx.js} +1 -1
- package/dist/chunks/{credential-j3dzraeh.js → wellknown-8gryxz20.js} +13 -13
- package/dist/chunks/{credential-8kjyvwy5.js → wellknown-8kjyvwy5.js} +1 -1
- package/dist/chunks/{credential-8sxe6kv8.js → wellknown-8sxe6kv8.js} +2 -2
- package/dist/chunks/{credential-h26mtg3g.js → wellknown-8w8cpz06.js} +21 -21
- package/dist/chunks/{credential-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
- package/dist/chunks/{credential-8vmsfhyj.js → wellknown-8zqzm5np.js} +12 -12
- package/dist/chunks/{credential-8zv0xmg5.js → wellknown-8zv0xmg5.js} +1 -1
- package/dist/chunks/{credential-2f5h4exa.js → wellknown-90tgay6n.js} +50 -50
- package/dist/chunks/{credential-8sgwsd6w.js → wellknown-95xmv174.js} +30 -30
- package/dist/chunks/{credential-rn6817b0.js → wellknown-963hk181.js} +9 -9
- package/dist/chunks/{credential-6f8g2psv.js → wellknown-9f8kb14f.js} +9 -9
- package/dist/chunks/{credential-h7b3bxr7.js → wellknown-9hkx6g65.js} +4 -4
- package/dist/chunks/{credential-7t325v9v.js → wellknown-9nkczbvd.js} +13 -13
- package/dist/chunks/{credential-dtrrxc61.js → wellknown-9p2szv1p.js} +3 -3
- package/dist/chunks/{credential-s7kyse9r.js → wellknown-9q8g9sv8.js} +4 -4
- package/dist/chunks/{credential-rjyjacaf.js → wellknown-9t3w645t.js} +17 -17
- package/dist/chunks/{credential-hmqmja9x.js → wellknown-9v88h1ca.js} +27 -27
- package/dist/chunks/{credential-tmekpwey.js → wellknown-9x1w0840.js} +13 -13
- package/dist/chunks/{credential-2qv5ter1.js → wellknown-9xjx31jr.js} +24 -24
- package/dist/chunks/{credential-7h0xs0hp.js → wellknown-a3dc5jdz.js} +5 -5
- package/dist/chunks/{credential-q1xyrh11.js → wellknown-a68pf15f.js} +11 -11
- package/dist/chunks/{credential-fhbz4jre.js → wellknown-a72a9qq8.js} +30 -30
- package/dist/chunks/{credential-j228j2n8.js → wellknown-am54fdzb.js} +2 -2
- package/dist/chunks/{credential-m11dydqq.js → wellknown-ane8d80r.js} +4 -4
- package/dist/chunks/{credential-5wfjk0m2.js → wellknown-anm5jz6g.js} +28 -28
- package/dist/chunks/{credential-nm3ssbj1.js → wellknown-atctktsp.js} +20 -20
- package/dist/chunks/{credential-ayjs7tqn.js → wellknown-ayjs7tqn.js} +2 -2
- package/dist/chunks/{credential-gykwdayw.js → wellknown-azf43hmp.js} +27 -27
- package/dist/chunks/{credential-k2b8fd82.js → wellknown-azk4er3g.js} +20 -20
- package/dist/chunks/{credential-b26ddj6h.js → wellknown-b26ddj6h.js} +4 -4
- package/dist/chunks/{credential-t5ngt2e6.js → wellknown-b2na6raw.js} +47 -60
- package/dist/chunks/{credential-f8qcf1g3.js → wellknown-b2xmvq2c.js} +29 -29
- package/dist/chunks/{credential-ep1m3t1v.js → wellknown-b5fgf89h.js} +33 -33
- package/dist/chunks/{credential-mj6ctt7b.js → wellknown-b5v6grxt.js} +3 -3
- package/dist/chunks/{credential-nbtpjsg4.js → wellknown-bbqhzdxr.js} +14 -14
- package/dist/chunks/{credential-f68vxh6q.js → wellknown-bf5h8hhg.js} +12 -12
- package/dist/chunks/{credential-tykbxjwp.js → wellknown-bqfa9ah4.js} +8 -8
- package/dist/chunks/{credential-5e55b4vg.js → wellknown-bv5pmh23.js} +16 -16
- package/dist/chunks/{credential-t8erkws8.js → wellknown-bys6f9s7.js} +5 -5
- package/dist/chunks/{credential-v6z75vyy.js → wellknown-c6jqhfbx.js} +7 -7
- package/dist/chunks/{credential-a2f34hqa.js → wellknown-c7nq4s0z.js} +16 -16
- package/dist/chunks/{credential-19cwwhz9.js → wellknown-cb67h20a.js} +5 -5
- package/dist/chunks/{credential-1dr9rxn2.js → wellknown-cgb0ky0r.js} +47 -47
- package/dist/chunks/{credential-w75qynz4.js → wellknown-ckn0kvtp.js} +6 -6
- package/dist/chunks/{credential-6537r86n.js → wellknown-cre26pzh.js} +4 -4
- package/dist/chunks/{credential-cwrgdav8.js → wellknown-cwrgdav8.js} +2 -2
- package/dist/chunks/{credential-bq1e659v.js → wellknown-d0qca5b5.js} +27 -27
- package/dist/chunks/{credential-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
- package/dist/chunks/{credential-284atmfe.js → wellknown-d76f69sx.js} +21 -21
- package/dist/chunks/{credential-16b1vswp.js → wellknown-d89kch1r.js} +4 -4
- package/dist/chunks/{credential-tswdvt6j.js → wellknown-d8ths8hj.js} +20 -20
- package/dist/chunks/{credential-reebcp87.js → wellknown-da9kefhx.js} +19 -19
- package/dist/chunks/{credential-2swk70vv.js → wellknown-db894n5b.js} +10 -10
- package/dist/chunks/{credential-0gzv1ss9.js → wellknown-des3sty7.js} +41 -41
- package/dist/chunks/{credential-hw1wavdn.js → wellknown-dnv3vdn4.js} +17 -17
- package/dist/chunks/{credential-r1q9g2m1.js → wellknown-dq9yw5y4.js} +49 -49
- package/dist/chunks/{credential-ccrtc4jm.js → wellknown-dqb5vj9d.js} +6 -6
- package/dist/chunks/{credential-w99w1ysk.js → wellknown-drf94xsw.js} +5 -5
- package/dist/chunks/{credential-m6hyr5tc.js → wellknown-drx3xxbs.js} +9 -9
- package/dist/chunks/{credential-dt77769w.js → wellknown-dt77769w.js} +1 -1
- package/dist/chunks/{credential-ky55b5b1.js → wellknown-dvnqv6yn.js} +4 -4
- package/dist/chunks/{credential-44qjfwz8.js → wellknown-dwssz31q.js} +11 -11
- package/dist/chunks/{credential-fygfs8gq.js → wellknown-e1yxnm4d.js} +17 -17
- package/dist/chunks/{credential-8a4y06xp.js → wellknown-e8q0fqbh.js} +22 -22
- package/dist/chunks/{credential-a2fmjrw5.js → wellknown-eaqk9kqr.js} +14 -14
- package/dist/chunks/{credential-nwd067wd.js → wellknown-eea91zwp.js} +4 -4
- package/dist/chunks/{credential-eqw4pqj1.js → wellknown-eqw4pqj1.js} +2 -2
- package/dist/chunks/{credential-mz2z015j.js → wellknown-fa0k7vsk.js} +20 -20
- package/dist/chunks/{credential-g3wj12x4.js → wellknown-fgmter8b.js} +8 -8
- package/dist/chunks/{credential-pxbvf64t.js → wellknown-fjwkbb1x.js} +5 -5
- package/dist/chunks/{credential-k8atft3w.js → wellknown-frep32by.js} +10 -10
- package/dist/chunks/{credential-jrn9m81j.js → wellknown-fz2n6382.js} +31 -31
- package/dist/chunks/{credential-f1b4f75h.js → wellknown-fze8cfn0.js} +16 -16
- package/dist/chunks/{credential-pq1zgjhw.js → wellknown-g2qvhfnx.js} +7 -7
- package/dist/chunks/{credential-0n8hhfa1.js → wellknown-g4h9rjaz.js} +3 -3
- package/dist/chunks/{credential-neqamc1y.js → wellknown-g4nnzxz4.js} +9 -9
- package/dist/chunks/{credential-9x0sbzbr.js → wellknown-g5rh77mm.js} +10 -10
- package/dist/chunks/{credential-bj026bf1.js → wellknown-gb1nz6tw.js} +13 -13
- package/dist/chunks/{credential-gbjdnr5j.js → wellknown-gbjdnr5j.js} +2 -2
- package/dist/chunks/{credential-dxfardcv.js → wellknown-ggtsavny.js} +24 -24
- package/dist/chunks/{credential-2ejmkwxb.js → wellknown-ghfzx59g.js} +10 -10
- package/dist/chunks/{credential-ghrv1g9c.js → wellknown-ghrv1g9c.js} +1 -1
- package/dist/chunks/{credential-h6wxadm3.js → wellknown-gkpn8dda.js} +6 -6
- package/dist/chunks/{credential-pnh89ay0.js → wellknown-gky9pep2.js} +42 -42
- package/dist/chunks/{credential-0bv4xa50.js → wellknown-gv0w1vxr.js} +31 -31
- package/dist/chunks/{credential-z0gmqx6j.js → wellknown-gvzshmgs.js} +39 -39
- package/dist/chunks/{credential-tg7s7b5t.js → wellknown-gxs71cxp.js} +4 -4
- package/dist/chunks/{credential-7yyd0evv.js → wellknown-h8x5hy5a.js} +18 -18
- package/dist/chunks/{credential-mg9811wm.js → wellknown-hacm5ky9.js} +11 -11
- package/dist/chunks/{credential-p45cj9je.js → wellknown-hcwr1eq3.js} +4 -4
- package/dist/chunks/{credential-1nvhvshq.js → wellknown-hdtqhxbt.js} +8 -8
- package/dist/chunks/{credential-pgvvr17p.js → wellknown-hfd14bbn.js} +3 -3
- package/dist/chunks/{credential-hgzwgvze.js → wellknown-hgzwgvze.js} +2 -2
- package/dist/chunks/{credential-xvpaagpx.js → wellknown-hngf4e10.js} +18 -18
- package/dist/chunks/{credential-hm3thh9r.js → wellknown-hpsyjkdx.js} +12 -12
- package/dist/chunks/{credential-v6062tn6.js → wellknown-hrfbfe36.js} +46 -46
- package/dist/chunks/{credential-d9b35bsm.js → wellknown-hy0yhvdm.js} +17 -17
- package/dist/chunks/{credential-p2pbjxkj.js → wellknown-j1fqt4qc.js} +5 -5
- package/dist/chunks/{credential-7mgf1y04.js → wellknown-j1wnaq34.js} +11 -11
- package/dist/chunks/{credential-epr7hfg3.js → wellknown-j4p6td36.js} +12 -12
- package/dist/chunks/{credential-g7h89rq2.js → wellknown-j9dezkr9.js} +44 -44
- package/dist/chunks/{credential-9be3praa.js → wellknown-jh4x1cys.js} +7 -7
- package/dist/chunks/{credential-jkdcm5hg.js → wellknown-jkdcm5hg.js} +1 -1
- package/dist/chunks/{credential-jm70asfg.js → wellknown-jm70asfg.js} +1 -1
- package/dist/chunks/{credential-7dxs97e8.js → wellknown-jr0fegj9.js} +7 -7
- package/dist/chunks/{credential-zesaewyn.js → wellknown-jvcygd6j.js} +9 -9
- package/dist/chunks/{credential-8nvb8nf8.js → wellknown-k7kssdtd.js} +26 -26
- package/dist/chunks/{credential-zg3a0ws0.js → wellknown-k82p69kk.js} +13 -13
- package/dist/chunks/{credential-mk3p57ba.js → wellknown-kd3pvrcx.js} +7 -7
- package/dist/chunks/{credential-7m3261e6.js → wellknown-kd43xx4e.js} +11 -11
- package/dist/chunks/{credential-kj9n5bvh.js → wellknown-kj9n5bvh.js} +1 -1
- package/dist/chunks/{credential-3rd5m6vm.js → wellknown-kk6vxkpe.js} +30 -30
- package/dist/chunks/{credential-kt3bjfbg.js → wellknown-kt3bjfbg.js} +1 -1
- package/dist/chunks/{credential-v0j23fj0.js → wellknown-kybpnhsk.js} +8 -8
- package/dist/chunks/{credential-kzczzf4v.js → wellknown-kzczzf4v.js} +1 -1
- package/dist/chunks/{credential-2bswbpgz.js → wellknown-kzdam8c6.js} +7 -7
- package/dist/chunks/{credential-5cw7hx5n.js → wellknown-kzp5qeg3.js} +5 -5
- package/dist/chunks/{credential-m1714858.js → wellknown-m1714858.js} +1 -1
- package/dist/chunks/{credential-7kdah1f2.js → wellknown-m4c54zxh.js} +11 -11
- package/dist/chunks/{credential-pd7cqnhq.js → wellknown-m4p4r8nc.js} +4 -4
- package/dist/chunks/{credential-m90tx7mw.js → wellknown-m90tx7mw.js} +1 -1
- package/dist/chunks/{credential-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-gw4haqx5.js → wellknown-mavnwbez.js} +8 -8
- package/dist/chunks/{credential-mb7mbhnz.js → wellknown-mb7mbhnz.js} +3 -3
- package/dist/chunks/{credential-nck04nh4.js → wellknown-mcy8kewc.js} +12 -12
- package/dist/chunks/{credential-n2a04dsk.js → wellknown-mnd11pf8.js} +95 -95
- package/dist/chunks/{credential-4brve7m4.js → wellknown-mrp55d25.js} +18 -18
- package/dist/chunks/{credential-evg6t15x.js → wellknown-n7q05nrv.js} +5 -5
- package/dist/chunks/{credential-j0xx1eam.js → wellknown-n9fc3ffr.js} +9 -9
- package/dist/chunks/{credential-qh0sybr2.js → wellknown-nctk7vpd.js} +27 -27
- package/dist/chunks/{credential-2cn0txnp.js → wellknown-nfj3wr17.js} +14 -14
- package/dist/chunks/{credential-ysbtdz6z.js → wellknown-nhb9dsje.js} +34 -34
- package/dist/chunks/{credential-a5gtmh0t.js → wellknown-ntgys0yr.js} +5 -5
- package/dist/chunks/{credential-7215dbqr.js → wellknown-p3g3b7x5.js} +6 -6
- package/dist/chunks/{credential-55jns0y6.js → wellknown-p694rhrj.js} +59 -59
- package/dist/chunks/{credential-1qhqc27h.js → wellknown-p6zdnexr.js} +23 -23
- package/dist/chunks/{credential-jd64w3eg.js → wellknown-p7pxh3hk.js} +27 -27
- package/dist/chunks/{credential-tfwrvc1b.js → wellknown-p7rg0ahv.js} +16 -16
- package/dist/chunks/{credential-fkd994t1.js → wellknown-pja52887.js} +21 -21
- package/dist/chunks/{credential-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{credential-8rgb2cvr.js → wellknown-pnwsrq7c.js} +11 -11
- package/dist/chunks/{credential-8hfmqq8w.js → wellknown-ppdsqj4g.js} +8 -8
- package/dist/chunks/{credential-prq7xxp2.js → wellknown-prq7xxp2.js} +2 -2
- package/dist/chunks/{credential-92waa1rm.js → wellknown-ps1sh08h.js} +7 -7
- package/dist/chunks/{credential-3zcve5r9.js → wellknown-pz4160y0.js} +18 -18
- package/dist/chunks/{credential-yx8xd4nc.js → wellknown-q4018z18.js} +20 -20
- package/dist/chunks/{credential-qq9c9g32.js → wellknown-q48e718y.js} +8 -8
- package/dist/chunks/{credential-tw9f37sx.js → wellknown-q99fg7xs.js} +33 -33
- package/dist/chunks/{credential-8fzjn2mz.js → wellknown-qjx4e7wd.js} +13 -13
- package/dist/chunks/{credential-pas0ngh7.js → wellknown-qk5jqvsz.js} +7 -7
- package/dist/chunks/{credential-qp7r0hxv.js → wellknown-qp7r0hxv.js} +1 -1
- package/dist/chunks/{credential-s516hjqf.js → wellknown-qrjh6ecv.js} +27 -27
- package/dist/chunks/{credential-crvzxc72.js → wellknown-qy4z8qgx.js} +32 -32
- package/dist/chunks/{credential-e8xb975w.js → wellknown-r45nfa48.js} +9 -9
- package/dist/chunks/{credential-48m9x6qm.js → wellknown-r6pn3r14.js} +5 -5
- package/dist/chunks/{credential-05ag6pk8.js → wellknown-r9x4hg85.js} +18 -18
- package/dist/chunks/{credential-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
- package/dist/chunks/{credential-rgc9cx3e.js → wellknown-rgc9cx3e.js} +2 -2
- package/dist/chunks/{credential-rj7j5fvs.js → wellknown-rj7j5fvs.js} +1 -1
- package/dist/chunks/{credential-w6nmzeby.js → wellknown-rjq2h366.js} +21 -21
- package/dist/chunks/{credential-2pg7vmjx.js → wellknown-rmzz9gxy.js} +59 -59
- package/dist/chunks/{credential-297gyf9e.js → wellknown-ryxj8vej.js} +4 -4
- package/dist/chunks/{credential-s47rahr7.js → wellknown-s47rahr7.js} +1 -1
- package/dist/chunks/{credential-ra3z9b2f.js → wellknown-s5gnd255.js} +3 -3
- package/dist/chunks/{credential-5k437nf0.js → wellknown-s5jb09at.js} +25 -25
- package/dist/chunks/{credential-6vwjxhgq.js → wellknown-s6bhvg1c.js} +8 -8
- package/dist/chunks/{credential-sbya78hr.js → wellknown-sbya78hr.js} +1 -1
- package/dist/chunks/{credential-pp6tj5nn.js → wellknown-sdvame5v.js} +21 -21
- package/dist/chunks/{credential-2aq4mjey.js → wellknown-se8w9n5w.js} +23 -23
- package/dist/chunks/{credential-81avqzmv.js → wellknown-sg8yaemx.js} +12 -12
- package/dist/chunks/{credential-v6prs5bd.js → wellknown-sqmdmenf.js} +4 -4
- package/dist/chunks/{credential-svcy3p9a.js → wellknown-svcy3p9a.js} +1 -1
- package/dist/chunks/{credential-y1n277rb.js → wellknown-t48jrnqq.js} +3 -3
- package/dist/chunks/{credential-ywgtvdty.js → wellknown-t4r9w2r8.js} +366 -366
- package/dist/chunks/{credential-xxschbft.js → wellknown-t54kw4zq.js} +7 -7
- package/dist/chunks/{credential-9ajzb2kh.js → wellknown-t9dyr738.js} +4 -4
- package/dist/chunks/{credential-tbpn7jtk.js → wellknown-tbpn7jtk.js} +1 -1
- package/dist/chunks/{credential-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
- package/dist/chunks/{credential-bm62pr2s.js → wellknown-tebsc1c2.js} +14 -14
- package/dist/chunks/{credential-ykvsfm8k.js → wellknown-tg1vr1qt.js} +8 -8
- package/dist/chunks/{credential-rnjyc0x3.js → wellknown-tpbp4zns.js} +14 -14
- package/dist/chunks/{credential-66930yf4.js → wellknown-tr7e1wbp.js} +35 -35
- package/dist/chunks/{credential-tr8x705m.js → wellknown-tr8x705m.js} +1 -1
- package/dist/chunks/{credential-7n9cxsfy.js → wellknown-tsq3zbsd.js} +6 -6
- package/dist/chunks/{credential-47pjmyws.js → wellknown-ttryaj5y.js} +21 -21
- package/dist/chunks/{credential-tvtps2q9.js → wellknown-tvtps2q9.js} +1 -1
- package/dist/chunks/{credential-twssxy5n.js → wellknown-twssxy5n.js} +2 -2
- package/dist/chunks/{credential-4pw98qd4.js → wellknown-tx91wa5k.js} +4 -4
- package/dist/chunks/{credential-84vrmdvh.js → wellknown-txtemxmw.js} +23 -23
- package/dist/chunks/{credential-755j803s.js → wellknown-tzwds221.js} +26 -26
- package/dist/chunks/wellknown-v0zd4c6n.js +26 -0
- package/dist/chunks/{credential-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
- package/dist/chunks/{credential-p7vhpwh8.js → wellknown-v9ez2kgh.js} +5 -5
- package/dist/chunks/{credential-gbeepg6c.js → wellknown-vahqzszt.js} +12 -12
- package/dist/chunks/{credential-es0xdxx4.js → wellknown-veeygb1m.js} +11 -11
- package/dist/chunks/{credential-4mqfjmg2.js → wellknown-vf4vzgrq.js} +3 -3
- package/dist/chunks/{credential-vjf35v1f.js → wellknown-vjf35v1f.js} +1 -1
- package/dist/chunks/{credential-94nm4njz.js → wellknown-vjwxq6wx.js} +15 -15
- package/dist/chunks/{credential-pjswj2se.js → wellknown-vmkk11eb.js} +12 -12
- package/dist/chunks/{credential-3ztt38fd.js → wellknown-vmt418y7.js} +13 -13
- package/dist/chunks/{credential-2v6ndzyx.js → wellknown-vnm5skb7.js} +13 -13
- package/dist/chunks/{credential-2t9xf391.js → wellknown-vp369ad1.js} +33 -33
- package/dist/chunks/{credential-vdmajd6q.js → wellknown-vq65r0sw.js} +20 -20
- package/dist/chunks/{credential-9yw73g0b.js → wellknown-vtftqehb.js} +40 -40
- package/dist/chunks/{credential-esc72zzd.js → wellknown-w17m67z5.js} +36 -36
- package/dist/chunks/{credential-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-w687dnns.js → wellknown-w687dnns.js} +1 -1
- package/dist/chunks/{credential-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
- package/dist/chunks/{credential-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{credential-j8argnn7.js → wellknown-wefs7edz.js} +55 -55
- package/dist/chunks/{credential-wegkxhrn.js → wellknown-wegkxhrn.js} +2 -2
- package/dist/chunks/{credential-ksmsp0en.js → wellknown-wexdq955.js} +10 -10
- package/dist/chunks/{credential-zh2sgnz7.js → wellknown-wmerjj0j.js} +29 -29
- package/dist/chunks/{credential-rwfczecq.js → wellknown-wpkh533q.js} +55 -55
- package/dist/chunks/{credential-eegta8rz.js → wellknown-wvxbfzwt.js} +31 -31
- package/dist/chunks/{credential-pf46waa6.js → wellknown-wy6ncpne.js} +16 -16
- package/dist/chunks/{credential-ead5v0mw.js → wellknown-x0gzg1yf.js} +24 -24
- package/dist/chunks/wellknown-x3c9tvtc.js +16 -0
- package/dist/chunks/{credential-r17fbvme.js → wellknown-xacrkbdt.js} +4 -4
- package/dist/chunks/{credential-xd9cc171.js → wellknown-xd9cc171.js} +1 -1
- package/dist/chunks/{credential-cwmw1m7p.js → wellknown-xg0vzbv9.js} +26 -26
- package/dist/chunks/{credential-0d0009t3.js → wellknown-xgf66r5p.js} +11 -11
- package/dist/chunks/{credential-89hc1rzn.js → wellknown-xjjc6s74.js} +5 -5
- package/dist/chunks/{credential-nzrnzpf0.js → wellknown-xjpg0rhp.js} +11 -11
- package/dist/chunks/{credential-67wwskyb.js → wellknown-xksw6ev0.js} +4 -4
- package/dist/chunks/{credential-azqdag7d.js → wellknown-xvn8mnch.js} +4 -4
- package/dist/chunks/{credential-s640psbm.js → wellknown-xwn9qeys.js} +11 -11
- package/dist/chunks/{credential-w4xw9ac5.js → wellknown-xz07m27x.js} +2 -2
- package/dist/chunks/{credential-170v4zn2.js → wellknown-y62e7w4v.js} +9 -9
- package/dist/chunks/{credential-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
- package/dist/chunks/{credential-h79y8tf0.js → wellknown-yc82dn71.js} +5 -5
- package/dist/chunks/{credential-05p04pxs.js → wellknown-ygfv9ggh.js} +25 -25
- package/dist/chunks/{credential-erz96mch.js → wellknown-ygzypyn0.js} +20 -20
- package/dist/chunks/{credential-zv2g9xcb.js → wellknown-yhyead5v.js} +10 -10
- package/dist/chunks/{credential-d5arxgh9.js → wellknown-ynp30pmv.js} +14 -14
- package/dist/chunks/{credential-vjhrddsw.js → wellknown-yp5x37yz.js} +5 -5
- package/dist/chunks/{credential-yr705xyq.js → wellknown-yr705xyq.js} +1 -1
- package/dist/chunks/{credential-6y22pqa5.js → wellknown-yv9r88qp.js} +30 -30
- package/dist/chunks/{credential-yvtc2x31.js → wellknown-yvtc2x31.js} +1 -1
- package/dist/chunks/{credential-1j27xach.js → wellknown-ywgwmejy.js} +17 -17
- package/dist/chunks/{credential-emzckfwf.js → wellknown-yzwcwngq.js} +49 -49
- package/dist/chunks/{credential-z0wbgq7s.js → wellknown-z0wbgq7s.js} +1 -1
- package/dist/chunks/{credential-548t6f90.js → wellknown-z4bvkcgz.js} +18 -18
- package/dist/chunks/{credential-h7yfjjyr.js → wellknown-z4fev26h.js} +11 -11
- package/dist/chunks/{credential-g098wjz0.js → wellknown-z4r2dvf6.js} +29 -30
- package/dist/chunks/{credential-ze75qvmd.js → wellknown-ze75qvmd.js} +3 -3
- package/dist/chunks/wellknown-zjrg4e70.js +273 -0
- package/dist/chunks/{credential-1at1r0z7.js → wellknown-zmxv47jx.js} +30 -30
- package/dist/chunks/{credential-1p2mzk0s.js → wellknown-zvx3j4zh.js} +6 -6
- package/dist/chunks/{credential-0pmkfzvq.js → wellknown-zz2c832q.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +10 -10
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +249 -249
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +150 -150
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -96
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +81 -81
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +258 -258
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +136 -136
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +96 -96
- package/dist/instructions/builtins.js +97 -97
- package/dist/instructions/index.js +4 -4
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -187
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +147 -147
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +108 -108
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -118
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +160 -160
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +148 -148
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +147 -147
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +113 -113
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -154
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +428 -428
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +5 -5
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +260 -260
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +113 -113
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +262 -262
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +272 -272
- package/dist/session/execution/subagent-report.js +145 -145
- package/dist/session/execution.js +176 -176
- package/dist/session/generate.js +210 -210
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +257 -257
- package/dist/session/usage.js +1 -1
- package/dist/session.js +251 -251
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +106 -106
- 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 +191 -191
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +171 -175
- package/dist/tool/plugin/question.js +153 -153
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +249 -249
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +162 -162
- package/dist/tool/plugin/websearch.js +160 -160
- package/dist/tool/plugin/write.js +171 -173
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +167 -167
- package/dist/types/codemode/execution.d.ts +3 -1
- package/dist/types/codemode/fetch.d.ts +1 -15
- package/dist/types/tool/plugin/patch.d.ts +1 -22
- package/dist/types/tool/plugin/skill.d.ts +1 -2
- package/dist/types/tool/plugin/write.d.ts +1 -7
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -98
- package/dist/worktree.js +103 -103
- package/package.json +9 -9
- package/dist/chunks/credential-2868d8r5.js +0 -26
- package/dist/chunks/credential-2nnhn429.js +0 -273
- package/dist/chunks/credential-6bshxcsx.js +0 -18
- package/dist/chunks/credential-9ekzv16x.js +0 -61
- package/dist/chunks/credential-fcmxqga5.js +0 -16
- package/dist/chunks/credential-v5gjxnwy.js +0 -35
- /package/dist/chunks/{credential-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kah00gy.js → wellknown-1kah00gy.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4qk9sjk2.js → wellknown-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-5w3e23ze.js → wellknown-5w3e23ze.js} +0 -0
- /package/dist/chunks/{credential-6agm2x70.js → wellknown-6agm2x70.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-7rvsyqjv.js → wellknown-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9ceax7yg.js → wellknown-9ceax7yg.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-ade8csyh.js → wellknown-ade8csyh.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-beh6qq61.js → wellknown-beh6qq61.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-ean2d8b5.js → wellknown-ean2d8b5.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fkpq3x5p.js → wellknown-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jwr30sdr.js → wellknown-jwr30sdr.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-m18g726c.js → wellknown-m18g726c.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-nh4v3znn.js → wellknown-nh4v3znn.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-p71gwv9c.js → wellknown-p71gwv9c.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-syrav9an.js → wellknown-syrav9an.js} +0 -0
- /package/dist/chunks/{credential-t03h4f5z.js → wellknown-t03h4f5z.js} +0 -0
- /package/dist/chunks/{credential-ty7weeps.js → wellknown-ty7weeps.js} +0 -0
- /package/dist/chunks/{credential-v2dnd5dt.js → wellknown-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{credential-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
- /package/dist/chunks/{credential-vtarvj67.js → wellknown-vtarvj67.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x4th4bpe.js → wellknown-x4th4bpe.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
- /package/dist/chunks/{credential-zxpyjp51.js → wellknown-zxpyjp51.js} +0 -0
- /package/dist/chunks/{credential-zz5vv3aq.js → wellknown-zz5vv3aq.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service94,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-525mz8jg.js";
|
|
8
8
|
import {
|
|
9
9
|
Service93,
|
|
10
10
|
node95
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-cre26pzh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service92,
|
|
14
|
+
node94
|
|
15
|
+
} from "./wellknown-8zqzm5np.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./wellknown-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
|
+
Info: () => Info31,
|
|
45
|
+
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service91,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured12,
|
|
51
|
+
node: () => node93,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service91 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,10 +111,10 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service92;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service93;
|
|
120
120
|
const db = (yield* Service94).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError14({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event21.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
260
260
|
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), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service91.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service91,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [node95, node96, FSUtil.node,
|
|
354
|
+
deps: [node95, node96, FSUtil.node, node94, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node93 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service91;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node93]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service91, configured12, node93, sweepNode2, exports_project };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-cre26pzh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service92,
|
|
7
|
+
node94
|
|
8
|
+
} from "./wellknown-8zqzm5np.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service90,
|
|
11
|
+
node92
|
|
12
|
+
} from "./wellknown-dnv3vdn4.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service71,
|
|
15
|
+
node72
|
|
16
|
+
} from "./wellknown-81wndkw9.js";
|
|
17
17
|
import {
|
|
18
18
|
awaitActivation2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-00ve6mdn.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node23
|
|
22
|
+
} from "./wellknown-c7nq4s0z.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service8,
|
|
25
|
+
node10
|
|
26
|
+
} from "./wellknown-6h8vcvjm.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service6,
|
|
36
|
+
node: () => node8
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service6 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service90;
|
|
47
|
+
const watcher = yield* Service71;
|
|
48
48
|
const bus = yield* Service93;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service92;
|
|
51
|
+
const policy = yield* Service8;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service6.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node8 = makeLocationNode({
|
|
106
|
+
service: Service6,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node72, FSUtil.node, node92, node94, node95, node23, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service6, node8, exports_location_watcher };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event21,
|
|
13
|
+
ID: () => ID22,
|
|
14
|
+
Info: () => Info32,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput5,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID22 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info32 = Project.Info;
|
|
24
24
|
var UpdateInput5 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event21 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID22, Current3, Info32, UpdateInput5, Event21, Vcs3, exports_schema };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./wellknown-81wndkw9.js";
|
|
7
7
|
import {
|
|
8
8
|
statements2,
|
|
9
9
|
decision2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-04qc8z7j.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service70
|
|
13
|
+
} from "./wellknown-4yav3t7s.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
@@ -33,8 +33,8 @@ import path from "path";
|
|
|
33
33
|
import { readFile, stat } from "node:fs/promises";
|
|
34
34
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
35
35
|
var make2 = Effect.fn("PluginModule.make")(function* () {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const watcher = yield*
|
|
36
|
+
const config = yield* Service70;
|
|
37
|
+
const watcher = yield* Service71;
|
|
38
38
|
const scope = yield* Effect.scope;
|
|
39
39
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
40
40
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
scan4,
|
|
3
3
|
scanPowerShell2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-8zv0xmg5.js";
|
|
5
5
|
import {
|
|
6
6
|
name17,
|
|
7
7
|
ps2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-e8q0fqbh.js";
|
|
9
9
|
import {
|
|
10
10
|
match3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-1aqsckx4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/shell/parse.ts
|
|
17
17
|
var exports_parse = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service47,
|
|
3
|
+
node48
|
|
4
|
+
} from "./wellknown-p3g3b7x5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Service57,
|
|
7
|
+
node58,
|
|
8
8
|
canonical3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-kd43xx4e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service19
|
|
12
|
+
} from "./wellknown-w17m67z5.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-zjrg4e70.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
var HELD_WARNING_AFTER = "30 seconds";
|
|
20
20
|
function buildLocationServiceMap2(replacements = []) {
|
|
21
|
-
return Layer.effect(
|
|
21
|
+
return Layer.effect(Service57, Effect.gen(function* () {
|
|
22
22
|
const owner = yield* Effect.scope;
|
|
23
23
|
const builds = MutableHashMap.empty();
|
|
24
24
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
const finish = Effect.suspend(() => {
|
|
29
29
|
if (Exit.isSuccess(exit)) {
|
|
30
30
|
return Effect.gen(function* () {
|
|
31
|
-
const lifecycle = Context.get(exit.value,
|
|
31
|
+
const lifecycle = Context.get(exit.value, Service19);
|
|
32
32
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
33
33
|
return yield* lifecycle.shutdown;
|
|
34
34
|
build.close = lifecycle.shutdown;
|
|
@@ -65,11 +65,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
65
65
|
}).pipe(Effect.uninterruptible)
|
|
66
66
|
};
|
|
67
67
|
const bindings = [
|
|
68
|
-
|
|
68
|
+
node48.replace(Layer.succeed(Service47, {
|
|
69
69
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
70
70
|
})),
|
|
71
71
|
...replacements,
|
|
72
|
-
|
|
72
|
+
node58.replace(Layer.succeed(Service57, map))
|
|
73
73
|
];
|
|
74
74
|
return map;
|
|
75
75
|
}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID12 = Session.ID;
|
|
5
|
+
var Info14 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID12, Info14, SessionSchema2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission2, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info19,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule3
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info19 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule3,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info19, exports_permission2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-69gprzdq.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-40za9wsf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
register7
|
|
13
|
+
} from "./wellknown-t54kw4zq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/websearch/tinyfish.ts
|
|
19
19
|
var exports_tinyfish = {};
|
|
20
20
|
__export(exports_tinyfish, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin6,
|
|
22
22
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
23
|
-
endpoint: () =>
|
|
23
|
+
endpoint: () => endpoint4
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
27
27
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
28
|
-
var
|
|
28
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
29
29
|
var McpInput = Schema.Struct({
|
|
30
30
|
query: Schema.String
|
|
31
31
|
});
|
|
@@ -54,11 +54,11 @@ var InitializedNotification = Schema.Struct({
|
|
|
54
54
|
jsonrpc: Schema.Literal("2.0"),
|
|
55
55
|
method: Schema.Literal("notifications/initialized")
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Plugin6 = define({
|
|
58
58
|
id: "opencode.websearch.tinyfish",
|
|
59
59
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
60
60
|
const http = yield* HttpClient.HttpClient;
|
|
61
|
-
yield*
|
|
61
|
+
yield* register7(ctx, {
|
|
62
62
|
id: "tinyfish",
|
|
63
63
|
name: "TinyFish",
|
|
64
64
|
env: "TINYFISH_API_KEY",
|
|
@@ -68,7 +68,7 @@ var Plugin39 = define({
|
|
|
68
68
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
69
69
|
};
|
|
70
70
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
71
|
-
const result = yield* call2(http,
|
|
71
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
72
72
|
const content = result?.content.find((item) => item.text);
|
|
73
73
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
74
74
|
return response?.results.map((item) => ({
|
|
@@ -83,7 +83,7 @@ var Plugin39 = define({
|
|
|
83
83
|
});
|
|
84
84
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
85
85
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
86
|
-
const request = yield* HttpClientRequest.post(
|
|
86
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
87
87
|
jsonrpc: "2.0",
|
|
88
88
|
id: 1,
|
|
89
89
|
method: "initialize",
|
|
@@ -94,11 +94,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
94
94
|
}
|
|
95
95
|
}));
|
|
96
96
|
const response = yield* client.execute(request);
|
|
97
|
-
yield* collectBoundedResponseBody2(response,
|
|
97
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
98
98
|
const session = response.headers["mcp-session-id"];
|
|
99
99
|
if (session === undefined)
|
|
100
100
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
101
|
-
const notification = yield* HttpClientRequest.post(
|
|
101
|
+
const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
102
102
|
jsonrpc: "2.0",
|
|
103
103
|
method: "notifications/initialized"
|
|
104
104
|
}));
|
|
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
110
110
|
}));
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { endpoint4, Plugin6, exports_tinyfish };
|