@opencode/core 0.0.0-dev-1276 → 0.0.0-dev-1280
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 +92 -92
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +9 -9
- package/dist/artifact.js +258 -258
- package/dist/bus.js +80 -80
- package/dist/chunks/{location-034tev2y.js → wellknown-034tev2y.js} +2 -2
- package/dist/chunks/{location-xjbsd7zy.js → wellknown-04whjz6n.js} +9 -9
- package/dist/chunks/{location-fceqcsak.js → wellknown-0bbygp07.js} +14 -14
- package/dist/chunks/{location-d6my81aa.js → wellknown-0cr0jx4r.js} +2 -2
- package/dist/chunks/{location-0fvxehme.js → wellknown-0fvxehme.js} +2 -2
- package/dist/chunks/{location-0ma9gw4f.js → wellknown-0ma9gw4f.js} +2 -2
- package/dist/chunks/{location-mnmhd1ma.js → wellknown-0qahn5h0.js} +83 -83
- package/dist/chunks/{location-evgcp8py.js → wellknown-0w7t4ved.js} +39 -39
- package/dist/chunks/{location-9d40qpyk.js → wellknown-13tsap6q.js} +27 -27
- package/dist/chunks/{location-tggz5a2q.js → wellknown-14bfnkfq.js} +43 -43
- package/dist/chunks/{location-hk0haw90.js → wellknown-15v75j2x.js} +11 -11
- package/dist/chunks/{location-0rha4te7.js → wellknown-184x2ne5.js} +11 -11
- package/dist/chunks/{location-1aqsckx4.js → wellknown-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-1aryjtsy.js → wellknown-1aryjtsy.js} +1 -1
- package/dist/chunks/{location-tvsprgdd.js → wellknown-1b0p7szg.js} +1 -1
- package/dist/chunks/{location-bym0vczj.js → wellknown-1basnjmv.js} +26 -26
- package/dist/chunks/{location-fcw2ts4y.js → wellknown-1cyffnvs.js} +27 -27
- package/dist/chunks/{location-1ep2p91f.js → wellknown-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-gndpbmdm.js → wellknown-1n2mm7tv.js} +12 -12
- package/dist/chunks/{location-ybws1qgk.js → wellknown-1v2g13eq.js} +4 -4
- package/dist/chunks/{location-yt5t6xpx.js → wellknown-1ww6mj8f.js} +6 -6
- package/dist/chunks/{location-1x2knyw4.js → wellknown-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-1yq9hg58.js → wellknown-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-yxvbcdyy.js → wellknown-1ysk8pqb.js} +17 -17
- package/dist/chunks/{location-hfhs4mpm.js → wellknown-23thvp2q.js} +15 -15
- package/dist/chunks/{location-pcp8gfw4.js → wellknown-25ey1qe0.js} +35 -35
- package/dist/chunks/{location-26wfx3k0.js → wellknown-26wfx3k0.js} +1 -1
- package/dist/chunks/{location-860nww6g.js → wellknown-27ktqzwr.js} +11 -11
- package/dist/chunks/{location-4ajzq9zr.js → wellknown-27qg90p7.js} +16 -16
- package/dist/chunks/{location-348wk1v4.js → wellknown-28zec0f4.js} +25 -25
- package/dist/chunks/{location-mgmg6hh5.js → wellknown-2aer8hgd.js} +4 -4
- package/dist/chunks/{location-2fc7eemy.js → wellknown-2fc7eemy.js} +1 -1
- package/dist/chunks/{location-a4h8tact.js → wellknown-2jjfs7g5.js} +4 -4
- package/dist/chunks/{location-rbg54dp1.js → wellknown-2mbjfaxd.js} +4 -4
- package/dist/chunks/{location-s1ba0vj0.js → wellknown-2p60zmnr.js} +2 -2
- package/dist/chunks/{location-7cjya25h.js → wellknown-2ythy1tk.js} +43 -43
- package/dist/chunks/{location-31avdb49.js → wellknown-31avdb49.js} +3 -3
- package/dist/chunks/{location-hfxka2yv.js → wellknown-37k1m3sd.js} +24 -24
- package/dist/chunks/{location-p67xwpfb.js → wellknown-38nr3rfb.js} +35 -35
- package/dist/chunks/{location-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3nnrz6f6.js → wellknown-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-d2mtjhbp.js → wellknown-3nyx21qg.js} +14 -14
- package/dist/chunks/wellknown-3qx6b3ma.js +273 -0
- package/dist/chunks/{location-40y6dtc2.js → wellknown-40y6dtc2.js} +1 -1
- package/dist/chunks/{location-ayh7mq6p.js → wellknown-43n69t78.js} +6 -6
- package/dist/chunks/{location-jxd6f16v.js → wellknown-44pmzq9c.js} +2 -2
- package/dist/chunks/{location-3ky1b0gx.js → wellknown-46q226g6.js} +13 -13
- package/dist/chunks/{location-4dx1dgte.js → wellknown-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-4f25tdd0.js → wellknown-4f25tdd0.js} +1 -1
- package/dist/chunks/{location-6yb4hasd.js → wellknown-4nr30yve.js} +7 -7
- package/dist/chunks/{location-4pyp9zr9.js → wellknown-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-4v008n1t.js → wellknown-4v008n1t.js} +1 -1
- package/dist/chunks/{location-jf4t0k0h.js → wellknown-583ggra2.js} +15 -15
- package/dist/chunks/{location-p39jfpm1.js → wellknown-5ar51n0r.js} +7 -7
- package/dist/chunks/{location-5enarcya.js → wellknown-5enarcya.js} +2 -2
- package/dist/chunks/{location-nc6smvmj.js → wellknown-5k31ttt8.js} +83 -67
- package/dist/chunks/{location-neqyr9wr.js → wellknown-5kcdngh6.js} +4 -4
- package/dist/chunks/{location-5m9w47nd.js → wellknown-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-yx4259q6.js → wellknown-5q652czm.js} +10 -10
- package/dist/chunks/{location-6kv1vnfg.js → wellknown-5wsftw7f.js} +10 -10
- package/dist/chunks/{location-6dbssvqe.js → wellknown-5zr5898h.js} +19 -19
- package/dist/chunks/{location-61qraad9.js → wellknown-61qraad9.js} +2 -2
- package/dist/chunks/{location-zt6s3j4t.js → wellknown-63r1jezq.js} +20 -20
- package/dist/chunks/{location-69ahswmr.js → wellknown-641q2q1z.js} +26 -26
- package/dist/chunks/{location-qxjvndhw.js → wellknown-652m3am9.js} +22 -22
- package/dist/chunks/{location-v9svr75v.js → wellknown-66d8dez0.js} +45 -45
- package/dist/chunks/{location-jrkjq978.js → wellknown-67ehfp3r.js} +23 -20
- package/dist/chunks/{location-q61w7sw0.js → wellknown-6a3qyq7w.js} +11 -11
- package/dist/chunks/{location-2mc3s1c7.js → wellknown-6besst92.js} +12 -12
- package/dist/chunks/{location-nx6g645b.js → wellknown-6gkjea5y.js} +13 -13
- package/dist/chunks/{location-zdpmx191.js → wellknown-6m8vj9yr.js} +7 -7
- package/dist/chunks/{location-hretfjjx.js → wellknown-6sg7v011.js} +2 -2
- package/dist/chunks/wellknown-6zjm2phc.js +18 -0
- package/dist/chunks/{location-z5tjg4x2.js → wellknown-728t7gc6.js} +8 -8
- package/dist/chunks/{location-bdv8sqrq.js → wellknown-75a2gs08.js} +1 -1
- package/dist/chunks/{location-vwcz1f45.js → wellknown-79k544d0.js} +4 -4
- package/dist/chunks/{location-q3nzwynw.js → wellknown-7ahda34f.js} +11 -11
- package/dist/chunks/{location-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-3tzhzaa2.js → wellknown-7fpr7hz7.js} +11 -11
- package/dist/chunks/{location-5teqn4za.js → wellknown-7g49ttx0.js} +14 -14
- package/dist/chunks/{location-qq0yagk7.js → wellknown-7mhsjf65.js} +2 -2
- package/dist/chunks/{location-0jaqsgzq.js → wellknown-7qec28h5.js} +26 -26
- package/dist/chunks/{location-10gda4y3.js → wellknown-7tftgcmj.js} +14 -14
- package/dist/chunks/{location-7w2ypzdf.js → wellknown-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-7weczvnd.js → wellknown-7weczvnd.js} +1 -1
- package/dist/chunks/{location-80mg3ag8.js → wellknown-80mg3ag8.js} +3 -3
- package/dist/chunks/{location-80pdk984.js → wellknown-80pdk984.js} +1 -1
- package/dist/chunks/{location-6jx1tk7q.js → wellknown-81jb41jf.js} +45 -45
- package/dist/chunks/{location-2prt43t7.js → wellknown-84394vcr.js} +4 -4
- package/dist/chunks/{location-85jq8dht.js → wellknown-85jq8dht.js} +1 -1
- package/dist/chunks/{location-3k1h60wg.js → wellknown-87bmqdkz.js} +16 -16
- package/dist/chunks/{location-8b3vzgkx.js → wellknown-8b3vzgkx.js} +1 -1
- package/dist/chunks/{location-9rqfe4ad.js → wellknown-8bcc8xgx.js} +3 -3
- package/dist/chunks/{location-kn564b0n.js → wellknown-8cqsbq15.js} +36 -36
- package/dist/chunks/{location-wgcpkes0.js → wellknown-8dea992e.js} +10 -10
- package/dist/chunks/{location-8kjyvwy5.js → wellknown-8kjyvwy5.js} +1 -1
- package/dist/chunks/{location-gvack1pm.js → wellknown-8m9p3vgp.js} +5 -5
- package/dist/chunks/{location-8sxe6kv8.js → wellknown-8sxe6kv8.js} +2 -2
- package/dist/chunks/{location-g59rmezr.js → wellknown-8tx2ejmc.js} +9 -9
- package/dist/chunks/{location-8wtp7s3z.js → wellknown-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-8zv0xmg5.js → wellknown-8zv0xmg5.js} +1 -1
- package/dist/chunks/{location-smc3rm4b.js → wellknown-929zkk1r.js} +3 -3
- package/dist/chunks/{location-963hk181.js → wellknown-963hk181.js} +2 -2
- package/dist/chunks/{location-dm9e5vs3.js → wellknown-9c9j4pyj.js} +11 -11
- package/dist/chunks/{location-x7xtgrvg.js → wellknown-9ch8vfxj.js} +43 -43
- package/dist/chunks/{location-93frtw2k.js → wellknown-9d854vd9.js} +11 -11
- package/dist/chunks/{location-9ggk2xgz.js → wellknown-9thz99j1.js} +15 -15
- package/dist/chunks/{location-d7417ht8.js → wellknown-a8x8zk8z.js} +4 -4
- package/dist/chunks/{location-d6r73yeb.js → wellknown-ae0qpv5r.js} +14 -14
- package/dist/chunks/{location-ddvn7d3w.js → wellknown-aedwt843.js} +8 -8
- package/dist/chunks/{location-f2zjpyt5.js → wellknown-amjjh717.js} +5 -5
- package/dist/chunks/{location-drxqj7ww.js → wellknown-aq2e9c4r.js} +3 -3
- package/dist/chunks/{location-5g5c2xgf.js → wellknown-axsp18qw.js} +23 -23
- package/dist/chunks/{location-ayjs7tqn.js → wellknown-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-nqyp38bs.js → wellknown-ayxe58k5.js} +24 -24
- package/dist/chunks/{location-ths95evr.js → wellknown-b1we0vk3.js} +24 -24
- package/dist/chunks/{location-g4txs7zc.js → wellknown-b26ddj6h.js} +4 -4
- package/dist/chunks/{location-z8bfyw3m.js → wellknown-bm7xpb2p.js} +12 -12
- package/dist/chunks/{location-f7ya8ph1.js → wellknown-c4t9ypm8.js} +17 -17
- package/dist/chunks/{location-px7qpgcn.js → wellknown-c5zvymhv.js} +4 -4
- package/dist/chunks/{location-3efg3nzt.js → wellknown-c610j0ka.js} +6 -6
- package/dist/chunks/{location-05kq7j8j.js → wellknown-c6x0pbrm.js} +7 -7
- package/dist/chunks/{location-ffsx0dsw.js → wellknown-c8cpqe4g.js} +21 -21
- package/dist/chunks/{location-pabkrdhw.js → wellknown-c95q701f.js} +5 -5
- package/dist/chunks/{location-aegvhdtm.js → wellknown-cbs8fcwx.js} +15 -15
- package/dist/chunks/{location-t60f2ys1.js → wellknown-cf4nqrhb.js} +28 -28
- package/dist/chunks/{location-tbrwkzkg.js → wellknown-cha0bdvb.js} +26 -26
- package/dist/chunks/{location-w1mpaq3n.js → wellknown-ck63xrcz.js} +14 -14
- package/dist/chunks/{location-a3zw6vh0.js → wellknown-cq4jgwga.js} +5 -5
- package/dist/chunks/{location-cwrgdav8.js → wellknown-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-x39990g7.js → wellknown-cy1060tq.js} +2 -2
- package/dist/chunks/{location-t5hqjg8s.js → wellknown-cyx4wr0f.js} +7 -7
- package/dist/chunks/wellknown-d2q2a2xy.js +26 -0
- package/dist/chunks/{location-d4v9tmah.js → wellknown-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-d7ypzca6.js → wellknown-d5mm1dvd.js} +7 -7
- package/dist/chunks/{location-3w65b8dw.js → wellknown-d8fs5gt4.js} +16 -16
- package/dist/chunks/{location-a4959few.js → wellknown-d8vxf25s.js} +31 -31
- package/dist/chunks/{location-sh04rkyp.js → wellknown-derxze1q.js} +26 -26
- package/dist/chunks/{location-5c9hp1k3.js → wellknown-dm4ee7c9.js} +59 -59
- package/dist/chunks/{location-k6657dbz.js → wellknown-dr03sag8.js} +29 -29
- package/dist/chunks/{location-t5dr3wqv.js → wellknown-drdmzpww.js} +4 -4
- package/dist/chunks/{location-pvphxqmh.js → wellknown-ds6fnft9.js} +3 -3
- package/dist/chunks/{location-c3dkbdre.js → wellknown-dsm6hmjx.js} +8 -8
- package/dist/chunks/{location-hjc319se.js → wellknown-dsq1faga.js} +12 -12
- package/dist/chunks/{location-dt77769w.js → wellknown-dt77769w.js} +1 -1
- package/dist/chunks/{location-ybjrjk8q.js → wellknown-dxbmx42z.js} +14 -14
- package/dist/chunks/{location-mvdp7tdv.js → wellknown-e14e5bqv.js} +8 -8
- package/dist/chunks/{location-5cfsv2d4.js → wellknown-e3766z8e.js} +7 -7
- package/dist/chunks/{location-nfv00ekf.js → wellknown-e4rmxmhs.js} +4 -4
- package/dist/chunks/{location-1kama452.js → wellknown-e8r1tr1j.js} +4 -4
- package/dist/chunks/{location-knfecrdw.js → wellknown-eab5a047.js} +4 -4
- package/dist/chunks/{location-jawmze8e.js → wellknown-ecm48gf7.js} +15 -15
- package/dist/chunks/{location-assq2g0s.js → wellknown-ef01k0v5.js} +9 -9
- package/dist/chunks/{location-qqmca438.js → wellknown-eq34fv4d.js} +18 -18
- package/dist/chunks/{location-eqw4pqj1.js → wellknown-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-pywehcnw.js → wellknown-esnd5w8j.js} +5 -5
- package/dist/chunks/{location-hzv6fmc8.js → wellknown-etnnmb6a.js} +15 -15
- package/dist/chunks/{location-grqs93a2.js → wellknown-evbwz3q2.js} +20 -20
- package/dist/chunks/{location-r7e81jc1.js → wellknown-evjfqt55.js} +13 -13
- package/dist/chunks/{location-n2d0znsc.js → wellknown-evvjvga6.js} +29 -29
- package/dist/chunks/{location-m5brqekz.js → wellknown-f2nzj6et.js} +9 -9
- package/dist/chunks/{location-x75ycvaq.js → wellknown-f3p75wf2.js} +21 -21
- package/dist/chunks/{location-c0v3h0z2.js → wellknown-f4xxa474.js} +7 -7
- package/dist/chunks/{location-eh6m4bvd.js → wellknown-f6jr0yjz.js} +25 -25
- package/dist/chunks/{location-0gtpsn3x.js → wellknown-f7hsj4em.js} +3 -3
- package/dist/chunks/{location-panr2g9g.js → wellknown-f9vd95df.js} +14 -14
- package/dist/chunks/{location-fg9p65nk.js → wellknown-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-pgpkdhbn.js → wellknown-fk6pt02a.js} +42 -42
- package/dist/chunks/{location-0zjzq181.js → wellknown-fsa0gwwp.js} +3 -3
- package/dist/chunks/{location-4c20e9ck.js → wellknown-g2rjajxv.js} +16 -16
- package/dist/chunks/{location-38aws4xb.js → wellknown-g5ajqn12.js} +4 -4
- package/dist/chunks/{location-jh6vjbd1.js → wellknown-g6ce35sq.js} +12 -12
- package/dist/chunks/{location-z0wcdjqv.js → wellknown-g6yp65q8.js} +16 -16
- package/dist/chunks/{location-crjbq1fj.js → wellknown-g7qdwrsk.js} +7 -7
- package/dist/chunks/{location-gbjdnr5j.js → wellknown-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-ghrv1g9c.js → wellknown-ghrv1g9c.js} +1 -1
- package/dist/chunks/{location-1cy53gy4.js → wellknown-gn3h6dxw.js} +10 -10
- package/dist/chunks/{location-9n9dbwpr.js → wellknown-gqegjds9.js} +9 -9
- package/dist/chunks/{location-rkd48pdt.js → wellknown-gwyytpcj.js} +6 -6
- package/dist/chunks/{location-gxs71cxp.js → wellknown-gxs71cxp.js} +1 -1
- package/dist/chunks/{location-18b1hh0p.js → wellknown-h4wgh636.js} +9 -9
- package/dist/chunks/{location-ctmpqb7w.js → wellknown-h91vm5r2.js} +9 -9
- package/dist/chunks/{location-few3y8aw.js → wellknown-hccp4m5y.js} +6 -6
- package/dist/chunks/{location-hgzwgvze.js → wellknown-hgzwgvze.js} +2 -2
- package/dist/chunks/{location-hj0xet7m.js → wellknown-hj0xet7m.js} +2 -2
- package/dist/chunks/{location-r9bv2xh7.js → wellknown-hqyxx6vr.js} +4 -4
- package/dist/chunks/{location-rvfxd4w2.js → wellknown-hs9f9bk4.js} +26 -26
- package/dist/chunks/{location-7zs4mqwf.js → wellknown-j1zpf99x.js} +7 -7
- package/dist/chunks/{location-zy9ja1zy.js → wellknown-j2htf90w.js} +7 -7
- package/dist/chunks/{location-j3f8hyeg.js → wellknown-j3f8hyeg.js} +1 -1
- package/dist/chunks/{location-5qpj0r7y.js → wellknown-j5221a8k.js} +9 -9
- package/dist/chunks/{location-s4e73zdk.js → wellknown-jcdena8z.js} +20 -20
- package/dist/chunks/{location-pkxyv48r.js → wellknown-jkakbz53.js} +15 -15
- package/dist/chunks/{location-jagrrpc9.js → wellknown-jkenhkn3.js} +11 -11
- package/dist/chunks/{location-jm70asfg.js → wellknown-jm70asfg.js} +1 -1
- package/dist/chunks/{location-s4kyhetj.js → wellknown-jrkc3ds1.js} +6 -6
- package/dist/chunks/{location-9p5gsf2d.js → wellknown-jrwdf4r9.js} +7 -7
- package/dist/chunks/{location-1s0bqze6.js → wellknown-kaa67y14.js} +10 -10
- package/dist/chunks/{location-v3sqaabv.js → wellknown-kccz2vv3.js} +16 -16
- package/dist/chunks/{location-pr0613n6.js → wellknown-km209ejh.js} +26 -26
- package/dist/chunks/{location-kt3bjfbg.js → wellknown-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-xm8s2bgm.js → wellknown-kw0eymth.js} +12 -12
- package/dist/chunks/{location-bs9waz9h.js → wellknown-kyz53xa4.js} +18 -18
- package/dist/chunks/{location-kzczzf4v.js → wellknown-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-93xmyh8q.js → wellknown-kzdam8c6.js} +5 -5
- package/dist/chunks/{location-m1714858.js → wellknown-m1714858.js} +1 -1
- package/dist/chunks/{location-dr488njp.js → wellknown-m2y57w8k.js} +9 -9
- package/dist/chunks/{location-eenxfrnv.js → wellknown-m3dnz9m4.js} +24 -24
- package/dist/chunks/{location-4dfqsw0d.js → wellknown-m4p4r8nc.js} +4 -4
- package/dist/chunks/{location-4hr0gj8v.js → wellknown-m6mf4mcx.js} +23 -23
- package/dist/chunks/{location-vqvhwm3j.js → wellknown-m6nb5czf.js} +29 -29
- package/dist/chunks/{location-v2fecc8h.js → wellknown-m6vyjheh.js} +32 -32
- package/dist/chunks/{location-m90tx7mw.js → wellknown-m90tx7mw.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-mb7mbhnz.js → wellknown-mb7mbhnz.js} +3 -3
- package/dist/chunks/{location-7nxfzr7c.js → wellknown-mja1swvv.js} +35 -35
- package/dist/chunks/{location-j7km1s7q.js → wellknown-mjwhre59.js} +7 -7
- package/dist/chunks/{location-pf45fqbf.js → wellknown-mnyhyg0k.js} +9 -9
- package/dist/chunks/{location-w14fxw5f.js → wellknown-mqf256nb.js} +11 -11
- package/dist/chunks/{location-rf8vhzcq.js → wellknown-mrnef867.js} +43 -43
- package/dist/chunks/{location-yzrp4n77.js → wellknown-mtmh24f8.js} +25 -25
- package/dist/chunks/{location-vvf9bm55.js → wellknown-mw2mp8dw.js} +23 -23
- package/dist/chunks/{location-2167rcp4.js → wellknown-my4fpfwk.js} +13 -13
- package/dist/chunks/{location-x5x79x1p.js → wellknown-n0z1eb53.js} +11 -11
- package/dist/chunks/{location-ngy14927.js → wellknown-n67wry4g.js} +7 -7
- package/dist/chunks/{location-63rpahs8.js → wellknown-nhwrj81q.js} +11 -11
- package/dist/chunks/{location-kj9n5bvh.js → wellknown-nr915jn7.js} +4 -4
- package/dist/chunks/{location-k2bv77w3.js → wellknown-nrz3a2k3.js} +12 -12
- package/dist/chunks/{location-8p86a9v0.js → wellknown-nx57nrss.js} +35 -35
- package/dist/chunks/{location-xzkmwchz.js → wellknown-p0cgagxb.js} +16 -16
- package/dist/chunks/{location-k3mzzpjn.js → wellknown-p33cc0wg.js} +23 -23
- package/dist/chunks/{location-9yqjp86x.js → wellknown-p3g3b7x5.js} +6 -6
- package/dist/chunks/{location-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{location-msvehm7b.js → wellknown-pqjsfgk2.js} +12 -12
- package/dist/chunks/{location-fp40n1c2.js → wellknown-pr0ynw92.js} +4 -4
- package/dist/chunks/{location-ppf36a3j.js → wellknown-prxmvqz6.js} +17 -17
- package/dist/chunks/{location-qre4deg6.js → wellknown-ptwmb640.js} +13 -13
- package/dist/chunks/{location-7tt4rns3.js → wellknown-pwr3tcaa.js} +10 -10
- package/dist/chunks/{location-fjwkbb1x.js → wellknown-pxbvf64t.js} +5 -5
- package/dist/chunks/{location-a0fjv017.js → wellknown-pyzh8wbn.js} +8 -8
- package/dist/chunks/{location-44n6rsh7.js → wellknown-q56zascw.js} +19 -19
- package/dist/chunks/{location-engwtr2s.js → wellknown-q5jvrzph.js} +11 -11
- package/dist/chunks/{location-m1badbm2.js → wellknown-q5t45acw.js} +80 -80
- package/dist/chunks/{location-nk38p6jx.js → wellknown-qbj8t3dc.js} +3 -3
- package/dist/chunks/{location-e88hp8d3.js → wellknown-qbknckpd.js} +4 -4
- package/dist/chunks/{location-2hq54qhc.js → wellknown-qctje6mm.js} +11 -11
- package/dist/chunks/{location-kgwjc899.js → wellknown-qjgpr7gk.js} +348 -348
- package/dist/chunks/{location-5ec385rp.js → wellknown-qmv579w2.js} +20 -20
- package/dist/chunks/{location-qp7r0hxv.js → wellknown-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-qnaghnfk.js → wellknown-qq8nxmq8.js} +5 -5
- package/dist/chunks/{location-h58va8dq.js → wellknown-qr0pq923.js} +4 -4
- package/dist/chunks/{location-75hg3qrd.js → wellknown-qs72j73j.js} +23 -23
- package/dist/chunks/{location-mt0kppvp.js → wellknown-qt3ze8rr.js} +5 -5
- package/dist/chunks/{location-v6r9jgs6.js → wellknown-qxqqmyjt.js} +23 -23
- package/dist/chunks/{location-npjdnad2.js → wellknown-r2wb5enr.js} +21 -21
- package/dist/chunks/{location-12a87htm.js → wellknown-r9k0m1fx.js} +8 -8
- package/dist/chunks/{location-1n5de25f.js → wellknown-ra8fnavv.js} +27 -27
- package/dist/chunks/{location-rb9dy4dg.js → wellknown-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-rgc9cx3e.js → wellknown-rgc9cx3e.js} +2 -2
- package/dist/chunks/{location-021fsafs.js → wellknown-rk91jcqn.js} +23 -23
- package/dist/chunks/{location-5vcdkfdf.js → wellknown-rkrs0bvn.js} +32 -32
- package/dist/chunks/{location-08ak2yr7.js → wellknown-rx1xeagf.js} +9 -9
- package/dist/chunks/{location-1xg3r4rp.js → wellknown-rzcftq1z.js} +51 -51
- package/dist/chunks/{location-5wrnmdn2.js → wellknown-s14vrjdz.js} +4 -4
- package/dist/chunks/{location-zq4c9dxv.js → wellknown-s2cspse1.js} +4 -4
- package/dist/chunks/{location-0w9dmjr8.js → wellknown-s3xmv40e.js} +5 -5
- package/dist/chunks/{location-2ytp0tvq.js → wellknown-s47rahr7.js} +4 -4
- package/dist/chunks/{location-c1sfsxsr.js → wellknown-s5zrq09q.js} +8 -8
- package/dist/chunks/{location-sbya78hr.js → wellknown-sbya78hr.js} +1 -1
- package/dist/chunks/{location-zdy9rm1r.js → wellknown-smg32ne4.js} +8 -8
- package/dist/chunks/{location-9zfcngb4.js → wellknown-stbett4v.js} +3 -3
- package/dist/chunks/{location-1c8dd0hz.js → wellknown-strcadht.js} +30 -38
- package/dist/chunks/{location-svcy3p9a.js → wellknown-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-1j1ekfhz.js → wellknown-t0yxsa4w.js} +8 -8
- package/dist/chunks/{location-79dx1dc6.js → wellknown-t48ka35x.js} +2 -2
- package/dist/chunks/{location-tbpn7jtk.js → wellknown-tbpn7jtk.js} +1 -1
- package/dist/chunks/{location-tczq8hjw.js → wellknown-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-k2d8whbt.js → wellknown-tdmbv00j.js} +14 -14
- package/dist/chunks/{location-hmr7ep0m.js → wellknown-tdzg3se5.js} +16 -16
- package/dist/chunks/{location-w40n8x0j.js → wellknown-thdadhbn.js} +6 -6
- package/dist/chunks/{location-jy2czfqv.js → wellknown-tmd1r8tg.js} +4 -4
- package/dist/chunks/{location-8kf0wfca.js → wellknown-tpvfz3qe.js} +28 -28
- package/dist/chunks/{location-0r7ap6rq.js → wellknown-tqvvgzsw.js} +3 -3
- package/dist/chunks/{location-j376ae4e.js → wellknown-tr8x705m.js} +5 -5
- package/dist/chunks/{location-mh0b6rbq.js → wellknown-tss705n6.js} +21 -21
- package/dist/chunks/{location-tvtps2q9.js → wellknown-tvtps2q9.js} +1 -1
- package/dist/chunks/{location-sxq67ep3.js → wellknown-tvwsaxa1.js} +8 -8
- package/dist/chunks/{location-twssxy5n.js → wellknown-twssxy5n.js} +2 -2
- package/dist/chunks/{location-ap59q5ss.js → wellknown-tyekj3r9.js} +30 -30
- package/dist/chunks/{location-v0t96s7a.js → wellknown-v0t96s7a.js} +1 -1
- package/dist/chunks/{location-pma5hsr6.js → wellknown-v2b374hr.js} +6 -6
- package/dist/chunks/{location-v2r1d0zg.js → wellknown-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-nv2c5e9q.js → wellknown-v37bc009.js} +3 -3
- package/dist/chunks/{location-n3eej7r5.js → wellknown-v6c3tqzh.js} +8 -8
- package/dist/chunks/{location-a6n7v7y1.js → wellknown-v7sr38g7.js} +7 -7
- package/dist/chunks/{location-wxedqf16.js → wellknown-v84ns8g0.js} +18 -18
- package/dist/chunks/{location-twd6600p.js → wellknown-ve6h378e.js} +13 -13
- package/dist/chunks/{location-xnzgrw5r.js → wellknown-vhd8852r.js} +12 -12
- package/dist/chunks/{location-vjf35v1f.js → wellknown-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-a1sevdk6.js → wellknown-vk1gq6xh.js} +8 -8
- package/dist/chunks/{location-bhfd478d.js → wellknown-vmxsyvj6.js} +4 -4
- package/dist/chunks/{location-zjv8505p.js → wellknown-vrhb1srk.js} +9 -9
- package/dist/chunks/{location-3s8skp45.js → wellknown-vwrwz5ex.js} +145 -145
- package/dist/chunks/{location-a7svfngn.js → wellknown-w0v8te3a.js} +9 -9
- package/dist/chunks/{location-h1kkz68v.js → wellknown-w1zsvdr8.js} +18 -18
- package/dist/chunks/{location-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-cawgzzmf.js → wellknown-w4t81q56.js} +1 -1
- package/dist/chunks/{location-wr3re1en.js → wellknown-w687dnns.js} +4 -4
- package/dist/chunks/{location-3nnfpzj3.js → wellknown-w91xtpfr.js} +14 -14
- package/dist/chunks/{location-wakvkjy4.js → wellknown-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{location-wegkxhrn.js → wellknown-wegkxhrn.js} +2 -2
- package/dist/chunks/{location-dd01c720.js → wellknown-wnsavktq.js} +8 -8
- package/dist/chunks/{location-83vckxy2.js → wellknown-wyrdxqa1.js} +9 -9
- package/dist/chunks/{location-kmekj7m2.js → wellknown-x4mcewfn.js} +2 -2
- package/dist/chunks/{location-e5djxydh.js → wellknown-x51rz0sc.js} +15 -15
- package/dist/chunks/{location-494zrbqa.js → wellknown-xd6fx7tp.js} +10 -10
- package/dist/chunks/{location-bstexjd6.js → wellknown-xd9cc171.js} +5 -5
- package/dist/chunks/{location-yzqhkq2n.js → wellknown-xgntqjvj.js} +72 -72
- package/dist/chunks/{location-ch6g8yyy.js → wellknown-xma42a2y.js} +8 -8
- package/dist/chunks/{location-03y9rycd.js → wellknown-xmp7pdtz.js} +26 -26
- package/dist/chunks/{location-h7m3rpv6.js → wellknown-xr62gm6v.js} +28 -28
- package/dist/chunks/{location-s0mcv615.js → wellknown-xstwqhrk.js} +8 -8
- package/dist/chunks/{location-n320gsn2.js → wellknown-xvn8mnch.js} +4 -4
- package/dist/chunks/{location-xxschbft.js → wellknown-xxschbft.js} +1 -1
- package/dist/chunks/{location-fmn2kqrj.js → wellknown-xyz1t0qk.js} +3 -3
- package/dist/chunks/{location-8912y0am.js → wellknown-y57h9apw.js} +4 -4
- package/dist/chunks/{location-k0yyr421.js → wellknown-yam2w8sh.js} +4 -4
- package/dist/chunks/{location-68ysa86r.js → wellknown-yarzfda3.js} +13 -13
- package/dist/chunks/{location-yb20nhc3.js → wellknown-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-1pdz1pcc.js → wellknown-ye3r8z34.js} +10 -10
- package/dist/chunks/{location-yr705xyq.js → wellknown-yr705xyq.js} +1 -1
- package/dist/chunks/{location-4x0dh2jb.js → wellknown-yte9g17j.js} +20 -20
- package/dist/chunks/{location-yvtc2x31.js → wellknown-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-8xz27cp9.js → wellknown-yybgvvmq.js} +4 -4
- package/dist/chunks/{location-5jjh806t.js → wellknown-yza0n96j.js} +13 -13
- package/dist/chunks/{location-fttd7asn.js → wellknown-z06gyfty.js} +32 -32
- package/dist/chunks/{location-z0wbgq7s.js → wellknown-z0wbgq7s.js} +1 -1
- package/dist/chunks/{location-p4xn5zar.js → wellknown-z7c6cvks.js} +2 -2
- package/dist/chunks/{location-m59x6rdx.js → wellknown-z94e4jy3.js} +18 -18
- package/dist/chunks/{location-ze75qvmd.js → wellknown-ze75qvmd.js} +3 -3
- package/dist/chunks/{location-hmrnkg9v.js → wellknown-zf0c34x3.js} +9 -9
- package/dist/chunks/{location-xpxawzse.js → wellknown-zg3dd62n.js} +2 -2
- package/dist/chunks/{location-zfgjw8jw.js → wellknown-zp4kahxc.js} +17 -17
- package/dist/chunks/{location-rf944vn1.js → wellknown-zpmbbmg4.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +8 -8
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- 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 +132 -132
- package/dist/config/plugin/command.js +245 -245
- 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 +144 -144
- 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 +156 -156
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +130 -130
- 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 +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +98 -98
- package/dist/effect/app-node-builder.js +450 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +158 -158
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +162 -162
- 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 +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 +132 -132
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +119 -119
- package/dist/git.js +7 -7
- 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 +94 -94
- package/dist/instructions/builtins.js +99 -99
- 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 +90 -90
- 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 +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 +149 -149
- package/dist/mcp/instructions.js +190 -190
- 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 +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 +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +146 -146
- 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 +3 -3
- 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 +132 -132
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- 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 +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +258 -258
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- 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 +260 -260
- 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 +268 -268
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +174 -174
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +152 -152
- 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 +2 -2
- 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 +172 -172
- 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 +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +167 -167
- 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 +251 -251
- package/dist/session/usage.js +1 -1
- package/dist/session.js +247 -247
- 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 +149 -149
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +157 -157
- 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 +185 -185
- 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 +163 -163
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +251 -251
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +158 -158
- 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 +167 -167
- package/dist/types/tool/plugin/edit.d.ts +1 -11
- 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 +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- 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 +113 -113
- package/package.json +8 -8
- package/dist/chunks/location-31140ebx.js +0 -273
- package/dist/chunks/location-ae2enjxf.js +0 -26
- package/dist/chunks/location-z7bdqmx5.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kah00gy.js → wellknown-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → wellknown-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4qk9sjk2.js → wellknown-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{location-5w3e23ze.js → wellknown-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-6agm2x70.js → wellknown-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → wellknown-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-7rvsyqjv.js → wellknown-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → wellknown-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → wellknown-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9ceax7yg.js → wellknown-9ceax7yg.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-ade8csyh.js → wellknown-ade8csyh.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-beh6qq61.js → wellknown-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cqv5kn06.js → wellknown-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-ean2d8b5.js → wellknown-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fkpq3x5p.js → wellknown-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → wellknown-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → wellknown-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jwr30sdr.js → wellknown-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → wellknown-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-nh4v3znn.js → wellknown-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-p71gwv9c.js → wellknown-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → wellknown-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-syrav9an.js → wellknown-syrav9an.js} +0 -0
- /package/dist/chunks/{location-t03h4f5z.js → wellknown-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-ty7weeps.js → wellknown-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-v2dnd5dt.js → wellknown-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → wellknown-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-vtarvj67.js → wellknown-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → wellknown-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x4th4bpe.js → wellknown-x4th4bpe.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → wellknown-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-zxpyjp51.js → wellknown-zxpyjp51.js} +0 -0
- /package/dist/chunks/{location-zz5vv3aq.js → wellknown-zz5vv3aq.js} +0 -0
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-kaa67y14.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-ayxe58k5.js";
|
|
7
7
|
import {
|
|
8
8
|
ID18,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-7qec28h5.js";
|
|
11
11
|
import {
|
|
12
12
|
success2,
|
|
13
13
|
error2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-yb20nhc3.js";
|
|
15
15
|
import {
|
|
16
16
|
submit2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-z0wbgq7s.js";
|
|
18
18
|
import {
|
|
19
19
|
mergeOverlay2,
|
|
20
20
|
mergeHeaders2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-m90tx7mw.js";
|
|
22
22
|
import {
|
|
23
23
|
ID17
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./wellknown-m3dnz9m4.js";
|
|
25
25
|
import {
|
|
26
26
|
get5
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-3nnrz6f6.js";
|
|
28
28
|
import {
|
|
29
29
|
configuredSettings2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-v7sr38g7.js";
|
|
31
31
|
import {
|
|
32
32
|
onSwitch2,
|
|
33
33
|
reloadIfChanged2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./wellknown-6m8vj9yr.js";
|
|
35
35
|
import {
|
|
36
36
|
activeCredential2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./wellknown-yam2w8sh.js";
|
|
38
38
|
|
|
39
39
|
// src/plugin/provider/openai.ts
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-5kcdngh6.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make31,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-amjjh717.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-mb7mbhnz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info9,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service33,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info9 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -59,12 +59,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
59
59
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service33 extends Context.Service()("@opencode/InstructionEntry") {
|
|
63
63
|
}
|
|
64
64
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
65
65
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
66
66
|
`);
|
|
67
|
-
var source = (entry) =>
|
|
67
|
+
var source = (entry) => make31({
|
|
68
68
|
key: Key3.make(`api/${entry.key}`),
|
|
69
69
|
codec: Schema.toCodecJson(Schema.Json),
|
|
70
70
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -78,7 +78,7 @@ var source = (entry) => make33({
|
|
|
78
78
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
|
-
var layer = Layer.effect(
|
|
81
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
82
82
|
const { db } = yield* Service94;
|
|
83
83
|
const list = Effect.fn("InstructionEntry.list")(function* (sessionID) {
|
|
84
84
|
return (yield* rows(db, sessionID, false)).map((row) => ({ key: row.key, value: row.value }));
|
|
@@ -104,8 +104,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
104
104
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
105
105
|
return combine2((yield* rows(db, sessionID, true)).map(source));
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service33.of({ list, put, remove, load });
|
|
108
108
|
}));
|
|
109
|
-
var
|
|
109
|
+
var node36 = makeGlobalNode({ service: Service33, layer, deps: [node96] });
|
|
110
110
|
|
|
111
|
-
export { Key2,
|
|
111
|
+
export { Key2, Info9, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service33, node36, exports_instruction_entry };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-80pdk984.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID9,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-g2rjajxv.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service65
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-qmv579w2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/tool/plugin/write.ts
|
|
9
9
|
var exports_write = {};
|
|
10
10
|
__export(exports_write, {
|
|
11
|
-
Input: () =>
|
|
12
|
-
Output: () =>
|
|
13
|
-
Plugin: () =>
|
|
11
|
+
Input: () => Input7,
|
|
12
|
+
Output: () => Output5,
|
|
13
|
+
Plugin: () => Plugin47,
|
|
14
14
|
WriteTool: () => exports_write,
|
|
15
|
-
name: () =>
|
|
15
|
+
name: () => name7
|
|
16
16
|
});
|
|
17
17
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
18
18
|
import { Effect, Schema } from "effect";
|
|
19
|
-
var
|
|
20
|
-
var
|
|
19
|
+
var name7 = "write";
|
|
20
|
+
var Input7 = Schema.Struct({
|
|
21
21
|
path: Schema.String.annotate({
|
|
22
22
|
description: "Path to the file to write to"
|
|
23
23
|
}),
|
|
24
24
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
25
25
|
});
|
|
26
|
-
var
|
|
27
|
-
var
|
|
26
|
+
var Output5 = Schema.String;
|
|
27
|
+
var Plugin47 = {
|
|
28
28
|
id: "opencode.tool.write",
|
|
29
29
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
30
30
|
const fileWrite = yield* Service65;
|
|
31
31
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
32
|
-
name:
|
|
32
|
+
name: name7,
|
|
33
33
|
options: { codemode: false, permission: "edit" },
|
|
34
34
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
35
35
|
|
|
36
36
|
Missing parent directories are created automatically.
|
|
37
37
|
|
|
38
38
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
39
|
-
input:
|
|
40
|
-
output:
|
|
39
|
+
input: Input7,
|
|
40
|
+
output: Output5,
|
|
41
41
|
execute: (input, context) => fileWrite.write(input, context).pipe(Effect.map((written) => ({
|
|
42
42
|
output: `${written.existed ? "Wrote" : "Created"} file successfully: ${written.resource}`
|
|
43
43
|
})), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
@@ -45,4 +45,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
45
45
|
})
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { name7, Input7, Output5, Plugin47, exports_write };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service6,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service6, node7, bound2, exports_instance2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
canonicalJson2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-ade8csyh.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/instructions/index.ts
|
|
9
9
|
var exports_instructions7 = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_instructions7, {
|
|
|
23
23
|
hash: () => hash2,
|
|
24
24
|
join: () => join2,
|
|
25
25
|
listUpdate: () => listUpdate2,
|
|
26
|
-
make: () =>
|
|
26
|
+
make: () => make31,
|
|
27
27
|
read: () => read5,
|
|
28
28
|
removed: () => removed2,
|
|
29
29
|
renderInitial: () => renderInitial2,
|
|
@@ -55,7 +55,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
var empty3 = [];
|
|
58
|
-
function
|
|
58
|
+
function make31(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 { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
212
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make31, combine2, read5, diff2, renderInitial2, join2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, listUpdate2, exports_instructions7 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SEARCH_TIMEOUT_MS2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-1cyffnvs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/search.ts
|
|
12
12
|
var exports_search = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-5kcdngh6.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-s47rahr7.js";
|
|
8
8
|
import {
|
|
9
9
|
Service93,
|
|
10
10
|
node95
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-s2cspse1.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-mb7mbhnz.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./wellknown-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./wellknown-g7qdwrsk.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./wellknown-pwr3tcaa.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service46,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -59,13 +59,13 @@ __export(exports_inbox, {
|
|
|
59
59
|
UserPayload: () => UserPayload2,
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
|
-
layer: () =>
|
|
63
|
-
list: () =>
|
|
62
|
+
layer: () => layer22,
|
|
63
|
+
list: () => list4,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make29,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node47,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -184,9 +184,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service46 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
189
|
+
var make29 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
190
|
const database = yield* Service94;
|
|
191
191
|
const db = database.db;
|
|
192
192
|
const bus = yield* Service93;
|
|
@@ -226,7 +226,7 @@ var make30 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
226
226
|
}
|
|
227
227
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
228
228
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
229
|
-
const pending = (yield*
|
|
229
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
230
230
|
if (pending)
|
|
231
231
|
return pending;
|
|
232
232
|
return yield* admit({
|
|
@@ -251,7 +251,7 @@ var make30 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
251
251
|
delivery: "queue"
|
|
252
252
|
})));
|
|
253
253
|
return {
|
|
254
|
-
list: (sessionID) =>
|
|
254
|
+
list: (sessionID) => list4(db, sessionID),
|
|
255
255
|
reconcile,
|
|
256
256
|
admit,
|
|
257
257
|
admitCompaction,
|
|
@@ -260,8 +260,8 @@ var make30 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer22 = Layer.effect(Service46, make29());
|
|
264
|
+
var node47 = makeGlobalNode({ service: Service46, layer: layer22, deps: [node96, node95] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -310,7 +310,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
310
310
|
to: input.delivery
|
|
311
311
|
}));
|
|
312
312
|
var listRows = (db, sessionID) => db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
313
|
-
var
|
|
313
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
314
314
|
return (yield* hydrateInbox2(db, yield* listRows(db, sessionID))).map(fromRow);
|
|
315
315
|
});
|
|
316
316
|
var listWithRefs2 = Effect.fn("SessionInbox.listWithRefs")(function* (db, sessionID) {
|
|
@@ -388,4 +388,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
388
388
|
return rows;
|
|
389
389
|
}));
|
|
390
390
|
|
|
391
|
-
export { Compaction2, CompactionPayload2, Delivery2, Info12, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2,
|
|
391
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info12, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service46, make29, layer22, node47, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-5kcdngh6.js";
|
|
5
5
|
import {
|
|
6
6
|
Service93,
|
|
7
7
|
node95
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-s2cspse1.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
24
|
External: () => External2,
|
|
25
25
|
ID: () => ID20,
|
|
26
|
-
Info: () =>
|
|
26
|
+
Info: () => Info28,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service83,
|
|
30
30
|
Value: () => Value2,
|
|
31
31
|
expiring: () => expiring2,
|
|
32
|
-
node: () =>
|
|
32
|
+
node: () => node85
|
|
33
33
|
});
|
|
34
34
|
import { asc, desc, eq } from "drizzle-orm";
|
|
35
35
|
import { Cause, Clock, Context, Duration, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -43,10 +43,10 @@ var OAuth3 = Credential.OAuth;
|
|
|
43
43
|
var Key4 = Credential.Key;
|
|
44
44
|
var External2 = Credential.External;
|
|
45
45
|
var Value2 = Credential.Value;
|
|
46
|
-
var
|
|
46
|
+
var Event18 = Credential.Event;
|
|
47
47
|
var expiring2 = (value, now, margin = Duration.minutes(5)) => value.expires !== 0 && value.expires <= now + Duration.toMillis(margin);
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
50
50
|
id: ID20,
|
|
51
51
|
integrationID: Integration.ID,
|
|
52
52
|
label: Schema.String,
|
|
@@ -54,9 +54,9 @@ class Info29 extends Schema.Class("Credential.Info")({
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service83 extends Context.Service()("@opencode/Credential") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
60
60
|
const db = (yield* Service94).db;
|
|
61
61
|
const bus = yield* Service93;
|
|
62
62
|
const flock = yield* EffectFlock.Service;
|
|
@@ -66,7 +66,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
66
66
|
const stored = (row) => {
|
|
67
67
|
if (!row.integration_id)
|
|
68
68
|
return;
|
|
69
|
-
return new
|
|
69
|
+
return new Info28({
|
|
70
70
|
id: row.id,
|
|
71
71
|
integrationID: row.integration_id,
|
|
72
72
|
label: row.label,
|
|
@@ -93,7 +93,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
93
93
|
pending.set(id, fiber);
|
|
94
94
|
return yield* restore(Fiber.join(fiber));
|
|
95
95
|
}));
|
|
96
|
-
const service =
|
|
96
|
+
const service = Service83.of({
|
|
97
97
|
refresh: Effect.fn("Credential.refresh")((id, input) => lock(id, Effect.gen(function* () {
|
|
98
98
|
const current = yield* service.get(id);
|
|
99
99
|
if (current?.value.type !== "oauth")
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
123
123
|
return row ? stored(row) : undefined;
|
|
124
124
|
}),
|
|
125
125
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
126
|
-
const credential = new
|
|
126
|
+
const credential = new Info28({
|
|
127
127
|
id: input.id ?? ID20.create(),
|
|
128
128
|
integrationID: input.integrationID,
|
|
129
129
|
label: input.label ?? "default",
|
|
@@ -154,9 +154,9 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
154
154
|
type: credential.value.type,
|
|
155
155
|
active: activated
|
|
156
156
|
});
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event18.Updated, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
158
158
|
if (activated)
|
|
159
|
-
yield* bus.publish(
|
|
159
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
160
160
|
return credential;
|
|
161
161
|
}),
|
|
162
162
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
172
172
|
})).pipe(logFailure("credential activate failed", { credentialID: id }));
|
|
173
173
|
if (integrationID) {
|
|
174
174
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
175
|
-
yield* bus.publish(
|
|
175
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
176
176
|
}
|
|
177
177
|
}),
|
|
178
178
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -197,7 +197,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
197
197
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
198
198
|
});
|
|
199
199
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event18.Updated, { integrationID: credential.integrationID, credentialID: id }, { global: true });
|
|
201
201
|
}),
|
|
202
202
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
203
203
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -226,13 +226,13 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
226
226
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
227
227
|
});
|
|
228
228
|
if (removed.integrationID)
|
|
229
|
-
yield* bus.publish(
|
|
229
|
+
yield* bus.publish(Event18.Updated, { integrationID: removed.integrationID, credentialID: id }, { global: true });
|
|
230
230
|
if (removed.switched)
|
|
231
|
-
yield* bus.publish(
|
|
231
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
232
232
|
})
|
|
233
233
|
});
|
|
234
234
|
return service;
|
|
235
235
|
}));
|
|
236
|
-
var
|
|
236
|
+
var node85 = makeGlobalNode({ service: Service83, layer, deps: [node96, node95, EffectFlock.node] });
|
|
237
237
|
|
|
238
|
-
export { ID20, OAuth3, Key4, External2, Value2,
|
|
238
|
+
export { ID20, OAuth3, Key4, External2, Value2, Event18, expiring2, Info28, Service83, node85, exports_credential };
|