@opencode/core 0.0.0-dev-1275 → 0.0.0-dev-1277
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 +88 -88
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +252 -252
- package/dist/bus.js +86 -86
- package/dist/chunks/{file-retention-mkcfyg48.js → location-services-008z7fc3.js} +8 -8
- package/dist/chunks/{file-retention-034tev2y.js → location-services-034tev2y.js} +2 -2
- package/dist/chunks/{file-retention-h2wrp3yj.js → location-services-04vgdvrr.js} +76 -76
- package/dist/chunks/{file-retention-pcdy99rr.js → location-services-0a5e14se.js} +12 -12
- package/dist/chunks/{file-retention-ztpwyc0h.js → location-services-0b5qemzn.js} +15 -15
- package/dist/chunks/{file-retention-qjda8ra2.js → location-services-0cd2bmsm.js} +84 -84
- package/dist/chunks/{file-retention-9c7qz02m.js → location-services-0ctnc6rs.js} +45 -45
- package/dist/chunks/{file-retention-0ja1snzm.js → location-services-0fjjkqzh.js} +5 -5
- package/dist/chunks/{file-retention-j06rjn1j.js → location-services-0gtgm5gt.js} +25 -25
- package/dist/chunks/{file-retention-0ma9gw4f.js → location-services-0ma9gw4f.js} +2 -2
- package/dist/chunks/{file-retention-8es3pha2.js → location-services-0wx31zef.js} +11 -11
- package/dist/chunks/{file-retention-frmf8ahe.js → location-services-10hfatvn.js} +13 -13
- package/dist/chunks/{file-retention-gvxv930q.js → location-services-14c8xst7.js} +24 -24
- package/dist/chunks/{file-retention-1aqsckx4.js → location-services-1aqsckx4.js} +1 -1
- package/dist/chunks/{file-retention-1aryjtsy.js → location-services-1aryjtsy.js} +1 -1
- package/dist/chunks/{file-retention-1ep2p91f.js → location-services-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-retention-qzpac2v2.js → location-services-1gs90xsr.js} +20 -20
- package/dist/chunks/{file-retention-q6mj5sb5.js → location-services-1k5cvfw6.js} +16 -16
- package/dist/chunks/{file-retention-tb2mrvc9.js → location-services-1q07fp1w.js} +4 -4
- package/dist/chunks/{file-retention-y36pttez.js → location-services-1qxe1ypt.js} +24 -24
- package/dist/chunks/{file-retention-amzpgvrk.js → location-services-1vcka5sm.js} +25 -25
- package/dist/chunks/{file-retention-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-retention-feyxv19c.js → location-services-1xvytb92.js} +11 -11
- package/dist/chunks/{file-retention-1yped5qa.js → location-services-1yped5qa.js} +1 -1
- package/dist/chunks/{file-retention-p7vhpwh8.js → location-services-1yq9hg58.js} +5 -5
- package/dist/chunks/{file-retention-jz0mx6tr.js → location-services-20eezmb4.js} +17 -17
- package/dist/chunks/{file-retention-8ek76eqy.js → location-services-2150bmjz.js} +10 -10
- package/dist/chunks/{file-retention-hvdaxvp6.js → location-services-277m70zp.js} +17 -17
- package/dist/chunks/{file-retention-5nsh16xn.js → location-services-28z3zx3h.js} +7 -7
- package/dist/chunks/{file-retention-vp6f3r4t.js → location-services-2b1568zw.js} +31 -31
- package/dist/chunks/{file-retention-8fd4mn1c.js → location-services-2de9yzbg.js} +12 -12
- package/dist/chunks/{file-retention-y1wz0kre.js → location-services-2dyzj5am.js} +3 -3
- package/dist/chunks/{file-retention-2fc7eemy.js → location-services-2fc7eemy.js} +1 -1
- package/dist/chunks/{file-retention-pdfrrazy.js → location-services-2jxsjtf7.js} +6 -6
- package/dist/chunks/{file-retention-bdwbwdha.js → location-services-2kab9gf4.js} +4 -4
- package/dist/chunks/{file-retention-nv2c5e9q.js → location-services-2n444ktb.js} +3 -3
- package/dist/chunks/{file-retention-rkd48pdt.js → location-services-2s9mae96.js} +6 -6
- package/dist/chunks/{file-retention-xdw1z05c.js → location-services-2strptjk.js} +7 -7
- package/dist/chunks/{file-retention-s4dm6e30.js → location-services-2vt4nwcc.js} +33 -33
- package/dist/chunks/{file-retention-69mw4eyz.js → location-services-30tjf1tq.js} +6 -6
- package/dist/chunks/location-services-32q6hwc7.js +587 -0
- package/dist/chunks/{file-retention-7ww0j6wb.js → location-services-34kj0cev.js} +25 -25
- package/dist/chunks/{file-retention-j2f88nx3.js → location-services-36f51389.js} +41 -41
- package/dist/chunks/{file-retention-scs9p2da.js → location-services-36qzrbfm.js} +4 -4
- package/dist/chunks/{file-retention-fh0fq9b5.js → location-services-37xh5ek4.js} +2 -2
- package/dist/chunks/{file-retention-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-3nnrz6f6.js → location-services-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-retention-66yzdfmc.js → location-services-3nqdzeza.js} +3 -3
- package/dist/chunks/{file-retention-40y6dtc2.js → location-services-40y6dtc2.js} +1 -1
- package/dist/chunks/{file-retention-5enarcya.js → location-services-40za9wsf.js} +6 -6
- package/dist/chunks/{file-retention-vcg7bpvq.js → location-services-452hj2bc.js} +12 -12
- package/dist/chunks/{file-retention-ft9k8fee.js → location-services-48qqxr5e.js} +4 -4
- package/dist/chunks/{file-retention-dv3b9r4y.js → location-services-4a3qf6f3.js} +13 -13
- package/dist/chunks/{file-retention-2p8k2s7w.js → location-services-4c048vkd.js} +12 -12
- package/dist/chunks/{file-retention-4dx1dgte.js → location-services-4dx1dgte.js} +1 -1
- package/dist/chunks/{file-retention-4f25tdd0.js → location-services-4f25tdd0.js} +1 -1
- package/dist/chunks/{file-retention-4pyp9zr9.js → location-services-4pyp9zr9.js} +1 -1
- package/dist/chunks/{file-retention-3jchp7r6.js → location-services-4sq1vjey.js} +11 -11
- package/dist/chunks/{file-retention-4v008n1t.js → location-services-4v008n1t.js} +1 -1
- package/dist/chunks/{file-retention-w18pj85q.js → location-services-50m93q3e.js} +30 -30
- package/dist/chunks/{file-retention-hm2477qa.js → location-services-50z51znp.js} +7 -7
- package/dist/chunks/{file-retention-5xdgvpxd.js → location-services-530xg6vw.js} +6 -6
- package/dist/chunks/{file-retention-77yjsakq.js → location-services-57e02nhb.js} +3 -3
- package/dist/chunks/{file-retention-3j14174f.js → location-services-5e2yy5ne.js} +9 -9
- package/dist/chunks/{file-retention-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-qmak0sqy.js → location-services-5pdpg5yb.js} +5 -5
- package/dist/chunks/{file-retention-d5pat9xm.js → location-services-5s2x78te.js} +15 -15
- package/dist/chunks/{file-retention-mhc0p716.js → location-services-629kvk67.js} +11 -11
- package/dist/chunks/{file-retention-vnqd166h.js → location-services-65gdbp7q.js} +2 -2
- package/dist/chunks/{file-retention-4nrkag3r.js → location-services-6da0qsct.js} +34 -34
- package/dist/chunks/{file-retention-bxhjfq4f.js → location-services-6jzdpv1w.js} +16 -16
- package/dist/chunks/{file-retention-06v46bpq.js → location-services-6m44vgd8.js} +16 -16
- package/dist/chunks/{file-retention-cs73jd0s.js → location-services-6wsfwyts.js} +14 -14
- package/dist/chunks/{file-retention-zftx71qr.js → location-services-6zc4bpxd.js} +33 -33
- package/dist/chunks/{file-retention-7mcabm6m.js → location-services-6zj3yh26.js} +6 -6
- package/dist/chunks/{file-retention-f49b5jkw.js → location-services-6zysgb99.js} +27 -27
- package/dist/chunks/{file-retention-80mg3ag8.js → location-services-775hqbnd.js} +3 -3
- package/dist/chunks/{file-retention-yx4a6ynz.js → location-services-77k6899v.js} +11 -11
- package/dist/chunks/{file-retention-ev31077d.js → location-services-79srp56m.js} +14 -14
- package/dist/chunks/{file-retention-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-ewcb59am.js → location-services-7gecs4v1.js} +11 -11
- package/dist/chunks/{file-retention-rbxfq0qh.js → location-services-7nmy20qs.js} +14 -14
- package/dist/chunks/{file-retention-68ffpfcm.js → location-services-7pma23zx.js} +17 -17
- package/dist/chunks/{file-retention-wk43x6sn.js → location-services-7psm9qzs.js} +9 -9
- package/dist/chunks/{file-retention-j1xv4v49.js → location-services-7r9ahtnj.js} +12 -12
- package/dist/chunks/{file-retention-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-retention-7weczvnd.js → location-services-7weczvnd.js} +1 -1
- package/dist/chunks/{file-retention-80pdk984.js → location-services-80pdk984.js} +1 -1
- package/dist/chunks/{file-retention-85jq8dht.js → location-services-85jq8dht.js} +1 -1
- package/dist/chunks/{file-retention-p4ejt6rk.js → location-services-86kzpktf.js} +4 -4
- package/dist/chunks/{file-retention-8b3vzgkx.js → location-services-8b3vzgkx.js} +1 -1
- package/dist/chunks/{file-retention-22qctdeq.js → location-services-8bet0ypn.js} +8 -8
- package/dist/chunks/{file-retention-0vp45jwm.js → location-services-8fb0wzm0.js} +20 -20
- package/dist/chunks/{file-retention-3r9gxn8p.js → location-services-8jaccbj0.js} +14 -14
- package/dist/chunks/{file-retention-7zwayxc3.js → location-services-8jk8wmqw.js} +9 -9
- package/dist/chunks/{file-retention-jj536981.js → location-services-8kajeb55.js} +8 -8
- package/dist/chunks/{file-retention-8kjyvwy5.js → location-services-8kjyvwy5.js} +1 -1
- package/dist/chunks/{file-retention-qek3cncy.js → location-services-8nj8pb4z.js} +3 -3
- package/dist/chunks/{file-retention-znt68fg9.js → location-services-8ppgpsxm.js} +27 -27
- package/dist/chunks/{file-retention-8sxe6kv8.js → location-services-8sxe6kv8.js} +2 -2
- package/dist/chunks/{file-retention-xzrej5mb.js → location-services-8vdme3z0.js} +14 -14
- package/dist/chunks/{file-retention-x9rvnbpf.js → location-services-8vzmkjb5.js} +7 -7
- package/dist/chunks/{file-retention-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-retention-8zv0xmg5.js → location-services-8zv0xmg5.js} +1 -1
- package/dist/chunks/{file-retention-kxkhg3zq.js → location-services-8zw7f9g4.js} +12 -12
- package/dist/chunks/{file-retention-y8hpy02j.js → location-services-9dagr61s.js} +3 -3
- package/dist/chunks/{file-retention-mywchkag.js → location-services-9dkryd5t.js} +39 -39
- package/dist/chunks/{file-retention-1ytda9fg.js → location-services-9echdp3x.js} +144 -144
- package/dist/chunks/{file-retention-4d7zxp2a.js → location-services-9nadag9d.js} +25 -25
- package/dist/chunks/{file-retention-7pts1ak4.js → location-services-9r4szmsf.js} +27 -27
- package/dist/chunks/{file-retention-gpgwkesj.js → location-services-9sxhpw9w.js} +16 -16
- package/dist/chunks/{file-retention-yat07sy7.js → location-services-9yab85bd.js} +4 -4
- package/dist/chunks/{file-retention-4bwthz3m.js → location-services-9yqjp86x.js} +6 -6
- package/dist/chunks/{file-retention-hretfjjx.js → location-services-a3fn0gmm.js} +2 -2
- package/dist/chunks/{file-retention-94k3x7fw.js → location-services-a6qzccyr.js} +9 -9
- package/dist/chunks/{file-retention-ea9gdnjh.js → location-services-ac8aznk4.js} +25 -25
- package/dist/chunks/{file-retention-5pa1dgs1.js → location-services-adq0nts5.js} +12 -12
- package/dist/chunks/{file-retention-0cm2734h.js → location-services-aemznsbt.js} +20 -20
- package/dist/chunks/{file-retention-wvr8xscb.js → location-services-agje4kmn.js} +4 -4
- package/dist/chunks/{file-retention-td2m5beg.js → location-services-am1g5cdy.js} +39 -39
- package/dist/chunks/{file-retention-z080rjh6.js → location-services-anvcme1c.js} +4 -4
- package/dist/chunks/{file-retention-ayjs7tqn.js → location-services-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-retention-rgt3k6v8.js → location-services-b3vw7kbv.js} +49 -49
- package/dist/chunks/{file-retention-ge5br79w.js → location-services-b6nrmce9.js} +23 -23
- package/dist/chunks/{file-retention-6fnvvkcf.js → location-services-bfshfqwy.js} +11 -11
- package/dist/chunks/{file-retention-09xx3e9d.js → location-services-bhxbamzq.js} +21 -21
- package/dist/chunks/{file-retention-jw36j8wc.js → location-services-bra115xj.js} +15 -15
- package/dist/chunks/{file-retention-bstexjd6.js → location-services-bstexjd6.js} +1 -1
- package/dist/chunks/{file-retention-6pntshe6.js → location-services-bwvkcnkb.js} +16 -16
- package/dist/chunks/{file-retention-ejbss7k5.js → location-services-bzt7eb23.js} +3 -3
- package/dist/chunks/{file-retention-04tv7frf.js → location-services-bzv9xckk.js} +9 -9
- package/dist/chunks/{file-retention-eq4sfy6p.js → location-services-c0g3c22b.js} +11 -11
- package/dist/chunks/{file-retention-85b3prs0.js → location-services-c55n7q3v.js} +41 -41
- package/dist/chunks/{file-retention-rj7j5fvs.js → location-services-c5zvymhv.js} +4 -4
- package/dist/chunks/{file-retention-hhqkzs30.js → location-services-c76dt94r.js} +8 -8
- package/dist/chunks/{file-retention-8njq14s6.js → location-services-c8r6kdzx.js} +23 -23
- package/dist/chunks/{file-retention-bmhe4rg7.js → location-services-ca2mgq5q.js} +13 -13
- package/dist/chunks/{file-retention-khj9x6xc.js → location-services-cb0gtrk9.js} +1 -1
- package/dist/chunks/{file-retention-by0d0avf.js → location-services-cdrahej9.js} +32 -32
- package/dist/chunks/{file-retention-p4rtjgzz.js → location-services-cg0f623x.js} +18 -18
- package/dist/chunks/{file-retention-667z2zx1.js → location-services-cgyp04mt.js} +40 -40
- package/dist/chunks/{file-retention-0ahs07zn.js → location-services-cpvd08na.js} +4 -4
- package/dist/chunks/{file-retention-kbdxrbcm.js → location-services-cvabbvjm.js} +39 -39
- package/dist/chunks/{file-retention-cwrgdav8.js → location-services-cwrgdav8.js} +2 -2
- package/dist/chunks/{file-retention-c1vk4cgc.js → location-services-czjspyjb.js} +11 -11
- package/dist/chunks/{file-retention-axztvgqb.js → location-services-d1n4wvw7.js} +16 -16
- package/dist/chunks/{file-retention-d4v9tmah.js → location-services-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-retention-1x3dkayz.js → location-services-d597650b.js} +20 -20
- package/dist/chunks/{file-retention-gy9f922q.js → location-services-d963xvge.js} +7 -7
- package/dist/chunks/{file-retention-ab317q8b.js → location-services-d96pzfmf.js} +7 -7
- package/dist/chunks/{file-retention-we5qfhj5.js → location-services-dae1yh01.js} +22 -22
- package/dist/chunks/{file-retention-3gfdscm4.js → location-services-dds6zpvr.js} +20 -20
- package/dist/chunks/{file-retention-mhd9r07a.js → location-services-dt1exh6z.js} +21 -21
- package/dist/chunks/{file-retention-dt77769w.js → location-services-dt77769w.js} +1 -1
- package/dist/chunks/{file-retention-52rc22q8.js → location-services-dtv8y145.js} +8 -8
- package/dist/chunks/{file-retention-4aq2cbca.js → location-services-dvnqv6yn.js} +4 -4
- package/dist/chunks/{file-retention-v21gy18w.js → location-services-dw1978kv.js} +12 -12
- package/dist/chunks/{file-retention-drd1heem.js → location-services-dy1skxgw.js} +12 -12
- package/dist/chunks/{file-retention-nwrmc6eh.js → location-services-emwt6vyg.js} +11 -11
- package/dist/chunks/{file-retention-eqw4pqj1.js → location-services-eqw4pqj1.js} +2 -2
- package/dist/chunks/{file-retention-8ykqf5wm.js → location-services-etrnj9s7.js} +8 -8
- package/dist/chunks/{file-retention-h8jbka20.js → location-services-eydqz0mt.js} +15 -15
- package/dist/chunks/location-services-ezna1kdx.js +18 -0
- package/dist/chunks/{file-retention-r700gx2d.js → location-services-f5c78twt.js} +21 -21
- package/dist/chunks/{file-retention-vh41eekb.js → location-services-fbp19f90.js} +44 -44
- package/dist/chunks/{file-retention-prq7xxp2.js → location-services-fg9p65nk.js} +6 -6
- package/dist/chunks/{file-retention-dvq2ad43.js → location-services-fpvd1z9q.js} +14 -14
- package/dist/chunks/{file-retention-mxgx47vh.js → location-services-ft8xzz8g.js} +3 -3
- package/dist/chunks/{file-retention-0kbsc3bc.js → location-services-ftfdg1zy.js} +10 -10
- package/dist/chunks/{file-retention-89ebr2vf.js → location-services-fvqs1z1e.js} +34 -34
- package/dist/chunks/{file-retention-jnq57at3.js → location-services-fygp4h3n.js} +29 -29
- package/dist/chunks/{file-retention-t12h4yen.js → location-services-g4s7wnme.js} +5 -5
- package/dist/chunks/{file-retention-b26ddj6h.js → location-services-g4txs7zc.js} +4 -4
- package/dist/chunks/{file-retention-zs3fp1wz.js → location-services-g640be21.js} +8 -8
- package/dist/chunks/{file-retention-150b7jmw.js → location-services-g7nk3m7s.js} +28 -28
- package/dist/chunks/location-services-g7wdkzkp.js +273 -0
- package/dist/chunks/{file-retention-mnhjkgm7.js → location-services-g8c69fmd.js} +29 -29
- package/dist/chunks/{file-retention-gbjdnr5j.js → location-services-gbjdnr5j.js} +2 -2
- package/dist/chunks/{file-retention-ghrv1g9c.js → location-services-ghrv1g9c.js} +1 -1
- package/dist/chunks/{file-retention-0gtpsn3x.js → location-services-gk96ttsb.js} +3 -3
- package/dist/chunks/location-services-gkb3m8fg.js +16 -0
- package/dist/chunks/{file-retention-qj0z1s3r.js → location-services-gts5gc4b.js} +21 -21
- package/dist/chunks/{file-retention-gxs71cxp.js → location-services-gxs71cxp.js} +1 -1
- package/dist/chunks/{file-retention-dq4qq6ky.js → location-services-h6evjjha.js} +8 -8
- package/dist/chunks/{file-retention-pv5h712h.js → location-services-hfccw434.js} +10 -10
- package/dist/chunks/{file-retention-hgzwgvze.js → location-services-hgzwgvze.js} +2 -2
- package/dist/chunks/{file-retention-ffhnscww.js → location-services-hpbek71f.js} +9 -9
- package/dist/chunks/{file-retention-3cq3byd1.js → location-services-hrdcnbcv.js} +29 -29
- package/dist/chunks/{file-retention-09exjb9z.js → location-services-hwd30tf9.js} +98 -98
- package/dist/chunks/{file-retention-3qgwywyc.js → location-services-j1zpf99x.js} +5 -5
- package/dist/chunks/{file-retention-tr8x705m.js → location-services-j376ae4e.js} +5 -5
- package/dist/chunks/{file-retention-ze75qvmd.js → location-services-j9nxzz3g.js} +3 -3
- package/dist/chunks/{file-retention-jm70asfg.js → location-services-jm70asfg.js} +1 -1
- package/dist/chunks/{file-retention-xb99jcsv.js → location-services-jpkwd5t1.js} +18 -18
- package/dist/chunks/{file-retention-42f9g7sr.js → location-services-jqqn6x0e.js} +25 -25
- package/dist/chunks/{file-retention-t8erkws8.js → location-services-jv5ccajn.js} +5 -5
- package/dist/chunks/{file-retention-44pmzq9c.js → location-services-jxd6f16v.js} +2 -2
- package/dist/chunks/location-services-jyk43rrv.js +35 -0
- package/dist/chunks/{file-retention-c9xapkpf.js → location-services-k1a95307.js} +28 -28
- package/dist/chunks/{file-retention-6jbb2aeh.js → location-services-kbdswbmw.js} +20 -20
- package/dist/chunks/{file-retention-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-retention-3qh97n76.js → location-services-ktz8yab7.js} +4 -4
- package/dist/chunks/{file-retention-kzczzf4v.js → location-services-kzczzf4v.js} +1 -1
- package/dist/chunks/{file-retention-m1714858.js → location-services-m1714858.js} +1 -1
- package/dist/chunks/{file-retention-m90tx7mw.js → location-services-m90tx7mw.js} +1 -1
- package/dist/chunks/{file-retention-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-mb7mbhnz.js → location-services-mb7mbhnz.js} +3 -3
- package/dist/chunks/{file-retention-bdv8sqrq.js → location-services-me215f18.js} +1 -1
- package/dist/chunks/{file-retention-k4cv2hms.js → location-services-mhx1h2m0.js} +11 -11
- package/dist/chunks/{file-retention-52je48kk.js → location-services-mmyv63r5.js} +3 -3
- package/dist/chunks/{file-retention-5yzck44w.js → location-services-mpcnbc7w.js} +21 -21
- package/dist/chunks/{file-retention-8q1q12k3.js → location-services-mpw6x1pn.js} +10 -10
- package/dist/chunks/{file-retention-6jnjjsb4.js → location-services-mxp3aqwt.js} +6 -6
- package/dist/chunks/{file-retention-3czc66q2.js → location-services-mzedg54m.js} +11 -11
- package/dist/chunks/{file-retention-z9aj34kn.js → location-services-n1dszhpy.js} +24 -24
- package/dist/chunks/{file-retention-whpxj07g.js → location-services-n1zc6gnp.js} +6 -6
- package/dist/chunks/{file-retention-h7ezd2nn.js → location-services-n6dredcw.js} +3 -3
- package/dist/chunks/{file-retention-5d3y61h0.js → location-services-namya62f.js} +6 -6
- package/dist/chunks/{file-retention-mnyx5pgk.js → location-services-ncbwp590.js} +28 -28
- package/dist/chunks/{file-retention-8pan14bd.js → location-services-netp54jk.js} +11 -11
- package/dist/chunks/{file-retention-cxab28sr.js → location-services-nn2nd58t.js} +5 -5
- package/dist/chunks/{file-retention-fww0ckjz.js → location-services-nn2z4v00.js} +24 -24
- package/dist/chunks/{file-retention-7qk7973a.js → location-services-nqdwr67f.js} +19 -19
- package/dist/chunks/{file-retention-c726nvqq.js → location-services-p32afg26.js} +18 -18
- package/dist/chunks/{file-retention-zmek7bxz.js → location-services-p9jew6yw.js} +18 -18
- package/dist/chunks/{file-retention-d9fan7x9.js → location-services-pbyy1sgr.js} +16 -16
- package/dist/chunks/{file-retention-4dfqsw0d.js → location-services-pd7cqnhq.js} +4 -4
- package/dist/chunks/{file-retention-a75rh4gh.js → location-services-pgxesb7h.js} +37 -37
- package/dist/chunks/{file-retention-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-4kkdjnw8.js → location-services-pnpac0hm.js} +5 -5
- package/dist/chunks/{file-retention-560dfe2w.js → location-services-ppqf1vnz.js} +20 -20
- package/dist/chunks/{file-retention-aytg7816.js → location-services-ptdf7bfh.js} +14 -14
- package/dist/chunks/{file-retention-pbqaqhra.js → location-services-pv5hbs2p.js} +4 -4
- package/dist/chunks/{file-retention-qwbqpk8k.js → location-services-q1n4zy7m.js} +41 -41
- package/dist/chunks/{file-retention-mk3p57ba.js → location-services-q5bk3gvt.js} +9 -9
- package/dist/chunks/{file-retention-kmcen3k3.js → location-services-q9jrhh5b.js} +18 -18
- package/dist/chunks/{file-retention-50dkjas4.js → location-services-qa6srjcz.js} +14 -14
- package/dist/chunks/{file-retention-vsk6pjy9.js → location-services-qaxwqswv.js} +23 -23
- package/dist/chunks/{file-retention-cmn8rvxz.js → location-services-qg9wp9az.js} +7 -7
- package/dist/chunks/{file-retention-mbhm97dq.js → location-services-qp2996hh.js} +5 -5
- package/dist/chunks/{file-retention-qp7r0hxv.js → location-services-qp7r0hxv.js} +1 -1
- package/dist/chunks/{file-retention-r7szk8ev.js → location-services-qs6wysz0.js} +12 -12
- package/dist/chunks/{file-retention-5qd2gt0z.js → location-services-qsgdfh3a.js} +4 -4
- package/dist/chunks/{file-retention-vf2r618n.js → location-services-qtfw3tq9.js} +14 -14
- package/dist/chunks/{file-retention-swh6q862.js → location-services-qtzxwf63.js} +9 -9
- package/dist/chunks/{file-retention-0rsmmchx.js → location-services-qw1w4c69.js} +4 -4
- package/dist/chunks/{file-retention-mfj4zn8r.js → location-services-qy2gk127.js} +31 -31
- package/dist/chunks/{file-retention-yxb8rzbt.js → location-services-r45nfa48.js} +9 -9
- package/dist/chunks/{file-retention-mqfpt9za.js → location-services-r4hjzpb8.js} +35 -35
- package/dist/chunks/{file-retention-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-retention-h0rg6s60.js → location-services-rbg54dp1.js} +4 -4
- package/dist/chunks/{file-retention-rgc9cx3e.js → location-services-rgc9cx3e.js} +2 -2
- package/dist/chunks/{file-retention-c63tvp3g.js → location-services-rjvvg2yk.js} +27 -27
- package/dist/chunks/location-services-rnemwpkq.js +26 -0
- package/dist/chunks/{file-retention-fgvpvm77.js → location-services-rsgdh5rp.js} +30 -30
- package/dist/chunks/{file-retention-kc4ez2ea.js → location-services-ry7kp2db.js} +8 -8
- package/dist/chunks/{file-retention-2p60zmnr.js → location-services-s1ba0vj0.js} +2 -2
- package/dist/chunks/{file-retention-s47rahr7.js → location-services-s47rahr7.js} +1 -1
- package/dist/chunks/{file-retention-sbya78hr.js → location-services-sbya78hr.js} +1 -1
- package/dist/chunks/{file-retention-gc6rk9wr.js → location-services-sffqcray.js} +6 -6
- package/dist/chunks/{file-retention-e9v8rvcx.js → location-services-sgmaddx1.js} +22 -22
- package/dist/chunks/{file-retention-n1zsgr9w.js → location-services-sq1g3gmm.js} +47 -47
- package/dist/chunks/{file-retention-56xt8ks8.js → location-services-sr19vzqw.js} +30 -30
- package/dist/chunks/{file-retention-r3mdxadk.js → location-services-sscfn3gr.js} +34 -34
- package/dist/chunks/{file-retention-rj7jtxy8.js → location-services-stbett4v.js} +3 -3
- package/dist/chunks/{file-retention-n185pfet.js → location-services-sthsf7zw.js} +17 -17
- package/dist/chunks/{file-retention-svcy3p9a.js → location-services-svcy3p9a.js} +1 -1
- package/dist/chunks/{file-retention-t48jrnqq.js → location-services-t48jrnqq.js} +1 -1
- package/dist/chunks/{file-retention-exvyxjzm.js → location-services-t4hq3tre.js} +18 -18
- package/dist/chunks/{file-retention-s9fd3xwq.js → location-services-t5ev8vy8.js} +10 -10
- package/dist/chunks/{file-retention-sgt041th.js → location-services-t7fp3fn5.js} +11 -11
- package/dist/chunks/{file-retention-znwh7a4t.js → location-services-tashtxdn.js} +58 -58
- package/dist/chunks/{file-retention-tbpn7jtk.js → location-services-tbpn7jtk.js} +1 -1
- package/dist/chunks/{file-retention-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-retention-ctmpqb7w.js → location-services-teav1bzy.js} +9 -9
- package/dist/chunks/{file-retention-v5wv1gmb.js → location-services-tek451fb.js} +5 -5
- package/dist/chunks/{file-retention-v5hpj9dd.js → location-services-tg1vr1qt.js} +8 -8
- package/dist/chunks/{file-retention-0fvxehme.js → location-services-ttz31trp.js} +5 -5
- package/dist/chunks/{file-retention-tvtps2q9.js → location-services-tvtps2q9.js} +1 -1
- package/dist/chunks/{file-retention-twssxy5n.js → location-services-twssxy5n.js} +2 -2
- package/dist/chunks/{file-retention-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-retention-ahpgc8cc.js → location-services-v3r1mrme.js} +16 -16
- package/dist/chunks/{file-retention-g7av7xrx.js → location-services-v7djxbhq.js} +22 -22
- package/dist/chunks/{file-retention-pk5zk8y9.js → location-services-v9n7t52e.js} +13 -13
- package/dist/chunks/{file-retention-3ra5990g.js → location-services-vby5y9r5.js} +3 -3
- package/dist/chunks/{file-retention-bhm679s9.js → location-services-vj170n9y.js} +14 -14
- package/dist/chunks/{file-retention-vjf35v1f.js → location-services-vjf35v1f.js} +1 -1
- package/dist/chunks/{file-retention-5cjcvxnn.js → location-services-vt8xwy8m.js} +13 -13
- package/dist/chunks/{file-retention-bqp6xy8k.js → location-services-vz5nq7pj.js} +29 -29
- package/dist/chunks/{file-retention-0efy3j82.js → location-services-w0bqp61t.js} +59 -59
- package/dist/chunks/{file-retention-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-7nqkf5r1.js → location-services-w4xw9ac5.js} +2 -2
- package/dist/chunks/{file-retention-s7kyse9r.js → location-services-w79nt68w.js} +4 -4
- package/dist/chunks/{file-retention-phm1wtvk.js → location-services-waf1wtfn.js} +14 -14
- package/dist/chunks/{file-retention-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-wb0b7yq0.js → location-services-we4d2b7g.js} +19 -19
- package/dist/chunks/{file-retention-wegkxhrn.js → location-services-wegkxhrn.js} +2 -2
- package/dist/chunks/{file-retention-0d10ewvx.js → location-services-wybmdxeh.js} +4 -4
- package/dist/chunks/{file-retention-evzwwyk8.js → location-services-wyewzvbx.js} +30 -30
- package/dist/chunks/{file-retention-k46dd5bg.js → location-services-wzfa06mn.js} +4 -4
- package/dist/chunks/{file-retention-wj07hs0y.js → location-services-x7ecjh2c.js} +7 -7
- package/dist/chunks/{file-retention-n6qtc6gw.js → location-services-xbjcy85w.js} +8 -8
- package/dist/chunks/{file-retention-xnapnxbk.js → location-services-xcphq8b8.js} +8 -8
- package/dist/chunks/{file-retention-963hk181.js → location-services-xe6pezxp.js} +7 -7
- package/dist/chunks/{file-retention-6d420gkt.js → location-services-xezpbmbj.js} +2 -2
- package/dist/chunks/{file-retention-95m5nm6t.js → location-services-xfwq85ya.js} +14 -14
- package/dist/chunks/{file-retention-s3v49wnk.js → location-services-xfzhw9dd.js} +11 -11
- package/dist/chunks/{file-retention-cfh4jfjc.js → location-services-xgdcz69g.js} +17 -17
- package/dist/chunks/{file-retention-g0spxtp6.js → location-services-xhexxcwp.js} +27 -27
- package/dist/chunks/{file-retention-xjbsd7zy.js → location-services-xjbsd7zy.js} +2 -2
- package/dist/chunks/{file-retention-xxschbft.js → location-services-xjr6c8m4.js} +4 -4
- package/dist/chunks/{file-retention-60ppm0h1.js → location-services-xqy2tbc9.js} +31 -31
- package/dist/chunks/{file-retention-sdxq25xx.js → location-services-xt7zn850.js} +10 -10
- package/dist/chunks/{file-retention-xvn8mnch.js → location-services-xvn8mnch.js} +1 -1
- package/dist/chunks/{file-retention-kjsepkch.js → location-services-y6rndvgq.js} +14 -14
- package/dist/chunks/{file-retention-e0j5ff10.js → location-services-y6w7xb43.js} +5 -5
- package/dist/chunks/{file-retention-p3vyqzsr.js → location-services-y70tqzxm.js} +8 -8
- package/dist/chunks/{file-retention-sc9hyn7r.js → location-services-ya3pz56t.js} +4 -4
- package/dist/chunks/{file-retention-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-retention-1v2g13eq.js → location-services-ybws1qgk.js} +4 -4
- package/dist/chunks/{file-retention-j4rt9t5q.js → location-services-yc7gjpm3.js} +2 -2
- package/dist/chunks/{file-retention-7nb8tm12.js → location-services-yepd7x5v.js} +5 -5
- package/dist/chunks/{file-retention-62gb4g00.js → location-services-yhszpxa8.js} +11 -11
- package/dist/chunks/{file-retention-44pa0r3g.js → location-services-ykg3m9fe.js} +17 -17
- package/dist/chunks/{file-retention-fyfz6y7c.js → location-services-ym985j86.js} +33 -33
- package/dist/chunks/{file-retention-2prt43t7.js → location-services-ypzfmdvb.js} +4 -4
- package/dist/chunks/{file-retention-yr705xyq.js → location-services-yr705xyq.js} +1 -1
- package/dist/chunks/{file-retention-qd3x4hec.js → location-services-yrmdtecy.js} +58 -58
- package/dist/chunks/{file-retention-yvtc2x31.js → location-services-yvtc2x31.js} +1 -1
- package/dist/chunks/{file-retention-kbgs7tyr.js → location-services-yybgvvmq.js} +4 -4
- package/dist/chunks/{file-retention-x26wqd07.js → location-services-yydqqga9.js} +4 -4
- package/dist/chunks/{file-retention-kkf7ngzn.js → location-services-z01x0jfb.js} +13 -13
- package/dist/chunks/{file-retention-z0wbgq7s.js → location-services-z0wbgq7s.js} +1 -1
- package/dist/chunks/{file-retention-ssxfv6ww.js → location-services-z137yn3z.js} +34 -34
- package/dist/chunks/{file-retention-v7p9rwhb.js → location-services-z2f6ghxv.js} +11 -11
- package/dist/chunks/{file-retention-j0pb0h51.js → location-services-z3yftc2t.js} +4 -4
- package/dist/chunks/{file-retention-heemzf90.js → location-services-z4zj0bd2.js} +7 -7
- package/dist/chunks/{file-retention-vcys6qhd.js → location-services-z607j5c2.js} +16 -16
- package/dist/chunks/{file-retention-z6g4szpb.js → location-services-z6g4szpb.js} +1 -1
- package/dist/chunks/{file-retention-fjfy99sp.js → location-services-zkqq1epe.js} +19 -19
- package/dist/chunks/{file-retention-3j87ya0s.js → location-services-zpw50awc.js} +52 -52
- package/dist/chunks/{file-retention-qvb43d5p.js → location-services-ztx6dhwc.js} +11 -11
- package/dist/chunks/{file-retention-tz1vm39h.js → location-services-zvyh18j2.js} +47 -47
- package/dist/chunks/{file-retention-jkdcm5hg.js → location-services-zyq2pv4t.js} +4 -4
- 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 +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +133 -133
- 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 +133 -133
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +158 -158
- 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 +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- 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 +109 -109
- 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 +85 -85
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +260 -260
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +134 -134
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- 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 +98 -98
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +96 -96
- 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 +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +188 -188
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +153 -153
- package/dist/mcp/instructions.js +192 -192
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- 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 +105 -105
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +122 -122
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- 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 +1 -1
- 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 +130 -130
- 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 +3 -3
- 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 +149 -149
- 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 +6 -6
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- 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 +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- 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 +430 -430
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- 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 +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +102 -102
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -264
- 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 +276 -276
- package/dist/session/execution/subagent-report.js +147 -147
- 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 +154 -154
- 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 +3 -3
- 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 +4 -4
- 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 +260 -260
- package/dist/session/usage.js +1 -1
- package/dist/session.js +253 -253
- 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 +11 -11
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +104 -104
- 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 +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- 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 +169 -169
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +253 -253
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +160 -160
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- 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 +165 -165
- package/dist/usage-limits.js +98 -98
- 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 +5 -5
- 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 +97 -97
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +5 -5
- 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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/file-retention-2dkjcnxp.js +0 -18
- package/dist/chunks/file-retention-2ev4mpw4.js +0 -26
- package/dist/chunks/file-retention-86kd7kzh.js +0 -16
- package/dist/chunks/file-retention-e4vg19md.js +0 -273
- package/dist/chunks/file-retention-kd251xf9.js +0 -587
- package/dist/chunks/file-retention-va4jfsd2.js +0 -35
- /package/dist/chunks/{file-retention-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kah00gy.js → location-services-1kah00gy.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4qk9sjk2.js → location-services-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
- /package/dist/chunks/{file-retention-6agm2x70.js → location-services-6agm2x70.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-7rvsyqjv.js → location-services-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9ceax7yg.js → location-services-9ceax7yg.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-ade8csyh.js → location-services-ade8csyh.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-beh6qq61.js → location-services-beh6qq61.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-ean2d8b5.js → location-services-ean2d8b5.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-nh4v3znn.js → location-services-nh4v3znn.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-p71gwv9c.js → location-services-p71gwv9c.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-syrav9an.js → location-services-syrav9an.js} +0 -0
- /package/dist/chunks/{file-retention-t03h4f5z.js → location-services-t03h4f5z.js} +0 -0
- /package/dist/chunks/{file-retention-ty7weeps.js → location-services-ty7weeps.js} +0 -0
- /package/dist/chunks/{file-retention-v2dnd5dt.js → location-services-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-vtarvj67.js → location-services-vtarvj67.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x4th4bpe.js → location-services-x4th4bpe.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → location-services-z9919s4g.js} +0 -0
- /package/dist/chunks/{file-retention-zxpyjp51.js → location-services-zxpyjp51.js} +0 -0
- /package/dist/chunks/{file-retention-zz5vv3aq.js → location-services-zz5vv3aq.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./location-services-sq1g3gmm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./location-services-1qxe1ypt.js";
|
|
7
7
|
import {
|
|
8
8
|
Content2,
|
|
9
9
|
Event5,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
ID7,
|
|
11
|
+
Info7,
|
|
12
12
|
ProviderID2,
|
|
13
13
|
Service22
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-c55n7q3v.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-services-tvtps2q9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-services-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/tool/plugin/artifact.ts
|
|
23
23
|
var exports_artifact = {};
|
|
@@ -25,7 +25,7 @@ __export(exports_artifact, {
|
|
|
25
25
|
ArtifactTools: () => exports_artifact,
|
|
26
26
|
CreateToolInput: () => CreateToolInput2,
|
|
27
27
|
DeleteToolInput: () => DeleteToolInput2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin21,
|
|
29
29
|
ReadToolInput: () => ReadToolInput2,
|
|
30
30
|
UpdateToolInput: () => UpdateToolInput2
|
|
31
31
|
});
|
|
@@ -45,10 +45,10 @@ var CreateToolInput2 = Schema.Struct({
|
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
var ReadToolInput2 = Schema.Struct({
|
|
48
|
-
id:
|
|
48
|
+
id: ID7.annotate({ description: "Artifact ID (art_...) to read." })
|
|
49
49
|
});
|
|
50
50
|
var UpdateToolInput2 = Schema.Struct({
|
|
51
|
-
id:
|
|
51
|
+
id: ID7.annotate({ description: "Artifact ID (art_...) to update." }),
|
|
52
52
|
title: Schema.String.pipe(optional).annotate({ description: "Updated title, or omit to keep the current title." }),
|
|
53
53
|
files: Schema.Record(Schema.String, Schema.String).annotate({
|
|
54
54
|
description: "Replacement UTF-8 file map keyed by relative path."
|
|
@@ -56,16 +56,16 @@ var UpdateToolInput2 = Schema.Struct({
|
|
|
56
56
|
entry: Schema.String.pipe(optional).annotate({ description: "Updated entry file path." })
|
|
57
57
|
});
|
|
58
58
|
var DeleteToolInput2 = Schema.Struct({
|
|
59
|
-
id:
|
|
59
|
+
id: ID7.annotate({ description: "Artifact ID (art_...) to delete." })
|
|
60
60
|
});
|
|
61
61
|
var DeleteToolOutput = Schema.Struct({
|
|
62
|
-
id:
|
|
62
|
+
id: ID7,
|
|
63
63
|
deleted: Schema.Boolean
|
|
64
64
|
});
|
|
65
|
-
var
|
|
65
|
+
var Plugin21 = {
|
|
66
66
|
id: "opencode.tool.artifact",
|
|
67
67
|
effect: Effect.fn("ArtifactTools.Plugin")(function* (ctx) {
|
|
68
|
-
const config = yield*
|
|
68
|
+
const config = yield* Service76;
|
|
69
69
|
const artifacts = yield* Service22;
|
|
70
70
|
const promptSnapshot = { text: yield* renderCreateDescription(artifacts) };
|
|
71
71
|
const refreshTools = Effect.gen(function* () {
|
|
@@ -74,7 +74,7 @@ var Plugin56 = {
|
|
|
74
74
|
});
|
|
75
75
|
const loaded = yield* observe2(config, ctx.event, refreshTools);
|
|
76
76
|
yield* ctx.event.subscribe({ types: [Event5.Updated.type] }).pipe(Stream.runForEach(() => refreshTools), Effect.forkScoped({ startImmediately: true }));
|
|
77
|
-
const flags = yield*
|
|
77
|
+
const flags = yield* Service73;
|
|
78
78
|
const enabled = () => flags.resolve(loaded.entries).artifacts.enabled;
|
|
79
79
|
const failure = (error) => new ToolFailure({ message: error.message, error });
|
|
80
80
|
yield* ctx.tool.transform((editor) => {
|
|
@@ -84,7 +84,7 @@ var Plugin56 = {
|
|
|
84
84
|
name: "artifact_create",
|
|
85
85
|
description: promptSnapshot.text,
|
|
86
86
|
input: CreateToolInput2,
|
|
87
|
-
output:
|
|
87
|
+
output: Info7,
|
|
88
88
|
options: { namespace: "opencode", codemode: true },
|
|
89
89
|
execute: (input, context) => artifacts.create({
|
|
90
90
|
title: input.title,
|
|
@@ -112,7 +112,7 @@ var Plugin56 = {
|
|
|
112
112
|
name: "artifact_update",
|
|
113
113
|
description: "Replace an existing artifact's files at the same ID and URL.",
|
|
114
114
|
input: UpdateToolInput2,
|
|
115
|
-
output:
|
|
115
|
+
output: Info7,
|
|
116
116
|
options: { namespace: "opencode", codemode: true },
|
|
117
117
|
execute: (input, context) => artifacts.update(input.id, {
|
|
118
118
|
title: input.title,
|
|
@@ -152,4 +152,4 @@ function renderCreateDescription(artifacts) {
|
|
|
152
152
|
}));
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2,
|
|
155
|
+
export { CreateToolInput2, ReadToolInput2, UpdateToolInput2, DeleteToolInput2, Plugin21, exports_artifact };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-qsgdfh3a.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-s47rahr7.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
22
|
-
configured: () =>
|
|
21
|
+
Service: () => Service91,
|
|
22
|
+
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node92,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -84,13 +84,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
84
84
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
85
85
|
var isDefinition = (input) => !Array.isArray(input);
|
|
86
86
|
|
|
87
|
-
class
|
|
87
|
+
class Service91 extends Context.Service()("@opencode/Bus") {
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function configured12(options) {
|
|
90
90
|
return makeGlobalNode({
|
|
91
|
-
service:
|
|
91
|
+
service: Service91,
|
|
92
92
|
deps: [node96],
|
|
93
|
-
layer: Layer.effect(
|
|
93
|
+
layer: Layer.effect(Service91, Effect.gen(function* () {
|
|
94
94
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
95
95
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
96
96
|
const pubsub = {
|
|
@@ -515,7 +515,7 @@ function configured13(options) {
|
|
|
515
515
|
list.push((event) => projector(event));
|
|
516
516
|
projectors.set(key, list);
|
|
517
517
|
});
|
|
518
|
-
return
|
|
518
|
+
return Service91.of({
|
|
519
519
|
publish,
|
|
520
520
|
publishAll,
|
|
521
521
|
subscribe,
|
|
@@ -529,6 +529,6 @@ function configured13(options) {
|
|
|
529
529
|
}))
|
|
530
530
|
});
|
|
531
531
|
}
|
|
532
|
-
var
|
|
532
|
+
var node92 = configured12();
|
|
533
533
|
|
|
534
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
534
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service91, configured12, node92, exports_bus };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-vj170n9y.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -20,7 +20,7 @@ var RemoteModel = Schema.Struct({
|
|
|
20
20
|
has_vision_adapter: Schema.Boolean.pipe(Schema.optional)
|
|
21
21
|
});
|
|
22
22
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
23
|
-
var
|
|
23
|
+
var make12 = createLocalProviderPlugin2({
|
|
24
24
|
id: "opencode.provider.lmstudio",
|
|
25
25
|
providerID: "lmstudio",
|
|
26
26
|
name: "LM Studio",
|
|
@@ -40,6 +40,6 @@ var make16 = createLocalProviderPlugin2({
|
|
|
40
40
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
41
41
|
})
|
|
42
42
|
});
|
|
43
|
-
var LMStudioPlugin2 =
|
|
43
|
+
var LMStudioPlugin2 = make12();
|
|
44
44
|
|
|
45
|
-
export {
|
|
45
|
+
export { make12, LMStudioPlugin2 };
|
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-qsgdfh3a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service91,
|
|
7
|
+
node92
|
|
8
|
+
} from "./location-services-ptdf7bfh.js";
|
|
9
9
|
import {
|
|
10
10
|
create4
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-40y6dtc2.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service74,
|
|
15
|
+
node75
|
|
16
|
+
} from "./location-services-eydqz0mt.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-0ma9gw4f.js";
|
|
20
20
|
import {
|
|
21
21
|
join2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-services-q5bk3gvt.js";
|
|
23
23
|
import {
|
|
24
24
|
Service80,
|
|
25
25
|
node81
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-services-n1dszhpy.js";
|
|
27
27
|
import {
|
|
28
28
|
estimate2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-services-8wtp7s3z.js";
|
|
30
30
|
import {
|
|
31
31
|
SessionEvent2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-services-ec1grn59.js";
|
|
33
33
|
import {
|
|
34
34
|
kept2,
|
|
35
35
|
messageToText2,
|
|
36
36
|
serializeToolContent2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-services-v2r1d0zg.js";
|
|
38
38
|
import {
|
|
39
39
|
isNativeCompaction2,
|
|
40
40
|
load6
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-services-ftfdg1zy.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service59,
|
|
44
|
+
node60
|
|
45
|
+
} from "./location-services-dds6zpvr.js";
|
|
46
46
|
import {
|
|
47
47
|
toSessionError2,
|
|
48
48
|
contentFilterError2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./location-services-n1zc6gnp.js";
|
|
50
50
|
import {
|
|
51
51
|
toLLMMessages2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./location-services-xezpbmbj.js";
|
|
53
53
|
import {
|
|
54
54
|
outputLimit2,
|
|
55
55
|
baseTranscript2,
|
|
56
56
|
unsupportedParts2,
|
|
57
57
|
boundImages2,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
58
|
+
Service39,
|
|
59
|
+
node42
|
|
60
|
+
} from "./location-services-cdrahej9.js";
|
|
61
61
|
import {
|
|
62
62
|
isRetryable2,
|
|
63
63
|
policy2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./location-services-2s9mae96.js";
|
|
65
65
|
import {
|
|
66
66
|
calculateCost2,
|
|
67
67
|
record2,
|
|
68
68
|
add2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./location-services-4f25tdd0.js";
|
|
70
70
|
import {
|
|
71
71
|
__export
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./location-services-9rqn6x4v.js";
|
|
73
73
|
|
|
74
74
|
// src/session/compaction.ts
|
|
75
75
|
var exports_compaction2 = {};
|
|
76
76
|
__export(exports_compaction2, {
|
|
77
|
-
Service: () =>
|
|
77
|
+
Service: () => Service12,
|
|
78
78
|
SessionCompaction: () => exports_compaction2,
|
|
79
79
|
buildPrompt: () => buildPrompt2,
|
|
80
80
|
estimateContext: () => estimateContext2,
|
|
81
81
|
estimatePrompt: () => estimatePrompt2,
|
|
82
|
-
layer: () =>
|
|
83
|
-
node: () =>
|
|
82
|
+
layer: () => layer8,
|
|
83
|
+
node: () => node14,
|
|
84
84
|
recentUserMessages: () => recentUserMessages2
|
|
85
85
|
});
|
|
86
86
|
import {
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
} from "@opencode/ai/effect";
|
|
96
96
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
97
97
|
import { Clock, Context, DateTime, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
|
|
98
|
-
class
|
|
98
|
+
class Service12 extends Context.Service()("@opencode/SessionCompaction") {
|
|
99
99
|
}
|
|
100
100
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
101
101
|
var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
|
|
@@ -186,14 +186,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
186
186
|
};
|
|
187
187
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
188
188
|
var LEGACY_HEADING = "## Additional Context";
|
|
189
|
-
var
|
|
190
|
-
const agents = yield*
|
|
191
|
-
const bus = yield*
|
|
189
|
+
var layer8 = Layer.effect(Service12, Effect.gen(function* () {
|
|
190
|
+
const agents = yield* Service74;
|
|
191
|
+
const bus = yield* Service91;
|
|
192
192
|
const llm = yield* LLMClient.Service;
|
|
193
193
|
const catalog = yield* Service80;
|
|
194
|
-
const models = yield*
|
|
194
|
+
const models = yield* Service59;
|
|
195
195
|
const db = (yield* Service94).db;
|
|
196
|
-
const requests = yield*
|
|
196
|
+
const requests = yield* Service39;
|
|
197
197
|
const scope = yield* Scope.Scope;
|
|
198
198
|
const precomputed = new Map;
|
|
199
199
|
const state = create4({
|
|
@@ -591,17 +591,17 @@ var layer6 = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
591
591
|
}, { metadata: outcome.metadata });
|
|
592
592
|
return { status: "completed" };
|
|
593
593
|
});
|
|
594
|
-
return
|
|
594
|
+
return Service12.of({
|
|
595
595
|
transform: state.transform,
|
|
596
596
|
reload: state.reload,
|
|
597
597
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
|
|
598
598
|
precompute
|
|
599
599
|
});
|
|
600
600
|
}));
|
|
601
|
-
var
|
|
602
|
-
service:
|
|
603
|
-
layer:
|
|
604
|
-
deps: [
|
|
601
|
+
var node14 = makeLocationNode({
|
|
602
|
+
service: Service12,
|
|
603
|
+
layer: layer8,
|
|
604
|
+
deps: [node75, node92, node96, llmClient2, node81, node42, node60]
|
|
605
605
|
});
|
|
606
606
|
var heldIndex = (held, context) => {
|
|
607
607
|
if (held.firstID !== context.messages[0]?.id || held.initial !== join2(context.initial))
|
|
@@ -800,4 +800,4 @@ var estimateMedia = (mime) => {
|
|
|
800
800
|
return 0;
|
|
801
801
|
};
|
|
802
802
|
|
|
803
|
-
export {
|
|
803
|
+
export { Service12, buildPrompt2, layer8, node14, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
canonicalJson2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-ade8csyh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/instructions/index.ts
|
|
9
9
|
var exports_instructions7 = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_instructions7, {
|
|
|
13
13
|
Hash: () => Hash2,
|
|
14
14
|
InitializationBlocked: () => InitializationBlocked2,
|
|
15
15
|
Instructions: () => exports_instructions7,
|
|
16
|
-
Key: () =>
|
|
16
|
+
Key: () => Key3,
|
|
17
17
|
Values: () => Values2,
|
|
18
18
|
applyHashDelta: () => applyHashDelta2,
|
|
19
19
|
combine: () => combine2,
|
|
@@ -23,7 +23,7 @@ __export(exports_instructions7, {
|
|
|
23
23
|
hash: () => hash2,
|
|
24
24
|
join: () => join2,
|
|
25
25
|
listUpdate: () => listUpdate2,
|
|
26
|
-
make: () =>
|
|
26
|
+
make: () => make32,
|
|
27
27
|
read: () => read5,
|
|
28
28
|
removed: () => removed2,
|
|
29
29
|
renderInitial: () => renderInitial2,
|
|
@@ -33,7 +33,7 @@ __export(exports_instructions7, {
|
|
|
33
33
|
import { createHash } from "crypto";
|
|
34
34
|
import { Instruction } from "@opencode/schema/instruction";
|
|
35
35
|
import { Data, Effect, Option, Schema } from "effect";
|
|
36
|
-
var
|
|
36
|
+
var Key3 = Instruction.Key;
|
|
37
37
|
var Hash2 = Instruction.Hash;
|
|
38
38
|
var Values2 = Instruction.Values;
|
|
39
39
|
var Delta2 = Instruction.Delta;
|
|
@@ -41,21 +41,21 @@ var NonValue = Data.taggedEnum();
|
|
|
41
41
|
var unavailable3 = NonValue.Unavailable();
|
|
42
42
|
var removed2 = NonValue.Removed();
|
|
43
43
|
|
|
44
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
44
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
45
45
|
get message() {
|
|
46
46
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
51
|
-
key:
|
|
51
|
+
key: Key3
|
|
52
52
|
}) {
|
|
53
53
|
get message() {
|
|
54
54
|
return `Duplicate instruction key: ${this.key}`;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
var empty3 = [];
|
|
58
|
-
function
|
|
58
|
+
function make32(source) {
|
|
59
59
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
60
60
|
const encode = Schema.encodeSync(source.codec);
|
|
61
61
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -209,4 +209,4 @@ function requireText(key, kind, text) {
|
|
|
209
209
|
return text;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
export {
|
|
212
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make32, combine2, read5, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node92
|
|
4
|
+
} from "./location-services-ptdf7bfh.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
evaluate3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-6da0qsct.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/skill.ts
|
|
17
17
|
var exports_skill5 = {};
|
|
18
18
|
__export(exports_skill5, {
|
|
19
19
|
DirectorySource: () => DirectorySource2,
|
|
20
20
|
EmbeddedSource: () => EmbeddedSource2,
|
|
21
|
-
Event: () =>
|
|
21
|
+
Event: () => Event12,
|
|
22
22
|
ID: () => ID10,
|
|
23
23
|
Info: () => Info14,
|
|
24
24
|
Name: () => Name2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service69,
|
|
26
26
|
Skill: () => exports_skill5,
|
|
27
27
|
Source: () => Source4,
|
|
28
28
|
UrlSource: () => UrlSource2,
|
|
29
29
|
available: () => available4,
|
|
30
30
|
isUri: () => isUri2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node70,
|
|
32
32
|
prepare: () => prepare3,
|
|
33
33
|
toModelOutput: () => toModelOutput3,
|
|
34
34
|
uri: () => uri2
|
|
@@ -38,7 +38,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
38
38
|
import path from "path";
|
|
39
39
|
import { Context, Effect, Layer } from "effect";
|
|
40
40
|
import { Skill } from "@opencode/schema/skill";
|
|
41
|
-
import { Event as
|
|
41
|
+
import { Event as Event12 } from "@opencode/schema/skill";
|
|
42
42
|
var DirectorySource2 = Skill.DirectorySource;
|
|
43
43
|
var UrlSource2 = Skill.UrlSource;
|
|
44
44
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
@@ -91,10 +91,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill, virtualFiles) {
|
|
|
91
91
|
};
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
class
|
|
94
|
+
class Service69 extends Context.Service()("@opencode/Skill") {
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
97
|
-
const bus = yield*
|
|
96
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
97
|
+
const bus = yield* Service91;
|
|
98
98
|
const state = create4({
|
|
99
99
|
name: "skill",
|
|
100
100
|
initial: () => ({ skills: new Map, files: new Map }),
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
129
129
|
Array.from(data.files, ([id, entries]) => [id, Array.from(entries)])
|
|
130
130
|
], () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service69.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -144,10 +144,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
144
144
|
})
|
|
145
145
|
});
|
|
146
146
|
}));
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
147
|
+
var node70 = makeLocationNode({
|
|
148
|
+
service: Service69,
|
|
149
149
|
layer,
|
|
150
|
-
deps: [
|
|
150
|
+
deps: [node92]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info14, ID10, Name2, available4, uri2, isUri2, toModelOutput3, prepare3,
|
|
153
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info14, ID10, Name2, available4, uri2, isUri2, toModelOutput3, prepare3, Service69, node70, exports_skill5, Event12 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-qsgdfh3a.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_saved, {
|
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
16
|
ID: () => ID12,
|
|
17
17
|
Info: () => Info15,
|
|
18
|
-
NotFoundError: () =>
|
|
18
|
+
NotFoundError: () => NotFoundError12,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service72,
|
|
21
|
+
node: () => node73
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -28,7 +28,7 @@ import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
|
28
28
|
var ID12 = PermissionSaved.ID;
|
|
29
29
|
var Info15 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError12 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
32
|
id: ID12
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
@@ -40,9 +40,9 @@ class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service72 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service94).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError12({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError12({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service72.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node73 = makeGlobalNode({ service: Service72, layer, deps: [node96] });
|
|
94
94
|
|
|
95
|
-
export { ID12, Info15,
|
|
95
|
+
export { ID12, Info15, NotFoundError12, ConflictError2, Service72, node73, exports_saved };
|