@opencode/core 0.0.0-dev-932 → 0.0.0-dev-938
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 +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +240 -240
- package/dist/bus.js +84 -84
- package/dist/chunks/{location-services-034tev2y.js → event-logger-034tev2y.js} +2 -2
- package/dist/chunks/{location-services-aevg9dbh.js → event-logger-06e5wpt3.js} +14 -14
- package/dist/chunks/{location-services-6dpjhrgg.js → event-logger-0gkcvgxh.js} +21 -21
- package/dist/chunks/{location-services-0j7gp832.js → event-logger-0j7gp832.js} +1 -1
- package/dist/chunks/{location-services-0ma9gw4f.js → event-logger-0ma9gw4f.js} +2 -2
- package/dist/chunks/{location-services-crb9mr53.js → event-logger-0mgshvy1.js} +15 -15
- package/dist/chunks/{location-services-3mwbyh8w.js → event-logger-11tyqk1n.js} +20 -20
- package/dist/chunks/{location-services-1aqsckx4.js → event-logger-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-services-1616fpg6.js → event-logger-1b0887sh.js} +17 -17
- package/dist/chunks/{location-services-1ep2p91f.js → event-logger-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-services-26wfx3k0.js → event-logger-1q07fp1w.js} +4 -4
- package/dist/chunks/{location-services-vv9qzcre.js → event-logger-1sj82jfa.js} +10 -10
- package/dist/chunks/{location-services-5wn3t7xk.js → event-logger-1tv5dt4b.js} +2 -2
- package/dist/chunks/{location-services-w6k8psgx.js → event-logger-1w1dqrye.js} +1 -1
- package/dist/chunks/{location-services-get77tan.js → event-logger-1w3dvyey.js} +9 -9
- package/dist/chunks/{location-services-1x2knyw4.js → event-logger-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-services-1yq9hg58.js → event-logger-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-services-bt5n8jk5.js → event-logger-1yqe47zh.js} +2 -2
- package/dist/chunks/{location-services-q2ch8zdc.js → event-logger-20aybghh.js} +18 -18
- package/dist/chunks/{location-services-4n23eqd9.js → event-logger-20m36bsd.js} +10 -10
- package/dist/chunks/{location-services-rj7j5fvs.js → event-logger-229tvxdn.js} +4 -4
- package/dist/chunks/{location-services-zvap4egn.js → event-logger-229wyhde.js} +6 -6
- package/dist/chunks/{location-services-21rj3a9a.js → event-logger-2apq00j9.js} +26 -26
- package/dist/chunks/{location-services-2fc7eemy.js → event-logger-2fc7eemy.js} +1 -1
- package/dist/chunks/{location-services-2p60zmnr.js → event-logger-2p60zmnr.js} +2 -2
- package/dist/chunks/{location-services-yw6f4d0s.js → event-logger-2pxaeb57.js} +28 -28
- package/dist/chunks/{location-services-fy8nv03n.js → event-logger-2pzv3gkn.js} +16 -16
- package/dist/chunks/{location-services-jm4kpx5k.js → event-logger-36kcpes1.js} +6 -6
- package/dist/chunks/{location-services-0php2d2a.js → event-logger-39sgvy3e.js} +4 -4
- package/dist/chunks/{location-services-859w1rtj.js → event-logger-3adw4bt5.js} +9 -9
- package/dist/chunks/{location-services-q1sb3k5v.js → event-logger-3arck776.js} +24 -24
- package/dist/chunks/{location-services-8v7c76s7.js → event-logger-3dy0tq9s.js} +20 -20
- package/dist/chunks/{location-services-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-tmc7xdjs.js → event-logger-3nnrz6f6.js} +4 -4
- package/dist/chunks/{location-services-rwgjpast.js → event-logger-3p7nkmtq.js} +11 -11
- package/dist/chunks/{location-services-wss1eb66.js → event-logger-3qezzf7v.js} +2 -2
- package/dist/chunks/{location-services-r17fbvme.js → event-logger-3qgwywyc.js} +4 -4
- package/dist/chunks/{location-services-da62fhsq.js → event-logger-3ryar90n.js} +17 -17
- package/dist/chunks/{location-services-vz50sc1a.js → event-logger-3swchs22.js} +13 -13
- package/dist/chunks/{location-services-8n7p6g7c.js → event-logger-3wcbp1my.js} +33 -33
- package/dist/chunks/{location-services-m3nrp8fm.js → event-logger-3x43hk0n.js} +20 -20
- package/dist/chunks/{location-services-14f9ryy7.js → event-logger-3z5xm0hn.js} +7 -7
- package/dist/chunks/{location-services-d3f7fth4.js → event-logger-3zy63c37.js} +30 -30
- package/dist/chunks/{location-services-40y6dtc2.js → event-logger-40y6dtc2.js} +1 -1
- package/dist/chunks/{location-services-44pmzq9c.js → event-logger-44pmzq9c.js} +2 -2
- package/dist/chunks/{location-services-yjwsyv9v.js → event-logger-48y53c5w.js} +1 -1
- package/dist/chunks/{location-services-4dx1dgte.js → event-logger-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-services-4f25tdd0.js → event-logger-4f25tdd0.js} +1 -1
- package/dist/chunks/{location-services-4pyp9zr9.js → event-logger-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-services-qtseg9sg.js → event-logger-4shdcbk6.js} +26 -26
- package/dist/chunks/{location-services-4v008n1t.js → event-logger-4v008n1t.js} +1 -1
- package/dist/chunks/{location-services-ak914rtg.js → event-logger-4v43qht3.js} +11 -11
- package/dist/chunks/{location-services-d2e0j0zj.js → event-logger-4xqtejwa.js} +19 -19
- package/dist/chunks/{location-services-q6jsgfzz.js → event-logger-52yad3da.js} +13 -13
- package/dist/chunks/{location-services-skmswm5g.js → event-logger-57hhn26f.js} +18 -18
- package/dist/chunks/{location-services-5m9w47nd.js → event-logger-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-vf9xtskt.js → event-logger-5syrr9wz.js} +30 -30
- package/dist/chunks/{location-services-g9ndtp1p.js → event-logger-5w1mdqt7.js} +4 -4
- package/dist/chunks/{location-services-8ftgkh75.js → event-logger-5zpqhmp2.js} +6 -6
- package/dist/chunks/{location-services-5my1wk5q.js → event-logger-61769wn9.js} +27 -27
- package/dist/chunks/{location-services-n12y6d39.js → event-logger-61yaf2yk.js} +12 -12
- package/dist/chunks/{location-services-qw2zfda3.js → event-logger-6343d31e.js} +34 -34
- package/dist/chunks/{location-services-ds0t8ek9.js → event-logger-63mjyjhp.js} +3 -3
- package/dist/chunks/{location-services-tma5tkqa.js → event-logger-650ycsqk.js} +5 -5
- package/dist/chunks/{location-services-jttn5p00.js → event-logger-67d2v199.js} +40 -40
- package/dist/chunks/{location-services-syrr4cnk.js → event-logger-6cpcrnfq.js} +25 -25
- package/dist/chunks/{location-services-03jtn3px.js → event-logger-6mgse1jw.js} +6 -6
- package/dist/chunks/{location-services-x1w545vb.js → event-logger-6n0v8xf1.js} +4 -4
- package/dist/chunks/{location-services-yjw8xrdm.js → event-logger-6n6hcsy0.js} +16 -16
- package/dist/chunks/{location-services-kdx3qx4y.js → event-logger-6npyckd9.js} +11 -11
- package/dist/chunks/{location-services-yszjc0nx.js → event-logger-6qfrkzs0.js} +6 -6
- package/dist/chunks/event-logger-6rf0rj0y.js +26 -0
- package/dist/chunks/{location-services-h6eznjre.js → event-logger-6v7ztwmg.js} +145 -145
- package/dist/chunks/{location-services-maetc2zy.js → event-logger-6wb452p7.js} +24 -24
- package/dist/chunks/{location-services-vgqehety.js → event-logger-72ajf4c4.js} +29 -29
- package/dist/chunks/{location-services-775hqbnd.js → event-logger-775hqbnd.js} +3 -3
- package/dist/chunks/{location-services-j8j6p06v.js → event-logger-78g3jr8v.js} +13 -13
- package/dist/chunks/{location-services-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-w2qhn4c4.js → event-logger-7dcmy69b.js} +8 -8
- package/dist/chunks/{location-services-qkc3z5ds.js → event-logger-7h09t6vy.js} +4 -4
- package/dist/chunks/{location-services-7nqkf5r1.js → event-logger-7nqkf5r1.js} +2 -2
- package/dist/chunks/{location-services-b91h5xkx.js → event-logger-7prvbjna.js} +19 -19
- package/dist/chunks/{location-services-bkbjewn3.js → event-logger-7pznvy4k.js} +17 -17
- package/dist/chunks/{location-services-7w2ypzdf.js → event-logger-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-services-7weczvnd.js → event-logger-7weczvnd.js} +1 -1
- package/dist/chunks/event-logger-7yv5xa0k.js +18 -0
- package/dist/chunks/{location-services-80pdk984.js → event-logger-80pdk984.js} +1 -1
- package/dist/chunks/{location-services-zw2parfn.js → event-logger-8536rzwg.js} +28 -28
- package/dist/chunks/{location-services-89287pr7.js → event-logger-89287pr7.js} +1 -1
- package/dist/chunks/{location-services-8b3vzgkx.js → event-logger-8b3vzgkx.js} +1 -1
- package/dist/chunks/{location-services-ty1de05y.js → event-logger-8c4drp5v.js} +5 -5
- package/dist/chunks/{location-services-4d2dtj2f.js → event-logger-8cg7mtm3.js} +4 -4
- package/dist/chunks/{location-services-05x1wb0n.js → event-logger-8ecm5a6b.js} +18 -18
- package/dist/chunks/{location-services-zkxdh370.js → event-logger-8edbxmq3.js} +3 -3
- package/dist/chunks/{location-services-8sxe6kv8.js → event-logger-8sxe6kv8.js} +2 -2
- package/dist/chunks/{location-services-8wtp7s3z.js → event-logger-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-services-8zv0xmg5.js → event-logger-8zv0xmg5.js} +1 -1
- package/dist/chunks/{location-services-963hk181.js → event-logger-963hk181.js} +2 -2
- package/dist/chunks/{location-services-s695hexq.js → event-logger-99h46q59.js} +15 -15
- package/dist/chunks/{location-services-5avzpymh.js → event-logger-9h1sj05t.js} +10 -10
- package/dist/chunks/{location-services-fd9y5092.js → event-logger-9rkkxfrj.js} +19 -19
- package/dist/chunks/{location-services-bs80dnhg.js → event-logger-9rwmbc3c.js} +3 -3
- package/dist/chunks/{location-services-ywzxjrmt.js → event-logger-9vg6bd5y.js} +13 -13
- package/dist/chunks/{location-services-eyynt1vh.js → event-logger-a0egk80m.js} +41 -41
- package/dist/chunks/{location-services-7yxesyys.js → event-logger-ac253pja.js} +16 -16
- package/dist/chunks/{location-services-f7acan8v.js → event-logger-age3yj5w.js} +18 -18
- package/dist/chunks/{location-services-4esc05fd.js → event-logger-ahdzbes0.js} +24 -24
- package/dist/chunks/{location-services-cvx41m7z.js → event-logger-asqcw4t1.js} +12 -12
- package/dist/chunks/{location-services-ayjs7tqn.js → event-logger-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-services-b26ddj6h.js → event-logger-b26ddj6h.js} +4 -4
- package/dist/chunks/{location-services-e5dpqtbg.js → event-logger-b3nfkprg.js} +75 -75
- package/dist/chunks/{location-services-82phky2w.js → event-logger-b4a5v7rh.js} +10 -10
- package/dist/chunks/{location-services-ys900tws.js → event-logger-b7nkz392.js} +1 -1
- package/dist/chunks/{location-services-tqbbmcnz.js → event-logger-bgmzqncv.js} +8 -8
- package/dist/chunks/{location-services-bhfd478d.js → event-logger-bhfd478d.js} +1 -1
- package/dist/chunks/{location-services-bt36km6k.js → event-logger-bkfgg0hh.js} +7 -7
- package/dist/chunks/{location-services-bstexjd6.js → event-logger-bstexjd6.js} +1 -1
- package/dist/chunks/{location-services-4d6yzd5c.js → event-logger-btprxxxp.js} +2 -2
- package/dist/chunks/{location-services-rmd0m2px.js → event-logger-bwky5x09.js} +14 -14
- package/dist/chunks/{location-services-zpdbqgja.js → event-logger-by8ty0bx.js} +4 -4
- package/dist/chunks/{location-services-7ffybbfj.js → event-logger-c6x7d2ts.js} +5 -5
- package/dist/chunks/{location-services-c7cw818c.js → event-logger-c7cw818c.js} +2 -2
- package/dist/chunks/event-logger-c7gk57p6.js +16 -0
- package/dist/chunks/{location-services-rc8qyt8n.js → event-logger-cbc4gcqy.js} +9 -9
- package/dist/chunks/{location-services-c9h2bdhp.js → event-logger-cf3h7myc.js} +10 -10
- package/dist/chunks/{location-services-gwyytpcj.js → event-logger-ckn0kvtp.js} +6 -6
- package/dist/chunks/{location-services-gmx77sv1.js → event-logger-cqq1d6eh.js} +12 -12
- package/dist/chunks/event-logger-csz83nec.js +571 -0
- package/dist/chunks/{location-services-7tdxzyyf.js → event-logger-csze8hsc.js} +7 -7
- package/dist/chunks/{location-services-perbtc84.js → event-logger-cw4ns4z4.js} +25 -25
- package/dist/chunks/{location-services-cwrgdav8.js → event-logger-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-services-4943c7ee.js → event-logger-d0ndgqhr.js} +3 -3
- package/dist/chunks/{location-services-4r57zead.js → event-logger-d2fbz1j4.js} +7 -7
- package/dist/chunks/{location-services-d4v9tmah.js → event-logger-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-services-zhc4er4e.js → event-logger-d6vh834b.js} +33 -33
- package/dist/chunks/{location-services-2ptfb2xb.js → event-logger-dc8kct9h.js} +6 -6
- package/dist/chunks/{location-services-xvwhr23v.js → event-logger-ddakhb5y.js} +7 -7
- package/dist/chunks/{location-services-dt77769w.js → event-logger-dt77769w.js} +1 -1
- package/dist/chunks/{location-services-whxfgz84.js → event-logger-e303g8yn.js} +43 -43
- package/dist/chunks/{location-services-fh2xetxm.js → event-logger-e33nm964.js} +10 -10
- package/dist/chunks/{location-services-g7ytqmzv.js → event-logger-e5nttc89.js} +4 -4
- package/dist/chunks/{location-services-3eg4b8kf.js → event-logger-e6ttm7ax.js} +10 -10
- package/dist/chunks/{location-services-ea6gy4sr.js → event-logger-ea6gy4sr.js} +1 -1
- package/dist/chunks/{location-services-eqw4pqj1.js → event-logger-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-services-etrnj9s7.js → event-logger-etrnj9s7.js} +3 -3
- package/dist/chunks/{location-services-0rj23bn5.js → event-logger-f06150ph.js} +11 -11
- package/dist/chunks/{location-services-076bn8p3.js → event-logger-f13sxjkw.js} +16 -16
- package/dist/chunks/{location-services-nhrkars0.js → event-logger-f18g1eh8.js} +23 -23
- package/dist/chunks/{location-services-a4bajsrg.js → event-logger-f4yhr4k0.js} +8 -8
- package/dist/chunks/{location-services-yx6hn7mj.js → event-logger-f68rh4b9.js} +9 -9
- package/dist/chunks/{location-services-t5nq9mt3.js → event-logger-f7tnkk10.js} +44 -44
- package/dist/chunks/{location-services-p567rred.js → event-logger-faz76q97.js} +26 -26
- package/dist/chunks/{location-services-kse531ts.js → event-logger-fc0etdbw.js} +6 -6
- package/dist/chunks/{location-services-fffv3p7h.js → event-logger-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-services-9rqhy0gk.js → event-logger-ffvvmdd5.js} +3 -3
- package/dist/chunks/{location-services-fg9p65nk.js → event-logger-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-services-amwq3gja.js → event-logger-fkz9f1jq.js} +12 -12
- package/dist/chunks/{location-services-a9ey74ef.js → event-logger-fm4nnwwg.js} +14 -14
- package/dist/chunks/{location-services-by9k6m7d.js → event-logger-fy12n370.js} +15 -15
- package/dist/chunks/{location-services-16n0mh9h.js → event-logger-fztg4f7z.js} +11 -11
- package/dist/chunks/{location-services-wq9e5xpm.js → event-logger-g294rq47.js} +28 -28
- package/dist/chunks/{location-services-gbjdnr5j.js → event-logger-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-services-w3yeexex.js → event-logger-gcqz9ydq.js} +16 -16
- package/dist/chunks/{location-services-c65wk5h3.js → event-logger-gfvpyf68.js} +26 -26
- package/dist/chunks/{location-services-a5t2vkve.js → event-logger-ghaa3yhq.js} +30 -30
- package/dist/chunks/{location-services-ghrv1g9c.js → event-logger-ghrv1g9c.js} +1 -1
- package/dist/chunks/{location-services-mw7ynca8.js → event-logger-ghs98mk1.js} +18 -18
- package/dist/chunks/{location-services-8yp7p8a5.js → event-logger-gt6j8yqx.js} +9 -9
- package/dist/chunks/{location-services-068ht3cm.js → event-logger-gy2fa6w5.js} +10 -10
- package/dist/chunks/{location-services-9xjtc09c.js → event-logger-h6evz5q3.js} +13 -13
- package/dist/chunks/{location-services-hjpt2390.js → event-logger-h72sdwy7.js} +22 -22
- package/dist/chunks/{location-services-jq79h74x.js → event-logger-h8ncsx7y.js} +1 -1
- package/dist/chunks/{location-services-1pw3h209.js → event-logger-ha1v2dhf.js} +18 -18
- package/dist/chunks/{location-services-yydfrqcz.js → event-logger-hd5xng6a.js} +11 -11
- package/dist/chunks/{location-services-cyfyjvsj.js → event-logger-heea4y9k.js} +4 -4
- package/dist/chunks/{location-services-hgzwgvze.js → event-logger-hgzwgvze.js} +2 -2
- package/dist/chunks/{location-services-fzj9f7b7.js → event-logger-j03z4ajj.js} +11 -11
- package/dist/chunks/{location-services-xt401nd6.js → event-logger-j0b6rjjd.js} +4 -4
- package/dist/chunks/{location-services-034amxa6.js → event-logger-j2mf5wyd.js} +12 -12
- package/dist/chunks/{location-services-q9aerynr.js → event-logger-j51w11zm.js} +8 -8
- package/dist/chunks/{location-services-18b1hh0p.js → event-logger-j6ja87ya.js} +11 -11
- package/dist/chunks/{location-services-v0g0hnh7.js → event-logger-j6vesw1n.js} +11 -11
- package/dist/chunks/{location-services-r8s6c21z.js → event-logger-j79a9685.js} +17 -17
- package/dist/chunks/{location-services-38aws4xb.js → event-logger-j952e94w.js} +4 -4
- package/dist/chunks/{location-services-j9nxzz3g.js → event-logger-j9nxzz3g.js} +3 -3
- package/dist/chunks/{location-services-dnr442gb.js → event-logger-jjysqy5e.js} +8 -8
- package/dist/chunks/{location-services-ecj07vsr.js → event-logger-jkyac8e3.js} +5 -5
- package/dist/chunks/{location-services-jm70asfg.js → event-logger-jm70asfg.js} +1 -1
- package/dist/chunks/{location-services-ckkjvf7a.js → event-logger-jqtaak5c.js} +25 -25
- package/dist/chunks/{location-services-ah50wnbc.js → event-logger-jsmw90dq.js} +43 -43
- package/dist/chunks/{location-services-njgec4fk.js → event-logger-jt92w8ws.js} +11 -11
- package/dist/chunks/{location-services-jv5ccajn.js → event-logger-jv5ccajn.js} +2 -2
- package/dist/chunks/{location-services-k1dc26g2.js → event-logger-k01bwn18.js} +12 -12
- package/dist/chunks/{location-services-5r4de6xv.js → event-logger-k0a7wf5g.js} +33 -33
- package/dist/chunks/{location-services-xzhb8n86.js → event-logger-k21t63gh.js} +12 -12
- package/dist/chunks/{location-services-g6j0byh0.js → event-logger-k6126zf5.js} +20 -20
- package/dist/chunks/{location-services-yf8nd4x1.js → event-logger-kcwjf0dg.js} +29 -29
- package/dist/chunks/{location-services-avysq43j.js → event-logger-kjv1xrfj.js} +11 -11
- package/dist/chunks/{location-services-pdkhck37.js → event-logger-kkdbae0p.js} +14 -14
- package/dist/chunks/{location-services-kt3bjfbg.js → event-logger-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-services-x9jjjab0.js → event-logger-ktc7q93m.js} +23 -23
- package/dist/chunks/{location-services-kzczzf4v.js → event-logger-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-services-jtqc45ta.js → event-logger-kzx1ja9a.js} +3 -3
- package/dist/chunks/{location-services-m1714858.js → event-logger-m1714858.js} +1 -1
- package/dist/chunks/{location-services-gwk3p7a1.js → event-logger-m2jm5khf.js} +33 -33
- package/dist/chunks/{location-services-k6geg3g4.js → event-logger-m3r8j2c4.js} +7 -7
- package/dist/chunks/{location-services-dvnqv6yn.js → event-logger-m528r48h.js} +4 -4
- package/dist/chunks/{location-services-808n7bgv.js → event-logger-m8mn52z7.js} +25 -25
- package/dist/chunks/{location-services-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-mb7mbhnz.js → event-logger-mb7mbhnz.js} +3 -3
- package/dist/chunks/{location-services-cyr33nte.js → event-logger-mc08rq96.js} +5 -5
- package/dist/chunks/{location-services-g5ys2ny0.js → event-logger-mk0qwrg9.js} +5 -5
- package/dist/chunks/{location-services-cx5260hs.js → event-logger-mmwskgm5.js} +11 -11
- package/dist/chunks/{location-services-1v2g13eq.js → event-logger-msd2a3qm.js} +4 -4
- package/dist/chunks/{location-services-pja8mbn7.js → event-logger-myw4nch9.js} +10 -10
- package/dist/chunks/{location-services-vgc2ek0g.js → event-logger-n0qz9s2a.js} +20 -20
- package/dist/chunks/{location-services-e57p6bf8.js → event-logger-n1q3ty3q.js} +26 -26
- package/dist/chunks/{location-services-n320gsn2.js → event-logger-n320gsn2.js} +1 -1
- package/dist/chunks/{location-services-vt65avf7.js → event-logger-nc2fwgwr.js} +7 -7
- package/dist/chunks/{location-services-k5y16x7n.js → event-logger-njeeda6f.js} +3 -3
- package/dist/chunks/{location-services-kj9n5bvh.js → event-logger-nr915jn7.js} +4 -4
- package/dist/chunks/{location-services-zn9ejsze.js → event-logger-ntnfes7r.js} +6 -6
- package/dist/chunks/{location-services-jegdcphq.js → event-logger-nwxctsnm.js} +29 -29
- package/dist/chunks/{location-services-t48nap8a.js → event-logger-p91qpc9r.js} +10 -10
- package/dist/chunks/{location-services-nwtnzhyq.js → event-logger-pfaqhabc.js} +11 -11
- package/dist/chunks/{location-services-hafjz1sj.js → event-logger-pgz0w21z.js} +8 -8
- package/dist/chunks/{location-services-dtd1azc6.js → event-logger-pj3vtq0x.js} +14 -14
- package/dist/chunks/{location-services-va0yj1jw.js → event-logger-pjkm1qfh.js} +1 -1
- package/dist/chunks/{location-services-b1w7ct0q.js → event-logger-pkkerzhz.js} +9 -9
- package/dist/chunks/{location-services-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-m35zggzz.js → event-logger-pq4dqftq.js} +44 -44
- package/dist/chunks/{location-services-kvf5vq95.js → event-logger-pvcgrhvj.js} +8 -8
- package/dist/chunks/{location-services-72t05j5x.js → event-logger-pwshj9c5.js} +31 -31
- package/dist/chunks/{location-services-k64651g8.js → event-logger-px3m8x3q.js} +2 -2
- package/dist/chunks/{location-services-nbap750w.js → event-logger-pzanem0s.js} +33 -33
- package/dist/chunks/{location-services-3b80k74n.js → event-logger-pzba4hjf.js} +41 -41
- package/dist/chunks/{location-services-kt2bca40.js → event-logger-qdqb8npf.js} +47 -47
- package/dist/chunks/{location-services-db6dvb2a.js → event-logger-qe9654q9.js} +22 -22
- package/dist/chunks/{location-services-j05xgeqf.js → event-logger-qebgcwxn.js} +10 -10
- package/dist/chunks/{location-services-93xmyh8q.js → event-logger-qk5sk9d1.js} +4 -4
- package/dist/chunks/{location-services-w0eagv9e.js → event-logger-qkh4et1y.js} +15 -15
- package/dist/chunks/{location-services-qp7r0hxv.js → event-logger-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-services-c3rwemgn.js → event-logger-qpky6q15.js} +20 -20
- package/dist/chunks/{location-services-a9g7j60y.js → event-logger-qpxm97c6.js} +9 -9
- package/dist/chunks/{location-services-rznypb3b.js → event-logger-qr8sgyet.js} +7 -7
- package/dist/chunks/{location-services-ggyk85y6.js → event-logger-qs6d6bar.js} +36 -36
- package/dist/chunks/{location-services-qsdghx1p.js → event-logger-qsdghx1p.js} +1 -1
- package/dist/chunks/{location-services-y1havdw8.js → event-logger-qtf35215.js} +2 -2
- package/dist/chunks/{location-services-edv5p742.js → event-logger-qxvmzrt9.js} +11 -11
- package/dist/chunks/{location-services-66sx5m3p.js → event-logger-r3fkn1dr.js} +11 -11
- package/dist/chunks/{location-services-40za9wsf.js → event-logger-r41sfy63.js} +6 -6
- package/dist/chunks/{location-services-n3j33rb6.js → event-logger-r7zrbnjn.js} +4 -4
- package/dist/chunks/{location-services-rb9dy4dg.js → event-logger-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-services-4ffhv9d7.js → event-logger-rcanfscb.js} +8 -8
- package/dist/chunks/{location-services-rgc9cx3e.js → event-logger-rgc9cx3e.js} +2 -2
- package/dist/chunks/{location-services-94e33dpz.js → event-logger-rj7jtxy8.js} +3 -3
- package/dist/chunks/{location-services-kvmt29g0.js → event-logger-rmz63b3z.js} +19 -19
- package/dist/chunks/{location-services-hzvz0yv5.js → event-logger-rnntp8z3.js} +20 -20
- package/dist/chunks/{location-services-rt5dr6hb.js → event-logger-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-services-xksw6ev0.js → event-logger-rt5qjrvj.js} +4 -4
- package/dist/chunks/{location-services-fz29tkee.js → event-logger-rzghqa1p.js} +5 -5
- package/dist/chunks/{location-services-tva56gng.js → event-logger-s1z1wmhq.js} +22 -22
- package/dist/chunks/{location-services-v2tx47x3.js → event-logger-s46y4747.js} +74 -74
- package/dist/chunks/{location-services-a7hrjhsw.js → event-logger-s4vyxjhm.js} +4 -4
- package/dist/chunks/{location-services-m5brqekz.js → event-logger-sbfaben9.js} +9 -9
- package/dist/chunks/{location-services-sbya78hr.js → event-logger-sbya78hr.js} +1 -1
- package/dist/chunks/{location-services-y6w3x1sq.js → event-logger-sfkwpjrp.js} +31 -31
- package/dist/chunks/{location-services-dfrg1pgv.js → event-logger-sjaq754x.js} +8 -8
- package/dist/chunks/{location-services-84tpry0d.js → event-logger-smjmqzag.js} +22 -22
- package/dist/chunks/{location-services-vneey271.js → event-logger-st4rg3qc.js} +11 -11
- package/dist/chunks/{location-services-svcy3p9a.js → event-logger-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-services-c7yyf9r0.js → event-logger-sxqp3dct.js} +8 -8
- package/dist/chunks/{location-services-7et9czqd.js → event-logger-t2k1hvey.js} +14 -14
- package/dist/chunks/{location-services-8bcc8xgx.js → event-logger-t48jrnqq.js} +3 -3
- package/dist/chunks/{location-services-00p3ph88.js → event-logger-t4z7f8x2.js} +9 -9
- package/dist/chunks/{location-services-b3j5jf8z.js → event-logger-t8devhzt.js} +11 -11
- package/dist/chunks/{location-services-s7zxj15h.js → event-logger-tbjhz036.js} +14 -14
- package/dist/chunks/{location-services-tbpn7jtk.js → event-logger-tbpn7jtk.js} +1 -1
- package/dist/chunks/{location-services-71qtwrpw.js → event-logger-tcnk2bjh.js} +21 -21
- package/dist/chunks/{location-services-qtfkdt1d.js → event-logger-tcqb3tz5.js} +4 -4
- package/dist/chunks/{location-services-04g3g75g.js → event-logger-tcrgtz8s.js} +21 -21
- package/dist/chunks/{location-services-tczq8hjw.js → event-logger-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-services-gxs71cxp.js → event-logger-tg7s7b5t.js} +4 -4
- package/dist/chunks/{location-services-prrf0k71.js → event-logger-th3garks.js} +29 -29
- package/dist/chunks/{location-services-wt5qjg1e.js → event-logger-tqpgmft1.js} +22 -22
- package/dist/chunks/{location-services-qc21sf98.js → event-logger-tqzvzhn0.js} +19 -19
- package/dist/chunks/{location-services-tr8x705m.js → event-logger-tr8x705m.js} +1 -1
- package/dist/chunks/{location-services-r0wrga32.js → event-logger-ttwakq5a.js} +8 -8
- package/dist/chunks/{location-services-tvtps2q9.js → event-logger-tvtps2q9.js} +1 -1
- package/dist/chunks/{location-services-mrq9q7g0.js → event-logger-twrca1ds.js} +4 -4
- package/dist/chunks/{location-services-twssxy5n.js → event-logger-twssxy5n.js} +2 -2
- package/dist/chunks/{location-services-3pa6gzmp.js → event-logger-tx4v1ym8.js} +4 -4
- package/dist/chunks/{location-services-f2te6h88.js → event-logger-v2qhcvgz.js} +19 -19
- package/dist/chunks/{location-services-v2r1d0zg.js → event-logger-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-services-tg1vr1qt.js → event-logger-v5hpj9dd.js} +8 -8
- package/dist/chunks/{location-services-q02n8ctq.js → event-logger-v5y6vfc3.js} +23 -23
- package/dist/chunks/{location-services-r9rwszaa.js → event-logger-v8zbn083.js} +17 -17
- package/dist/chunks/{location-services-vjf35v1f.js → event-logger-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-services-x7de2wha.js → event-logger-vq0qa3sh.js} +9 -9
- package/dist/chunks/{location-services-6r5g7fbf.js → event-logger-vq5f83rz.js} +9 -9
- package/dist/chunks/{location-services-e377nend.js → event-logger-vrxy5bmx.js} +22 -22
- package/dist/chunks/{location-services-vwn7ghnk.js → event-logger-vvd8yx21.js} +8 -8
- package/dist/chunks/{location-services-89fb5nj9.js → event-logger-vxcyq3vf.js} +11 -11
- package/dist/chunks/{location-services-030ja76d.js → event-logger-w31wsxk2.js} +15 -15
- package/dist/chunks/{location-services-0qstkd96.js → event-logger-w3s593d9.js} +12 -12
- package/dist/chunks/{location-services-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-wr3re1en.js → event-logger-w687dnns.js} +4 -4
- package/dist/chunks/{location-services-w79nt68w.js → event-logger-w79nt68w.js} +1 -1
- package/dist/chunks/{location-services-wakvkjy4.js → event-logger-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-services-0vaaqfb8.js → event-logger-war37a3r.js} +18 -18
- package/dist/chunks/{location-services-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-wegkxhrn.js → event-logger-wegkxhrn.js} +2 -2
- package/dist/chunks/{location-services-hdpykzjb.js → event-logger-wher1yc7.js} +19 -19
- package/dist/chunks/{location-services-wvr8xscb.js → event-logger-wvr8xscb.js} +1 -1
- package/dist/chunks/{location-services-aknhbnkk.js → event-logger-wws0d7p7.js} +6 -6
- package/dist/chunks/{location-services-xjmw0bvy.js → event-logger-wyft5nqb.js} +7 -7
- package/dist/chunks/{location-services-5j9y8mkr.js → event-logger-wz7dc23v.js} +45 -45
- package/dist/chunks/{location-services-7h7tvtg0.js → event-logger-x150ncgg.js} +2 -2
- package/dist/chunks/{location-services-00eb18yd.js → event-logger-xc1r6x71.js} +13 -13
- package/dist/chunks/{location-services-t54kw4zq.js → event-logger-xjr6c8m4.js} +7 -7
- package/dist/chunks/{location-services-ka01146j.js → event-logger-xm1rq0mn.js} +6 -6
- package/dist/chunks/{location-services-5eepw9xc.js → event-logger-xnkvgm05.js} +59 -59
- package/dist/chunks/{location-services-tzsf1d52.js → event-logger-y28zmgqk.js} +24 -24
- package/dist/chunks/{location-services-yb20nhc3.js → event-logger-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-services-y45jeksc.js → event-logger-ydh03pyp.js} +19 -19
- package/dist/chunks/event-logger-ydx0xc7s.js +265 -0
- package/dist/chunks/{location-services-xbmehrqj.js → event-logger-yedhrgf0.js} +41 -41
- package/dist/chunks/{location-services-11yktptr.js → event-logger-yfwxmash.js} +23 -23
- package/dist/chunks/{location-services-yfx2dpdy.js → event-logger-yhgcrc11.js} +81 -81
- package/dist/chunks/{location-services-7rrs0ze8.js → event-logger-yk4ram99.js} +3 -3
- package/dist/chunks/{location-services-99yjcbf6.js → event-logger-ymmpfmqs.js} +46 -46
- package/dist/chunks/{location-services-jq6jv4kq.js → event-logger-ynj0kh3d.js} +3 -3
- package/dist/chunks/{location-services-hj0xet7m.js → event-logger-ynzdgah7.js} +5 -5
- package/dist/chunks/{location-services-whxz4j9j.js → event-logger-yp7acds4.js} +38 -38
- package/dist/chunks/{location-services-yr705xyq.js → event-logger-yr705xyq.js} +1 -1
- package/dist/chunks/{location-services-0ae70vvn.js → event-logger-ysn5pv4c.js} +12 -12
- package/dist/chunks/{location-services-yvtc2x31.js → event-logger-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-services-215njyj7.js → event-logger-yx5grx89.js} +12 -12
- package/dist/chunks/{location-services-s0d9zmve.js → event-logger-yx8jrtd9.js} +1 -1
- package/dist/chunks/{location-services-4rzb9pqa.js → event-logger-zax777fh.js} +7 -7
- package/dist/chunks/{location-services-7x31z3f7.js → event-logger-zevbv6wf.js} +8 -8
- package/dist/chunks/{location-services-vgh6br0h.js → event-logger-zw7nad53.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- 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 +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +130 -130
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +83 -83
- 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/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +109 -109
- 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 +83 -83
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +104 -104
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +89 -89
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +247 -247
- 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 +118 -118
- package/dist/flag.js +129 -129
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +9 -9
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +431 -431
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +94 -94
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +96 -96
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- 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 +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +146 -146
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- 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 +112 -112
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- 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 +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +85 -85
- 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 +419 -419
- 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 +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- 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 +5 -5
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +249 -249
- 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 +97 -97
- package/dist/provider.js +108 -108
- 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 +101 -101
- 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 +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +201 -201
- 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 +245 -245
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- 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 +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +167 -167
- package/dist/session/projector.js +144 -144
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- 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 +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +240 -240
- package/dist/session/usage.js +1 -1
- package/dist/session.js +237 -237
- package/dist/shared-cache.js +1 -1
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +106 -106
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +184 -184
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +168 -168
- 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 +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +238 -238
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +156 -156
- 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 +100 -100
- 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 +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- 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 +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +95 -95
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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-services-1h0x0ayx.js +0 -26
- package/dist/chunks/location-services-5zcyx99g.js +0 -16
- package/dist/chunks/location-services-m4dpkth4.js +0 -265
- package/dist/chunks/location-services-rtdwr4dr.js +0 -571
- package/dist/chunks/location-services-z355x5yr.js +0 -18
- /package/dist/chunks/{location-services-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-108x4f4w.js → event-logger-108x4f4w.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kah00gy.js → event-logger-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → event-logger-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3af0jn4w.js → event-logger-3af0jn4w.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4qk9sjk2.js → event-logger-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5w3e23ze.js → event-logger-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-services-6agm2x70.js → event-logger-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → event-logger-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → event-logger-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-beh6qq61.js → event-logger-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-services-bhmrqjy3.js → event-logger-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cqv5kn06.js → event-logger-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-ean2d8b5.js → event-logger-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fkpq3x5p.js → event-logger-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → event-logger-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jwr30sdr.js → event-logger-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → event-logger-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-nh4v3znn.js → event-logger-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-p71gwv9c.js → event-logger-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-syrav9an.js → event-logger-syrav9an.js} +0 -0
- /package/dist/chunks/{location-services-t03h4f5z.js → event-logger-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-services-ty7weeps.js → event-logger-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → event-logger-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-vtarvj67.js → event-logger-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x4th4bpe.js → event-logger-x4th4bpe.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-z0h12gs8.js → event-logger-z0h12gs8.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → event-logger-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-services-zxpyjp51.js → event-logger-zxpyjp51.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-3p7nkmtq.js";
|
|
4
4
|
import {
|
|
5
5
|
ID19,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-s1z1wmhq.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-n320gsn2.js";
|
|
14
14
|
import {
|
|
15
15
|
ID18,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-v8zbn083.js";
|
|
19
19
|
import {
|
|
20
20
|
ID17
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./event-logger-ydh03pyp.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make33
|
|
26
|
+
} from "./event-logger-3qgwywyc.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service79
|
|
29
|
+
} from "./event-logger-wz7dc23v.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./event-logger-61yaf2yk.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service50
|
|
36
|
+
} from "./event-logger-yfwxmash.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./event-logger-229wyhde.js";
|
|
40
40
|
import {
|
|
41
41
|
defaultServer2,
|
|
42
42
|
server2,
|
|
43
43
|
headers2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./event-logger-kt3bjfbg.js";
|
|
45
45
|
import {
|
|
46
46
|
File2,
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
47
|
+
Service44
|
|
48
|
+
} from "./event-logger-jqtaak5c.js";
|
|
49
49
|
import {
|
|
50
50
|
Service47
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./event-logger-ea6gy4sr.js";
|
|
52
52
|
import {
|
|
53
53
|
isSafeSegment2,
|
|
54
54
|
isSafeRelativePath2
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./event-logger-3adw4bt5.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
ID8,
|
|
58
|
+
Input15,
|
|
59
59
|
Response2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./event-logger-n1q3ty3q.js";
|
|
61
61
|
import {
|
|
62
62
|
onSwitch2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./event-logger-zax777fh.js";
|
|
64
64
|
|
|
65
65
|
// src/plugin/provider/opencode.ts
|
|
66
66
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -196,9 +196,9 @@ var OpencodePlugin2 = define({
|
|
|
196
196
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
197
197
|
const client = yield* HttpClient.HttpClient;
|
|
198
198
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
199
|
-
const config = yield*
|
|
200
|
-
const discovery = yield*
|
|
201
|
-
const skills = yield*
|
|
199
|
+
const config = yield* Service79;
|
|
200
|
+
const discovery = yield* Service44;
|
|
201
|
+
const skills = yield* Service50;
|
|
202
202
|
const cache = yield* Service47;
|
|
203
203
|
const scope = yield* Scope.Scope;
|
|
204
204
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -245,7 +245,7 @@ var OpencodePlugin2 = define({
|
|
|
245
245
|
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID18.make("opencode"));
|
|
246
246
|
});
|
|
247
247
|
const publish = Effect.fnUntraced(function* (next) {
|
|
248
|
-
const document = next.remote && next.connection &&
|
|
248
|
+
const document = next.remote && next.connection && make33({
|
|
249
249
|
integrationID: ID18.make("opencode"),
|
|
250
250
|
connection: next.connection.type === "credential" ? { ...next.connection, id: ID19.make(next.connection.id) } : next.connection,
|
|
251
251
|
organization: next.organization,
|
|
@@ -298,7 +298,7 @@ var OpencodePlugin2 = define({
|
|
|
298
298
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
299
299
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
300
300
|
const server = yield* normalizeServer(server2(credential));
|
|
301
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
301
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
302
302
|
query: input.query,
|
|
303
303
|
providerID
|
|
304
304
|
}));
|
|
@@ -353,7 +353,7 @@ var OpencodePlugin2 = define({
|
|
|
353
353
|
}
|
|
354
354
|
});
|
|
355
355
|
yield* ctx.websearch.transform((editor) => {
|
|
356
|
-
const provider =
|
|
356
|
+
const provider = ID8.make("opencode");
|
|
357
357
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
358
358
|
editor.add(search(provider, snapshot.connection));
|
|
359
359
|
});
|
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
nativeSettings2,
|
|
6
6
|
timeouts2,
|
|
7
7
|
mergeOverlay2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-ydh03pyp.js";
|
|
9
9
|
import {
|
|
10
10
|
stringify2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-z0h12gs8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/aisdk.ts
|
|
17
17
|
var exports_aisdk2 = {};
|
|
18
18
|
__export(exports_aisdk2, {
|
|
19
19
|
AISDK: () => exports_aisdk2,
|
|
20
20
|
InitError: () => InitError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service65,
|
|
22
22
|
locationLayer: () => locationLayer2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node66
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { httpFetch } from "@opencode/util/effect/app-node-platform";
|
|
@@ -162,9 +162,9 @@ function initError(providerID) {
|
|
|
162
162
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
class
|
|
165
|
+
class Service65 extends Context.Service()("@opencode/AISDK") {
|
|
166
166
|
}
|
|
167
|
-
var locationLayer2 = Layer.effect(
|
|
167
|
+
var locationLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
168
168
|
const outbound = yield* FetchHttpClient.Fetch;
|
|
169
169
|
let sdkHooks = [];
|
|
170
170
|
let languageHooks = [];
|
|
@@ -203,7 +203,7 @@ var locationLayer2 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
203
203
|
}
|
|
204
204
|
return event;
|
|
205
205
|
});
|
|
206
|
-
const service =
|
|
206
|
+
const service = Service65.of({
|
|
207
207
|
hook: {
|
|
208
208
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
209
209
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -861,6 +861,6 @@ function providerErrorMessage(error) {
|
|
|
861
861
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
862
862
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
863
863
|
}
|
|
864
|
-
var
|
|
864
|
+
var node66 = makeLocationNode({ service: Service65, layer: locationLayer2, deps: [httpFetch] });
|
|
865
865
|
|
|
866
|
-
export { InitError2,
|
|
866
|
+
export { InitError2, Service65, locationLayer2, node66, exports_aisdk2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node95
|
|
4
|
+
} from "./event-logger-k01bwn18.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./event-logger-8cg7mtm3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -19,12 +19,12 @@ __export(exports_bus, {
|
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
21
|
Service: () => Service91,
|
|
22
|
-
configured: () =>
|
|
22
|
+
configured: () => configured13,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node94,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -86,10 +86,10 @@ var isDefinition = (input) => !Array.isArray(input);
|
|
|
86
86
|
|
|
87
87
|
class Service91 extends Context.Service()("@opencode/Bus") {
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function configured13(options) {
|
|
90
90
|
return makeGlobalNode({
|
|
91
91
|
service: Service91,
|
|
92
|
-
deps: [
|
|
92
|
+
deps: [node95],
|
|
93
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"));
|
|
@@ -529,6 +529,6 @@ function configured12(options) {
|
|
|
529
529
|
}))
|
|
530
530
|
});
|
|
531
531
|
}
|
|
532
|
-
var
|
|
532
|
+
var node94 = configured13();
|
|
533
533
|
|
|
534
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service91,
|
|
534
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service91, configured13, node94, exports_bus };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make32,
|
|
14
|
+
node: () => node80,
|
|
15
15
|
registry: () => registry3,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make32 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry3(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node80 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make32, RegistryService2, registry3, registryNode2, node80, exports_driver };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node95
|
|
4
|
+
} from "./event-logger-k01bwn18.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make30,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-r7zrbnjn.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-mb7mbhnz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service35,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node39,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -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 Service35 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) => make30({
|
|
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) => make31({
|
|
|
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(Service35, Effect.gen(function* () {
|
|
82
82
|
const { db } = yield* Service92;
|
|
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(Service42, 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 Service35.of({ list, put, remove, load });
|
|
108
108
|
}));
|
|
109
|
-
var
|
|
109
|
+
var node39 = makeGlobalNode({ service: Service35, layer, deps: [node95] });
|
|
110
110
|
|
|
111
|
-
export { Key2, Info9, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
111
|
+
export { Key2, Info9, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service35, node39, exports_instruction_entry };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SQLiteEffectPreparedQuery2,
|
|
3
3
|
SQLiteEffectSession2,
|
|
4
4
|
SQLiteEffectTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./event-logger-3qezzf7v.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/effect-sqlite/session.ts
|
|
8
8
|
import * as Context from "effect/Context";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-8cg7mtm3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service7,
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service7 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service7.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node9 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service7, node9, exports_update };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
node73
|
|
3
|
+
} from "./event-logger-3p7nkmtq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service92,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node95
|
|
7
|
+
} from "./event-logger-k01bwn18.js";
|
|
8
8
|
import {
|
|
9
9
|
KVTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-3hepkmqq.js";
|
|
11
11
|
import {
|
|
12
12
|
latest2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service79
|
|
14
|
+
} from "./event-logger-wz7dc23v.js";
|
|
15
15
|
import {
|
|
16
16
|
DirectoryNotFoundError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./event-logger-5syrr9wz.js";
|
|
18
18
|
import {
|
|
19
19
|
resolver2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./event-logger-gt6j8yqx.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service61,
|
|
23
|
+
node62
|
|
24
|
+
} from "./event-logger-xm1rq0mn.js";
|
|
25
25
|
import {
|
|
26
26
|
SessionMessage2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./event-logger-gftt206x.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./event-logger-mb7mbhnz.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service58,
|
|
33
|
+
node60
|
|
34
|
+
} from "./event-logger-67d2v199.js";
|
|
35
35
|
import {
|
|
36
36
|
Service28,
|
|
37
37
|
node31
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./event-logger-b3nfkprg.js";
|
|
39
39
|
import {
|
|
40
40
|
validate2,
|
|
41
41
|
describe2,
|
|
42
42
|
authorize2,
|
|
43
43
|
evaluate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./event-logger-3zy63c37.js";
|
|
45
45
|
import {
|
|
46
46
|
ScheduleTable2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./event-logger-wegkxhrn.js";
|
|
48
48
|
import {
|
|
49
49
|
__export
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
51
51
|
|
|
52
52
|
// src/schedule.ts
|
|
53
53
|
var exports_schedule2 = {};
|
|
54
54
|
__export(exports_schedule2, {
|
|
55
55
|
Condition: () => Condition2,
|
|
56
56
|
ConditionInput: () => ConditionInput2,
|
|
57
|
-
CreateInput: () =>
|
|
57
|
+
CreateInput: () => CreateInput3,
|
|
58
58
|
DisabledError: () => DisabledError2,
|
|
59
|
-
ID: () =>
|
|
60
|
-
Info: () =>
|
|
59
|
+
ID: () => ID5,
|
|
60
|
+
Info: () => Info5,
|
|
61
61
|
InvalidError: () => InvalidError2,
|
|
62
|
-
NotFoundError: () =>
|
|
62
|
+
NotFoundError: () => NotFoundError3,
|
|
63
63
|
Outcome: () => Outcome3,
|
|
64
64
|
Request: () => Request2,
|
|
65
65
|
Schedule: () => exports_schedule2,
|
|
66
|
-
Service: () =>
|
|
66
|
+
Service: () => Service21,
|
|
67
67
|
Status: () => Status2,
|
|
68
68
|
When: () => When2,
|
|
69
|
-
node: () =>
|
|
69
|
+
node: () => node23,
|
|
70
70
|
toCreateInput: () => toCreateInput2
|
|
71
71
|
});
|
|
72
72
|
import { randomUUID } from "node:crypto";
|
|
@@ -76,18 +76,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
76
76
|
import {
|
|
77
77
|
Condition as Condition2,
|
|
78
78
|
ConditionInput as ConditionInput2,
|
|
79
|
-
CreateInput as
|
|
79
|
+
CreateInput as CreateInput3,
|
|
80
80
|
durationMillis,
|
|
81
|
-
ID as
|
|
82
|
-
Info as
|
|
81
|
+
ID as ID5,
|
|
82
|
+
Info as Info5,
|
|
83
83
|
Outcome as Outcome3,
|
|
84
84
|
Request as Request2,
|
|
85
85
|
Status as Status2,
|
|
86
86
|
toCreateInput as toCreateInput2,
|
|
87
87
|
When as When2
|
|
88
88
|
} from "@opencode/schema/schedule";
|
|
89
|
-
class
|
|
90
|
-
scheduleID:
|
|
89
|
+
class NotFoundError3 extends Schema.TaggedError()("Schedule.NotFoundError", {
|
|
90
|
+
scheduleID: ID5
|
|
91
91
|
}) {
|
|
92
92
|
get message() {
|
|
93
93
|
return `Schedule not found: ${this.scheduleID}`;
|
|
@@ -108,7 +108,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service21 extends Context.Service()("@opencode/Schedule") {
|
|
112
112
|
}
|
|
113
113
|
var MINUTE = 60000;
|
|
114
114
|
var HOUR = 60 * MINUTE;
|
|
@@ -194,16 +194,16 @@ var toInfo = (row, lastOutput) => ({
|
|
|
194
194
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
195
195
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
196
196
|
});
|
|
197
|
-
var layer = Layer.effect(
|
|
197
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
198
198
|
const database = yield* Service92;
|
|
199
199
|
const db = database.db;
|
|
200
200
|
const sessions = yield* Service28;
|
|
201
|
-
const instances = yield*
|
|
202
|
-
const execution = yield*
|
|
201
|
+
const instances = yield* Service61;
|
|
202
|
+
const execution = yield* Service58;
|
|
203
203
|
const doorbell = yield* Latch.make();
|
|
204
204
|
const flags = yield* resolver2;
|
|
205
205
|
const settings = (session) => Effect.gen(function* () {
|
|
206
|
-
const config = yield* Effect.serviceOption(
|
|
206
|
+
const config = yield* Effect.serviceOption(Service79);
|
|
207
207
|
if (Option.isNone(config))
|
|
208
208
|
return { enabled: false, timezone: undefined };
|
|
209
209
|
const entries = yield* config.value.entries();
|
|
@@ -212,7 +212,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
212
212
|
timezone: latest2(entries, "timezone")
|
|
213
213
|
};
|
|
214
214
|
}).pipe(instances.provide(session));
|
|
215
|
-
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new
|
|
215
|
+
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError3({ scheduleID: id }))));
|
|
216
216
|
const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
|
|
217
217
|
const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
|
|
218
218
|
const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
|
|
@@ -486,7 +486,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
486
486
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
487
487
|
return Math.min(at.value, after ?? at.value);
|
|
488
488
|
});
|
|
489
|
-
return
|
|
489
|
+
return Service21.of({
|
|
490
490
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
491
491
|
const session = yield* sessions.get(input.sessionID);
|
|
492
492
|
const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
|
|
@@ -505,7 +505,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
505
505
|
const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
|
|
506
506
|
if (ends !== null && due > ends)
|
|
507
507
|
return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
|
|
508
|
-
const scheduleID =
|
|
508
|
+
const scheduleID = ID5.create();
|
|
509
509
|
const seeded = check === undefined ? UNSEEDED : yield* Effect.gen(function* () {
|
|
510
510
|
yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", missingDirectory));
|
|
511
511
|
const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
|
|
@@ -598,10 +598,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
598
598
|
run
|
|
599
599
|
});
|
|
600
600
|
}));
|
|
601
|
-
var
|
|
602
|
-
service:
|
|
601
|
+
var node23 = makeGlobalNode({
|
|
602
|
+
service: Service21,
|
|
603
603
|
layer,
|
|
604
|
-
deps: [
|
|
604
|
+
deps: [node73, node95, node31, node60, node62]
|
|
605
605
|
});
|
|
606
606
|
|
|
607
|
-
export { Condition2, ConditionInput2,
|
|
607
|
+
export { Condition2, ConditionInput2, CreateInput3, ID5, Info5, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2, Service21, node23, exports_schedule2 };
|