@opencode/core 0.0.0-dev-377 → 0.0.0-dev-393
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 -91
- package/dist/aisdk-native.js +102 -101
- package/dist/aisdk.js +108 -107
- package/dist/app.js +5 -5
- package/dist/artifact.js +236 -234
- package/dist/bus.js +80 -79
- package/dist/chunks/{usage-limits-034tev2y.js → state-034tev2y.js} +2 -2
- package/dist/chunks/{usage-limits-jkjd442p.js → state-056p44da.js} +18 -18
- package/dist/chunks/{usage-limits-ppkqxyyy.js → state-05mm50vf.js} +11 -11
- package/dist/chunks/{usage-limits-va1tzbxe.js → state-0a20qbkp.js} +27 -27
- package/dist/chunks/{usage-limits-dqyqvzhp.js → state-0csbgeh2.js} +9 -9
- package/dist/chunks/{usage-limits-h5e20cdn.js → state-0dct8czz.js} +12 -12
- package/dist/chunks/{usage-limits-0j7gp832.js → state-0j7gp832.js} +1 -1
- package/dist/chunks/{usage-limits-bgh9pp6t.js → state-0smt5b1y.js} +4 -4
- package/dist/chunks/{usage-limits-vrpz8t5t.js → state-0t098hqn.js} +5 -5
- package/dist/chunks/{usage-limits-va0v6ztw.js → state-19d303gc.js} +13 -13
- package/dist/chunks/{usage-limits-wrydkpp0.js → state-1afv7ask.js} +11 -11
- package/dist/chunks/{usage-limits-1aqsckx4.js → state-1aqsckx4.js} +1 -1
- package/dist/chunks/{usage-limits-1ep2p91f.js → state-1ep2p91f.js} +2 -2
- package/dist/chunks/{usage-limits-yk99v59j.js → state-1m0e4qdv.js} +11 -11
- package/dist/chunks/{usage-limits-msd2a3qm.js → state-1v2g13eq.js} +4 -4
- package/dist/chunks/{usage-limits-sazka0fg.js → state-1v3j17r1.js} +20 -20
- package/dist/chunks/{usage-limits-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{usage-limits-1yq9hg58.js → state-1yq9hg58.js} +1 -1
- package/dist/chunks/{usage-limits-syn157v1.js → state-21tb34h2.js} +6 -6
- package/dist/chunks/{usage-limits-dnjzccdk.js → state-2kykchgf.js} +15 -15
- package/dist/chunks/{usage-limits-2p60zmnr.js → state-2p60zmnr.js} +2 -2
- package/dist/chunks/{usage-limits-d390zwf3.js → state-31avdb49.js} +8 -8
- package/dist/chunks/{usage-limits-q0b6b6a2.js → state-36k98q34.js} +11 -11
- package/dist/chunks/{usage-limits-8r22v43r.js → state-3h8z8wz5.js} +4 -4
- package/dist/chunks/{usage-limits-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{usage-limits-pyypvcb5.js → state-3n03ejdw.js} +10 -10
- package/dist/chunks/{usage-limits-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{usage-limits-c6x7d2ts.js → state-3ryz99p0.js} +4 -4
- package/dist/chunks/{usage-limits-8th6kc5q.js → state-3rz1gwbg.js} +10 -10
- package/dist/chunks/{usage-limits-6eg7c0zn.js → state-3v0spw5n.js} +19 -19
- package/dist/chunks/{usage-limits-40y6dtc2.js → state-40y6dtc2.js} +1 -1
- package/dist/chunks/{usage-limits-w2eysc6j.js → state-40za9wsf.js} +9 -9
- package/dist/chunks/{usage-limits-j5sc32gv.js → state-42qdq8te.js} +16 -16
- package/dist/chunks/{usage-limits-44pmzq9c.js → state-44pmzq9c.js} +2 -2
- package/dist/chunks/{usage-limits-r5z7phm8.js → state-452tx3w1.js} +9 -9
- package/dist/chunks/{usage-limits-h080qzdw.js → state-47s8f065.js} +39 -39
- package/dist/chunks/{usage-limits-wgbgvrq0.js → state-48m0p4qs.js} +6 -6
- package/dist/chunks/{usage-limits-4d2dtj2f.js → state-4d2dtj2f.js} +1 -1
- package/dist/chunks/{usage-limits-4dx1dgte.js → state-4dx1dgte.js} +1 -1
- package/dist/chunks/{usage-limits-r542h3bh.js → state-4f25tdd0.js} +5 -5
- package/dist/chunks/{usage-limits-1pt9g3kk.js → state-4k0twk1c.js} +7 -7
- package/dist/chunks/{usage-limits-et0xb4q7.js → state-4mk899yb.js} +20 -20
- package/dist/chunks/{usage-limits-4pyp9zr9.js → state-4pyp9zr9.js} +1 -1
- package/dist/chunks/{usage-limits-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{usage-limits-5eqwxt4n.js → state-4wt7fhby.js} +8 -8
- package/dist/chunks/{usage-limits-5c0ay57s.js → state-539dw32x.js} +4 -4
- package/dist/chunks/{usage-limits-hx2a60bd.js → state-56ddg3xh.js} +3 -3
- package/dist/chunks/{usage-limits-mcy5cenx.js → state-58rf0bjp.js} +16 -16
- package/dist/chunks/{usage-limits-qfbdgwwk.js → state-5d9nbz4j.js} +6 -6
- package/dist/chunks/{usage-limits-s86y9anx.js → state-5m4ecct2.js} +27 -27
- package/dist/chunks/{usage-limits-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{usage-limits-7r0n2k9z.js → state-5ngvdyzg.js} +14 -14
- package/dist/chunks/{usage-limits-b6vsg801.js → state-5nnwax6m.js} +5 -5
- package/dist/chunks/{usage-limits-1ykxxcvd.js → state-5pg8y8w0.js} +19 -19
- package/dist/chunks/{usage-limits-kv6xqjvw.js → state-5v42y69a.js} +5 -5
- package/dist/chunks/{usage-limits-mv6150sf.js → state-5vvgeqy8.js} +14 -14
- package/dist/chunks/{usage-limits-7h5tkcmb.js → state-5xemk3sw.js} +14 -14
- package/dist/chunks/{usage-limits-78p2h4ex.js → state-61qraad9.js} +5 -5
- package/dist/chunks/{usage-limits-qexmx2te.js → state-641q1vjj.js} +63 -59
- package/dist/chunks/{usage-limits-9ts3gnzs.js → state-67kb74bv.js} +10 -10
- package/dist/chunks/{usage-limits-kbgs7tyr.js → state-67wwskyb.js} +4 -4
- package/dist/chunks/{usage-limits-stkk57rt.js → state-6agm2x70.js} +19 -0
- package/dist/chunks/{usage-limits-6esdw8yj.js → state-6esdw8yj.js} +1 -1
- package/dist/chunks/{usage-limits-s63cy44c.js → state-6m3cdbvc.js} +27 -27
- package/dist/chunks/{usage-limits-c2crkfpp.js → state-6srxf2b1.js} +5 -5
- package/dist/chunks/{usage-limits-vamw07y4.js → state-728a2w8f.js} +32 -32
- package/dist/chunks/{usage-limits-06fz2k08.js → state-73gkfqd7.js} +25 -25
- package/dist/chunks/{usage-limits-5d8pw466.js → state-76aqqymw.js} +45 -45
- package/dist/chunks/{usage-limits-0cfnbd3f.js → state-7b0yxgp4.js} +11 -11
- package/dist/chunks/{usage-limits-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{usage-limits-38q64rg8.js → state-7c1acd8m.js} +11 -11
- package/dist/chunks/{usage-limits-g37qf11b.js → state-7g5zg8tv.js} +18 -18
- package/dist/chunks/{usage-limits-2bsm227b.js → state-7jen3kst.js} +9 -9
- package/dist/chunks/{usage-limits-hqhzkr6g.js → state-7k20sj52.js} +5 -5
- package/dist/chunks/{usage-limits-7kr66rt3.js → state-7kr66rt3.js} +1 -1
- package/dist/chunks/{usage-limits-zp0nz9wc.js → state-7pj2069b.js} +5 -5
- package/dist/chunks/{usage-limits-p6zs62vd.js → state-7rn2tgva.js} +20 -20
- package/dist/chunks/{usage-limits-abd0yc92.js → state-7sysqgzb.js} +4 -4
- package/dist/chunks/{usage-limits-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{usage-limits-775hqbnd.js → state-80mg3ag8.js} +3 -3
- package/dist/chunks/{usage-limits-0mb49rac.js → state-85f9c9n5.js} +13 -13
- package/dist/chunks/{usage-limits-89287pr7.js → state-89287pr7.js} +1 -1
- package/dist/chunks/{usage-limits-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
- package/dist/chunks/{usage-limits-fr8s9tcw.js → state-8g90eqn0.js} +7 -7
- package/dist/chunks/{usage-limits-fxfr7a22.js → state-8mw53c6m.js} +18 -18
- package/dist/chunks/{usage-limits-ymaf8gd7.js → state-8pjtyw4w.js} +18 -18
- package/dist/chunks/{usage-limits-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{usage-limits-z080rjh6.js → state-90ct6wq4.js} +4 -4
- package/dist/chunks/{usage-limits-90zstvax.js → state-90zstvax.js} +1 -1
- package/dist/chunks/{usage-limits-rs5a32kx.js → state-996qv2g3.js} +3 -3
- package/dist/chunks/{usage-limits-595dvwjy.js → state-9hxvq81s.js} +31 -31
- package/dist/chunks/{usage-limits-s0rqj1c1.js → state-9rne3ehg.js} +15 -15
- package/dist/chunks/{usage-limits-kzpzksxr.js → state-9sy1j1hj.js} +4 -4
- package/dist/chunks/{usage-limits-ghchhpkv.js → state-9tjhwdqk.js} +11 -11
- package/dist/chunks/{usage-limits-y2vpvrsq.js → state-9w88qcrs.js} +5 -5
- package/dist/chunks/{usage-limits-1br9893z.js → state-9wer7rt0.js} +35 -35
- package/dist/chunks/{usage-limits-h9ajdkbn.js → state-9z88th0c.js} +3 -3
- package/dist/chunks/{usage-limits-tzmjyztd.js → state-a0g2880y.js} +17 -17
- package/dist/chunks/{usage-limits-a5xnh37q.js → state-a4bbeqg1.js} +10 -10
- package/dist/chunks/{usage-limits-qwz12hkq.js → state-a4h8tact.js} +4 -4
- package/dist/chunks/{usage-limits-7nqkf5r1.js → state-a5fx33f2.js} +6 -6
- package/dist/chunks/{usage-limits-gp1vtzc0.js → state-agz3tzmp.js} +39 -39
- package/dist/chunks/{usage-limits-dq1wcng5.js → state-an1qcwxm.js} +7 -7
- package/dist/chunks/{usage-limits-presy5jw.js → state-an6hzmd3.js} +8 -8
- package/dist/chunks/{usage-limits-v6fkyww7.js → state-apsxpycy.js} +19 -19
- package/dist/chunks/{usage-limits-wh1j0yj8.js → state-aqxk7krm.js} +32 -32
- package/dist/chunks/{usage-limits-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
- package/dist/chunks/{usage-limits-7srb4syb.js → state-b0573t9j.js} +13 -13
- package/dist/chunks/{usage-limits-w6ybgss3.js → state-b2kx2yqz.js} +14 -14
- package/dist/chunks/{usage-limits-kmvftdbs.js → state-bcyyfzcr.js} +11 -11
- package/dist/chunks/{usage-limits-p7zk900c.js → state-be10j6na.js} +4 -4
- package/dist/chunks/{usage-limits-a57pzqym.js → state-bkd2snnm.js} +22 -22
- package/dist/chunks/{usage-limits-x4gms9wc.js → state-bnhkbqse.js} +12 -12
- package/dist/chunks/{usage-limits-jf43mb4q.js → state-bnzx9dwt.js} +5 -5
- package/dist/chunks/{usage-limits-bstexjd6.js → state-bstexjd6.js} +1 -1
- package/dist/chunks/{usage-limits-5zst95rf.js → state-bthfbq8f.js} +8 -8
- package/dist/chunks/{usage-limits-2heqx4ag.js → state-bwfkpp7v.js} +19 -19
- package/dist/chunks/{usage-limits-d29ke3kn.js → state-byd6yge4.js} +12 -12
- package/dist/chunks/{usage-limits-baj8zdpc.js → state-bzr3b510.js} +12 -12
- package/dist/chunks/{usage-limits-bwrv0k9k.js → state-c2dbbhpx.js} +25 -25
- package/dist/chunks/{usage-limits-nx5tm237.js → state-c37n0erx.js} +18 -18
- package/dist/chunks/{usage-limits-1594hys8.js → state-cfzf4vym.js} +28 -28
- package/dist/chunks/{usage-limits-cwrgdav8.js → state-cwrgdav8.js} +2 -2
- package/dist/chunks/{usage-limits-ayb9hahn.js → state-cy49dps4.js} +24 -24
- package/dist/chunks/{usage-limits-fme5eymb.js → state-d2k1f648.js} +5 -5
- package/dist/chunks/{usage-limits-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{usage-limits-7pj4x5nb.js → state-dcxawmaj.js} +12 -12
- package/dist/chunks/{usage-limits-1y018dvv.js → state-dd8xfryb.js} +79 -79
- package/dist/chunks/{usage-limits-xe1ebrzq.js → state-dqhj5fe3.js} +23 -23
- package/dist/chunks/{usage-limits-dt77769w.js → state-dt77769w.js} +1 -1
- package/dist/chunks/{usage-limits-defd6ypc.js → state-e255q57e.js} +29 -29
- package/dist/chunks/{usage-limits-71k9dhfg.js → state-e2sg7jdv.js} +28 -28
- package/dist/chunks/{usage-limits-g3mtdb1c.js → state-e2wtfr6s.js} +5 -5
- package/dist/chunks/{usage-limits-41j1kdtj.js → state-e3k523fc.js} +8 -8
- package/dist/chunks/{usage-limits-pesfd11m.js → state-e4sxjejc.js} +18 -18
- package/dist/chunks/{usage-limits-e834z07m.js → state-e834z07m.js} +1 -1
- package/dist/chunks/{usage-limits-5dpjy1zg.js → state-e8c43dd8.js} +35 -35
- package/dist/chunks/{usage-limits-hretfjjx.js → state-eavcrtrz.js} +2 -2
- package/dist/chunks/{usage-limits-xw5367kc.js → state-egfzd81v.js} +17 -17
- package/dist/chunks/{usage-limits-fnk2vfk9.js → state-ehmn5k6t.js} +23 -23
- package/dist/chunks/{usage-limits-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
- package/dist/chunks/{usage-limits-87e7wr7z.js → state-exkwt65j.js} +357 -357
- package/dist/chunks/{usage-limits-pf3c2ba8.js → state-f27d80qk.js} +15 -15
- package/dist/chunks/{usage-limits-20che178.js → state-f4w02zpr.js} +9 -9
- package/dist/chunks/{usage-limits-7xd7tfhx.js → state-faqpyehj.js} +25 -25
- package/dist/chunks/{usage-limits-6ghk0e0m.js → state-fde7s928.js} +4 -4
- package/dist/chunks/{usage-limits-zm6j1rab.js → state-fe1ga2fx.js} +14 -14
- package/dist/chunks/{usage-limits-fffv3p7h.js → state-fffv3p7h.js} +1 -1
- package/dist/chunks/{usage-limits-t6cwjym4.js → state-ffy3twbs.js} +18 -18
- package/dist/chunks/{usage-limits-fg9p65nk.js → state-fg9p65nk.js} +2 -2
- package/dist/chunks/{usage-limits-y7rptanb.js → state-fjrrbk94.js} +8 -8
- package/dist/chunks/{usage-limits-dwhvm4hr.js → state-frzebw3v.js} +38 -38
- package/dist/chunks/{usage-limits-z2erjh4c.js → state-fynmzd3d.js} +8 -8
- package/dist/chunks/{usage-limits-wr3re1en.js → state-fznmdakp.js} +4 -4
- package/dist/chunks/{usage-limits-f8by4fzr.js → state-g3hn69cm.js} +20 -20
- package/dist/chunks/{usage-limits-nsqt73a0.js → state-g6277kmk.js} +1 -1
- package/dist/chunks/{usage-limits-0p90s808.js → state-g7jaz8th.js} +28 -28
- package/dist/chunks/{usage-limits-sfethcrx.js → state-gahey6n0.js} +35 -35
- package/dist/chunks/{usage-limits-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
- package/dist/chunks/{usage-limits-rjnacbrz.js → state-gcjdgkn2.js} +9 -9
- package/dist/chunks/{usage-limits-wdq5eq09.js → state-gfqgkchk.js} +28 -28
- package/dist/chunks/{usage-limits-694dpcrp.js → state-gmemj5zs.js} +7 -7
- package/dist/chunks/{usage-limits-7fz0qe17.js → state-gr1m0gby.js} +15 -15
- package/dist/chunks/{usage-limits-xvbtx46z.js → state-gv8f8cne.js} +29 -29
- package/dist/chunks/{usage-limits-tg7s7b5t.js → state-gxs71cxp.js} +4 -4
- package/dist/chunks/{usage-limits-d2qne4t6.js → state-h3gs7wxb.js} +46 -46
- package/dist/chunks/{usage-limits-ajzp6v3v.js → state-h4k0743s.js} +2 -2
- package/dist/chunks/{usage-limits-5fzvcdd4.js → state-h7wqn8vn.js} +4 -4
- package/dist/chunks/{usage-limits-kryfec64.js → state-h8n75vy4.js} +12 -12
- package/dist/chunks/{usage-limits-xfjq0bb3.js → state-h8xga5q6.js} +20 -20
- package/dist/chunks/{usage-limits-13ttwavm.js → state-hb8y0qq0.js} +6 -6
- package/dist/chunks/{usage-limits-y72znbgh.js → state-hbjv2bz0.js} +14 -14
- package/dist/chunks/{usage-limits-5t2z4f42.js → state-hbnjngs9.js} +192 -192
- package/dist/chunks/{usage-limits-csnq1vx8.js → state-hdhewkmr.js} +4 -4
- package/dist/chunks/{usage-limits-5xdgvpxd.js → state-hdreqhvr.js} +6 -6
- package/dist/chunks/{usage-limits-hh7kjqtw.js → state-hh7kjqtw.js} +1 -1
- package/dist/chunks/{usage-limits-rt4dem1v.js → state-hkkf7yjp.js} +37 -37
- package/dist/chunks/{usage-limits-wmjmswnm.js → state-hktgtfdh.js} +26 -26
- package/dist/chunks/{usage-limits-hpg1pkwy.js → state-hpg1pkwy.js} +1 -1
- package/dist/chunks/{usage-limits-ejnzwfza.js → state-htep8p36.js} +9 -9
- package/dist/chunks/{usage-limits-bhrb89e0.js → state-hvbybzt7.js} +12 -12
- package/dist/chunks/{usage-limits-21epatcf.js → state-hvyxpd0d.js} +16 -16
- package/dist/chunks/{usage-limits-pw1hf97w.js → state-hw7nk7v4.js} +7 -7
- package/dist/chunks/{usage-limits-v5hpj9dd.js → state-hy8c1z76.js} +8 -8
- package/dist/chunks/{usage-limits-vfk2yaqe.js → state-j2xdm5pc.js} +48 -48
- package/dist/chunks/{usage-limits-agtpe47e.js → state-j626ddfa.js} +30 -30
- package/dist/chunks/{usage-limits-0txfw6xb.js → state-j9dm8chg.js} +5 -5
- package/dist/chunks/{usage-limits-mj1vn29f.js → state-jc512s3p.js} +8 -8
- package/dist/chunks/{usage-limits-8pw7k2hd.js → state-jfmt1g8q.js} +5 -5
- package/dist/chunks/{usage-limits-m790pv56.js → state-jg9csdcz.js} +24 -24
- package/dist/chunks/{usage-limits-bppg41nv.js → state-jjk0b4sp.js} +11 -11
- package/dist/chunks/{usage-limits-488jzj8m.js → state-jrxc3jgt.js} +5 -5
- package/dist/chunks/{usage-limits-jtnps1zs.js → state-jtnps1zs.js} +2 -2
- package/dist/chunks/{usage-limits-mnxs9nd3.js → state-kac21e5p.js} +21 -21
- package/dist/chunks/{usage-limits-8hmw2yh3.js → state-kcsn6986.js} +13 -13
- package/dist/chunks/{usage-limits-v77g6e3b.js → state-kght8exf.js} +32 -32
- package/dist/chunks/{usage-limits-cmef6vt1.js → state-kke5d6vq.js} +19 -19
- package/dist/chunks/{usage-limits-3hgh9kya.js → state-kmrkjxcg.js} +30 -30
- package/dist/chunks/{usage-limits-x0qev501.js → state-kp4j94c3.js} +6 -6
- package/dist/chunks/{usage-limits-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
- package/dist/chunks/{usage-limits-8x35rtfy.js → state-kta770dd.js} +22 -22
- package/dist/chunks/state-kzczzf4v.js +25 -0
- package/dist/chunks/{usage-limits-8hfctyyf.js → state-kzdam8c6.js} +7 -7
- package/dist/chunks/{usage-limits-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{usage-limits-8j9aqx7t.js → state-m3np4vj9.js} +21 -21
- package/dist/chunks/{usage-limits-k23svgts.js → state-m4yf5w44.js} +4 -4
- package/dist/chunks/{usage-limits-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{usage-limits-mb7mbhnz.js → state-mb7mbhnz.js} +3 -3
- package/dist/chunks/{usage-limits-czjnqwyd.js → state-mcz497rw.js} +14 -14
- package/dist/chunks/{usage-limits-1kqnzkm0.js → state-mdvtz8t2.js} +27 -27
- package/dist/chunks/{usage-limits-1g6mw532.js → state-mq52ddsp.js} +11 -11
- package/dist/chunks/{usage-limits-cayrsa4s.js → state-mzfc5fp5.js} +16 -16
- package/dist/chunks/{usage-limits-wws03c5r.js → state-mzm8bzzq.js} +4 -4
- package/dist/chunks/{usage-limits-v5mcc7xy.js → state-n15nns0h.js} +16 -16
- package/dist/chunks/{usage-limits-k02hybpw.js → state-n1gmb7dt.js} +29 -29
- package/dist/chunks/{usage-limits-jaj49rn5.js → state-n4r92pqm.js} +36 -36
- package/dist/chunks/{usage-limits-v7608hm2.js → state-n7m4s8k6.js} +44 -44
- package/dist/chunks/{usage-limits-nah043kf.js → state-nah043kf.js} +1 -1
- package/dist/chunks/{usage-limits-w2ws7yp9.js → state-ndnbjp53.js} +11 -11
- package/dist/chunks/{usage-limits-37v3bzk6.js → state-nge6p6vt.js} +13 -17
- package/dist/chunks/{usage-limits-vj70z7b1.js → state-nkkeh327.js} +12 -12
- package/dist/chunks/{usage-limits-718z4xg1.js → state-np1324p3.js} +38 -38
- package/dist/chunks/{usage-limits-acyvnrez.js → state-nrtv0tdb.js} +16 -16
- package/dist/chunks/{usage-limits-p015t6z3.js → state-p015t6z3.js} +2 -2
- package/dist/chunks/{usage-limits-j90hxq85.js → state-p2zgsc1h.js} +11 -11
- package/dist/chunks/{usage-limits-pswjzj9a.js → state-p3w2d4be.js} +3 -3
- package/dist/chunks/{usage-limits-38x19j9c.js → state-pb811aet.js} +3 -3
- package/dist/chunks/{usage-limits-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{usage-limits-6kdyyjh5.js → state-pmy97759.js} +20 -20
- package/dist/chunks/{usage-limits-kptrmm0p.js → state-pwwe1nns.js} +17 -17
- package/dist/chunks/{usage-limits-dg5naf6e.js → state-px7qpgcn.js} +4 -4
- package/dist/chunks/{usage-limits-b1k7nw82.js → state-px9xmdpy.js} +9 -9
- package/dist/chunks/{usage-limits-b9aemc26.js → state-pxhs3dky.js} +9 -9
- package/dist/chunks/{usage-limits-3mxb7kah.js → state-q1y1sb9f.js} +13 -13
- package/dist/chunks/{usage-limits-6r7x44ev.js → state-q75c6g3b.js} +9 -9
- package/dist/chunks/{usage-limits-7t69dndk.js → state-qax8vj9h.js} +11 -11
- package/dist/chunks/{usage-limits-jxpeaj70.js → state-qf93q27e.js} +12 -12
- package/dist/chunks/{usage-limits-20pht57w.js → state-qfz6bxfd.js} +4 -4
- package/dist/chunks/{usage-limits-q5qvre1b.js → state-qjrsxg5x.js} +27 -27
- package/dist/chunks/{usage-limits-m7xh3h0x.js → state-qkc3z5ds.js} +4 -4
- package/dist/chunks/state-qmh7vbk2.js +18 -0
- package/dist/chunks/{usage-limits-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
- package/dist/chunks/{usage-limits-qqvy8y24.js → state-qqvy8y24.js} +1 -1
- package/dist/chunks/{usage-limits-2vxenzsg.js → state-qsn63thd.js} +9 -9
- package/dist/chunks/{usage-limits-btwmet39.js → state-qvg3z4qx.js} +32 -32
- package/dist/chunks/{usage-limits-sv5tz4mx.js → state-qvne8qvj.js} +94 -33
- package/dist/chunks/{usage-limits-8bk4jhmk.js → state-qyf7yaea.js} +24 -24
- package/dist/chunks/{usage-limits-ad04vah9.js → state-qzm6zhs2.js} +18 -18
- package/dist/chunks/{usage-limits-d9p5ss2h.js → state-r2sbm81b.js} +35 -35
- package/dist/chunks/{usage-limits-mn2jev3s.js → state-r3851nav.js} +14 -14
- package/dist/chunks/{usage-limits-7hj412v2.js → state-r58d8wgj.js} +44 -43
- package/dist/chunks/{usage-limits-sjmczned.js → state-r6a1wz6v.js} +50 -50
- package/dist/chunks/{usage-limits-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{usage-limits-w1gphqtx.js → state-rf1cvd9q.js} +7 -7
- package/dist/chunks/{usage-limits-pnye8cb7.js → state-rm34t0fx.js} +3 -3
- package/dist/chunks/{usage-limits-vzppetdn.js → state-rmv7fhs4.js} +6 -6
- package/dist/chunks/{usage-limits-8ajtsvws.js → state-rqysqgs5.js} +3 -3
- package/dist/chunks/{usage-limits-rnt6zrkc.js → state-rs34vge8.js} +29 -29
- package/dist/chunks/{usage-limits-9rhn9qwp.js → state-rsjg3dzm.js} +28 -28
- package/dist/chunks/{usage-limits-rt5dr6hb.js → state-rt5dr6hb.js} +1 -1
- package/dist/chunks/{usage-limits-dvpgqbq0.js → state-rte4cdn2.js} +15 -15
- package/dist/chunks/{usage-limits-d0pmvwgf.js → state-s0ny4jqw.js} +9 -9
- package/dist/chunks/{usage-limits-scm21bxe.js → state-s4sm4tqg.js} +5 -5
- package/dist/chunks/{usage-limits-sa3fpqfw.js → state-sa3fpqfw.js} +2 -2
- package/dist/chunks/{usage-limits-sbya78hr.js → state-sbya78hr.js} +1 -1
- package/dist/chunks/{usage-limits-mqe7nf5n.js → state-sbz71ybr.js} +3 -3
- package/dist/chunks/{usage-limits-0ffxk9yc.js → state-sf8nbxbe.js} +24 -24
- package/dist/chunks/{usage-limits-v7ne6s01.js → state-sfn12v13.js} +8 -8
- package/dist/chunks/{usage-limits-4e8bznvc.js → state-sng0s06c.js} +18 -18
- package/dist/chunks/{usage-limits-f341sazs.js → state-sv909n4y.js} +3 -3
- package/dist/chunks/{usage-limits-svcy3p9a.js → state-svcy3p9a.js} +1 -1
- package/dist/chunks/{usage-limits-szwm4crx.js → state-szwm4crx.js} +4 -4
- package/dist/chunks/{usage-limits-bt4pe10d.js → state-t0nz5sn8.js} +13 -13
- package/dist/chunks/state-t27kz4yw.js +261 -0
- package/dist/chunks/{usage-limits-dcssw8rk.js → state-t2jtqtvw.js} +43 -43
- package/dist/chunks/{usage-limits-mxyvs087.js → state-t614117q.js} +32 -32
- package/dist/chunks/{usage-limits-jbszwdvq.js → state-t9pdq77j.js} +6 -6
- package/dist/chunks/{usage-limits-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{usage-limits-6h8vcvjm.js → state-teav1bzy.js} +9 -9
- package/dist/chunks/{usage-limits-k4txyktb.js → state-tjc4negf.js} +17 -17
- package/dist/chunks/{usage-limits-mcm423pj.js → state-tjw6pmwz.js} +43 -43
- package/dist/chunks/{usage-limits-tr8x705m.js → state-tr8x705m.js} +1 -1
- package/dist/chunks/{usage-limits-9rfd1m4v.js → state-trx7nt34.js} +15 -15
- package/dist/chunks/{usage-limits-twssxy5n.js → state-twssxy5n.js} +2 -2
- package/dist/chunks/{usage-limits-2kg89srt.js → state-v0t96s7a.js} +4 -4
- package/dist/chunks/{usage-limits-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{usage-limits-kgq6c069.js → state-v80n1jgs.js} +6 -6
- package/dist/chunks/{usage-limits-fww6ypec.js → state-vbssec1d.js} +33 -33
- package/dist/chunks/{usage-limits-yx1rzxhv.js → state-vg3bhdbp.js} +4 -4
- package/dist/chunks/{usage-limits-vjf35v1f.js → state-vjf35v1f.js} +1 -1
- package/dist/chunks/{usage-limits-3k3y3dx6.js → state-vjm7mjrg.js} +91 -90
- package/dist/chunks/{usage-limits-vqfcj0pj.js → state-vknx7eh1.js} +6 -6
- package/dist/chunks/{usage-limits-cr4rfj9z.js → state-vmxsyvj6.js} +4 -4
- package/dist/chunks/{usage-limits-nv2c5e9q.js → state-vnjc296t.js} +3 -3
- package/dist/chunks/state-vtarvj67.js +60 -0
- package/dist/chunks/{usage-limits-hvx6apmw.js → state-vv26esct.js} +11 -11
- package/dist/chunks/{usage-limits-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{usage-limits-m6qhw0wz.js → state-w3yh1k6j.js} +4 -4
- package/dist/chunks/{usage-limits-20wck419.js → state-w8m2qkq0.js} +8 -8
- package/dist/chunks/{usage-limits-76cb1hcw.js → state-w8qtt4th.js} +4 -4
- package/dist/chunks/{usage-limits-cf3f13z6.js → state-w9bn5hmw.js} +8 -8
- package/dist/chunks/{usage-limits-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/state-wck9qmcv.js +26 -0
- package/dist/chunks/{usage-limits-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{usage-limits-wegkxhrn.js → state-wegkxhrn.js} +2 -2
- package/dist/chunks/{usage-limits-26s8zb2h.js → state-wewpmm4b.js} +21 -21
- package/dist/chunks/{usage-limits-qsdghx1p.js → state-wfdx5ztx.js} +4 -4
- package/dist/chunks/{usage-limits-8t99kr38.js → state-wfs84ra6.js} +4 -4
- package/dist/chunks/{usage-limits-wnhgecwx.js → state-wnhgecwx.js} +1 -1
- package/dist/chunks/{usage-limits-wqeb87xx.js → state-ws94v0ha.js} +19 -19
- package/dist/chunks/{usage-limits-wvr8xscb.js → state-wvr8xscb.js} +1 -1
- package/dist/chunks/{usage-limits-6dcsm2a3.js → state-x1vk2575.js} +9 -9
- package/dist/chunks/{usage-limits-zfd6sbet.js → state-xay38q9g.js} +26 -26
- package/dist/chunks/{usage-limits-shfh3dfx.js → state-xnyrm20a.js} +7 -7
- package/dist/chunks/{usage-limits-bpst1ezt.js → state-xxav5nwt.js} +5 -5
- package/dist/chunks/{usage-limits-5mshsdwq.js → state-xz097ptw.js} +2 -2
- package/dist/chunks/{usage-limits-02z3wvpm.js → state-xzr21tmy.js} +38 -38
- package/dist/chunks/{usage-limits-99na1n0x.js → state-y4narh25.js} +10 -10
- package/dist/chunks/{usage-limits-3xwpw4ba.js → state-y6n1sdeh.js} +77 -77
- package/dist/chunks/{usage-limits-kfhf3q6h.js → state-y6rtrkcm.js} +15 -15
- package/dist/chunks/{usage-limits-yara3q77.js → state-yara3q77.js} +2 -2
- package/dist/chunks/{usage-limits-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{usage-limits-ym2jhkz8.js → state-yetjgbjc.js} +45 -45
- package/dist/chunks/{usage-limits-qp0zf9x4.js → state-yhfwd5gc.js} +32 -32
- package/dist/chunks/{usage-limits-bvx5v79p.js → state-yn2kpmvn.js} +19 -19
- package/dist/chunks/{usage-limits-yr705xyq.js → state-yr705xyq.js} +1 -1
- package/dist/chunks/{usage-limits-vjcmpn41.js → state-zc7avgqx.js} +20 -20
- package/dist/chunks/{usage-limits-j9nxzz3g.js → state-ze75qvmd.js} +3 -3
- package/dist/chunks/{usage-limits-zdat2xwq.js → state-zfyb5tr4.js} +4 -4
- package/dist/chunks/{usage-limits-88313jvv.js → state-zqsp8fck.js} +7 -7
- package/dist/chunks/{usage-limits-c2b0y6qh.js → state-zwgy8ndz.js} +55 -55
- package/dist/chunks/{usage-limits-963hk181.js → state-zyfhsknv.js} +9 -9
- package/dist/chunks/{usage-limits-qpzf4v3q.js → state-zzsw4thw.js} +34 -34
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -144
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +151 -150
- package/dist/command.js +90 -89
- package/dist/config/discovery.js +97 -96
- 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 -111
- package/dist/config/plugin/agent.js +132 -131
- package/dist/config/plugin/command.js +231 -229
- package/dist/config/plugin/compaction.js +171 -170
- package/dist/config/plugin/compatibility.js +150 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -130
- package/dist/config/plugin/image.js +130 -129
- package/dist/config/plugin/instruction.js +130 -129
- package/dist/config/plugin/location-watcher.js +130 -129
- package/dist/config/plugin/mcp.js +141 -140
- package/dist/config/plugin/policy.js +130 -129
- package/dist/config/plugin/provider.js +130 -129
- package/dist/config/plugin/reference.js +132 -131
- package/dist/config/plugin/shell.js +130 -129
- package/dist/config/plugin/skill-file.js +146 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -152
- package/dist/config/plugin/snapshot.js +130 -129
- package/dist/config/plugin/source.js +133 -132
- package/dist/config/plugin/tool-output.js +131 -130
- package/dist/config/plugin/websearch.js +129 -128
- package/dist/config/plugin/worktree.js +132 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -132
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -91
- package/dist/database/database.js +77 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +6 -0
- package/dist/database/migration.gen.js +60 -59
- package/dist/database/migration.js +62 -61
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +105 -104
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +428 -426
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -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 -80
- package/dist/file-access.js +156 -155
- package/dist/file-mutation.js +107 -106
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -87
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +243 -241
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +112 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +115 -114
- package/dist/form.js +93 -92
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -99
- package/dist/generate.js +120 -119
- package/dist/git.js +11 -11
- 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 +104 -103
- 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 +419 -417
- package/dist/instruction-discovery.js +91 -90
- package/dist/instructions/builtins.js +100 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -99
- package/dist/job/sql.js +7 -0
- package/dist/job.js +86 -86
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -83
- package/dist/location-activity.js +172 -170
- package/dist/location-lifecycle.js +150 -149
- package/dist/location-service-map.js +99 -98
- package/dist/location-services.js +416 -414
- package/dist/location.js +102 -101
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -103
- package/dist/mcp/index.js +114 -113
- package/dist/mcp/instructions.js +177 -176
- package/dist/mcp/oauth.js +89 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -103
- package/dist/model-resolver.js +112 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +113 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +153 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -85
- package/dist/plugin/agent.js +87 -86
- package/dist/plugin/command.js +115 -114
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -234
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +395 -393
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -109
- package/dist/plugin/module.js +129 -128
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -103
- package/dist/plugin/provider/azure.js +130 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -129
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -116
- 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 +145 -144
- package/dist/plugin/provider/claude-agent/instructions.js +114 -113
- package/dist/plugin/provider/claude-agent/integration.js +113 -112
- 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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -109
- package/dist/plugin/provider/claude-agent/session.js +112 -111
- 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 +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 +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -127
- package/dist/plugin/provider/configured.js +126 -125
- package/dist/plugin/provider/credential-settings.js +85 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +106 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +108 -107
- package/dist/plugin/provider/gitlab.js +107 -106
- package/dist/plugin/provider/google-vertex.js +127 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -88
- package/dist/plugin/provider/lmstudio.js +139 -138
- package/dist/plugin/provider/local.js +136 -135
- package/dist/plugin/provider/modal.js +105 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -138
- package/dist/plugin/provider/openai-context-caps.js +103 -102
- package/dist/plugin/provider/openai.js +132 -131
- package/dist/plugin/provider/opencode.js +132 -131
- package/dist/plugin/provider/openrouter.js +104 -103
- package/dist/plugin/provider/poe.js +90 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +104 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -128
- package/dist/plugin/provider/vllm.js +139 -138
- package/dist/plugin/provider/xai.js +104 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +210 -209
- package/dist/plugin/sdk.js +87 -86
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +407 -405
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -98
- package/dist/plugin/vcs/hg.js +99 -98
- package/dist/plugin/verbosity.js +106 -105
- package/dist/plugin/warming.js +128 -127
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +239 -237
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -102
- package/dist/provider.js +112 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -102
- package/dist/reference/instructions.js +101 -100
- package/dist/reference.js +103 -102
- package/dist/repository-cache.js +93 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -107
- package/dist/rpc.js +99 -98
- package/dist/schedule/check.js +241 -239
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +249 -247
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -128
- package/dist/session/command.js +85 -84
- package/dist/session/compaction.js +171 -170
- package/dist/session/context.js +196 -195
- package/dist/session/diff.js +101 -100
- 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 +267 -270
- package/dist/session/execution.js +161 -159
- package/dist/session/generate.js +200 -199
- package/dist/session/history.js +136 -135
- package/dist/session/inbox.js +147 -146
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -142
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -167
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -163
- package/dist/session/projector.js +143 -142
- package/dist/session/prompt.js +148 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -248
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -112
- package/dist/session/runner/publish-llm-event.js +149 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -162
- package/dist/session/runner/to-llm-message.js +137 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -179
- package/dist/session/shell.js +144 -143
- package/dist/session/skill.js +147 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -83
- package/dist/session/store.js +142 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -227
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -201
- package/dist/session/to-session-error.js +148 -147
- package/dist/session/transfer.js +237 -235
- package/dist/session/usage.js +3 -3
- package/dist/session.js +233 -231
- 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 +7 -7
- package/dist/shell.js +144 -143
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -150
- package/dist/skill.js +154 -153
- package/dist/snapshot.js +102 -101
- 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 +178 -177
- package/dist/tool/plugin/artifact.js +228 -226
- package/dist/tool/plugin/edit.js +164 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -167
- package/dist/tool/plugin/grep.js +166 -165
- package/dist/tool/plugin/image-generate.js +235 -233
- package/dist/tool/plugin/mcp-resource.js +162 -161
- package/dist/tool/plugin/opencode.js +161 -160
- package/dist/tool/plugin/patch.js +166 -165
- package/dist/tool/plugin/question.js +144 -143
- package/dist/tool/plugin/read.js +169 -168
- package/dist/tool/plugin/schedule.js +247 -245
- package/dist/tool/plugin/shell.js +233 -231
- package/dist/tool/plugin/skill.js +157 -156
- package/dist/tool/plugin/subagent.js +236 -234
- package/dist/tool/plugin/todo.js +151 -150
- package/dist/tool/plugin/webfetch.js +157 -156
- package/dist/tool/plugin/websearch.js +153 -152
- package/dist/tool/plugin/write.js +166 -165
- package/dist/tool/read-filesystem.js +113 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -158
- package/dist/types/database/migration/20261030054400_job.d.ts +3 -0
- package/dist/types/job/sql.d.ts +215 -0
- package/dist/types/job.d.ts +5 -7
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/usage-limits.js +100 -99
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -104
- package/dist/v1/config/permission.js +3 -3
- 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 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -101
- package/dist/voice.js +99 -98
- package/dist/websearch.js +91 -90
- package/dist/wellknown/plugin.js +87 -86
- package/dist/wellknown.js +90 -89
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -101
- package/dist/worktree.js +109 -108
- package/package.json +8 -8
- package/dist/chunks/usage-limits-6qhf5ym7.js +0 -261
- package/dist/chunks/usage-limits-6tzx35nw.js +0 -26
- package/dist/chunks/usage-limits-ev660z6k.js +0 -18
- /package/dist/chunks/{usage-limits-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{usage-limits-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{usage-limits-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{usage-limits-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{usage-limits-1kah00gy.js → state-1kah00gy.js} +0 -0
- /package/dist/chunks/{usage-limits-1pevy3nx.js → state-1pevy3nx.js} +0 -0
- /package/dist/chunks/{usage-limits-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{usage-limits-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{usage-limits-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{usage-limits-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{usage-limits-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{usage-limits-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{usage-limits-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{usage-limits-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{usage-limits-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{usage-limits-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{usage-limits-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{usage-limits-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{usage-limits-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{usage-limits-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{usage-limits-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{usage-limits-5w3e23ze.js → state-5w3e23ze.js} +0 -0
- /package/dist/chunks/{usage-limits-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{usage-limits-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{usage-limits-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{usage-limits-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{usage-limits-7stb81gk.js → state-7stb81gk.js} +0 -0
- /package/dist/chunks/{usage-limits-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{usage-limits-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{usage-limits-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{usage-limits-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{usage-limits-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{usage-limits-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{usage-limits-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{usage-limits-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{usage-limits-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{usage-limits-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{usage-limits-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{usage-limits-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{usage-limits-beh6qq61.js → state-beh6qq61.js} +0 -0
- /package/dist/chunks/{usage-limits-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{usage-limits-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{usage-limits-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{usage-limits-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{usage-limits-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{usage-limits-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{usage-limits-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{usage-limits-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{usage-limits-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{usage-limits-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{usage-limits-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{usage-limits-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{usage-limits-ean2d8b5.js → state-ean2d8b5.js} +0 -0
- /package/dist/chunks/{usage-limits-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{usage-limits-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{usage-limits-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{usage-limits-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{usage-limits-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{usage-limits-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{usage-limits-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{usage-limits-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{usage-limits-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{usage-limits-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{usage-limits-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{usage-limits-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{usage-limits-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{usage-limits-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{usage-limits-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{usage-limits-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{usage-limits-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{usage-limits-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{usage-limits-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{usage-limits-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{usage-limits-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{usage-limits-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{usage-limits-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{usage-limits-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{usage-limits-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{usage-limits-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{usage-limits-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{usage-limits-nh4v3znn.js → state-nh4v3znn.js} +0 -0
- /package/dist/chunks/{usage-limits-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{usage-limits-p71gwv9c.js → state-p71gwv9c.js} +0 -0
- /package/dist/chunks/{usage-limits-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{usage-limits-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{usage-limits-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{usage-limits-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{usage-limits-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{usage-limits-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{usage-limits-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{usage-limits-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{usage-limits-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{usage-limits-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{usage-limits-t03h4f5z.js → state-t03h4f5z.js} +0 -0
- /package/dist/chunks/{usage-limits-ty7weeps.js → state-ty7weeps.js} +0 -0
- /package/dist/chunks/{usage-limits-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{usage-limits-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{usage-limits-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{usage-limits-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{usage-limits-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{usage-limits-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{usage-limits-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{usage-limits-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{usage-limits-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{usage-limits-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{usage-limits-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{usage-limits-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID20,
|
|
3
|
+
Service85,
|
|
4
|
+
node88
|
|
5
|
+
} from "./state-gfqgkchk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID16,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node77
|
|
20
|
+
} from "./state-kmrkjxcg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service73,
|
|
23
|
+
node75
|
|
24
|
+
} from "./state-qf93q27e.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID15,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service74,
|
|
30
|
+
node76,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./state-kght8exf.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./state-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service72,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer26,
|
|
52
|
+
node: () => node74,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -67,8 +67,8 @@ import { Auth, mergeHttpOptions } from "@opencode/ai/route";
|
|
|
67
67
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
68
68
|
import { Npm } from "@opencode/util/npm";
|
|
69
69
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID16,
|
|
71
|
+
modelID: ID15,
|
|
72
72
|
variant: VariantID2
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -77,8 +77,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
80
|
-
providerID:
|
|
81
|
-
modelID:
|
|
80
|
+
providerID: ID16,
|
|
81
|
+
modelID: ID15,
|
|
82
82
|
package: Schema.String
|
|
83
83
|
}) {
|
|
84
84
|
get message() {
|
|
@@ -88,8 +88,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
88
88
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
89
89
|
|
|
90
90
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
91
|
-
providerID:
|
|
92
|
-
modelID:
|
|
91
|
+
providerID: ID16,
|
|
92
|
+
modelID: ID15,
|
|
93
93
|
package: Schema.String,
|
|
94
94
|
detail: Schema.String
|
|
95
95
|
}) {
|
|
@@ -99,8 +99,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID16,
|
|
103
|
+
modelID: ID15,
|
|
104
104
|
package: Schema.String,
|
|
105
105
|
phase: InitializationPhase2,
|
|
106
106
|
detail: Schema.String
|
|
@@ -111,8 +111,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID16,
|
|
115
|
+
modelID: ID15,
|
|
116
116
|
variables: Schema.Array(Schema.String)
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -121,8 +121,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
124
|
-
providerID:
|
|
125
|
-
modelID:
|
|
124
|
+
providerID: ID16,
|
|
125
|
+
modelID: ID15,
|
|
126
126
|
route: Schema.String
|
|
127
127
|
}) {
|
|
128
128
|
get message() {
|
|
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Service72 extends Context.Service()("@opencode/ModelResolver") {
|
|
134
134
|
}
|
|
135
135
|
var withVariant2 = (model, variantID) => {
|
|
136
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -262,7 +262,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
262
262
|
return tokenSettings(specifier, credential.access);
|
|
263
263
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
264
264
|
return { auth: "sigv4" };
|
|
265
|
-
if (model.providerID ===
|
|
265
|
+
if (model.providerID === ID16.azure)
|
|
266
266
|
return tokenSettings(specifier, "azure-cli");
|
|
267
267
|
return {};
|
|
268
268
|
};
|
|
@@ -297,19 +297,19 @@ var causeMessage = (cause) => {
|
|
|
297
297
|
};
|
|
298
298
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
299
299
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
300
|
-
var
|
|
301
|
-
const providers = yield*
|
|
302
|
-
const models = yield*
|
|
303
|
-
const integrations = yield*
|
|
300
|
+
var layer26 = Layer.effect(Service72, Effect.gen(function* () {
|
|
301
|
+
const providers = yield* Service75;
|
|
302
|
+
const models = yield* Service74;
|
|
303
|
+
const integrations = yield* Service85;
|
|
304
304
|
const npm = yield* Npm.Service;
|
|
305
|
-
const aisdk = yield*
|
|
305
|
+
const aisdk = yield* Service73;
|
|
306
306
|
const dependencies = {
|
|
307
307
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
308
308
|
loadAISDK: (model) => aisdk.model(model)
|
|
309
309
|
};
|
|
310
310
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
311
311
|
const provider = yield* providers.get(selected.providerID);
|
|
312
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
312
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID20.make(selected.providerID));
|
|
313
313
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
314
314
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
315
315
|
const runtimeInfo = {
|
|
@@ -345,7 +345,7 @@ var layer24 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
345
345
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
346
346
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service72.of({
|
|
349
349
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
350
350
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
351
351
|
if (!selected)
|
|
@@ -368,10 +368,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
368
368
|
const name = packageName2(packageName);
|
|
369
369
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
370
370
|
}
|
|
371
|
-
var
|
|
372
|
-
service:
|
|
373
|
-
layer:
|
|
374
|
-
deps: [
|
|
371
|
+
var node74 = makeLocationNode({
|
|
372
|
+
service: Service72,
|
|
373
|
+
layer: layer26,
|
|
374
|
+
deps: [node77, node76, node88, Npm.node, node75]
|
|
375
375
|
});
|
|
376
376
|
|
|
377
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
377
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service72, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer26, node74, exports_model_resolver };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./state-r6a1wz6v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./state-p2zgsc1h.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin43
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin43 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service69;
|
|
27
|
+
const output = yield* Service46;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin25 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin43, exports_tool_output };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options5,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service49,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
18
|
configured: () => configured6,
|
|
@@ -21,7 +21,7 @@ __export(exports_select, {
|
|
|
21
21
|
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name17,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node53,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options5 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service49 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list3(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create4({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,7 +199,7 @@ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service49.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
@@ -207,8 +207,8 @@ var layer = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
209
|
function configured6(options) {
|
|
210
|
-
return makeLocationNode({ service:
|
|
210
|
+
return makeLocationNode({ service: Service49, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node53 = configured6();
|
|
213
213
|
|
|
214
|
-
export { Options5,
|
|
214
|
+
export { Options5, Service49, gitbash2, name17, login2, ps2, args2, environment2, resolve3, list3, configured6, node53, exports_select };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info20
|
|
9
|
-
} from "./usage-limits-d390zwf3.js";
|
|
6
|
+
} from "./state-v0t96s7a.js";
|
|
10
7
|
import {
|
|
11
8
|
Info19
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./state-31avdb49.js";
|
|
13
10
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
11
|
+
Info17
|
|
12
|
+
} from "./state-3ryz99p0.js";
|
|
13
|
+
import {
|
|
14
|
+
Info21
|
|
15
|
+
} from "./state-61qraad9.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-1yq9hg58.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info18
|
|
21
|
+
} from "./state-bnzx9dwt.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./state-7sysqgzb.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./state-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize3(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info17, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info19, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize3(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info19, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -220,7 +220,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
220
220
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
|
-
const server = decodeValue(
|
|
223
|
+
const server = decodeValue(Info21, value, path, diagnostics);
|
|
224
224
|
if (server !== undefined)
|
|
225
225
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
226
226
|
});
|
|
@@ -461,7 +461,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
461
461
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
462
462
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
463
463
|
return [];
|
|
464
|
-
const provider = decodeValue(
|
|
464
|
+
const provider = decodeValue(Info18, raw, path, diagnostics);
|
|
465
465
|
if (provider === undefined)
|
|
466
466
|
return [];
|
|
467
467
|
const destination = providerID2(name);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-4d2dtj2f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-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: () => Service4,
|
|
13
|
+
node: () => node5
|
|
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 Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, 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 Service4.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(Service5, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node5 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node5, exports_update };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service88
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-h7wqn8vn.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-kght8exf.js";
|
|
7
7
|
import {
|
|
8
8
|
Service15,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event3
|
|
10
|
+
} from "./state-73gkfqd7.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-a5fx33f2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin9,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai/effect";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin9 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin53 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin9, exports_identity };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node86
|
|
7
|
+
} from "./state-bnhkbqse.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service84,
|
|
16
|
+
node87
|
|
17
|
+
} from "./state-3rz1gwbg.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service48,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node52,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service48 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service83;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service84;
|
|
110
|
+
return Service48.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
173
|
-
service:
|
|
172
|
+
var node52 = makeGlobalNode({
|
|
173
|
+
service: Service48,
|
|
174
174
|
layer,
|
|
175
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
175
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node87]
|
|
176
176
|
});
|
|
177
177
|
function errorMessage(error) {
|
|
178
178
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
181
181
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
184
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service48, isError2, validateBranch2, node52, exports_repository_cache };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
provider2,
|
|
3
3
|
model2,
|
|
4
4
|
compatibleModel2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-dt77769w.js";
|
|
6
6
|
import {
|
|
7
7
|
aisdk2,
|
|
8
8
|
packageName2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-kmrkjxcg.js";
|
|
10
10
|
import {
|
|
11
11
|
Capabilities2,
|
|
12
12
|
compatibility2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-kght8exf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/v1/config/migrate.ts
|
|
19
19
|
var exports_migrate = {};
|