@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node90
|
|
6
|
+
} from "./usage-limits-x4gms9wc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service85,
|
|
9
|
+
node88
|
|
10
|
+
} from "./usage-limits-tzmjyztd.js";
|
|
11
11
|
import {
|
|
12
12
|
create4
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./usage-limits-40y6dtc2.js";
|
|
14
14
|
import {
|
|
15
15
|
make22
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./usage-limits-kv6xqjvw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service27,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node30
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service27 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service85;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make22;
|
|
40
40
|
const state = create4({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service27.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node30 = makeLocationNode({
|
|
61
|
+
service: Service27,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node88, Global.node, node90, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service27, node30, exports_strategies };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer8,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer8 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer8, exports_unavailable };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service76
|
|
4
|
+
} from "./usage-limits-sjmczned.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service42
|
|
7
|
+
} from "./usage-limits-xvbtx46z.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./usage-limits-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin22
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin22 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service76;
|
|
27
|
+
const snapshot = yield* Service42;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin38 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin22, exports_snapshot };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info27,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status4,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info27 = Connection.Info;
|
|
19
19
|
var Status4 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info27, Status4, key2, exports_connection };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./usage-limits-2p60zmnr.js";
|
|
4
4
|
import {
|
|
5
5
|
base2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./usage-limits-w1gphqtx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/status.ts
|
|
12
12
|
var exports_status = {};
|
|
13
13
|
__export(exports_status, {
|
|
14
14
|
ClaudeStatus: () => exports_status,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make7
|
|
16
16
|
});
|
|
17
17
|
import { Effect, Semaphore, SubscriptionRef } from "effect";
|
|
18
|
-
var
|
|
18
|
+
var make7 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
19
19
|
const state = yield* SubscriptionRef.make({ type: "checking" });
|
|
20
20
|
const lock = yield* Semaphore.make(1);
|
|
21
21
|
const refresh = Effect.fn("ClaudeStatus.refresh")(function* () {
|
|
@@ -33,4 +33,4 @@ var make4 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
|
33
33
|
return { state, refresh, report };
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
export {
|
|
36
|
+
export { make7, exports_status };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./usage-limits-4d2dtj2f.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./usage-limits-rb9dy4dg.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./usage-limits-sa3fpqfw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -24,11 +24,11 @@ __export(exports_git3, {
|
|
|
24
24
|
Git: () => exports_git3,
|
|
25
25
|
OperationError: () => OperationError3,
|
|
26
26
|
Repository: () => Repository2,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service87,
|
|
28
28
|
TreeID: () => TreeID2,
|
|
29
29
|
Worktree: () => Worktree2,
|
|
30
30
|
WorktreeError: () => WorktreeError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node90
|
|
32
32
|
});
|
|
33
33
|
import os from "os";
|
|
34
34
|
import path from "path";
|
|
@@ -109,9 +109,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
109
109
|
}) {
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
class
|
|
112
|
+
class Service87 extends Context.Service()("@opencode/Git") {
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
115
115
|
const fs = yield* FSUtil.Service;
|
|
116
116
|
const proc = yield* AppProcess.Service;
|
|
117
117
|
const locks = makeUnsafe2();
|
|
@@ -834,7 +834,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
834
834
|
kind: index === 0 ? "main" : "linked"
|
|
835
835
|
}));
|
|
836
836
|
});
|
|
837
|
-
return
|
|
837
|
+
return Service87.of({
|
|
838
838
|
repo: { discover, fingerprint, clone, create },
|
|
839
839
|
remote: { get: remote },
|
|
840
840
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -851,7 +851,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
851
851
|
objects: { pack: packObjects }
|
|
852
852
|
});
|
|
853
853
|
}));
|
|
854
|
-
var
|
|
854
|
+
var node90 = makeGlobalNode({ service: Service87, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
855
855
|
function run(cwd, proc, args) {
|
|
856
856
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
857
857
|
}
|
|
@@ -918,4 +918,4 @@ function resolvePath(cwd, value) {
|
|
|
918
918
|
return path.resolve(cwd, normalized);
|
|
919
919
|
}
|
|
920
920
|
|
|
921
|
-
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2,
|
|
921
|
+
export { Repository2, TreeID2, OperationError3, CommandError2, Worktree2, WorktreeError2, Service87, node90, exports_git3 };
|
|
@@ -1,37 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service88,
|
|
3
|
+
node91
|
|
4
|
+
} from "./usage-limits-5fzvcdd4.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./usage-limits-38q64rg8.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./usage-limits-1pevy3nx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
19
|
InvalidCwdError: () => InvalidCwdError2,
|
|
20
|
-
NotFoundError: () =>
|
|
20
|
+
NotFoundError: () => NotFoundError5,
|
|
21
21
|
Options: () => Options3,
|
|
22
22
|
PersistentPty: () => exports_persistent_pty,
|
|
23
|
-
Service: () =>
|
|
24
|
-
UnavailableError: () =>
|
|
23
|
+
Service: () => Service24,
|
|
24
|
+
UnavailableError: () => UnavailableError4,
|
|
25
|
+
UnsupportedError: () => UnsupportedError2,
|
|
25
26
|
available: () => available3,
|
|
26
27
|
configured: () => configured3,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node27
|
|
29
30
|
});
|
|
30
31
|
import { stat } from "node:fs/promises";
|
|
31
32
|
import path from "node:path";
|
|
32
33
|
import { Context, Effect, Layer, Schema, Stream } from "effect";
|
|
33
34
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
34
|
-
import {
|
|
35
|
+
import {
|
|
36
|
+
Added,
|
|
37
|
+
Handoff,
|
|
38
|
+
ReadLines,
|
|
39
|
+
Removed,
|
|
40
|
+
Updated
|
|
41
|
+
} from "@opencode/schema/persistent-pty";
|
|
35
42
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
36
43
|
import { Pty } from "@opencode/schema/pty";
|
|
37
44
|
import { Global } from "@opencode/util/global";
|
|
@@ -43,12 +50,12 @@ var Options3 = Schema.Struct({
|
|
|
43
50
|
root: Schema.optional(Schema.String)
|
|
44
51
|
});
|
|
45
52
|
|
|
46
|
-
class
|
|
53
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
47
54
|
message: Schema.String
|
|
48
55
|
}) {
|
|
49
56
|
}
|
|
50
57
|
|
|
51
|
-
class
|
|
58
|
+
class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
52
59
|
ptyID: Pty.ID
|
|
53
60
|
}) {
|
|
54
61
|
}
|
|
@@ -59,10 +66,15 @@ class InvalidCwdError2 extends Schema.TaggedError()("PersistentPty.InvalidCwdErr
|
|
|
59
66
|
}) {
|
|
60
67
|
}
|
|
61
68
|
|
|
62
|
-
class
|
|
69
|
+
class UnsupportedError2 extends Schema.TaggedError()("PersistentPty.UnsupportedError", {
|
|
70
|
+
feature: Schema.String
|
|
71
|
+
}) {
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
class Service24 extends Context.Service()("@opencode/PersistentPty") {
|
|
63
75
|
}
|
|
64
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
65
|
-
const bus = yield*
|
|
76
|
+
var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service88;
|
|
66
78
|
const global = yield* Global.Service;
|
|
67
79
|
const context = yield* Effect.context();
|
|
68
80
|
const runFork = Effect.runForkWith(context);
|
|
@@ -84,7 +96,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
84
96
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
85
97
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
86
98
|
if (!found)
|
|
87
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
88
100
|
return found;
|
|
89
101
|
});
|
|
90
102
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -164,6 +176,17 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
164
176
|
current.set(terminal.sessionID, id);
|
|
165
177
|
return;
|
|
166
178
|
});
|
|
179
|
+
const rename = Effect.fn("PersistentPty.rename")(function* (id, title) {
|
|
180
|
+
const terminal = yield* get(id);
|
|
181
|
+
if (!(yield* daemon.supports("rename").pipe(Effect.mapError(unavailable))))
|
|
182
|
+
return yield* new UnsupportedError2({ feature: "rename" });
|
|
183
|
+
const response = yield* request(daemon, { op: "rename", id: fromID(id), title });
|
|
184
|
+
if (response.type !== "ok")
|
|
185
|
+
return yield* unexpected(response);
|
|
186
|
+
const renamed = yield* get(id);
|
|
187
|
+
yield* bus.publish(Updated, { sessionID: terminal.sessionID, terminal: renamed });
|
|
188
|
+
return renamed;
|
|
189
|
+
});
|
|
167
190
|
const snapshot = Effect.fn("PersistentPty.snapshot")(function* (id) {
|
|
168
191
|
yield* get(id);
|
|
169
192
|
const response = yield* request(daemon, { op: "snapshot", id: fromID(id) });
|
|
@@ -178,7 +201,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
178
201
|
});
|
|
179
202
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
180
203
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
181
|
-
return yield* new
|
|
204
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
182
205
|
const id = current.get(sessionID);
|
|
183
206
|
if (!id)
|
|
184
207
|
return null;
|
|
@@ -264,7 +287,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
264
287
|
detach: attachment.detach
|
|
265
288
|
};
|
|
266
289
|
});
|
|
267
|
-
return
|
|
290
|
+
return Service24.of({
|
|
268
291
|
list,
|
|
269
292
|
get,
|
|
270
293
|
create,
|
|
@@ -272,6 +295,7 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
272
295
|
resize,
|
|
273
296
|
control,
|
|
274
297
|
input,
|
|
298
|
+
rename,
|
|
275
299
|
snapshot,
|
|
276
300
|
read,
|
|
277
301
|
remove,
|
|
@@ -280,17 +304,17 @@ var makeLayer = (options = {}) => Layer.effect(Service22, Effect.gen(function* (
|
|
|
280
304
|
attach
|
|
281
305
|
});
|
|
282
306
|
}));
|
|
283
|
-
var
|
|
307
|
+
var layer12 = makeLayer();
|
|
284
308
|
var configured3 = (options) => makeGlobalNode({
|
|
285
|
-
service:
|
|
286
|
-
layer: options === undefined ?
|
|
287
|
-
deps: [
|
|
309
|
+
service: Service24,
|
|
310
|
+
layer: options === undefined ? layer12 : makeLayer(options),
|
|
311
|
+
deps: [node91, Global.node]
|
|
288
312
|
});
|
|
289
|
-
var
|
|
313
|
+
var node27 = configured3();
|
|
290
314
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
291
315
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
292
|
-
var unexpected = (response) => Effect.fail(new
|
|
293
|
-
var unavailable = (error) => new
|
|
316
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
317
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
294
318
|
function toInfo(value) {
|
|
295
319
|
const status = value.lifecycle.status;
|
|
296
320
|
return {
|
|
@@ -305,6 +329,7 @@ function toInfo(value) {
|
|
|
305
329
|
...status === "exited" ? { exitCode: value.lifecycle.exit_code ?? undefined } : {}
|
|
306
330
|
}),
|
|
307
331
|
sessionID: value.group_id,
|
|
332
|
+
userTitle: value.user_title ?? null,
|
|
308
333
|
foregroundProcess: value.foreground_process,
|
|
309
334
|
size: { cols: value.cols, rows: value.rows },
|
|
310
335
|
output: { head: value.output_head, tail: value.output_tail }
|
|
@@ -322,4 +347,4 @@ function fromID(value) {
|
|
|
322
347
|
return parsed;
|
|
323
348
|
}
|
|
324
349
|
|
|
325
|
-
export { Options3,
|
|
350
|
+
export { Options3, UnavailableError4, NotFoundError5, InvalidCwdError2, UnsupportedError2, Service24, layer12, configured3, node27, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service88
|
|
3
|
+
} from "./usage-limits-5fzvcdd4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./usage-limits-xvbtx46z.js";
|
|
7
7
|
import {
|
|
8
8
|
StepFailedError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./usage-limits-5xdgvpxd.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./usage-limits-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
toSessionError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./usage-limits-scm21bxe.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error3
|
|
18
|
+
} from "./usage-limits-1594hys8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service49
|
|
21
|
+
} from "./usage-limits-j90hxq85.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./usage-limits-r542h3bh.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./usage-limits-8ajtsvws.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./usage-limits-vzppetdn.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service88;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service42;
|
|
58
|
+
const toolOutput = yield* Service49;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make19 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
223
223
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
224
224
|
};
|
|
225
225
|
|
|
226
|
-
export { Outcome2,
|
|
226
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./usage-limits-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service87,
|
|
9
|
+
node90
|
|
10
|
+
} from "./usage-limits-x4gms9wc.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service85,
|
|
13
|
+
node88
|
|
14
|
+
} from "./usage-limits-tzmjyztd.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./usage-limits-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./usage-limits-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error2,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID9,
|
|
27
|
+
Service: () => Service42,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node45,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID9 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service42 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service87;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service85;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID9.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -152,14 +152,14 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node45 = makeLocationNode({
|
|
158
|
+
service: Service42,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node90, Global.node, node88]
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -177,4 +177,4 @@ function failure(operation, cause) {
|
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID9, Error2, Service42, node45, noopLayer2, exports_snapshot2 };
|