@opencode/core 0.0.0-dev-368 → 0.0.0-dev-377
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 +93 -93
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/artifact.js +265 -0
- package/dist/bus.js +83 -83
- package/dist/chunks/{voice-cbe7vgrx.js → usage-limits-02z3wvpm.js} +38 -38
- package/dist/chunks/{voice-034tev2y.js → usage-limits-034tev2y.js} +2 -2
- package/dist/chunks/{voice-1dmvfyea.js → usage-limits-06fz2k08.js} +32 -32
- package/dist/chunks/{voice-85pde67f.js → usage-limits-0cfnbd3f.js} +11 -11
- package/dist/chunks/{voice-jx2p27ex.js → usage-limits-0ffxk9yc.js} +27 -27
- package/dist/chunks/{voice-sqjzf8x2.js → usage-limits-0j7gp832.js} +4 -4
- package/dist/chunks/{voice-emby6x7e.js → usage-limits-0mb49rac.js} +15 -15
- package/dist/chunks/{voice-jfj432dt.js → usage-limits-0p90s808.js} +28 -28
- package/dist/chunks/{voice-nn9bpz64.js → usage-limits-0txfw6xb.js} +5 -5
- package/dist/chunks/{voice-m3kvqs0d.js → usage-limits-13ttwavm.js} +6 -6
- package/dist/chunks/{voice-vy1mzjda.js → usage-limits-1594hys8.js} +28 -28
- package/dist/chunks/{voice-1aqsckx4.js → usage-limits-1aqsckx4.js} +1 -1
- package/dist/chunks/{voice-h1bk3bt8.js → usage-limits-1br9893z.js} +32 -32
- package/dist/chunks/{voice-1ep2p91f.js → usage-limits-1ep2p91f.js} +2 -2
- package/dist/chunks/{voice-qwdrz06q.js → usage-limits-1g6mw532.js} +11 -11
- package/dist/chunks/{voice-c0jpdhmk.js → usage-limits-1kqnzkm0.js} +27 -27
- package/dist/chunks/{voice-a058387c.js → usage-limits-1pevy3nx.js} +11 -4
- package/dist/chunks/{voice-ehv3n3xs.js → usage-limits-1pt9g3kk.js} +13 -13
- package/dist/chunks/{voice-1x2knyw4.js → usage-limits-1x2knyw4.js} +1 -1
- package/dist/chunks/{voice-k4bhzre5.js → usage-limits-1y018dvv.js} +85 -85
- package/dist/chunks/{voice-5scj3wpx.js → usage-limits-1ykxxcvd.js} +23 -23
- package/dist/chunks/{voice-p7vhpwh8.js → usage-limits-1yq9hg58.js} +5 -5
- package/dist/chunks/{voice-2vs5ggfy.js → usage-limits-20che178.js} +9 -9
- package/dist/chunks/{voice-qfz6bxfd.js → usage-limits-20pht57w.js} +4 -4
- package/dist/chunks/{voice-tx7q2ndz.js → usage-limits-20wck419.js} +8 -8
- package/dist/chunks/{voice-603n4942.js → usage-limits-21epatcf.js} +20 -20
- package/dist/chunks/{voice-27etvgkm.js → usage-limits-26s8zb2h.js} +20 -20
- package/dist/chunks/{voice-b1w7ct0q.js → usage-limits-2bsm227b.js} +9 -9
- package/dist/chunks/{voice-83k8qzqx.js → usage-limits-2heqx4ag.js} +21 -21
- package/dist/chunks/{voice-s7kyse9r.js → usage-limits-2kg89srt.js} +4 -4
- package/dist/chunks/{voice-s1ba0vj0.js → usage-limits-2p60zmnr.js} +2 -2
- package/dist/chunks/{voice-aydnnhej.js → usage-limits-2vxenzsg.js} +7 -7
- package/dist/chunks/{voice-x3pqmtep.js → usage-limits-37v3bzk6.js} +13 -13
- package/dist/chunks/{voice-cpe6s12c.js → usage-limits-38q64rg8.js} +14 -14
- package/dist/chunks/{voice-bd8mcqfw.js → usage-limits-38x19j9c.js} +3 -3
- package/dist/chunks/{voice-3hepkmqq.js → usage-limits-3hepkmqq.js} +1 -1
- package/dist/chunks/{voice-t0xe5xk1.js → usage-limits-3hgh9kya.js} +31 -31
- package/dist/chunks/{voice-cs50nhfx.js → usage-limits-3k3y3dx6.js} +96 -96
- package/dist/chunks/{voice-9px5g6fm.js → usage-limits-3mxb7kah.js} +14 -14
- package/dist/chunks/{voice-tmc7xdjs.js → usage-limits-3nnrz6f6.js} +4 -4
- package/dist/chunks/{voice-635vret2.js → usage-limits-3xwpw4ba.js} +88 -88
- package/dist/chunks/{voice-40y6dtc2.js → usage-limits-40y6dtc2.js} +1 -1
- package/dist/chunks/{voice-0vsvpvpz.js → usage-limits-41j1kdtj.js} +8 -8
- package/dist/chunks/{voice-jxd6f16v.js → usage-limits-44pmzq9c.js} +2 -2
- package/dist/chunks/{voice-73yp06xx.js → usage-limits-488jzj8m.js} +5 -5
- package/dist/chunks/{voice-4d2dtj2f.js → usage-limits-4d2dtj2f.js} +1 -1
- package/dist/chunks/{voice-4dx1dgte.js → usage-limits-4dx1dgte.js} +1 -1
- package/dist/chunks/{voice-v2snpj12.js → usage-limits-4e8bznvc.js} +21 -21
- package/dist/chunks/{voice-4pyp9zr9.js → usage-limits-4pyp9zr9.js} +1 -1
- package/dist/chunks/{voice-4v008n1t.js → usage-limits-4v008n1t.js} +1 -1
- package/dist/chunks/{voice-gwma39en.js → usage-limits-595dvwjy.js} +36 -36
- package/dist/chunks/{voice-1pk0e05p.js → usage-limits-5c0ay57s.js} +4 -4
- package/dist/chunks/{voice-h1wrtc19.js → usage-limits-5d8pw466.js} +45 -45
- package/dist/chunks/{voice-2rbg8njc.js → usage-limits-5dpjy1zg.js} +35 -35
- package/dist/chunks/{voice-3krjhk9g.js → usage-limits-5eqwxt4n.js} +8 -8
- package/dist/chunks/{voice-q8b10s3c.js → usage-limits-5fzvcdd4.js} +16 -16
- package/dist/chunks/{voice-5m9w47nd.js → usage-limits-5m9w47nd.js} +1 -1
- package/dist/chunks/{voice-7wqp9x2p.js → usage-limits-5mshsdwq.js} +2 -2
- package/dist/chunks/{voice-67mya89m.js → usage-limits-5t2z4f42.js} +229 -200
- package/dist/chunks/{voice-pk4g31m5.js → usage-limits-5xdgvpxd.js} +6 -6
- package/dist/chunks/{voice-48pd17b4.js → usage-limits-5zst95rf.js} +8 -8
- package/dist/chunks/{voice-gmemj5zs.js → usage-limits-694dpcrp.js} +7 -7
- package/dist/chunks/{voice-jjrrh1g7.js → usage-limits-6dcsm2a3.js} +9 -9
- package/dist/chunks/{voice-4aqeqryw.js → usage-limits-6eg7c0zn.js} +25 -25
- package/dist/chunks/{voice-6esdw8yj.js → usage-limits-6esdw8yj.js} +1 -1
- package/dist/chunks/{voice-48eec1vm.js → usage-limits-6ghk0e0m.js} +4 -4
- package/dist/chunks/{voice-9f3jsh1d.js → usage-limits-6h8vcvjm.js} +9 -9
- package/dist/chunks/{voice-v3gv8k9j.js → usage-limits-6kdyyjh5.js} +20 -20
- package/dist/chunks/usage-limits-6qhf5ym7.js +261 -0
- package/dist/chunks/{voice-50sx7pmj.js → usage-limits-6r7x44ev.js} +9 -9
- package/dist/chunks/usage-limits-6tzx35nw.js +26 -0
- package/dist/chunks/{voice-yp8490wc.js → usage-limits-718z4xg1.js} +45 -45
- package/dist/chunks/{voice-m7dab61n.js → usage-limits-71k9dhfg.js} +28 -28
- package/dist/chunks/{voice-76cb1hcw.js → usage-limits-76cb1hcw.js} +1 -1
- package/dist/chunks/{voice-775hqbnd.js → usage-limits-775hqbnd.js} +3 -3
- package/dist/chunks/{voice-bys6f9s7.js → usage-limits-78p2h4ex.js} +5 -5
- package/dist/chunks/{voice-7bmhse3q.js → usage-limits-7bmhse3q.js} +1 -1
- package/dist/chunks/{voice-z8emcjzq.js → usage-limits-7fz0qe17.js} +15 -15
- package/dist/chunks/{voice-9x608sfz.js → usage-limits-7h5tkcmb.js} +14 -14
- package/dist/chunks/{voice-93jh753e.js → usage-limits-7hj412v2.js} +46 -46
- package/dist/chunks/{voice-7kr66rt3.js → usage-limits-7kr66rt3.js} +1 -1
- package/dist/chunks/{voice-7nqkf5r1.js → usage-limits-7nqkf5r1.js} +2 -2
- package/dist/chunks/{voice-pbmfxk64.js → usage-limits-7pj4x5nb.js} +12 -12
- package/dist/chunks/{voice-q2sxcz1b.js → usage-limits-7r0n2k9z.js} +16 -16
- package/dist/chunks/{voice-wjx8d03y.js → usage-limits-7srb4syb.js} +13 -13
- package/dist/chunks/{voice-d75dwrt0.js → usage-limits-7t69dndk.js} +11 -11
- package/dist/chunks/{voice-7w2ypzdf.js → usage-limits-7w2ypzdf.js} +1 -1
- package/dist/chunks/{voice-7arjqscx.js → usage-limits-7xd7tfhx.js} +25 -25
- package/dist/chunks/usage-limits-87e7wr7z.js +549 -0
- package/dist/chunks/{voice-5494sgck.js → usage-limits-88313jvv.js} +7 -7
- package/dist/chunks/{voice-89287pr7.js → usage-limits-89287pr7.js} +1 -1
- package/dist/chunks/{voice-nw4sfq6j.js → usage-limits-8ajtsvws.js} +3 -3
- package/dist/chunks/{voice-25h84942.js → usage-limits-8b3vzgkx.js} +4 -4
- package/dist/chunks/{voice-wpm6ajcn.js → usage-limits-8bk4jhmk.js} +32 -32
- package/dist/chunks/{voice-6edbc7zm.js → usage-limits-8hfctyyf.js} +5 -5
- package/dist/chunks/{voice-5vzcmptt.js → usage-limits-8hmw2yh3.js} +12 -12
- package/dist/chunks/{voice-70yt0na3.js → usage-limits-8j9aqx7t.js} +27 -27
- package/dist/chunks/{voice-9jgv5tm1.js → usage-limits-8pw7k2hd.js} +5 -5
- package/dist/chunks/{voice-ja3895w1.js → usage-limits-8r22v43r.js} +4 -4
- package/dist/chunks/{voice-8t99kr38.js → usage-limits-8t99kr38.js} +1 -1
- package/dist/chunks/{voice-33jxzdjr.js → usage-limits-8th6kc5q.js} +13 -13
- package/dist/chunks/{voice-8wtp7s3z.js → usage-limits-8wtp7s3z.js} +1 -1
- package/dist/chunks/{voice-9192ty2c.js → usage-limits-8x35rtfy.js} +32 -32
- package/dist/chunks/{voice-90zstvax.js → usage-limits-90zstvax.js} +1 -1
- package/dist/chunks/{voice-kdga5tn6.js → usage-limits-963hk181.js} +11 -11
- package/dist/chunks/{voice-m3tsws2k.js → usage-limits-99na1n0x.js} +12 -12
- package/dist/chunks/{voice-ywkr4ss4.js → usage-limits-9rfd1m4v.js} +15 -15
- package/dist/chunks/{voice-0da60a1b.js → usage-limits-9rhn9qwp.js} +31 -31
- package/dist/chunks/{voice-138zmswh.js → usage-limits-9ts3gnzs.js} +5 -5
- package/dist/chunks/{voice-xdb5p40v.js → usage-limits-a57pzqym.js} +37 -37
- package/dist/chunks/{voice-zezd0hjg.js → usage-limits-a5xnh37q.js} +16 -16
- package/dist/chunks/{voice-r1ycarfe.js → usage-limits-abd0yc92.js} +4 -4
- package/dist/chunks/{voice-an77zdt9.js → usage-limits-acyvnrez.js} +18 -18
- package/dist/chunks/{voice-4fztrf6x.js → usage-limits-ad04vah9.js} +34 -34
- package/dist/chunks/{voice-dkb43729.js → usage-limits-agtpe47e.js} +32 -32
- package/dist/chunks/{voice-gn9danv6.js → usage-limits-ajzp6v3v.js} +2 -2
- package/dist/chunks/{voice-6q8swtke.js → usage-limits-ayb9hahn.js} +24 -24
- package/dist/chunks/{voice-ayjs7tqn.js → usage-limits-ayjs7tqn.js} +2 -2
- package/dist/chunks/{voice-sph5ge5h.js → usage-limits-b1k7nw82.js} +9 -9
- package/dist/chunks/{voice-5nnwax6m.js → usage-limits-b6vsg801.js} +5 -5
- package/dist/chunks/{voice-a4ebmmbr.js → usage-limits-b9aemc26.js} +6 -6
- package/dist/chunks/{voice-t4gf1mh1.js → usage-limits-baj8zdpc.js} +15 -15
- package/dist/chunks/{voice-wk4zfcj0.js → usage-limits-bgh9pp6t.js} +6 -6
- package/dist/chunks/{voice-4fq0n7hc.js → usage-limits-bhrb89e0.js} +16 -16
- package/dist/chunks/{voice-41jtwnar.js → usage-limits-bppg41nv.js} +11 -11
- package/dist/chunks/{voice-pp9r4nc0.js → usage-limits-bpst1ezt.js} +5 -5
- package/dist/chunks/{voice-bstexjd6.js → usage-limits-bstexjd6.js} +1 -1
- package/dist/chunks/{voice-6dsgkn6f.js → usage-limits-bt4pe10d.js} +22 -22
- package/dist/chunks/{voice-2qxh1184.js → usage-limits-btwmet39.js} +38 -38
- package/dist/chunks/{voice-8wxmm8zv.js → usage-limits-bvx5v79p.js} +31 -31
- package/dist/chunks/{voice-wx67btvq.js → usage-limits-bwrv0k9k.js} +22 -22
- package/dist/chunks/{voice-qnkq76yw.js → usage-limits-c2b0y6qh.js} +62 -62
- package/dist/chunks/{voice-2hz06pja.js → usage-limits-c2crkfpp.js} +5 -5
- package/dist/chunks/{voice-c6x7d2ts.js → usage-limits-c6x7d2ts.js} +1 -1
- package/dist/chunks/{voice-zntnj5yq.js → usage-limits-cayrsa4s.js} +18 -18
- package/dist/chunks/{voice-7f840skq.js → usage-limits-cf3f13z6.js} +8 -8
- package/dist/chunks/{voice-463chxfj.js → usage-limits-cmef6vt1.js} +25 -25
- package/dist/chunks/{voice-vmxsyvj6.js → usage-limits-cr4rfj9z.js} +4 -4
- package/dist/chunks/{voice-9d0hj87h.js → usage-limits-csnq1vx8.js} +4 -4
- package/dist/chunks/{voice-cwrgdav8.js → usage-limits-cwrgdav8.js} +2 -2
- package/dist/chunks/{voice-wqfq8am5.js → usage-limits-czjnqwyd.js} +18 -18
- package/dist/chunks/{voice-0n28khqy.js → usage-limits-d0pmvwgf.js} +9 -9
- package/dist/chunks/{voice-bq5na9ha.js → usage-limits-d29ke3kn.js} +18 -18
- package/dist/chunks/usage-limits-d2qne4t6.js +494 -0
- package/dist/chunks/{voice-8rgb2cvr.js → usage-limits-d390zwf3.js} +11 -11
- package/dist/chunks/{voice-d4v9tmah.js → usage-limits-d4v9tmah.js} +2 -2
- package/dist/chunks/{voice-n8ns0mcf.js → usage-limits-d9p5ss2h.js} +43 -43
- package/dist/chunks/{voice-gjdy6p17.js → usage-limits-dcssw8rk.js} +43 -43
- package/dist/chunks/{voice-7bgqwywg.js → usage-limits-defd6ypc.js} +38 -38
- package/dist/chunks/{voice-px7qpgcn.js → usage-limits-dg5naf6e.js} +4 -4
- package/dist/chunks/{voice-xw21cn69.js → usage-limits-dnjzccdk.js} +19 -19
- package/dist/chunks/{voice-1r4g9a40.js → usage-limits-dq1wcng5.js} +7 -7
- package/dist/chunks/{voice-ddnxp7h0.js → usage-limits-dqyqvzhp.js} +9 -9
- package/dist/chunks/{voice-dt77769w.js → usage-limits-dt77769w.js} +1 -1
- package/dist/chunks/{voice-ka6r1vtc.js → usage-limits-dvpgqbq0.js} +23 -23
- package/dist/chunks/{voice-mw1qkyv8.js → usage-limits-dwhvm4hr.js} +44 -44
- package/dist/chunks/{voice-e834z07m.js → usage-limits-e834z07m.js} +1 -1
- package/dist/chunks/{voice-mpe433ap.js → usage-limits-ejnzwfza.js} +12 -12
- package/dist/chunks/{voice-eqw4pqj1.js → usage-limits-eqw4pqj1.js} +2 -2
- package/dist/chunks/{voice-ahhxmk35.js → usage-limits-et0xb4q7.js} +20 -20
- package/dist/chunks/usage-limits-ev660z6k.js +18 -0
- package/dist/chunks/{voice-f341sazs.js → usage-limits-f341sazs.js} +3 -3
- package/dist/chunks/{voice-jpsebz8r.js → usage-limits-f8by4fzr.js} +29 -29
- package/dist/chunks/{voice-fffv3p7h.js → usage-limits-fffv3p7h.js} +1 -1
- package/dist/chunks/{voice-prq7xxp2.js → usage-limits-fg9p65nk.js} +6 -6
- package/dist/chunks/{voice-pws0nwbv.js → usage-limits-fme5eymb.js} +5 -5
- package/dist/chunks/{voice-vw022k1a.js → usage-limits-fnk2vfk9.js} +23 -23
- package/dist/chunks/{voice-qhbdy0h3.js → usage-limits-fr8s9tcw.js} +7 -7
- package/dist/chunks/{voice-4a9vxqq9.js → usage-limits-fww6ypec.js} +33 -33
- package/dist/chunks/{voice-q82d2c27.js → usage-limits-fxfr7a22.js} +27 -27
- package/dist/chunks/{voice-sghzesxb.js → usage-limits-g37qf11b.js} +21 -16
- package/dist/chunks/{voice-32ypt6ex.js → usage-limits-g3mtdb1c.js} +5 -5
- package/dist/chunks/{voice-gbjdnr5j.js → usage-limits-gbjdnr5j.js} +2 -2
- package/dist/chunks/{voice-19865k6f.js → usage-limits-ghchhpkv.js} +11 -11
- package/dist/chunks/{voice-hscspx1x.js → usage-limits-gp1vtzc0.js} +47 -47
- package/dist/chunks/{voice-8chyhaxb.js → usage-limits-h080qzdw.js} +50 -50
- package/dist/chunks/{voice-d5wxqks1.js → usage-limits-h5e20cdn.js} +12 -12
- package/dist/chunks/{voice-tpsdd6sk.js → usage-limits-h9ajdkbn.js} +3 -3
- package/dist/chunks/{voice-hh7kjqtw.js → usage-limits-hh7kjqtw.js} +1 -1
- package/dist/chunks/{voice-hpg1pkwy.js → usage-limits-hpg1pkwy.js} +1 -1
- package/dist/chunks/{voice-0m5920vb.js → usage-limits-hqhzkr6g.js} +7 -7
- package/dist/chunks/{voice-22wp63zj.js → usage-limits-hretfjjx.js} +2 -2
- package/dist/chunks/{voice-68wbjj2w.js → usage-limits-hvx6apmw.js} +11 -11
- package/dist/chunks/{voice-v6rk29ch.js → usage-limits-hx2a60bd.js} +3 -3
- package/dist/chunks/{voice-2qmv59j7.js → usage-limits-j5sc32gv.js} +21 -21
- package/dist/chunks/{voice-5aadmexf.js → usage-limits-j90hxq85.js} +11 -11
- package/dist/chunks/{voice-j9nxzz3g.js → usage-limits-j9nxzz3g.js} +3 -3
- package/dist/chunks/{voice-52tdkmh7.js → usage-limits-jaj49rn5.js} +30 -30
- package/dist/chunks/{voice-ve45bn9x.js → usage-limits-jbszwdvq.js} +6 -6
- package/dist/chunks/{voice-hsnq1va6.js → usage-limits-jf43mb4q.js} +5 -5
- package/dist/chunks/{voice-jdbsgsq2.js → usage-limits-jkjd442p.js} +18 -18
- package/dist/chunks/{voice-jtnps1zs.js → usage-limits-jtnps1zs.js} +2 -2
- package/dist/chunks/{voice-35bw37j2.js → usage-limits-jxpeaj70.js} +12 -12
- package/dist/chunks/{voice-wrtw0jpa.js → usage-limits-k02hybpw.js} +26 -26
- package/dist/chunks/{voice-est5w5t7.js → usage-limits-k23svgts.js} +4 -4
- package/dist/chunks/{voice-n46agb1x.js → usage-limits-k4txyktb.js} +23 -23
- package/dist/chunks/{voice-67wwskyb.js → usage-limits-kbgs7tyr.js} +4 -4
- package/dist/chunks/{voice-610539jf.js → usage-limits-kfhf3q6h.js} +18 -18
- package/dist/chunks/{voice-s2pfznc4.js → usage-limits-kgq6c069.js} +6 -6
- package/dist/chunks/{voice-f9vy57qm.js → usage-limits-kmvftdbs.js} +14 -14
- package/dist/chunks/{voice-f6epftay.js → usage-limits-kptrmm0p.js} +17 -17
- package/dist/chunks/{voice-kha82y4n.js → usage-limits-kryfec64.js} +15 -15
- package/dist/chunks/{voice-kt3bjfbg.js → usage-limits-kt3bjfbg.js} +1 -1
- package/dist/chunks/{voice-9qw669we.js → usage-limits-kv6xqjvw.js} +5 -5
- package/dist/chunks/{voice-dv96216k.js → usage-limits-kzpzksxr.js} +4 -4
- package/dist/chunks/{voice-m1714858.js → usage-limits-m1714858.js} +1 -1
- package/dist/chunks/{voice-9hrdgvww.js → usage-limits-m6qhw0wz.js} +4 -4
- package/dist/chunks/{voice-vx3x9zzq.js → usage-limits-m790pv56.js} +26 -26
- package/dist/chunks/{voice-e45fk36t.js → usage-limits-m7xh3h0x.js} +4 -4
- package/dist/chunks/{voice-m9w0rfyh.js → usage-limits-m9w0rfyh.js} +1 -1
- package/dist/chunks/{voice-mb7mbhnz.js → usage-limits-mb7mbhnz.js} +3 -3
- package/dist/chunks/{voice-ybhhxw6m.js → usage-limits-mcm423pj.js} +47 -47
- package/dist/chunks/{voice-6w8qwxmc.js → usage-limits-mcy5cenx.js} +10 -10
- package/dist/chunks/{voice-jjx6aha5.js → usage-limits-mj1vn29f.js} +8 -8
- package/dist/chunks/{voice-zmxad6hk.js → usage-limits-mn2jev3s.js} +12 -12
- package/dist/chunks/{voice-qe0wftt4.js → usage-limits-mnxs9nd3.js} +24 -24
- package/dist/chunks/{voice-2cdjxzfg.js → usage-limits-mqe7nf5n.js} +3 -3
- package/dist/chunks/{voice-0h86f0az.js → usage-limits-msd2a3qm.js} +4 -4
- package/dist/chunks/{voice-c4c4zzdq.js → usage-limits-mv6150sf.js} +14 -14
- package/dist/chunks/{voice-hv9sm03c.js → usage-limits-mxyvs087.js} +30 -30
- package/dist/chunks/{voice-nah043kf.js → usage-limits-nah043kf.js} +1 -1
- package/dist/chunks/{voice-k0mepwy9.js → usage-limits-nsqt73a0.js} +1 -1
- package/dist/chunks/{voice-8vct2pgr.js → usage-limits-nv2c5e9q.js} +3 -3
- package/dist/chunks/{voice-a79rh8j4.js → usage-limits-nx5tm237.js} +17 -17
- package/dist/chunks/{voice-p015t6z3.js → usage-limits-p015t6z3.js} +2 -2
- package/dist/chunks/{voice-v82dqrgv.js → usage-limits-p6zs62vd.js} +20 -20
- package/dist/chunks/{voice-bxy5h6nk.js → usage-limits-p7zk900c.js} +4 -4
- package/dist/chunks/{voice-61r16nyr.js → usage-limits-pesfd11m.js} +15 -15
- package/dist/chunks/{voice-ekxv8c0j.js → usage-limits-pf3c2ba8.js} +17 -17
- package/dist/chunks/{voice-pknna89w.js → usage-limits-pknna89w.js} +1 -1
- package/dist/chunks/{voice-nhpsx7p0.js → usage-limits-pnye8cb7.js} +11 -11
- package/dist/chunks/{voice-fjjfm53m.js → usage-limits-ppkqxyyy.js} +11 -11
- package/dist/chunks/{voice-q1qafd9e.js → usage-limits-presy5jw.js} +11 -11
- package/dist/chunks/{voice-5gk164xn.js → usage-limits-pswjzj9a.js} +3 -3
- package/dist/chunks/{voice-qm7e79ke.js → usage-limits-pw1hf97w.js} +11 -11
- package/dist/chunks/{voice-27mna02c.js → usage-limits-pyypvcb5.js} +10 -10
- package/dist/chunks/{voice-z80hdj97.js → usage-limits-q0b6b6a2.js} +11 -11
- package/dist/chunks/{voice-72jyty8b.js → usage-limits-q5qvre1b.js} +27 -27
- package/dist/chunks/{voice-4xfb1qx2.js → usage-limits-qexmx2te.js} +58 -58
- package/dist/chunks/{voice-ytcfb55t.js → usage-limits-qfbdgwwk.js} +8 -8
- package/dist/chunks/{voice-69g5ga3r.js → usage-limits-qp0zf9x4.js} +35 -35
- package/dist/chunks/{voice-qp7r0hxv.js → usage-limits-qp7r0hxv.js} +1 -1
- package/dist/chunks/{voice-gnrv4xx2.js → usage-limits-qpzf4v3q.js} +36 -36
- package/dist/chunks/{voice-qqvy8y24.js → usage-limits-qqvy8y24.js} +1 -1
- package/dist/chunks/{voice-qsdghx1p.js → usage-limits-qsdghx1p.js} +1 -1
- package/dist/chunks/usage-limits-qwz12hkq.js +16 -0
- package/dist/chunks/{voice-4f25tdd0.js → usage-limits-r542h3bh.js} +5 -5
- package/dist/chunks/{voice-zfgt4zn0.js → usage-limits-r5z7phm8.js} +11 -11
- package/dist/chunks/{voice-rb9dy4dg.js → usage-limits-rb9dy4dg.js} +1 -1
- package/dist/chunks/{voice-gcjdgkn2.js → usage-limits-rjnacbrz.js} +9 -9
- package/dist/chunks/{voice-qvgs8q09.js → usage-limits-rnt6zrkc.js} +24 -24
- package/dist/chunks/{voice-1m0b3txc.js → usage-limits-rs5a32kx.js} +3 -3
- package/dist/chunks/{voice-3v2s7727.js → usage-limits-rt4dem1v.js} +106 -52
- package/dist/chunks/{voice-rt5dr6hb.js → usage-limits-rt5dr6hb.js} +1 -1
- package/dist/chunks/{voice-ez6pkwnm.js → usage-limits-s0rqj1c1.js} +15 -15
- package/dist/chunks/{voice-6e22jkyp.js → usage-limits-s63cy44c.js} +28 -28
- package/dist/chunks/{voice-8rp8e4v3.js → usage-limits-s86y9anx.js} +25 -25
- package/dist/chunks/{voice-sa3fpqfw.js → usage-limits-sa3fpqfw.js} +2 -2
- package/dist/chunks/{voice-6ys6s7e4.js → usage-limits-sazka0fg.js} +25 -25
- package/dist/chunks/{voice-sbya78hr.js → usage-limits-sbya78hr.js} +1 -1
- package/dist/chunks/{voice-1cacxahd.js → usage-limits-scm21bxe.js} +5 -5
- package/dist/chunks/{voice-nej5fw3h.js → usage-limits-sfethcrx.js} +37 -37
- package/dist/chunks/{voice-ehrtq1gt.js → usage-limits-shfh3dfx.js} +7 -7
- package/dist/chunks/{voice-xase2hgj.js → usage-limits-sjmczned.js} +52 -52
- package/dist/chunks/{voice-2hhfjmpx.js → usage-limits-sv5tz4mx.js} +16 -16
- package/dist/chunks/{voice-svcy3p9a.js → usage-limits-svcy3p9a.js} +1 -1
- package/dist/chunks/{voice-1grr5861.js → usage-limits-syn157v1.js} +3 -3
- package/dist/chunks/{voice-96djdqw5.js → usage-limits-szwm4crx.js} +4 -4
- package/dist/chunks/{voice-vzwnxjz3.js → usage-limits-t6cwjym4.js} +21 -21
- package/dist/chunks/{voice-tczq8hjw.js → usage-limits-tczq8hjw.js} +1 -1
- package/dist/chunks/{voice-tg7s7b5t.js → usage-limits-tg7s7b5t.js} +1 -1
- package/dist/chunks/{voice-j376ae4e.js → usage-limits-tr8x705m.js} +5 -5
- package/dist/chunks/{voice-twssxy5n.js → usage-limits-twssxy5n.js} +2 -2
- package/dist/chunks/{voice-3j4ks7kb.js → usage-limits-tzmjyztd.js} +17 -17
- package/dist/chunks/{voice-v2r1d0zg.js → usage-limits-v2r1d0zg.js} +1 -1
- package/dist/chunks/{voice-ydsespw1.js → usage-limits-v5hpj9dd.js} +8 -8
- package/dist/chunks/usage-limits-v5mcc7xy.js +152 -0
- package/dist/chunks/{voice-4xmffp4f.js → usage-limits-v6fkyww7.js} +23 -23
- package/dist/chunks/{voice-kvc3nwwf.js → usage-limits-v7608hm2.js} +45 -45
- package/dist/chunks/{voice-9xr5qg12.js → usage-limits-v77g6e3b.js} +35 -35
- package/dist/chunks/{voice-n556ygtm.js → usage-limits-v7ne6s01.js} +8 -8
- package/dist/chunks/{voice-gzaqdq4v.js → usage-limits-va0v6ztw.js} +17 -17
- package/dist/chunks/{voice-nj7wx9hq.js → usage-limits-va1tzbxe.js} +27 -27
- package/dist/chunks/{voice-n6vh8jr7.js → usage-limits-vamw07y4.js} +32 -32
- package/dist/chunks/{voice-gj5j732s.js → usage-limits-vfk2yaqe.js} +54 -54
- package/dist/chunks/{voice-a11dn8tx.js → usage-limits-vj70z7b1.js} +12 -12
- package/dist/chunks/{voice-0w0ty6qq.js → usage-limits-vjcmpn41.js} +23 -23
- package/dist/chunks/{voice-vjf35v1f.js → usage-limits-vjf35v1f.js} +1 -1
- package/dist/chunks/{voice-prtyxdc2.js → usage-limits-vqfcj0pj.js} +6 -6
- package/dist/chunks/{voice-2xwkyk0m.js → usage-limits-vrpz8t5t.js} +5 -5
- package/dist/chunks/{voice-r1fnsf7p.js → usage-limits-vzppetdn.js} +6 -6
- package/dist/chunks/{voice-r3styde8.js → usage-limits-w1gphqtx.js} +7 -7
- package/dist/chunks/{voice-r41sfy63.js → usage-limits-w2eysc6j.js} +6 -6
- package/dist/chunks/{voice-tsaes89g.js → usage-limits-w2ws7yp9.js} +11 -11
- package/dist/chunks/{voice-w3wsvvr9.js → usage-limits-w3wsvvr9.js} +1 -1
- package/dist/chunks/{voice-aetvzffy.js → usage-limits-w6ybgss3.js} +18 -18
- package/dist/chunks/{voice-wakvkjy4.js → usage-limits-wakvkjy4.js} +1 -1
- package/dist/chunks/{voice-wd87259q.js → usage-limits-wd87259q.js} +1 -1
- package/dist/chunks/{voice-m7h47g85.js → usage-limits-wdq5eq09.js} +29 -29
- package/dist/chunks/{voice-wegkxhrn.js → usage-limits-wegkxhrn.js} +2 -2
- package/dist/chunks/{voice-w0m9e1mp.js → usage-limits-wgbgvrq0.js} +6 -6
- package/dist/chunks/{voice-8pn17q57.js → usage-limits-wh1j0yj8.js} +32 -32
- package/dist/chunks/{voice-r8kddwmy.js → usage-limits-wmjmswnm.js} +25 -25
- package/dist/chunks/{voice-wnhgecwx.js → usage-limits-wnhgecwx.js} +1 -1
- package/dist/chunks/{voice-gww59xgx.js → usage-limits-wqeb87xx.js} +19 -19
- package/dist/chunks/{voice-b6z35kmf.js → usage-limits-wr3re1en.js} +4 -4
- package/dist/chunks/{voice-m6pp63mp.js → usage-limits-wrydkpp0.js} +11 -11
- package/dist/chunks/{voice-wvr8xscb.js → usage-limits-wvr8xscb.js} +1 -1
- package/dist/chunks/{voice-xk2zn0cv.js → usage-limits-wws03c5r.js} +4 -4
- package/dist/chunks/{voice-ksexgdcx.js → usage-limits-x0qev501.js} +6 -6
- package/dist/chunks/{voice-j29mssk3.js → usage-limits-x4gms9wc.js} +12 -12
- package/dist/chunks/{voice-jrv9fsbe.js → usage-limits-xe1ebrzq.js} +53 -28
- package/dist/chunks/{voice-t4e1sgxz.js → usage-limits-xfjq0bb3.js} +22 -22
- package/dist/chunks/{voice-18a4zeb5.js → usage-limits-xvbtx46z.js} +25 -25
- package/dist/chunks/{voice-vvpw9m0a.js → usage-limits-xw5367kc.js} +17 -17
- package/dist/chunks/{voice-hbsck6wy.js → usage-limits-y2vpvrsq.js} +5 -5
- package/dist/chunks/{voice-bkjpf9fa.js → usage-limits-y72znbgh.js} +14 -14
- package/dist/chunks/{voice-pta84ypa.js → usage-limits-y7rptanb.js} +8 -8
- package/dist/chunks/{voice-yara3q77.js → usage-limits-yara3q77.js} +2 -2
- package/dist/chunks/{voice-yb20nhc3.js → usage-limits-yb20nhc3.js} +1 -1
- package/dist/chunks/{voice-2j5gpsjp.js → usage-limits-yk99v59j.js} +11 -11
- package/dist/chunks/{voice-7jhmzye7.js → usage-limits-ym2jhkz8.js} +48 -48
- package/dist/chunks/{voice-pm1ywsck.js → usage-limits-ymaf8gd7.js} +16 -16
- package/dist/chunks/{voice-yr705xyq.js → usage-limits-yr705xyq.js} +1 -1
- package/dist/chunks/{voice-fbd4vpt1.js → usage-limits-yx1rzxhv.js} +4 -4
- package/dist/chunks/{voice-90ct6wq4.js → usage-limits-z080rjh6.js} +4 -4
- package/dist/chunks/{voice-ayhfmv6z.js → usage-limits-z2erjh4c.js} +12 -12
- package/dist/chunks/{voice-5w1mdqt7.js → usage-limits-zdat2xwq.js} +4 -4
- package/dist/chunks/{voice-v5eaadcy.js → usage-limits-zfd6sbet.js} +29 -29
- package/dist/chunks/{voice-b8e9zw2f.js → usage-limits-zm6j1rab.js} +16 -16
- package/dist/chunks/{voice-mc08rq96.js → usage-limits-zp0nz9wc.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +144 -144
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +150 -150
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +229 -229
- package/dist/config/plugin/compaction.js +170 -170
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +129 -129
- package/dist/config/plugin/mcp.js +140 -140
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +129 -129
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +128 -128
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +91 -91
- package/dist/database/database.js +80 -80
- 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.gen.js +59 -59
- package/dist/database/migration.js +61 -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 +107 -107
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +427 -425
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +84 -84
- package/dist/file-access.js +155 -155
- package/dist/file-mutation.js +104 -104
- 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 +90 -90
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +237 -236
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +121 -121
- 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 +103 -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 +3 -3
- 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 +417 -415
- package/dist/instruction-discovery.js +96 -96
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +97 -97
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +173 -173
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +414 -412
- package/dist/location.js +101 -101
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +180 -180
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +114 -114
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +90 -90
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +86 -86
- package/dist/plugin/command.js +114 -114
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +234 -233
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +393 -391
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -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 +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +144 -144
- package/dist/plugin/provider/claude-agent/instructions.js +111 -111
- package/dist/plugin/provider/claude-agent/integration.js +112 -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 +109 -109
- package/dist/plugin/provider/claude-agent/session.js +109 -109
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- 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 +102 -102
- package/dist/plugin/provider/openai.js +129 -129
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +209 -209
- package/dist/plugin/sdk.js +88 -88
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +405 -403
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +245 -244
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +10 -10
- package/dist/project/sql.js +4 -4
- package/dist/project.js +104 -104
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +239 -238
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +253 -252
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +170 -170
- package/dist/session/context.js +197 -197
- package/dist/session/diff.js +100 -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 +244 -244
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +199 -199
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +142 -142
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +167 -167
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +248 -247
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +162 -162
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +148 -148
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +227 -227
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +201 -201
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +241 -241
- package/dist/session/usage.js +3 -3
- package/dist/session.js +231 -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 +9 -9
- package/dist/shell.js +143 -143
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +148 -148
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +103 -103
- 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 +179 -179
- package/dist/tool/plugin/artifact.js +239 -0
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +165 -165
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +235 -235
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +161 -161
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +245 -244
- package/dist/tool/plugin/shell.js +231 -231
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +148 -148
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +150 -150
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +158 -158
- package/dist/types/artifact.d.ts +123 -0
- package/dist/types/instance.d.ts +2 -1
- package/dist/types/location-activity.d.ts +1 -1
- package/dist/types/persistent-pty/daemon.d.ts +38 -11
- package/dist/types/persistent-pty/index.d.ts +6 -0
- package/dist/types/plugin/host.d.ts +3 -2
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/schedule/check.d.ts +2 -2
- package/dist/types/schedule.d.ts +3 -2
- package/dist/types/session/prompt.d.ts +1 -1
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/artifact.d.ts +27 -0
- package/dist/types/tool/plugin/glob.d.ts +1 -1
- package/dist/types/tool/plugin/grep.d.ts +1 -1
- package/dist/types/tool/plugin/image-generate.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +1 -1
- package/dist/usage-limits.js +99 -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 +7 -7
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -104
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +103 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +100 -100
- package/dist/websearch.js +98 -98
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +89 -89
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -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 +101 -101
- package/dist/worktree.js +110 -110
- package/package.json +9 -9
- package/dist/chunks/voice-27cptz25.js +0 -539
- package/dist/chunks/voice-7yv5xa0k.js +0 -18
- package/dist/chunks/voice-gyg1jafw.js +0 -16
- package/dist/chunks/voice-p6w612wn.js +0 -26
- package/dist/chunks/voice-s7m9qz1r.js +0 -257
- /package/dist/chunks/{voice-0qkdqm5v.js → usage-limits-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{voice-0zkw76rk.js → usage-limits-0zkw76rk.js} +0 -0
- /package/dist/chunks/{voice-17cy0kzp.js → usage-limits-17cy0kzp.js} +0 -0
- /package/dist/chunks/{voice-1cnp2v09.js → usage-limits-1cnp2v09.js} +0 -0
- /package/dist/chunks/{voice-1kah00gy.js → usage-limits-1kah00gy.js} +0 -0
- /package/dist/chunks/{voice-24dcb14g.js → usage-limits-24dcb14g.js} +0 -0
- /package/dist/chunks/{voice-2710q6r3.js → usage-limits-2710q6r3.js} +0 -0
- /package/dist/chunks/{voice-2bv980vf.js → usage-limits-2bv980vf.js} +0 -0
- /package/dist/chunks/{voice-2c3vjs8z.js → usage-limits-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{voice-359p4xyc.js → usage-limits-359p4xyc.js} +0 -0
- /package/dist/chunks/{voice-3asan66x.js → usage-limits-3asan66x.js} +0 -0
- /package/dist/chunks/{voice-3v8g72cx.js → usage-limits-3v8g72cx.js} +0 -0
- /package/dist/chunks/{voice-3wcehsnq.js → usage-limits-3wcehsnq.js} +0 -0
- /package/dist/chunks/{voice-43n2bw4t.js → usage-limits-43n2bw4t.js} +0 -0
- /package/dist/chunks/{voice-4knz6hnm.js → usage-limits-4knz6hnm.js} +0 -0
- /package/dist/chunks/{voice-4qk9sjk2.js → usage-limits-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{voice-4vcrnpx2.js → usage-limits-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{voice-4y7fprxs.js → usage-limits-4y7fprxs.js} +0 -0
- /package/dist/chunks/{voice-53557ph1.js → usage-limits-53557ph1.js} +0 -0
- /package/dist/chunks/{voice-550bvhaj.js → usage-limits-550bvhaj.js} +0 -0
- /package/dist/chunks/{voice-5w3e23ze.js → usage-limits-5w3e23ze.js} +0 -0
- /package/dist/chunks/{voice-6prwharc.js → usage-limits-6prwharc.js} +0 -0
- /package/dist/chunks/{voice-6q2bdcd1.js → usage-limits-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{voice-7akdwqpd.js → usage-limits-7akdwqpd.js} +0 -0
- /package/dist/chunks/{voice-7m9af43g.js → usage-limits-7m9af43g.js} +0 -0
- /package/dist/chunks/{voice-7stb81gk.js → usage-limits-7stb81gk.js} +0 -0
- /package/dist/chunks/{voice-822emrt2.js → usage-limits-822emrt2.js} +0 -0
- /package/dist/chunks/{voice-84wd9syh.js → usage-limits-84wd9syh.js} +0 -0
- /package/dist/chunks/{voice-88xbtdfr.js → usage-limits-88xbtdfr.js} +0 -0
- /package/dist/chunks/{voice-8n3pysct.js → usage-limits-8n3pysct.js} +0 -0
- /package/dist/chunks/{voice-8wj87zfr.js → usage-limits-8wj87zfr.js} +0 -0
- /package/dist/chunks/{voice-9a4afbnw.js → usage-limits-9a4afbnw.js} +0 -0
- /package/dist/chunks/{voice-9rqn6x4v.js → usage-limits-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{voice-a6k6eb26.js → usage-limits-a6k6eb26.js} +0 -0
- /package/dist/chunks/{voice-af5trqkr.js → usage-limits-af5trqkr.js} +0 -0
- /package/dist/chunks/{voice-afrmfg78.js → usage-limits-afrmfg78.js} +0 -0
- /package/dist/chunks/{voice-aqzs7mqg.js → usage-limits-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{voice-atq7p7m5.js → usage-limits-atq7p7m5.js} +0 -0
- /package/dist/chunks/{voice-beh6qq61.js → usage-limits-beh6qq61.js} +0 -0
- /package/dist/chunks/{voice-bkyjaxrp.js → usage-limits-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{voice-bmr6ed5q.js → usage-limits-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{voice-cf4snx6d.js → usage-limits-cf4snx6d.js} +0 -0
- /package/dist/chunks/{voice-cqv5kn06.js → usage-limits-cqv5kn06.js} +0 -0
- /package/dist/chunks/{voice-cvy3z8tj.js → usage-limits-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{voice-d9fn303g.js → usage-limits-d9fn303g.js} +0 -0
- /package/dist/chunks/{voice-d9jj8t3e.js → usage-limits-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{voice-dap0rakb.js → usage-limits-dap0rakb.js} +0 -0
- /package/dist/chunks/{voice-df08tz66.js → usage-limits-df08tz66.js} +0 -0
- /package/dist/chunks/{voice-dy18nga0.js → usage-limits-dy18nga0.js} +0 -0
- /package/dist/chunks/{voice-e5kj55wp.js → usage-limits-e5kj55wp.js} +0 -0
- /package/dist/chunks/{voice-e73j6tqm.js → usage-limits-e73j6tqm.js} +0 -0
- /package/dist/chunks/{voice-ean2d8b5.js → usage-limits-ean2d8b5.js} +0 -0
- /package/dist/chunks/{voice-ec1grn59.js → usage-limits-ec1grn59.js} +0 -0
- /package/dist/chunks/{voice-eh3zwz77.js → usage-limits-eh3zwz77.js} +0 -0
- /package/dist/chunks/{voice-emrn6kk6.js → usage-limits-emrn6kk6.js} +0 -0
- /package/dist/chunks/{voice-f0mxakyp.js → usage-limits-f0mxakyp.js} +0 -0
- /package/dist/chunks/{voice-f6n9ztr4.js → usage-limits-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{voice-faypxj3z.js → usage-limits-faypxj3z.js} +0 -0
- /package/dist/chunks/{voice-fd410y7t.js → usage-limits-fd410y7t.js} +0 -0
- /package/dist/chunks/{voice-fkpq3x5p.js → usage-limits-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{voice-g4wezp1m.js → usage-limits-g4wezp1m.js} +0 -0
- /package/dist/chunks/{voice-g86h250q.js → usage-limits-g86h250q.js} +0 -0
- /package/dist/chunks/{voice-gebd4c9n.js → usage-limits-gebd4c9n.js} +0 -0
- /package/dist/chunks/{voice-gftt206x.js → usage-limits-gftt206x.js} +0 -0
- /package/dist/chunks/{voice-hcxmzztb.js → usage-limits-hcxmzztb.js} +0 -0
- /package/dist/chunks/{voice-hk9envan.js → usage-limits-hk9envan.js} +0 -0
- /package/dist/chunks/{voice-j2ntwpah.js → usage-limits-j2ntwpah.js} +0 -0
- /package/dist/chunks/{voice-j5zkgpj8.js → usage-limits-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{voice-jjkms2e6.js → usage-limits-jjkms2e6.js} +0 -0
- /package/dist/chunks/{voice-jr7sbwjy.js → usage-limits-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{voice-jwfs4k6c.js → usage-limits-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{voice-jwr30sdr.js → usage-limits-jwr30sdr.js} +0 -0
- /package/dist/chunks/{voice-jze0r7bz.js → usage-limits-jze0r7bz.js} +0 -0
- /package/dist/chunks/{voice-jzg6c2d5.js → usage-limits-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{voice-m18g726c.js → usage-limits-m18g726c.js} +0 -0
- /package/dist/chunks/{voice-mp448xyj.js → usage-limits-mp448xyj.js} +0 -0
- /package/dist/chunks/{voice-msx8hqn2.js → usage-limits-msx8hqn2.js} +0 -0
- /package/dist/chunks/{voice-n05xt0ee.js → usage-limits-n05xt0ee.js} +0 -0
- /package/dist/chunks/{voice-n3j8tn72.js → usage-limits-n3j8tn72.js} +0 -0
- /package/dist/chunks/{voice-nh4v3znn.js → usage-limits-nh4v3znn.js} +0 -0
- /package/dist/chunks/{voice-njntx4h6.js → usage-limits-njntx4h6.js} +0 -0
- /package/dist/chunks/{voice-p71gwv9c.js → usage-limits-p71gwv9c.js} +0 -0
- /package/dist/chunks/{voice-q3sfg36h.js → usage-limits-q3sfg36h.js} +0 -0
- /package/dist/chunks/{voice-q74kybfr.js → usage-limits-q74kybfr.js} +0 -0
- /package/dist/chunks/{voice-qaymkmh1.js → usage-limits-qaymkmh1.js} +0 -0
- /package/dist/chunks/{voice-qb87gjwd.js → usage-limits-qb87gjwd.js} +0 -0
- /package/dist/chunks/{voice-qfa1cgps.js → usage-limits-qfa1cgps.js} +0 -0
- /package/dist/chunks/{voice-qg3g05ea.js → usage-limits-qg3g05ea.js} +0 -0
- /package/dist/chunks/{voice-qrg20bc0.js → usage-limits-qrg20bc0.js} +0 -0
- /package/dist/chunks/{voice-rcb2kzg1.js → usage-limits-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{voice-sdp7kfr6.js → usage-limits-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{voice-ssg3fenm.js → usage-limits-ssg3fenm.js} +0 -0
- /package/dist/chunks/{voice-stkk57rt.js → usage-limits-stkk57rt.js} +0 -0
- /package/dist/chunks/{voice-t03h4f5z.js → usage-limits-t03h4f5z.js} +0 -0
- /package/dist/chunks/{voice-ty7weeps.js → usage-limits-ty7weeps.js} +0 -0
- /package/dist/chunks/{voice-ve7vex1e.js → usage-limits-ve7vex1e.js} +0 -0
- /package/dist/chunks/{voice-w803qqfp.js → usage-limits-w803qqfp.js} +0 -0
- /package/dist/chunks/{voice-wc3fc9cn.js → usage-limits-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{voice-wer8tq1h.js → usage-limits-wer8tq1h.js} +0 -0
- /package/dist/chunks/{voice-wtztk69x.js → usage-limits-wtztk69x.js} +0 -0
- /package/dist/chunks/{voice-x0ckcb58.js → usage-limits-x0ckcb58.js} +0 -0
- /package/dist/chunks/{voice-x61499pn.js → usage-limits-x61499pn.js} +0 -0
- /package/dist/chunks/{voice-y44na4kk.js → usage-limits-y44na4kk.js} +0 -0
- /package/dist/chunks/{voice-y8f7s663.js → usage-limits-y8f7s663.js} +0 -0
- /package/dist/chunks/{voice-ygaqb7jw.js → usage-limits-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{voice-z5v4ffb3.js → usage-limits-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{voice-z9919s4g.js → usage-limits-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./usage-limits-ayb9hahn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service21,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./usage-limits-8hmw2yh3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service13
|
|
11
|
+
} from "./usage-limits-9rfd1m4v.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service71
|
|
14
|
+
} from "./usage-limits-ym2jhkz8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service19
|
|
17
|
+
} from "./usage-limits-7xd7tfhx.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./usage-limits-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input12,
|
|
29
|
+
Output: () => Output9,
|
|
30
|
+
Plugin: () => Plugin16,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name12,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name12 = "write";
|
|
39
|
+
var Input12 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output9 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin16 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service19;
|
|
56
|
+
const fileMutation = yield* Service21;
|
|
57
|
+
const environment = yield* Service65;
|
|
58
|
+
const formatter = yield* Service13;
|
|
59
|
+
const permission = yield* Service71;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input12,
|
|
69
|
+
output: Output9,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name12, Input12, Output9, toModelContent6, Plugin16, exports_write };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
4
|
+
import {
|
|
5
|
+
Service89,
|
|
6
|
+
node92
|
|
7
|
+
} from "./usage-limits-pnye8cb7.js";
|
|
4
8
|
import {
|
|
5
9
|
Service88,
|
|
6
10
|
node91
|
|
7
|
-
} from "./
|
|
11
|
+
} from "./usage-limits-5fzvcdd4.js";
|
|
8
12
|
import {
|
|
9
13
|
Service87,
|
|
10
14
|
node90
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service81,
|
|
14
|
-
node83
|
|
15
|
-
} from "./voice-j29mssk3.js";
|
|
15
|
+
} from "./usage-limits-x4gms9wc.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
Info32,
|
|
20
|
+
UpdateInput5,
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./usage-limits-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./usage-limits-yara3q77.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./usage-limits-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
Current: () => Current2,
|
|
42
|
-
ID: () =>
|
|
43
|
-
Info: () =>
|
|
44
|
-
NotFoundError: () =>
|
|
42
|
+
ID: () => ID21,
|
|
43
|
+
Info: () => Info31,
|
|
44
|
+
NotFoundError: () => NotFoundError14,
|
|
45
45
|
Project: () => exports_project,
|
|
46
|
-
Service: () =>
|
|
47
|
-
UpdateInput: () =>
|
|
46
|
+
Service: () => Service86,
|
|
47
|
+
UpdateInput: () => UpdateInput4,
|
|
48
48
|
Vcs: () => Vcs2,
|
|
49
|
-
node: () =>
|
|
49
|
+
node: () => node89,
|
|
50
50
|
root: () => root2,
|
|
51
51
|
sweepNode: () => sweepNode2
|
|
52
52
|
});
|
|
@@ -59,14 +59,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
59
59
|
import { AppProcess } from "@opencode/util/process";
|
|
60
60
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Hash } from "@opencode/util/hash";
|
|
62
|
-
var
|
|
62
|
+
var ID21 = ID22;
|
|
63
63
|
var Vcs2 = Vcs3;
|
|
64
64
|
var Current2 = Current3;
|
|
65
|
-
var
|
|
66
|
-
var
|
|
65
|
+
var Info31 = Info32;
|
|
66
|
+
var UpdateInput4 = UpdateInput5;
|
|
67
67
|
|
|
68
|
-
class
|
|
69
|
-
projectID:
|
|
68
|
+
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
69
|
+
projectID: ID21
|
|
70
70
|
}) {
|
|
71
71
|
}
|
|
72
72
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -84,7 +84,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
84
84
|
var ACTIVATE_INTERVAL = 60000;
|
|
85
85
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
86
86
|
|
|
87
|
-
class
|
|
87
|
+
class Service86 extends Context.Service()("@opencode/Project") {
|
|
88
88
|
}
|
|
89
89
|
function fromRow(row) {
|
|
90
90
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -108,12 +108,12 @@ function fromRow(row) {
|
|
|
108
108
|
sandboxes: row.sandboxes
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var layer = Layer.effect(
|
|
111
|
+
var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
112
112
|
const fs = yield* FSUtil.Service;
|
|
113
|
-
const git = yield*
|
|
113
|
+
const git = yield* Service87;
|
|
114
114
|
const proc = yield* AppProcess.Service;
|
|
115
|
-
const bus = yield*
|
|
116
|
-
const db = (yield*
|
|
115
|
+
const bus = yield* Service88;
|
|
116
|
+
const db = (yield* Service89).db;
|
|
117
117
|
const scope = yield* Scope.Scope;
|
|
118
118
|
const announcing = new Set;
|
|
119
119
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
123
123
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
124
124
|
const changed = replaced ?? unarchived;
|
|
125
125
|
if (changed)
|
|
126
|
-
yield* bus.publish(
|
|
127
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
126
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
127
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
128
128
|
if (!project.vcs)
|
|
129
129
|
return project;
|
|
130
130
|
const directories = [
|
|
@@ -160,7 +160,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
160
160
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
161
161
|
projectID: item.projectID,
|
|
162
162
|
directory: item.directory,
|
|
163
|
-
previous: project.previous ??
|
|
163
|
+
previous: project.previous ?? ID21.global,
|
|
164
164
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
165
165
|
}, {
|
|
166
166
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
183
183
|
time_updated: Date.now()
|
|
184
184
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
185
185
|
if (!row)
|
|
186
|
-
return yield* new
|
|
186
|
+
return yield* new NotFoundError14({ projectID: input.projectID });
|
|
187
187
|
const project = fromRow(row);
|
|
188
|
-
yield* bus.publish(
|
|
188
|
+
yield* bus.publish(Event21.Updated, project);
|
|
189
189
|
return project;
|
|
190
190
|
});
|
|
191
191
|
const activated = new Map;
|
|
@@ -196,10 +196,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
196
196
|
activated.set(projectID, now);
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
202
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
202
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
203
203
|
return;
|
|
204
204
|
}));
|
|
205
205
|
});
|
|
@@ -210,7 +210,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
210
210
|
const normalized = url(origin);
|
|
211
211
|
if (!normalized)
|
|
212
212
|
return;
|
|
213
|
-
return
|
|
213
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
214
214
|
});
|
|
215
215
|
function url(input) {
|
|
216
216
|
const value = input.trim();
|
|
@@ -235,7 +235,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
235
235
|
}
|
|
236
236
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
237
237
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
238
|
-
return root ?
|
|
238
|
+
return root ? ID21.make(root) : undefined;
|
|
239
239
|
});
|
|
240
240
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
241
241
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
252
252
|
const resolved = {
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID21.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,7 +276,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
276
276
|
return;
|
|
277
277
|
const node = result.stdout.toString("utf8").split(`
|
|
278
278
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
279
|
-
return node ?
|
|
279
|
+
return node ? ID21.make(node) : undefined;
|
|
280
280
|
});
|
|
281
281
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
282
282
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -284,7 +284,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
284
284
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
285
285
|
return {
|
|
286
286
|
previous,
|
|
287
|
-
id: id ??
|
|
287
|
+
id: id ?? ID21.global,
|
|
288
288
|
directory: worktree,
|
|
289
289
|
vcs: { type: "hg", store: dotHg }
|
|
290
290
|
};
|
|
@@ -311,7 +311,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
313
|
return yield* save({
|
|
314
|
-
id:
|
|
314
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
315
315
|
directory,
|
|
316
316
|
canonical: directory,
|
|
317
317
|
vcs: undefined
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
320
320
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
321
321
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
322
322
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
323
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
323
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
324
324
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
325
325
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
326
326
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -333,23 +333,23 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
333
333
|
return;
|
|
334
334
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
335
335
|
if (row)
|
|
336
|
-
yield* bus.publish(
|
|
336
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
337
337
|
}), { concurrency: 8, discard: true });
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service86.of({ list, update, activate, resolve, sweep });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node89 = makeGlobalNode({
|
|
342
|
+
service: Service86,
|
|
343
343
|
layer,
|
|
344
|
-
deps: [
|
|
344
|
+
deps: [node91, node92, FSUtil.node, node90, AppProcess.node]
|
|
345
345
|
});
|
|
346
346
|
var sweepNode2 = makeGlobalNode({
|
|
347
347
|
name: "project-archive-sweep",
|
|
348
348
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
349
|
-
const project = yield*
|
|
349
|
+
const project = yield* Service86;
|
|
350
350
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
351
351
|
})),
|
|
352
|
-
deps: [
|
|
352
|
+
deps: [node89]
|
|
353
353
|
});
|
|
354
354
|
|
|
355
|
-
export {
|
|
355
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, Service86, node89, sweepNode2, exports_project };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./usage-limits-jkjd442p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./usage-limits-sjmczned.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-bgh9pp6t.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./usage-limits-nah043kf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin28
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin28 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service76;
|
|
32
32
|
const fs = yield* FSUtil.Service;
|
|
33
|
-
const watcher = yield*
|
|
33
|
+
const watcher = yield* Service77;
|
|
34
34
|
const watches = yield* FiberMap.make();
|
|
35
35
|
const changes = yield* PubSub.sliding(1);
|
|
36
36
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
|
|
|
81
81
|
return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export {
|
|
84
|
+
export { Plugin28, exports_compatibility };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-pw1hf97w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service88
|
|
6
|
+
} from "./usage-limits-5fzvcdd4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./usage-limits-f8by4fzr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID18,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./usage-limits-wdq5eq09.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./usage-limits-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID17,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./usage-limits-3hgh9kya.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
get5
|
|
26
|
+
} from "./usage-limits-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./usage-limits-vqfcj0pj.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID18.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID18.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -168,7 +168,7 @@ var headless = (app) => ({
|
|
|
168
168
|
var OpenAIPlugin2 = define({
|
|
169
169
|
id: "opencode.provider.openai",
|
|
170
170
|
effect: Effect.fn(function* (ctx) {
|
|
171
|
-
const bus = yield*
|
|
171
|
+
const bus = yield* Service88;
|
|
172
172
|
const loading = Semaphore.makeUnsafe(1);
|
|
173
173
|
let chatgpt;
|
|
174
174
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin2 = define({
|
|
|
183
183
|
editor.method.update(headless(ctx.app));
|
|
184
184
|
});
|
|
185
185
|
yield* load();
|
|
186
|
-
const configured = yield* configuredSettings2(
|
|
186
|
+
const configured = yield* configuredSettings2(ID17.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID17.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin2 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.model.transform((models) => {
|
|
208
|
-
for (const model of models.list(
|
|
208
|
+
for (const model of models.list(ID17.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -241,15 +241,15 @@ var OpenAIPlugin2 = define({
|
|
|
241
241
|
return;
|
|
242
242
|
}));
|
|
243
243
|
evt.headers.originator = "opencode";
|
|
244
|
-
evt.headers["session-id"] = session ?
|
|
245
|
-
}), { providerID:
|
|
244
|
+
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
245
|
+
}), { providerID: ID17.openai });
|
|
246
246
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
247
247
|
delete evt.options.maxTokens;
|
|
248
248
|
});
|
|
249
249
|
for (const name of ["context", "compaction"])
|
|
250
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
250
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID17.openai });
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID18.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
})
|
|
254
254
|
});
|
|
255
255
|
function headers(contentType, app) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service81
|
|
4
|
+
} from "./usage-limits-3hgh9kya.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./usage-limits-sjmczned.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service81;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service76);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./usage-limits-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./usage-limits-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-wnhgecwx.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make20 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make4, exports_retry };
|